%define module WWW-RobotRules Name: perl-%{module} Version: 6.01 Release: 1ark Summary: Perl module for interpreting robots.txt derived permissions URL: http://search.cpan.org/dist/%module Source: http://mirror.switch.ch/ftp/mirror/CPAN/authors/id/G/GA/GAAS/%{module}-%version.tar.gz License: Perl (Artistic or GPL) Group: Development/Languages BuildRoot: %{_tmppath}/%{name}-root BuildArch: noarch %track prog %name = { url = http://search.cpan.org/dist/%module regex = "%module-(__VER__)" version = %version } %description Perl module for interpreting robots.txt derived permissions %prep %setup -q -n %{module}-%version %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %?_smp_mflags make %?_smp_mflags test %install rm -rf $RPM_BUILD_ROOT make %?_smp_mflags install INSTALLDIRS=vendor DESTDIR="$RPM_BUILD_ROOT" find $RPM_BUILD_ROOT -name perllocal.pod -o -name .packlist |xargs rm %files %defattr(-,root,root) %doc Changes MANIFEST README %{perl_vendorlib}/WWW %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Tue Mar 15 2011 Bernhard Rosenkraenzer <bero@arklinux.ch> 6.00-1ark - initial separate RPM (used to be in perl-libwww-perl < 6.0)