From 8558154768eeb68de212a20b6c66ac34da2aa9e1 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Sun, 21 Aug 2005 10:57:45 +0000 Subject: [PATCH] auto-import perl-Font-AFM-1.19-1 on branch devel from perl-Font-AFM-1.19-1.src.rpm --- .cvsignore | 1 + perl-Font-AFM.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+) create mode 100644 perl-Font-AFM.spec 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