Move Font::TTF::XMLparse into perl-Font-TTF-XMLparse subpackage

Font::TTF::XMLparse in perl-Font-TTF creates a build cycle through
perl-XML-Parse and perl-PDF-API2.
epel9
Petr Písař 7 years ago
parent d0fa9f4593
commit 1dd119fb5c

@ -1,6 +1,6 @@
Name: perl-Font-TTF
Version: 1.06
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Perl library for modifying TTF font files
Group: Development/Libraries
License: Artistic 2.0
@ -45,6 +45,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}
@ -68,13 +83,27 @@ 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
%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
* 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

Loading…
Cancel
Save