diff --git a/.cvsignore b/.cvsignore index e69de29..ced5a97 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Font-AFM-1.19.tar.gz diff --git a/perl-Font-AFM.spec b/perl-Font-AFM.spec new file mode 100644 index 0000000..4b5de33 --- /dev/null +++ b/perl-Font-AFM.spec @@ -0,0 +1,54 @@ +Name: perl-Font-AFM +Version: 1.19 +Release: 1%{?dist} +Summary: Font::AFM Perl module + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Font-AFM/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +BuildArch: noarch + +%description +Interface to Adobe Font Metrics files + +%prep +%setup -q -n Font-AFM-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Font +%{_mandir}/man3/Font* + +%changelog +* Thu Aug 22 2005 Ralf Corsepius - 1.19-1 +- FE submission. + +* Mon Mar 21 2005 Ralf Corsepius - 1.19-0.pm.2 +- Initial packman release. diff --git a/sources b/sources index e69de29..e1e8e42 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f72a12a20656c41b29a79c985bd231c9 Font-AFM-1.19.tar.gz