perl-WWW-Curl-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. Name: perl-WWW-Curl
  2. Version: 4.17
  3. Release: 2%{?_dist_release}
  4. Summary: Perl extension interface for libcurl
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: MIT
  9. URL: https://metacpan.org/pod/WWW::Curl
  10. Source0: https://cpan.metacpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz
  11. Patch0: WWW-Curl-4.17-Skip-preprocessor-symbol-only-CURL_STRICTER.patch
  12. # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941915
  13. Patch1: WWW-Curl-4.17-define-CURL-as-void.patch
  14. # Adapt to changes in cURL 7.69.0, bug #1812910, CPAN RT#132197
  15. Patch2: WWW-Curl-4.17-Adapt-to-changes-in-cURL-7.69.0.patch
  16. BuildRequires: perl >= 2:5.34.0
  17. BuildRequires: perl(inc::Module::Install)
  18. BuildRequires: perl(Carp)
  19. BuildRequires: perl(Exporter)
  20. BuildRequires: perl(ExtUtils::MakeMaker)
  21. BuildRequires: perl(File::Temp)
  22. %{?_with_network_tests: BuildRequires: perl(lib) }
  23. BuildRequires: perl(strict)
  24. BuildRequires: perl(Test::More)
  25. # Test::Pod is optional
  26. BuildRequires: perl(warnings)
  27. BuildRequires: perl(XSLoader)
  28. BuildRequires: curl-devel
  29. Requires: perl >= 2:5.34.0
  30. %{?perl_default_filter}
  31. %description
  32. WWW::Curl is a Perl extension interface for libcurl.
  33. %debug_package
  34. %prep
  35. %setup -q -n WWW-Curl-%{version}
  36. %patch0 -p1
  37. %patch1 -p1
  38. %patch2 -p1
  39. rm -rf inc && sed -i -e '/^inc\//d' MANIFEST
  40. %build
  41. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
  42. make %{?_smp_mflags}
  43. %install
  44. make pure_install DESTDIR=$RPM_BUILD_ROOT
  45. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  46. %{_fixperms} $RPM_BUILD_ROOT/*
  47. %check
  48. # These tests require network, use "--with network_tests" to execute them
  49. %{?!_with_network_tests: rm t/01basic.t }
  50. %{?!_with_network_tests: rm t/02callbacks.t }
  51. %{?!_with_network_tests: rm t/04abort-test.t }
  52. %{?!_with_network_tests: rm t/05progress.t }
  53. %{?!_with_network_tests: rm t/08ssl.t }
  54. %{?!_with_network_tests: rm t/09times.t }
  55. %{?!_with_network_tests: rm t/14duphandle.t }
  56. %{?!_with_network_tests: rm t/15duphandle-callback.t }
  57. %{?!_with_network_tests: rm t/18twinhandles.t }
  58. %{?!_with_network_tests: rm t/19multi.t }
  59. %{?!_with_network_tests: rm t/21write-to-scalar.t }
  60. make test
  61. %files
  62. %license LICENSE
  63. %doc Changes README
  64. %{perl_vendorarch}/auto/*
  65. %{perl_vendorarch}/WWW*
  66. %{_mandir}/man3/*
  67. %changelog
  68. * Mon Nov 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.17-3
  69. - rebuilt with perl-5.34.0.
  70. - imported Patch1-2 from rawhide.
  71. * Sat Aug 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.17-2
  72. - rebuilt with perl-5.26.2.
  73. - added Patch0 for recent curl.
  74. * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.17-1
  75. - initial build for Vine Linux
  76. * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.17-4
  77. - Perl 5.20 rebuild
  78. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.17-3
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  80. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.17-2
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  82. * Wed Feb 26 2014 Petr Šabata <contyk@redhat.com> - 4.17-1
  83. - 4.17 bump, license change
  84. * Fri Feb 21 2014 Petr Šabata <contyk@redhat.com> - 4.16-1
  85. - 4.16 bump
  86. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-12
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  88. * Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 4.15-11
  89. - Perl 5.18 rebuild
  90. * Sun Jul 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-10
  91. - Update dependencies
  92. - Use DESTDIR rather than PERL_INSTALL_ROOT
  93. - Remove buildroot cleaning
  94. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-9
  95. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  96. * Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-8
  97. - Specify all dependencies
  98. - Modernize spec file
  99. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-7
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  101. * Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 4.15-6
  102. - Perl 5.16 rebuild
  103. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-5
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  105. * Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 4.15-4
  106. - use perl_default_filter
  107. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.15-3
  108. - Perl mass rebuild
  109. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  111. * Tue Nov 30 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.15-1
  112. - Update to 4.15
  113. * Thu Oct 28 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.14-1
  114. - Update to 4.14
  115. - Add a filter provide to avoid private-shared-object-provides error
  116. * Sun Sep 5 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.13-1
  117. - Update to 4.13
  118. * Wed Aug 25 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.12-1
  119. - Update to 4.12
  120. * Thu Jun 3 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-3
  121. - Remove test 19 because it requires network
  122. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.11-2
  123. - Mass rebuild with perl-5.12.0
  124. * Fri Dec 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-1
  125. - Update to 4.11
  126. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 4.09-3
  127. - rebuild against perl 5.10.1
  128. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.09-2
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  130. * Sat Jul 11 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.09-1
  131. - Rebuild for 4.09
  132. * Mon Jun 1 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.07-1
  133. - Rebuild for 4.07
  134. * Sat Apr 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.06-1
  135. - Step to 4.06
  136. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.05-5
  137. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  138. * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-4
  139. - Licence update
  140. * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-3
  141. - README.Win32 file removed
  142. * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-2
  143. - Timestamp preserved
  144. - changelog format fix
  145. - README.Win32 file removed
  146. * Thu Dec 11 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-1
  147. - Initial build with cpan2spec