Name: perl-CGI.pm Version: 3.42 Release: 1%{?dist} Summary: CGI.pm Perl module License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/CGI.pm/ Source0: http://www.cpan.org/authors/id/L/LD/LDS/CGI.pm-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(FCGI) >= 0.67 Requires: perl(FCGI) >= 0.67 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description PROGRAMMING STYLE %prep %setup -q -n CGI.pm-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc cgi_docs.html cgi-lib_porting.html Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Sep 12 2008 Dave Cross 3.42-1 - Specfile autogenerated by cpanspec 1.77.