perl-FCGI-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. %bcond_with test
  2. %define pkgname FCGI
  3. Name: perl-FCGI
  4. Summary: FCGI - Perl module
  5. Version: 0.82
  6. Release: 1%{_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: Artistic
  11. URL: https://metacpan.org/pod/FCGI
  12. Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz
  13. # Fix CVE-2012-6687 in the bundled fcgi library, bug #1190294, CPAN RT#118405,
  14. # patch copied from Debian's libfcgi-perl.
  15. Patch0: FCGI-0.78-CVE-2012-6687.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}
  17. Requires: perl >= 2:5.34.0
  18. %if %{with test}
  19. BuildRequires: perl(FCGI::Client)
  20. %endif
  21. %{?perl_default_filter}
  22. %description
  23. This is a FastCGI module for perl.
  24. %debug_package
  25. %prep
  26. %setup -q -n %{pkgname}-%{version}
  27. %patch0 -p1
  28. find . -type f -exec chmod -c -x {} +
  29. %build
  30. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \
  31. NO_PERLLOCAL=1
  32. %make_build
  33. %install
  34. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  35. %make_install
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. %if %{with test}
  39. make test
  40. %endif
  41. %clean
  42. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  43. %files
  44. %license LICENSE
  45. %doc ChangeLog README
  46. %{perl_vendorarch}/*
  47. %exclude %dir %{perl_vendorarch}/auto
  48. %{_mandir}/man3/*.3*
  49. %changelog
  50. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.82-1
  51. - new upstream release.
  52. - built with perl-5.34.0.
  53. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.78-1
  54. - new upstream release.
  55. - rebuilt with perl-5.26.
  56. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-2
  57. - rebuilt with perl-5.16.3.
  58. * Sat Nov 23 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.74-1
  59. - new upstream release.
  60. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.67-4
  61. - rebuild with perl-5.12.3
  62. * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.67-3
  63. - changed Group to Development/Libraries
  64. * Wed Apr 30 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-2
  65. - rebuilt with perl-5.10.0.
  66. * Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.67-1
  67. - initial build.