%define upstream_name FCGI %define upstream_version 0.74 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: A Fast CGI module for Perl License: Distributable Group: Development/Perl Url: http://cpan.valueclick.com/authors/id/SKIMO/ Source0: %{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-devel %description This is a Fast CGI module for perl. It's based on the FCGI module that comes with Open Market's FastCGI Developer's Kit, but does not require you to recompile perl. See <http://www.fastcgi.com/> for more information about fastcgi. Lincoln D. Stein's perl CGI module also contains some information about fastcgi programming. %prep %setup -q -n %{upstream_name}-%{upstream_version} chmod 0644 LICENSE.TERMS META.json META.yml %build # Choose not to build a pure Perl implementation # (default answer [n] -> return) %{__perl} Makefile.PL INSTALLDIRS=vendor <<EOF EOF %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %doc ChangeLog META.json META.yml README %{_mandir}/*/* %{perl_vendorarch}/FCGI* %{perl_vendorarch}/auto/FCGI %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.740.0-5.mga3 + Revision: 367100 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.740.0-4.mga3 + Revision: 250617 - rebuild for perl 5.16 * Sun Oct 16 2011 jquelin <jquelin> 0.740.0-3.mga2 + Revision: 155486 - remove restriction on doc files (bug#3054) * Sat Sep 24 2011 jquelin <jquelin> 0.740.0-2.mga2 + Revision: 147499 - bug#2737 - update to 0.74 (fix CVE-2011-2766) * Sat Jun 11 2011 sander85 <sander85> 0.730.0-2.mga2 + Revision: 104247 - perl 5.14 + blino <blino> - 0.73 (fix build with recent ExtUtils::MakeMaker) * Wed Jan 19 2011 jquelin <jquelin> 0.710.0-4.mga1 + Revision: 23766 - rebuild * Wed Jan 12 2011 jquelin <jquelin> 0.710.0-3.mga1 + Revision: 7063 - imported package perl-FCGI