%define module Text-PDF %define name perl-%{module} %define version 0.25 %define release 1mdk Summary: %{module} Perl module Version: %{version} Name: %{name} Release: %{release} Distribution: Mandrake Linux License: Artistic Group: Development/Perl Source0: http://www.cpan.org/CPAN/authors/id/M/MH/MHOSKEN/%{module}-%{version}.tar.bz2 URL: http://www.cpan.org/ BuildRoot: %{_tmppath}/%name-%version-buildroot BuildRequires: perl-devel BuildArch: noarch %description Perl module to manipulate PDF files. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor # no test defined yet %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc examples readme.txt %{_mandir}/*/* %{perl_vendorlib}/Text/ %{_bindir}/* %changelog * Thu Dec 25 2003 Michael Scherer <misc@mandrake.org> 0.25-1mdk - introdution in contribs, based on Daniel Lacroix <dlacroix@erasme.org> work