perl-Net-SSLeay-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. %define real_name Net-SSLeay
  2. Summary: Perl module for using OpenSSL via Network
  3. Summary(ja): OpenSSL を Network にて用いる為の perl モジュール
  4. Name: perl-Net-SSLeay
  5. Version: 1.94
  6. Release: 1%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: Artistic
  11. URL: https://metacpan.org/dist/Net-SSLeay/view/lib/Net/SSLeay.pod
  12. Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%{real_name}-%{version}.tar.gz
  13. Patch0: https://patch-diff.githubusercontent.com/raw/radiator-software/p5-net-ssleay/pull/514.patch
  14. Patch2: Net-SSLeay-1.90-pkgconfig.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: perl, openssl-devel >= 1.1.1
  17. BuildRequires: pkgconfig(zlib)
  18. Requires: openssl-libs
  19. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  20. Obsoletes: perl-Net_SSLeay < 1.64
  21. Provides: perl-Net_SSLeay = %{version}-%{release}
  22. %description
  23. Perl module for using OpenSSL via Network, Net::SSLeay.
  24. %description -l ja
  25. OpenSSL を Network にて用いる為の perl モジュール, Net::SSLeay
  26. %debug_package
  27. %prep
  28. %setup -q -n %{real_name}-%{version}
  29. # Fix for test suite compatibility with OpenSSL 3.4
  30. %patch0 -p1
  31. # Get libraries to link against from pkg-config
  32. # https://github.com/radiator-software/p5-net-ssleay/pull/127
  33. %patch2
  34. # Fix permissions in examples to avoid bogus doc-file dependencies
  35. chmod -c 644 examples/*
  36. %build
  37. unset OPENSSL_PREFIX
  38. PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
  39. INSTALLDIRS=vendor \
  40. NO_PACKLIST=1 \
  41. NO_PERLLOCAL=1 \
  42. OPTIMIZE="%{optflags}" < /dev/null
  43. %{make_build}
  44. %install
  45. rm -rf %{buildroot}
  46. %{make_install}
  47. find %{buildroot} -type f -name '*.bs' -empty -delete
  48. # Remove script we don't want packaged
  49. rm -f %{buildroot}%{perl_vendorarch}/Net/ptrtstrun.pl
  50. %check
  51. unset RELEASE_TESTING
  52. make test
  53. %files
  54. %license LICENSE
  55. %doc Changes Credits QuickRef README perllocal.pod
  56. %{perl_vendorarch}/auto/Net/
  57. %dir %{perl_vendorarch}/Net/
  58. %{perl_vendorarch}/Net/SSLeay/
  59. %{perl_vendorarch}/Net/SSLeay.pm
  60. %doc %{perl_vendorarch}/Net/SSLeay.pod
  61. %{_mandir}/man3/Net::SSLeay.3*
  62. %{_mandir}/man3/Net::SSLeay::Handle.3*
  63. %changelog
  64. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.94-1
  65. - new upstream release.
  66. - rebuilt with perl-5.40.
  67. * Tue Nov 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.90-1
  68. - new upstream release.
  69. - rebuilt with perl-5.34.0.
  70. - imported Patch1-2 from rawhide.
  71. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.88-1
  72. - new upstream release.
  73. - rebuilt with perl-5.26.
  74. * Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.85-1
  75. - new upstream release.
  76. * Mon May 9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.74-1
  77. - new upstream release.
  78. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.64-1
  79. - new upstream release.
  80. - renamed from "perl-Net_SSLeay".
  81. - added "Obsoletes: perl-Net_SSLeay" and "Provides: perl-Net_SSLeay".
  82. * Sun Feb 26 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.42-1
  83. - new upstream release
  84. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.36-2
  85. - rebuild with perl-5.12.3
  86. * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.36-1
  87. - new upstream release
  88. - change BuildRequires: openssl-devel instead of openssl
  89. - add BuildRequires: zlib-devel
  90. * Wed Jul 8 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.35-1
  91. - new upstream release
  92. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.30-2
  93. - spec in utf-8
  94. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.30-1
  95. - rebuilt with perl-5.10.0
  96. - applied new versioning policy
  97. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.30-0vl2
  98. - rebuilt with openssl-0.9.8e
  99. * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.30-0vl1
  100. - updated to 1.30
  101. * Sat Sep 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.25-0vl4
  102. - installed files to vendor_perl
  103. - changed Group to Development/Libraries
  104. * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.25-0vl3
  105. - build on perl-5.8.6-0vl1
  106. * Wed Dec 10 2003 IWAI, Masaharu <iwai@alib.jp> 1.25-0vl2
  107. - build with perl-5.8.2
  108. - add %%{perl_sitearch}/{Net,Net/SSLeay} directories in %%files
  109. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.25-0vl1
  110. - new upstream version
  111. - built on perl-5.8.1
  112. * Thu May 08 2003 Tomoya TAKA <taka@vinelinux.org> 1.22-0vl5
  113. - fixed install man dir, again
  114. * Tue May 06 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.22-0vl4
  115. - fixed install dir of perllocal.pod
  116. * Mon May 05 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.22-0vl3
  117. - fixed install man dir
  118. * Thu May 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.22-0vl2
  119. - comment out "make test"
  120. * Thu May 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.22-0vl1
  121. - updated to 1.22
  122. * Fri Feb 15 2002 Toru Sagami <sagami@vinelinux.org> 1.13-0vl1
  123. - updated to 1.13
  124. - BuildPreReq/Requires: perl, openssl-0.9.6b
  125. - rewrite a better spec with License/Group
  126. * Mon Jul 16 2001 <sagami@vinelinux.org>
  127. - 1.07-0vl3: rebuilt with openssl-0.9.6b
  128. - erase unneeeded files from %%doc
  129. - use _prefix, not prefix
  130. * Thu Jul 05 2001 <sagami@vinelinux.org>
  131. - 1.07-0vl2: built with perl-5.6.1
  132. * Thu Jun 7 2001 Yasuhide OMORI <omori@m-t.com>
  133. - 1.07
  134. * Fri Sep 1 2000 Yoshishiro Kajiki <kajiki@ylug.org>
  135. - first version of rpm.