|
|
@ -1,24 +1,20 @@
|
|
|
|
%global cpanname Font-TTF
|
|
|
|
Name: perl-Font-TTF
|
|
|
|
|
|
|
|
Version: 1.00
|
|
|
|
Name: perl-%{cpanname}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Version: 0.48
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Perl library for modifying TTF font files
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
|
|
|
URL: http://search.cpan.org/dist/Font-TTF/
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/Font-TTF-%{version}.tar.gz
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
|
|
|
URL: http://search.cpan.org/dist/%{cpanname}/
|
|
|
|
|
|
|
|
Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: perl(Compress::Zlib)
|
|
|
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
# Check requirements
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
|
Perl module for TrueType font hacking. Supports reading, processing and writing
|
|
|
@ -30,52 +26,42 @@ types.
|
|
|
|
In short, you can do almost anything with a standard TrueType font with this
|
|
|
|
In short, you can do almost anything with a standard TrueType font with this
|
|
|
|
module.
|
|
|
|
module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpanname}-%{version}
|
|
|
|
%setup -q -n Font-TTF-%{version}
|
|
|
|
dos2unix README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
#dos2unix README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
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 {} ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc README.TXT LICENSE CONTRIBUTORS Changes TODO
|
|
|
|
%doc README.TXT COPYING lib/Font/TTF/Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{perl_vendorlib}/Font/TTF.pm
|
|
|
|
%{perl_vendorlib}/Font/TTF.pm
|
|
|
|
%{perl_vendorlib}/Font/TTF/*
|
|
|
|
%{perl_vendorlib}/Font/TTF/*
|
|
|
|
|
|
|
|
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
# We really don't want to use this perl package in a Win32 env
|
|
|
|
# We really don't want to use this perl package in a Win32 env
|
|
|
|
# or poke in the windows registry to resolve fonts
|
|
|
|
# or poke in the windows registry to resolve fonts
|
|
|
|
# (upstream makefile needs to get smarter)
|
|
|
|
# (upstream makefile needs to get smarter)
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
|
|
|
%exclude %{perl_vendorlib}/Font/TTF/Win32.pm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Aug 29 2012 Petr Šabata <contyk@redhat.com> - 1.00-1
|
|
|
|
|
|
|
|
- 1.00 bump
|
|
|
|
|
|
|
|
- Modernize the spec file
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-5
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.48-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|