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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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: 1.26
  5. Release: 2%{?_dist_release}
  6. License: Artistic or GPL
  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
  26. make
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  31. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  32. find $RPM_BUILD_ROOT/usr -type f -print |
  33. sed "s@^$RPM_BUILD_ROOT@@g" |
  34. grep -v perllocal.pod |
  35. grep -v "\.packlist" > IO-Socket-SSL-%{version}-filelist
  36. if [ "$(cat IO-Socket-SSL-%{version}-filelist)X" = "X" ] ; then
  37. echo "ERROR: EMPTY FILE LIST"
  38. exit -1
  39. fi
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %check
  43. make test
  44. %files -f IO-Socket-SSL-%{version}-filelist
  45. %defattr(-,root,root,-)
  46. %doc Changes README example
  47. %dir %{perl_vendorlib}/IO
  48. %dir %{perl_vendorlib}/IO/Socket
  49. %changelog
  50. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.26-2
  51. - rebuild with perl-5.12.3
  52. * Wed Jul 8 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.26-1vl5
  53. - new upstream release with security fix
  54. (verify_hostname_of_cert() Bypass Issue)
  55. * Tue Nov 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.17-1vl5
  56. - new upstream release
  57. - applied new versioning policy
  58. - spec in UTF-8
  59. - added BuildRequires: perl-Net_SSLeay (for %%check)
  60. * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-0vl1
  61. - new upstream release
  62. * Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-0vl1
  63. - new upstream release
  64. - changed Group to Development/Libraries
  65. * Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97-0vl1
  66. - new upstream release
  67. - updated URL
  68. * Sun Apr 03 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.96-0vl1
  69. - new upstream release
  70. * Tue Feb 08 2005 HOTTA Michihide <hotta@net-newbie.com> 0.95-0vl1
  71. - Initial build for Vine Linux 3.1.
  72. * Mon Feb 23 2004 <yasuma@miraclelinux.com> 0.95-1
  73. - Initial build.