perl-Mozilla-CA-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. Name: perl-Mozilla-CA
  2. # You do not need to back-port new version for list of certificates solely.
  3. # They are taken from ca-certificates package instead per bug #738383.
  4. Version: 20180117
  5. Release: 7%{?_dist_release}
  6. Summary: Mozilla's CA cert bundle in PEM format
  7. Group: Development/Libraries
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. # README: MPLv2.0
  11. ## Unbundled
  12. # mk-ca-bundle.pl: MIT
  13. # lib/Mozilla/CA/cacert.pem: MPLv2.0
  14. License: MPLv2.0
  15. URL: https://metacpan.org/release/Mozilla-CA
  16. Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-%{version}.tar.gz
  17. # Use CA bundle from ca-certificates package, bug #738383
  18. Patch0: Mozilla-CA-20180117-Redirect-to-ca-certificates-bundle.patch
  19. BuildArch: noarch
  20. BuildRequires: coreutils
  21. BuildRequires: make
  22. BuildRequires: perl
  23. BuildRequires: perl(ExtUtils::MakeMaker)
  24. BuildRequires: sed
  25. # Run-time:
  26. BuildRequires: ca-certificates
  27. BuildRequires: perl(strict)
  28. BuildRequires: perl(File::Spec)
  29. # Tests:
  30. BuildRequires: perl(Test)
  31. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  32. Requires: ca-certificates
  33. %description
  34. Mozilla::CA provides a path to ca-certificates copy of Mozilla's bundle of
  35. certificate authority certificates in a form that can be consumed by modules
  36. and libraries based on OpenSSL.
  37. %prep
  38. %setup -q -n Mozilla-CA-%{version}
  39. %patch0 -p1
  40. # Remove bundled CA bundle for sure
  41. rm lib/Mozilla/CA/cacert.pem
  42. # Do not distribute Mozilla downloader, we take certificates from
  43. # ca-certificates package
  44. rm mk-ca-bundle.pl
  45. sed -i '/^mk-ca-bundle.pl$/d' MANIFEST
  46. %build
  47. perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
  48. make %{?_smp_mflags}
  49. %install
  50. make pure_install DESTDIR=$RPM_BUILD_ROOT
  51. %{_fixperms} $RPM_BUILD_ROOT/*
  52. %check
  53. make test
  54. %files
  55. %doc Changes README
  56. %{perl_vendorlib}/*
  57. %{_mandir}/man3/*
  58. %changelog
  59. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 20180117-7
  60. - initial build for Vine Linux.
  61. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-6
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  63. * Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20180117-5
  64. - Perl 5.30 rebuild
  65. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-4
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  67. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-3
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  69. * Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 20180117-2
  70. - Perl 5.28 rebuild
  71. * Fri Mar 02 2018 Petr Pisar <ppisar@redhat.com> - 20180117-1
  72. - 20180117 bump
  73. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-7
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  75. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-6
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  77. * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 20160104-5
  78. - Perl 5.26 rebuild
  79. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-4
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  81. * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 20160104-3
  82. - Perl 5.24 rebuild
  83. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  85. * Tue Jan 05 2016 Petr Pisar <ppisar@redhat.com> - 20160104-1
  86. - 20160104 bump
  87. * Wed Aug 26 2015 Petr Pisar <ppisar@redhat.com> - 20150826-1
  88. - 20150826 bump
  89. - License changed from (MPLv1.1 or LGPLv2+ or GPLv2+) to (MPLv2.0)
  90. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20141217-3
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  92. * Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 20141217-2
  93. - Perl 5.22 rebuild
  94. * Fri Jan 02 2015 Petr Pisar <ppisar@redhat.com> - 20141217-1
  95. - 20141217 bump
  96. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 20130114-7
  97. - Perl 5.20 rebuild
  98. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-6
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  100. * Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 20130114-5
  101. - Specify all dependencies
  102. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-4
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  104. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 20130114-3
  105. - Perl 5.18 rebuild
  106. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-2
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  108. * Tue Jan 15 2013 Petr Pisar <ppisar@redhat.com> - 20130114-1
  109. - 20130114 bump
  110. * Thu Aug 23 2012 Petr Pisar <ppisar@redhat.com> - 20120823-1
  111. - 20120823 bump
  112. * Wed Aug 22 2012 Petr Pisar <ppisar@redhat.com> - 20120822-1
  113. - 20120822 bump
  114. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120309-3
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  116. * Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 20120309-2
  117. - Perl 5.16 rebuild
  118. * Wed Mar 14 2012 Petr Pisar <ppisar@redhat.com> - 20120309-1
  119. - 20120309 bump
  120. * Wed Jan 18 2012 Petr Pisar <ppisar@redhat.com> - 20120118-1
  121. - 20120118 bump
  122. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20111025-2
  123. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  124. * Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 20111025-1
  125. - 20111025 bump
  126. - Remove defattr from spec code
  127. * Fri Sep 16 2011 Petr Pisar <ppisar@redhat.com> - 20110914-2
  128. - Redirect to ca-certificates bundle (bug #738383)
  129. * Thu Sep 15 2011 Petr Pisar <ppisar@redhat.com> - 20110914-1
  130. - 20110914 bump
  131. * Mon Sep 05 2011 Petr Pisar <ppisar@redhat.com> - 20110904-1
  132. - 20110904 bump
  133. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20110409-2
  134. - Perl mass rebuild
  135. * Mon Apr 11 2011 Petr Pisar <ppisar@redhat.com> - 20110409-1
  136. - 20110409 bump
  137. * Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 20110301-1
  138. - Specfile autogenerated by cpanspec 1.78.
  139. - Correct License tag
  140. - Remove BuildRoot stuff