|
|
@ -1,11 +1,11 @@
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
Version: 1.06
|
|
|
|
Version: 1.06
|
|
|
|
Release: 19%{?dist}
|
|
|
|
Release: 27%{?dist}
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
# other files: Artistic 2.0
|
|
|
|
# other files: Artistic 2.0
|
|
|
|
## not in binary packages
|
|
|
|
## not in binary packages
|
|
|
|
# t/testfont.*: OFL
|
|
|
|
# t/testfont.*: OFL
|
|
|
|
License: Artistic 2.0
|
|
|
|
License: Artistic-2.0
|
|
|
|
URL: https://metacpan.org/release/Font-TTF
|
|
|
|
URL: https://metacpan.org/release/Font-TTF
|
|
|
|
Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
|
|
|
|
Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -32,7 +32,6 @@ BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
@ -46,7 +45,6 @@ module.
|
|
|
|
|
|
|
|
|
|
|
|
%package XMLparse
|
|
|
|
%package XMLparse
|
|
|
|
Summary: XML Font parser
|
|
|
|
Summary: XML Font parser
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
Conflicts: perl-Font-TTF < 1.06-6
|
|
|
|
Conflicts: perl-Font-TTF < 1.06-6
|
|
|
|
|
|
|
|
|
|
|
|
%description XMLparse
|
|
|
|
%description XMLparse
|
|
|
@ -58,9 +56,23 @@ order to reduce the dependency that this would bring, of the whole package on
|
|
|
|
XML::Parser. This way, people without the XML::Parser can still use the rest
|
|
|
|
XML::Parser. This way, people without the XML::Parser can still use the rest
|
|
|
|
of the package.
|
|
|
|
of the package.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
Requires: perl(Compress::Zlib)
|
|
|
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
|
|
|
|
# Help generators to recognize Perl scripts
|
|
|
|
|
|
|
|
for F in t/*.t; do
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
@ -69,6 +81,15 @@ make %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/changes.t
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
@ -98,8 +119,38 @@ make test
|
|
|
|
%{perl_vendorlib}/Font/TTF/XMLparse.pm
|
|
|
|
%{perl_vendorlib}/Font/TTF/XMLparse.pm
|
|
|
|
%{_mandir}/man3/Font::TTF::XMLparse.3pm.*
|
|
|
|
%{_mandir}/man3/Font::TTF::XMLparse.3pm.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Dec 16 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.06-27
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.06-27
|
|
|
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 16 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.06-26
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.06-25
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-24
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-23
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-22
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-21
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-20
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-19
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-19
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|