Name: perl-CGI-Simple Version: 1.112 Release: 1%{?dist} Summary: Simple totally OO CGI interface that is CGI.pm compliant License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Simple/ Source0: file:///home/dave/cpan/authors/id/A/AN/ANDYA/CGI-Simple-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(IO::Scalar) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(IO::Scalar) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description CGI::Simple provides a relatively lightweight drop in replacement for CGI.pm. It shares an identical OO interface to CGI.pm for parameter parsing, file upload, cookie handling and header generation. This module is entirely object oriented, however a complete functional interface is available by using the CGI::Simple::Standard module. %prep %setup -q -n CGI-Simple-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat May 15 2010 Dave Cross 1.112-1 - Specfile autogenerated by cpanspec 1.78.