|
|
|
@ -1,22 +1,25 @@
|
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
|
Version: 1.02
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.04
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
URL: http://search.cpan.org/dist/Font-TTF/
|
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Compress::Zlib)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
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::String)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
|
BuildRequires: perl(XML::Parser::Expat)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
|
@ -30,17 +33,15 @@ module.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
|
#dos2unix README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{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} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -60,6 +61,9 @@ make test
|
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 21 2014 Petr Šabata <contyk@redhat.com> - 1.04-1
|
|
|
|
|
- 1.04 bump
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|