|
|
82469c |
Name: perl-CGI
|
|
|
82469c |
Summary: Handle Common Gateway Interface requests and responses
|
|
|
82469c |
Version: 3.63
|
|
|
82469c |
Release: 4%{?dist}
|
|
|
82469c |
License: (GPL+ or Artistic) and Artistic 2.0
|
|
|
82469c |
Group: Development/Libraries
|
|
|
82469c |
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-%{version}.tar.gz
|
|
|
82469c |
URL: http://search.cpan.org/dist/CGI
|
|
|
82469c |
BuildArch: noarch
|
|
|
82469c |
BuildRequires: perl
|
|
|
82469c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
82469c |
# Run-requires:
|
|
|
82469c |
BuildRequires: perl(base)
|
|
|
82469c |
BuildRequires: perl(Carp)
|
|
|
82469c |
BuildRequires: perl(constant)
|
|
|
82469c |
BuildRequires: perl(Exporter)
|
|
|
82469c |
BuildRequires: perl(FCGI) >= 0.67
|
|
|
82469c |
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
82469c |
BuildRequires: perl(overload)
|
|
|
82469c |
BuildRequires: perl(strict)
|
|
|
82469c |
BuildRequires: perl(vars)
|
|
|
82469c |
BuildRequires: perl(warnings)
|
|
|
82469c |
# Apache modules are optional
|
|
|
82469c |
# Tests:
|
|
|
82469c |
BuildRequires: perl(Config)
|
|
|
82469c |
BuildRequires: perl(Encode)
|
|
|
82469c |
BuildRequires: perl(FileHandle)
|
|
|
82469c |
BuildRequires: perl(IO::File)
|
|
|
82469c |
BuildRequires: perl(IO::Handle)
|
|
|
82469c |
BuildRequires: perl(lib)
|
|
|
82469c |
BuildRequires: perl(Test::More) >= 0.98
|
|
|
82469c |
BuildRequires: perl(utf8)
|
|
|
82469c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
82469c |
Requires: perl(FCGI) >= 0.67
|
|
|
82469c |
Requires: perl(File::Spec) >= 0.82
|
|
|
82469c |
Obsoletes: %{name}-tests <= 3.49
|
|
|
82469c |
|
|
|
82469c |
%{?perl_default_filter}
|
|
|
82469c |
# Remove under-specified dependencies
|
|
|
82469c |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((FCGI|File::Spec)\\)$
|
|
|
82469c |
# Remove false provides
|
|
|
82469c |
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\((Fh|MultipartBuffer)\\)$
|
|
|
82469c |
|
|
|
82469c |
%description
|
|
|
82469c |
CGI.pm is a stable, complete and mature solution for processing and preparing
|
|
|
82469c |
HTTP requests and responses. Major features including processing form
|
|
|
82469c |
submissions, file uploads, reading and writing cookies, query string
|
|
|
82469c |
generation and manipulation, and processing and preparing HTTP headers. Some
|
|
|
82469c |
HTML generation utilities are included as well.
|
|
|
82469c |
|
|
|
82469c |
CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
|
|
|
82469c |
with built-in support for mod_perl and mod_perl2 as well as FastCGI.
|
|
|
82469c |
|
|
|
82469c |
%prep
|
|
|
82469c |
%setup -q -n CGI.pm-%{version}
|
|
|
82469c |
iconv -f iso8859-1 -t utf-8 < Changes > Changes.1
|
|
|
82469c |
mv Changes.1 Changes
|
|
|
82469c |
sed -i 's?usr/bin perl?usr/bin/perl?' t/init.t
|
|
|
82469c |
|
|
|
82469c |
%build
|
|
|
82469c |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
82469c |
make %{?_smp_mflags}
|
|
|
82469c |
|
|
|
82469c |
%install
|
|
|
82469c |
make pure_install DESTDIR=%{buildroot}
|
|
|
82469c |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
82469c |
%{_fixperms} %{buildroot}/*
|
|
|
82469c |
|
|
|
82469c |
%check
|
|
|
82469c |
make test
|
|
|
82469c |
|
|
|
82469c |
%files
|
|
|
82469c |
%doc cgi_docs.html Changes README
|
|
|
82469c |
%{perl_vendorlib}/*
|
|
|
82469c |
%{_mandir}/man3/*.3*
|
|
|
82469c |
|
|
|
82469c |
%changelog
|
|
|
82469c |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.63-4
|
|
|
82469c |
- Mass rebuild 2013-12-27
|
|
|
82469c |
|
|
|
82469c |
* Mon Jun 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-3
|
|
|
82469c |
- Specify all dependencies
|
|
|
82469c |
- Update License - CGI.pm is distributed under GPL and Artistic 2.0
|
|
|
82469c |
|
|
|
82469c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.63-2
|
|
|
82469c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
82469c |
|
|
|
82469c |
* Thu Nov 15 2012 Petr Pisar <ppisar@redhat.com> - 3.63-1
|
|
|
82469c |
- 3.63 bump
|
|
|
82469c |
|
|
|
82469c |
* Wed Nov 14 2012 Petr Pisar <ppisar@redhat.com> - 3.62-1
|
|
|
82469c |
- 3.62 bump
|
|
|
82469c |
|
|
|
82469c |
* Tue Nov 06 2012 Petr Šabata <contyk@redhat.com> - 3.61-1
|
|
|
82469c |
- 3.61 bump, no code changes
|
|
|
82469c |
|
|
|
82469c |
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3.60-1
|
|
|
82469c |
- 3.60 bump
|
|
|
82469c |
|
|
|
82469c |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-8
|
|
|
82469c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
82469c |
|
|
|
82469c |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.51-7
|
|
|
82469c |
- Perl 5.16 rebuild
|
|
|
82469c |
|
|
|
82469c |
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 3.51-6
|
|
|
82469c |
- Clean spec file
|
|
|
82469c |
- Specify all dependencies
|
|
|
82469c |
|
|
|
82469c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-5
|
|
|
82469c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
82469c |
|
|
|
82469c |
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 3.51-4
|
|
|
82469c |
- RPM 4.9 dependency filtering added
|
|
|
82469c |
|
|
|
82469c |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.51-3
|
|
|
82469c |
- Perl mass rebuild
|
|
|
82469c |
|
|
|
82469c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-2
|
|
|
82469c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
82469c |
|
|
|
82469c |
* Thu Jan 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.51-1
|
|
|
82469c |
- update to fix CVE-2010-2761
|
|
|
82469c |
|
|
|
82469c |
* Mon Nov 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.50-2
|
|
|
82469c |
- remove -test sub-package, which would be needed also in perl-core
|
|
|
82469c |
|
|
|
82469c |
* Mon Nov 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.50-1
|
|
|
82469c |
- initial dual-life package
|
|
|
82469c |
|