|
|
@ -1,23 +1,33 @@
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
Version: 1.04
|
|
|
|
Version: 1.05
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: Artistic 2.0
|
|
|
|
License: Artistic 2.0
|
|
|
|
URL: http://search.cpan.org/dist/Font-TTF/
|
|
|
|
URL: http://search.cpan.org/dist/Font-TTF/
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
# Build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
# Runtime
|
|
|
|
|
|
|
|
BuildRequires: perl(bytes)
|
|
|
|
BuildRequires: perl(Compress::Zlib)
|
|
|
|
BuildRequires: perl(Compress::Zlib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
|
|
|
|
BuildRequires: perl(Getopt::Std)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
|
|
|
|
BuildRequires: perl(utf8)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
# Unused BuildRequires: perl(XML::Parser::Expat)
|
|
|
|
|
|
|
|
# Tests only
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
@ -35,20 +45,20 @@ module.
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README.TXT LICENSE CONTRIBUTORS Changes TODO
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc README.TXT CONTRIBUTORS Changes TODO
|
|
|
|
%dir %{perl_vendorlib}/Font
|
|
|
|
%dir %{perl_vendorlib}/Font
|
|
|
|
%dir %{perl_vendorlib}/Font/TTF
|
|
|
|
%dir %{perl_vendorlib}/Font/TTF
|
|
|
|
%{perl_vendorlib}/ttfmod.pl
|
|
|
|
%{perl_vendorlib}/ttfmod.pl
|
|
|
@ -61,6 +71,9 @@ make test
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Feb 02 2015 Petr Šabata <contyk@redhat.com> - 1.05-1
|
|
|
|
|
|
|
|
- 1.05 enhancement and bugfix bump
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-3
|
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
|
|
|
|