diff --git a/.cvsignore b/.cvsignore index 75c834e..47f25ad 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Font-TTF-0.43.tar.gz +Font-TTF-0.45.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..d2102dd --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Font-TTF-0_45-1_fc10:HEAD:perl-Font-TTF-0.45-1.fc10.src.rpm:1215811435 diff --git a/perl-Font-TTF.spec b/perl-Font-TTF.spec index 0dd3946..9ac942d 100644 --- a/perl-Font-TTF.spec +++ b/perl-Font-TTF.spec @@ -1,27 +1,24 @@ %define cpanname Font-TTF -%define cpanver %{version} - -Name: perl-%{cpanname} -Version: 0.43 -Release: 3%{?dist} -Summary: Perl library for modifying TTF font files - -Group: Development/Libraries -# Relicensing needs to be negociated with upstream whenever it gets around -# releasing a new version -License: Artistic -URL: http://search.cpan.org/dist/%{cpanname}/ -Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{cpanver}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch -BuildRequires: perl-devel, dos2unix - -# The current FE perl template proposes this BuildRequires -# The current FE packaging guidelines say it's forbidden -# Commenting out while a consensus is reached -#BuildRequires: perl -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +Name: perl-%{cpanname} +Version: 0.45 +Release: 1%{?dist} +Summary: Perl library for modifying TTF font files + +Group: Development/Libraries +# Will probalby die soonish because of the following +License: Artistic +URL: http://search.cpan.org/dist/%{cpanname}/ +Source0: http://cpan.org/authors/id/M/MH/MHOSKEN/%{cpanname}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: dos2unix +# Check requirements +BuildRequires: perl(Test::Simple) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl module for TrueType font hacking. Supports reading, processing and writing @@ -35,29 +32,38 @@ module. %prep -%setup -q -n %{cpanname}-%{cpanver} +%setup -q -n %{cpanname}-%{version} dos2unix README.TXT COPYING lib/Font/TTF/Changes + %build -%{__perl} Makefile.PL INSTALLDIRS="vendor" +%{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} +rm -fr %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} + find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w %{buildroot}/* +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +chmod -R u+rwX,g+rX %{buildroot}/* + + +%check +make test %clean -rm -rf %{buildroot} +rm -fr %{buildroot} %files %defattr(0644,root,root,0755) %doc README.TXT COPYING lib/Font/TTF/Changes + %dir %{perl_vendorlib}/Font %dir %{perl_vendorlib}/Font/TTF @@ -76,7 +82,13 @@ rm -rf %{buildroot} %changelog -* Thu Mar 06 2008 Tom "spot" Callaway - 0.43-3 +* Fri Jul 11 2008 +- 0.45-1 +⌖ Fedora 10 alpha general package cleanup +⚖ Upstream needs to relicense fast to avoid culling + +* Thu Mar 06 2008 Tom "spot" Callaway +- 0.43-3 Rebuild for new perl * Sat Feb 09 2008 Nicolas Mailhot diff --git a/sources b/sources index a56fa0e..3acb10e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a92d8019722c227a521fe121027a3ef Font-TTF-0.43.tar.gz +5cf3baa8e227c43184767240f1d57ba1 Font-TTF-0.45.tar.gz