Name: perl-CGI-Application-FastCGI Version: 0.02 Release: 2%{?dist} Summary: For using CGI::Application under FastCGI License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Application-FastCGI/ Source0: http://www.cpan.org/authors/id/N/NA/NAOYA/CGI-Application-FastCGI-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Application) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FCGI) >= 0.6 BuildRequires: perl(Test::More) Requires: perl(CGI::Application) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Inherit this module instead of CGI::Application if you want to run your cgi programs based on CGI::Application under FastCGI. %prep %setup -q -n CGI-Application-FastCGI-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jul 11 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.02-2 - Add perl(CGI::Application) to Requires * Fri Mar 05 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.02-1 - Specfile autogenerated by cpanspec 1.78.