Compare commits

...

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

4 changed files with 80 additions and 11 deletions

9
.gitignore vendored
View File

@ -1 +1,8 @@
SOURCES/Font-TTF-1.06.tar.gz
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

View File

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

View File

@ -1,17 +1,18 @@
Name: perl-Font-TTF
Version: 1.06
Release: 5%{?dist}
Release: 17%{?dist}
Summary: Perl library for modifying TTF font files
Group: Development/Libraries
# other files: Artistic 2.0
## not in binary packages
# t/testfont.*: OFL
License: Artistic 2.0
URL: http://search.cpan.org/dist/Font-TTF/
URL: https://metacpan.org/release/Font-TTF
Source0: http://cpan.org/authors/id/B/BH/BHALLISSY/Font-TTF-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Getopt::Std)
BuildRequires: perl(strict)
@ -26,13 +27,11 @@ BuildRequires: perl(IO::String)
BuildRequires: perl(Symbol)
BuildRequires: perl(utf8)
BuildRequires: perl(vars)
# Unused BuildRequires: perl(XML::Parser::Expat)
# XML::Parser::Expat not used at tests
# Tests only
BuildRequires: perl(File::Compare)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Simple)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
@ -45,6 +44,21 @@ types.
In short, you can do almost anything with a standard TrueType font with this
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
This Perl module contains the support routines for parsing XML and generating
the TrueType font structures as a result.
The module has been separated from the rest of the perl-Font-TTF package in
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.
%prep
%setup -q -n Font-TTF-%{version}
@ -54,7 +68,6 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -a -size 0 -delete
%{_fixperms} %{buildroot}/*
%check
@ -68,13 +81,62 @@ make test
%{perl_vendorlib}/ttfmod.pl
%{perl_vendorlib}/Font/TTF.pm
%{perl_vendorlib}/Font/TTF/*
%exclude %{perl_vendorlib}/Font/TTF/XMLparse.pm
%{_mandir}/man3/*.3*
%exclude %{_mandir}/man3/Font::TTF::XMLparse.3pm.*
# We really don't want to use this perl package in a Win32 env
# or poke in the windows registry to resolve fonts
# (upstream makefile needs to get smarter)
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
%exclude %{_mandir}/man3/Font::TTF::Win32.3pm.*
%files XMLparse
%license LICENSE
%doc CONTRIBUTORS Changes
%dir %{perl_vendorlib}/Font
%dir %{perl_vendorlib}/Font/TTF
%{perl_vendorlib}/Font/TTF/XMLparse.pm
%{_mandir}/man3/Font::TTF::XMLparse.3pm.*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.06-17
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.06-16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-13
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-10
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-7
- Perl 5.28 rebuild
* Wed May 02 2018 Petr Pisar <ppisar@redhat.com> - 1.06-6
- Move Font::TTF::XMLparse into perl-Font-TTF-XMLparse subpackage
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
241b59310ad4450e6e050d5e790f1b21 Font-TTF-1.06.tar.gz