%perl_module_wo_prefix cpan2rpm 2.026 12 Summary: A Perl module packager. Group: Applications/CPAN Vendor: Erick Calder License: Artistic URL: http://perl.arix.com/cpan2rpm/ Source0: ftp://arix.com/%{pkgname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl-libwww-perl, fakeroot %description This script generates an RPM package from a Perl module. It uses the standard RPM file structure and creates a spec file, a source RPM, and a binary, leaving these in their respective directories. The script can operate on local files, urls and CPAN module names. Install this package if you want to create RPMs out of Perl modules. %prep %setup -q -n %{pkgname}-%{version} %build %perl_configure fakeroot make %perl_makecheck %install rm -rf %{buildroot} %perl_makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README Changes %{perl_bin}/cpan2rpm %{perl_man1dir}/cpan2rpm.1* %changelog * Fri Apr 16 2004 Axel Thimm - Updated to 2.026. * Sat Nov 22 2003 Axel Thimm - Updated to 2.021. * Thu Oct 9 2003 Axel Thimm - Updated to 2.020. * Tue Jun 17 2003 Axel Thimm - Updated to 2.019. * Tue Apr 8 2003 Axel Thimm - Adapt to new macros. * Wed Nov 13 2002 ekkis@beowulf - Initial build.