%define upstream_name Font-AFM %define upstream_version 1.20 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Interface to Adobe Font Metrics files License: GPL+ or Artistic Group: Development/Perl Url: http://www.cpan.org Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description This module implements the Font::AFM class. Objects of this class are initialised from an AFM-file and allows you to obtain information about the font and the metrics of the various glyphs in the font. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.200.0-2.mga3 + Revision: 367509 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 13 2011 jquelin <jquelin> 1.200.0-1.mga1 + Revision: 11584 - imported package perl-Font-AFM