Compare commits

...

1 Commits
epel9 ... i10ce

9
.gitignore vendored

@ -1,8 +1 @@
Font-TTF-0.45.tar.gz
/Font-TTF-0.48.tar.gz
/Font-TTF-1.00.tar.gz
/Font-TTF-1.01.tar.gz
/Font-TTF-1.02.tar.gz
/Font-TTF-1.04.tar.gz
/Font-TTF-1.05.tar.gz
/Font-TTF-1.06.tar.gz
SOURCES/Font-TTF-1.06.tar.gz

@ -0,0 +1 @@
c2c1475e569d1fd30fdb43efe8ad25f63a974508 SOURCES/Font-TTF-1.06.tar.gz

@ -1,11 +1,11 @@
Name: perl-Font-TTF
Version: 1.06
Release: 19%{?dist}
Release: 27%{?dist}
Summary: Perl library for modifying TTF font files
# other files: Artistic 2.0
## not in binary packages
# t/testfont.*: OFL
License: Artistic 2.0
License: Artistic-2.0
URL: https://metacpan.org/release/Font-TTF
Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
BuildArch: noarch
@ -32,7 +32,6 @@ BuildRequires: perl(vars)
BuildRequires: perl(File::Compare)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
Perl module for TrueType font hacking. Supports reading, processing and writing
@ -46,7 +45,6 @@ module.
%package XMLparse
Summary: XML Font parser
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Conflicts: perl-Font-TTF < 1.06-6
%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
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
%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
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -69,6 +81,15 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{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
make test
@ -98,8 +119,38 @@ make test
%{perl_vendorlib}/Font/TTF/XMLparse.pm
%{_mandir}/man3/Font::TTF::XMLparse.3pm.*
%files tests
%{_libexecdir}/%{name}
%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
- Perl 5.36 rebuild

@ -1 +0,0 @@
241b59310ad4450e6e050d5e790f1b21 Font-TTF-1.06.tar.gz
Loading…
Cancel
Save