diff --git a/perl-Font-AFM.spec b/perl-Font-AFM.spec index 4b5de33..1666ec5 100644 --- a/perl-Font-AFM.spec +++ b/perl-Font-AFM.spec @@ -1,23 +1,28 @@ Name: perl-Font-AFM Version: 1.19 -Release: 1%{?dist} -Summary: Font::AFM Perl module +Release: 2%{?dist} +Summary: Perl interface to Adobe Font Metrics files 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 +BuildRequires: %{_datadir}/a2ps/afm/phvr.afm + %description Interface to Adobe Font Metrics files %prep %setup -q -n Font-AFM-%{version} +# We don't have Helvetica, use phvr.afm instead +sed -i -e 's,Helvetica,phvr,g' t/afm.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -33,8 +38,7 @@ chmod -R u+w $RPM_BUILD_ROOT/* %check -make test - +make test METRICS=%{_datadir}/a2ps/afm %clean rm -rf $RPM_BUILD_ROOT @@ -47,7 +51,10 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/Font* %changelog -* Thu Aug 22 2005 Ralf Corsepius - 1.19-1 +* Thu Aug 22 2005 Ralf Corsepius - 1.19-2 +- Review feedback. + +* Thu Aug 18 2005 Ralf Corsepius - 1.19-1 - FE submission. * Mon Mar 21 2005 Ralf Corsepius - 1.19-0.pm.2