271ab6
Name:           perl-FCGI
271ab6
Summary:        FastCGI Perl bindings
271ab6
# needed to properly replace/obsolete fcgi-perl
271ab6
Epoch:          1
271ab6
Version:        0.79
271ab6
Release:        8%{?dist}
271ab6
# same as fcgi
271ab6
License:        OML
271ab6
271ab6
Source0:        https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz 
271ab6
# Fix CVE-2012-6687 in the bundled fcgi library, bug #1190294, CPAN RT#118405,
271ab6
# patch copied from Debian's libfcgi-perl.
271ab6
Patch0:         FCGI-0.78-CVE-2012-6687.patch
271ab6
URL:            https://metacpan.org/release/FCGI
271ab6
BuildRequires:  coreutils
271ab6
BuildRequires:  findutils
271ab6
BuildRequires:  gcc
271ab6
BuildRequires:  make
271ab6
BuildRequires:  perl-devel
271ab6
BuildRequires:  perl-generators
271ab6
BuildRequires:  perl-interpreter
271ab6
BuildRequires:  perl(Config)
271ab6
BuildRequires:  perl(Cwd)
271ab6
# ExtUtils::Liblist not used
271ab6
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
271ab6
BuildRequires:  perl(File::Copy)
271ab6
# File::Spec not used on Linux
271ab6
BuildRequires:  perl(Getopt::Long)
271ab6
BuildRequires:  perl(IO::File)
271ab6
# Run-time:
271ab6
# Carp not used at tests
271ab6
BuildRequires:  perl(strict)
271ab6
BuildRequires:  perl(XSLoader)
271ab6
# Tests:
271ab6
BuildRequires:  perl(Test)
271ab6
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
271ab6
Requires:       perl(Carp)
271ab6
Requires:       perl(XSLoader)
271ab6
# fcgiapp.c, os_unix.c, os_win32.c are copied and modified from FastCGI
271ab6
# Developer's Kit of an unknown version, bug #736612
271ab6
Provides:       bundled(fcgi)
271ab6
271ab6
%{?perl_default_filter}
271ab6
271ab6
%description
271ab6
%{summary}.
271ab6
271ab6
%prep
271ab6
%setup -q -n FCGI-%{version}
271ab6
%patch0 -p1
271ab6
find . -type f -exec chmod -c -x {} +
271ab6
271ab6
%build
271ab6
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
271ab6
                 NO_PERLLOCAL=1
271ab6
%make_build
271ab6
271ab6
%install
271ab6
%make_install
271ab6
%{_fixperms} %{buildroot}/*
271ab6
271ab6
%check
271ab6
make test
271ab6
271ab6
%files
271ab6
%license LICENSE
271ab6
%doc ChangeLog README
271ab6
%{perl_vendorarch}/*
271ab6
%exclude %dir %{perl_vendorarch}/auto
271ab6
%{_mandir}/man3/*.3*
271ab6
271ab6
%changelog
271ab6
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.79-8
271ab6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
271ab6
  Related: rhbz#1991688
271ab6
271ab6
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.79-7
271ab6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
271ab6
271ab6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-6
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
271ab6
271ab6
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-5
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
271ab6
271ab6
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.79-4
271ab6
- Perl 5.32 rebuild
271ab6
271ab6
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 1:0.79-3
271ab6
- Spec file cleanups: Use make_build and make_install macros
271ab6
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
271ab6
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
271ab6
271ab6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.79-2
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
271ab6
271ab6
* Sun Dec 15 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.79-1
271ab6
- Update to 0.79
271ab6
271ab6
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-14
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
271ab6
271ab6
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.78-13
271ab6
- Perl 5.30 rebuild
271ab6
271ab6
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-12
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
271ab6
271ab6
* Tue Jan 15 2019 Petr Pisar <ppisar@redhat.com> - 1:0.78-11
271ab6
- Document an fcgi library is bundled (bug #736612)
271ab6
- Fix CVE-2012-6687 in the bundled fcgi library (bug #1190294)
271ab6
271ab6
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-10
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
271ab6
271ab6
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.78-9
271ab6
- Perl 5.28 rebuild
271ab6
271ab6
* Sun Mar 11 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.78-8
271ab6
- Add missing build-requirements
271ab6
271ab6
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-7
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
271ab6
271ab6
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-6
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
271ab6
271ab6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-5
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
271ab6
271ab6
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.78-4
271ab6
- Perl 5.26 rebuild
271ab6
271ab6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.78-3
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
271ab6
271ab6
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.78-2
271ab6
- Perl 5.24 rebuild
271ab6
271ab6
* Fri Mar 11 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.78-1
271ab6
- Update to 0.78
271ab6
- Pass NO_PACKLIST to Makefile.PL
271ab6
- Drop Obsolete Obsoletes
271ab6
271ab6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.77-7
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
271ab6
271ab6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.77-6
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
271ab6
271ab6
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.77-5
271ab6
- Perl 5.22 rebuild
271ab6
271ab6
* Wed Jan 14 2015 Petr Pisar <ppisar@redhat.com> - 1:0.77-4
271ab6
- Specify all dependencies
271ab6
271ab6
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.77-3
271ab6
- Perl 5.20 rebuild
271ab6
271ab6
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.77-2
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
271ab6
271ab6
* Sun Aug 17 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.77-1
271ab6
- Update to 0.77
271ab6
- Use %%license
271ab6
271ab6
* Sun Jul 20 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 1:0.75-1
271ab6
- Update to 0.75
271ab6
- Remove the Group macro
271ab6
271ab6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.74-11
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
271ab6
271ab6
* Mon Sep 02 2013 Petr Pisar <ppisar@redhat.com> - 1:0.74-10
271ab6
- Correct tests sub-package obsoleteness
271ab6
- Old fcgi-perl provides removed
271ab6
271ab6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.74-9
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
271ab6
271ab6
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:0.74-8
271ab6
- Perl 5.18 rebuild
271ab6
271ab6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.74-7
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
271ab6
271ab6
* Mon Nov 26 2012 Petr Šabata <contyk@redhat.com> - 1:0.74-6
271ab6
- Add missing buildtime dependencies
271ab6
- Drop command macros
271ab6
- Drop the tests subpackage
271ab6
271ab6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.74-5
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
271ab6
271ab6
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1:0.74-4
271ab6
- Perl 5.16 rebuild
271ab6
271ab6
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 1:0.74-3
271ab6
- Specify all dependencies
271ab6
271ab6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.74-2
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
271ab6
271ab6
* Sat Sep 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.74-1
271ab6
- update to latest upstream
271ab6
- drop cve-2011-2766 patch
271ab6
271ab6
* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 1:0.73-3
271ab6
- patch to resolve rhbz#736604 cve-2011-2766
271ab6
271ab6
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.73-2
271ab6
- Perl mass rebuild
271ab6
271ab6
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.73-1
271ab6
- update to 0.73, clean spec file
271ab6
271ab6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.71-5
271ab6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
271ab6
271ab6
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.71-4
271ab6
- 661697 rebuild for fixing problems with vendorach/lib
271ab6
271ab6
* Sat May 15 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:0.71-3
271ab6
- and fix our tests subpackage included files
271ab6
271ab6
* Sat May 15 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:0.71-2
271ab6
- fix license: BSD => OML
271ab6
271ab6
* Sat May 08 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:0.71-1
271ab6
- specfile by Fedora::App::MaintainerTools 0.006
271ab6
271ab6