From 68c390e337c77c58e40ef95afcd96598fb20ae0b Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Nov 29 2010 13:41:14 +0000 Subject: create sub-package for CGI 3.49 --- diff --git a/perl.spec b/perl.spec index 6411e8a..21c5a72 100644 --- a/perl.spec +++ b/perl.spec @@ -19,7 +19,7 @@ Name: perl Version: %{perl_version} # release number must be even higher, becase dual-lived modules will be broken otherwise -Release: 143%{?dist} +Release: 144%{?dist} Epoch: %{perl_epoch} Summary: Practical Extraction and Report Language Group: Development/Languages @@ -250,6 +250,26 @@ may themselves each be derived, via its @ISA, from one or more superclasses (as above). +%package CGI +Summary: Handle Common Gateway Interface requests and responses +Group: Development/Libraries +License: GPL+ or Artistic +Epoch: 0 +Version: 3.49 +Requires: perl = %{perl_epoch}:%{perl_version}-%{release} +BuildArch: noarch + +%description CGI +CGI.pm is a stable, complete and mature solution for processing and preparing +HTTP requests and responses. Major features including processing form +submissions, file uploads, reading and writing cookies, query string generation +and manipulation, and processing and preparing HTTP headers. Some HTML +generation utilities are included as well. + +CGI.pm performs very well in in a vanilla CGI.pm environment and also comes +with built-in support for mod_perl and mod_perl2 as well as FastCGI. + + %package Compress-Raw-Zlib Summary: Low-Level Interface to the zlib compression library Group: Development/Libraries @@ -861,7 +881,7 @@ Requires: perl-libs = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-devel = %{perl_epoch}:%{perl_version}-%{release} Requires: perl-Archive-Extract, perl-Archive-Tar, perl-Class-ISA, -Requires: perl-Compress-Raw-Zlib, perl-CPAN, +Requires: perl-Compress-Raw-Zlib, perl-CGI, perl-CPAN, Requires: perl-CPANPLUS, perl-Digest-SHA, perl-ExtUtils-CBuilder, Requires: perl-ExtUtils-Embed, perl-ExtUtils-MakeMaker, perl-ExtUtils-ParseXS, Requires: perl-File-Fetch, perl-IO-Compress, perl-IO-Zlib, @@ -1214,6 +1234,12 @@ rm -rf $RPM_BUILD_ROOT %exclude %{privlib}/Class/ISA.pm %exclude %{_mandir}/man3/Class::ISA.3* +# CGI +%exclude %{privlib}/CGI/ +%exclude %{privlib}/CGI.pm +%exclude %{_mandir}/man3/CGI.3* +%exclude %{_mandir}/man3/CGI::*.3* + # CPAN %exclude %{_bindir}/cpan %exclude %{privlib}/CPAN/ @@ -1528,6 +1554,13 @@ rm -rf $RPM_BUILD_ROOT %{privlib}/Class/ISA.pm %{_mandir}/man3/Class::ISA.3* +%files CGI +%defattr(-,root,root,-) +%{privlib}/CGI/ +%{privlib}/CGI.pm +%{_mandir}/man3/CGI.3* +%{_mandir}/man3/CGI::*.3* + %files Compress-Raw-Zlib %defattr(-,root,root,-) %dir %{archlib}/Compress @@ -1842,6 +1875,9 @@ rm -rf $RPM_BUILD_ROOT # Old changelog entries are preserved in CVS. %changelog +* Mon Nov 29 2010 Marcela Mašláňová - 4:5.12.2-144 +- create sub-package for CGI 3.49 + * Tue Nov 09 2010 Petr Pisar - 4:5.12.2-143 - Sub-package perl-Class-ISA (bug #651317)