1 |
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) |
2 |
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) |
3 |
|
4 |
Summary: SSL sockets with IO::Socket interface |
5 |
Name: perl-IO-Socket-SSL |
6 |
Version: 2.023 |
7 |
Release: 1%{?dist} |
8 |
License: GPL+ or Artistic |
9 |
Group: Development/Libraries |
10 |
URL: http://search.cpan.org/dist/IO-Socket-SSL/ |
11 |
|
12 |
Packager: Contribs.org <http://contribs.org> |
13 |
Vendor: Koozali SME Server, http://mirror.contribs.org/releases |
14 |
|
15 |
Source: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
17 |
|
18 |
BuildArch: noarch |
19 |
BuildRequires: perl(Net::SSLeay) >= 1.46 |
20 |
BuildRequires: perl(Scalar::Util) |
21 |
BuildRequires: perl(ExtUtils::MakeMaker) |
22 |
BuildRequires: perl(Test::More) |
23 |
Requires: perl(Net::SSLeay) >= 1.46 |
24 |
Requires: perl(Scalar::Util) |
25 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
26 |
|
27 |
%description |
28 |
IO::Socket::SSL makes using SSL/TLS much easier by wrapping the necessary |
29 |
functionality into the familiar IO::Socket interface and providing secure |
30 |
defaults whenever possible. This way, existing applications can be made SSL- |
31 |
aware without much effort, at least if you do blocking I/O and don't use |
32 |
select or poll. |
33 |
|
34 |
%prep |
35 |
%setup -q -n IO-Socket-SSL-%{version} |
36 |
|
37 |
%build |
38 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
39 |
make %{?_smp_mflags} |
40 |
|
41 |
%install |
42 |
rm -rf $RPM_BUILD_ROOT |
43 |
|
44 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
45 |
|
46 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
47 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
48 |
|
49 |
%{_fixperms} $RPM_BUILD_ROOT/* |
50 |
|
51 |
%check |
52 |
make test |
53 |
|
54 |
%clean |
55 |
%{__rm} -rf %{buildroot} |
56 |
|
57 |
%files |
58 |
%defattr(-,root,root,-) |
59 |
%doc BUGS Changes META.json README README.Win32 |
60 |
%{perl_vendorlib}/* |
61 |
%{_mandir}/man3/* |
62 |
|
63 |
%changelog |
64 |
* Tue Feb 9 2016 Daniel Berteaud <daniel@firewall-services.com> - 2.022-1.sme |
65 |
- Cleanup the spec file and update to 2.022, for Mojolicious [SME: 7819] |
66 |
|
67 |
* Tue May 19 2015 Daniel Berteaud <daniel@firewall-services.com> - 1.74-1.sme |
68 |
- new upstream release [SME: 8926] |
69 |
|
70 |
* Fri Jun 03 2011 David Hrbáč <david@hrbac.cz> - 1.44-1 |
71 |
- new upstream release |
72 |
|
73 |
* Tue May 03 2011 David Hrbáč <david@hrbac.cz> - 1.40-1 |
74 |
- new upstream release |
75 |
|
76 |
* Fri Mar 11 2011 David Hrbáč <david@hrbac.cz> - 1.39-1 |
77 |
- new upstream release |
78 |
|
79 |
* Sun Jan 30 2011 David Hrbáč <david@hrbac.cz> - 1.38-1 |
80 |
- new upstream release |
81 |
|
82 |
* Mon Jan 03 2011 David Hrbáč <david@hrbac.cz> - 1.37-1 |
83 |
- new upstream release |
84 |
|
85 |
* Tue Dec 07 2010 David Hrbáč <david@hrbac.cz> - 1.35-1 |
86 |
- new upstream release |
87 |
|
88 |
* Tue Nov 02 2010 David Hrbáč <david@hrbac.cz> - 1.34-1 |
89 |
- new upstream release |
90 |
|
91 |
* Thu Sep 23 2010 David Hrbáč <david@hrbac.cz> - 1.33-1 |
92 |
- new upstream release |
93 |
|
94 |
* Tue May 04 2010 Steve Huff <shuff@vecna.org> - 1.31-2 |
95 |
- Satisfies an alternative dependency for perl-Net-Nessus-XMLRPC. |
96 |
|
97 |
* Wed Dec 23 2009 Christoph Maser <cmr@financial.com> - 1.31-1 |
98 |
- Updated to version 1.31. |
99 |
|
100 |
* Wed Sep 9 2009 Christoph Maser <cmr@financial.com> - 1.30-1 |
101 |
- Updated to version 1.30. |
102 |
|
103 |
* Fri Aug 7 2009 Christoph Maser <cmr@financial.com> - 1.27-1 |
104 |
- Updated to version 1.27. |
105 |
|
106 |
* Sat Jul 4 2009 Christoph Maser <cmr@financial.com> - 1.26-1 |
107 |
- Updated to version 1.26. |
108 |
|
109 |
* Wed Oct 15 2008 Dag Wieers <dag@wieers.com> - 1.17-1 |
110 |
- Updated to release 1.17. |
111 |
|
112 |
* Wed Oct 08 2008 Dag Wieers <dag@wieers.com> - 1.16-1 |
113 |
- Updated to release 1.16. |
114 |
|
115 |
* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 1.13-1 |
116 |
- Updated to release 1.13. |
117 |
|
118 |
* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 1.12-1 |
119 |
- Updated to release 1.12. |
120 |
|
121 |
* Tue Aug 07 2007 Dag Wieers <dag@wieers.com> - 1.07-2 |
122 |
- Disabled auto-requires for docs/ and example/. |
123 |
|
124 |
* Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 1.07-1 |
125 |
- Updated to release 1.07. |
126 |
|
127 |
* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 1.05-1 |
128 |
- Updated to release 1.05. |
129 |
|
130 |
* Mon Oct 09 2006 Dag Wieers <dag@wieers.com> - 1.01-1 |
131 |
- Updated to release 1.01. |
132 |
|
133 |
* Wed Aug 16 2006 Dag Wieers <dag@wieers.com> - 0.999-1 |
134 |
- Updated to release 0.999. |
135 |
|
136 |
* Sat Nov 5 2005 Dries Verachtert <dries@ulyssis.org> - 0.97-1 |
137 |
- Updated to release 0.97. |
138 |
|
139 |
* Wed Oct 20 2004 Dries Verachtert <dries@ulyssis.org> - 0.96-0 |
140 |
- Update to release 0.96. |
141 |
|
142 |
* Mon Jul 14 2003 Dag Wieers <dag@wieers.com> - 0.94-0 |
143 |
- Updated to release 0.94. |
144 |
- Initial package. (using DAR) |