perl-IO-Socket-SSL-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: Nearly transparent SSL encapsulation for IO::Socket::INET
  2. Summary(ja): IO::Socket::INET のための、ほぼ透過的な SSL カプセル化ライブラリ
  3. Name: perl-IO-Socket-SSL
  4. Version: 2.012
  5. Release: 1%{?_dist_release}
  6. License: Artistic or GPLv1
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/~behroozi/IO-Socket-SSL/
  9. Source0: IO-Socket-SSL-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl
  13. BuildRequires: perl-Net_SSLeay
  14. Requires: perl
  15. %description
  16. This module is a true drop-in replacement for IO::Socket::INET that uses
  17. SSL to encrypt data before it is transferred to a remote server or client.
  18. %description -l ja
  19. このモジュールは IO::Socket::INET をそっくりそのまま置き換えるものですが、
  20. それに加えて、データがリモートのサーバやクライアントに転送される前に SSL
  21. を使って暗号化します。
  22. %prep
  23. %setup -q -n IO-Socket-SSL-%{version}
  24. %build
  25. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor <<EOF
  26. y
  27. EOF
  28. make
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  33. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  34. find $RPM_BUILD_ROOT/usr -type f -print |
  35. sed "s@^$RPM_BUILD_ROOT@@g" |
  36. grep -v perllocal.pod |
  37. grep -v "\.packlist" > IO-Socket-SSL-%{version}-filelist
  38. if [ "$(cat IO-Socket-SSL-%{version}-filelist)X" = "X" ] ; then
  39. echo "ERROR: EMPTY FILE LIST"
  40. exit -1
  41. fi
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %check
  45. make test
  46. %files -f IO-Socket-SSL-%{version}-filelist
  47. %defattr(-,root,root,-)
  48. %doc Changes README example
  49. %dir %{perl_vendorlib}/IO
  50. %dir %{perl_vendorlib}/IO/Socket
  51. %changelog
  52. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.012-1
  53. - new upstream release
  54. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.994-1
  55. - new upstream release.
  56. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.26-2
  57. - rebuild with perl-5.12.3
  58. * Wed Jul 8 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.26-1vl5
  59. - new upstream release with security fix
  60. (verify_hostname_of_cert() Bypass Issue)
  61. * Tue Nov 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.17-1vl5
  62. - new upstream release
  63. - applied new versioning policy
  64. - spec in UTF-8
  65. - added BuildRequires: perl-Net_SSLeay (for %%check)
  66. * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-0vl1
  67. - new upstream release
  68. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-0vl1
  69. - new upstream release
  70. - changed Group to Development/Libraries
  71. * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-0vl1
  72. - new upstream release
  73. - updated URL
  74. * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.96-0vl1
  75. - new upstream release
  76. * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 0.95-0vl1
  77. - Initial build for Vine Linux 3.1.
  78. * Mon Feb 23 2004 <yasuma@miraclelinux.com> 0.95-1
  79. - Initial build.