rendered paste bodyName: perl-CGI.pm
Version: 3.49
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/modules/by-module/CGI.pm/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
perl Makefile.PL make make test make install
%prep
%setup -q -n CGI.pm-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=site
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 \;
# destroy manified man, man.
find $RPM_BUILD_ROOT -type f -name '*.3pm' -exec rm -f {} \;
%{_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_sitelib}/*
%changelog
* Thu Apr 08 2010 build <build@domain.ext> 3.49-1
- Specfile autogenerated by cpanspec 1.77, then mangled by somebody following the dark.ca tutorial.