commit 76e56900de54906d3babb8be366be30b33885edf Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Aug 29 11:52:49 2012 +0200 1.00 bump .gitignore | 1 + perl-Font-TTF.spec | 60 ++++++++++++++++++++-------------------------------- sources | 2 +- 3 files changed, 25 insertions(+), 38 deletions(-) --- diff --git a/.gitignore b/.gitignore index 5e49148..1e5c1cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Font-TTF-0.45.tar.gz /Font-TTF-0.48.tar.gz +/Font-TTF-1.00.tar.gz diff --git a/perl-Font-TTF.spec b/perl-Font-TTF.spec index 018986d..117f7ce 100644 --- a/perl-Font-TTF.spec +++ b/perl-Font-TTF.spec @@ -1,24 +1,20 @@ -%global cpanname Font-TTF - -Name: perl-%{cpanname} -Version: 0.48 -Release: 5%{?dist} -Summary: Perl library for modifying TTF font files - -Group: Development/Libraries -License: Artistic 2.0 -URL: http://search.cpan.org/dist/%{cpanname}/ -Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz - +Name: perl-Font-TTF +Version: 1.00 +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(Compress::Zlib) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: dos2unix -# Check requirements +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::String) BuildRequires: perl(Test::Simple) - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description 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 module. - %prep -%setup -q -n %{cpanname}-%{version} -dos2unix README.TXT COPYING lib/Font/TTF/Changes - +%setup -q -n Font-TTF-%{version} +#dos2unix README.TXT COPYING lib/Font/TTF/Changes %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install make pure_install PERL_INSTALL_ROOT=%{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} $RPM_BUILD_ROOT/* +%{_fixperms} %{buildroot}/* %check make test - %files -%defattr(0644,root,root,0755) -%doc README.TXT COPYING lib/Font/TTF/Changes - +%doc README.TXT LICENSE CONTRIBUTORS Changes TODO %dir %{perl_vendorlib}/Font %dir %{perl_vendorlib}/Font/TTF - %{perl_vendorlib}/ttfmod.pl %{perl_vendorlib}/Font/TTF.pm %{perl_vendorlib}/Font/TTF/* - -%exclude %{perl_vendorlib}/Font/TTF/Changes - %{_mandir}/man3/*.3* - # 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 - %changelog +* Wed Aug 29 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.00-1 +- 1.00 bump +- Modernize the spec file + * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.48-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 3ba4c32..c7efad6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -56d614d04e985558d1518b8f4b29254e Font-TTF-0.48.tar.gz +c12a7b6ee866ffedc44d7d18d41eff82 Font-TTF-1.00.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel