%define module Font-TTF %define name perl-%{module} %define version 0.35 %define release 1mdk Summary: %{module} Perl module Version: %{version} Name: %{name} Release: %{release} License: Artistic Group: Development/Perl Source0: http://www.cpan.org/CPAN/authors/id/M/MH/MHOSKEN/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module}/ BuildRoot: %{_tmppath}/%name-%version-buildroot BuildArch: noarch %description Perl module to manipulate TTF fonts, needed by perl-Text-PDF. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Font/TTF/Win32.pm %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README.TXT %{_mandir}/*/* %{perl_vendorlib}/Font/ %{perl_vendorlib}/ttfmod.pl %changelog * Tue Jun 21 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.35-1mdk - 0.35 - Cleanup spec * Thu Dec 25 2003 Michael Scherer <misc@mandrake.org> 0.34-2mdk - remove useless win32 files * Thu Dec 25 2003 Michael Scherer <misc@mandrake.org> 0.34-1mdk - introdution in contrib.