]> git.pld-linux.org Git - packages/perl-IO-Socket-SSL.git/blame - perl-IO-Socket-SSL.spec
S: perl-Mozilla-CA
[packages/perl-IO-Socket-SSL.git] / perl-IO-Socket-SSL.spec
CommitLineData
1b56fd53 1#
2# Conditional build:
b63fc453 3%bcond_with tests # perform "make test" - needs network connection
c18e0f34 4#
6000d045 5%define pdir IO
6%define pnam Socket-SSL
ef40482c 7Summary: IO::Socket::SSL - nearly transparent SSL encapsulation for IO::Socket::INET
ab161b65 8Summary(pl.UTF-8): IO::Socket::SSL - prawie przezroczysta obudowa SSL dla IO::Socket::INET
51fa02bf 9Name: perl-IO-Socket-SSL
cb0505c5 10Version: 2.072
bbe78fbf 11Release: 1
85d8312c 12Epoch: 1
eb6f1a1d 13# same as perl
14License: GPL v1+ or Artistic
51fa02bf 15Group: Development/Languages/Perl
a03764b1 16Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
cb0505c5 17# Source0-md5: 4fb67fc8c4817dce8116f2eb7878fd9c
638003d6 18URL: https://metacpan.org/release/IO-Socket-SSL
902f2f05 19%if %{with tests}
92233708 20BuildRequires: perl-Net-SSLeay >= 1.46
6ab9db17 21BuildRequires: perl-Scalar-List-Utils
902f2f05 22%endif
c7ef29f3 23BuildRequires: perl-devel >= 1:5.8.0
457bc30f 24BuildRequires: rpm-perlprov >= 4.1-13
b0526b6c 25BuildRequires: rpmbuild(macros) >= 1.745
552bfad9
JB
26# actually Net::SSLeay using openssl >= 0.9.8
27Requires: openssl >= 0.9.8
128e916d 28Suggests: perl-Mozilla-CA
8f48c370 29Suggests: perl-Net-IDN-Encode
52ab1a6f 30BuildArch: noarch
1536a10f 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51fa02bf 32
33%description
11427a56
JB
34This module is a true drop-in replacement for IO::Socket::INET that
35uses SSL to encrypt data before it is transferred to a remote server
36or client. IO::Socket::SSL supports all the extra features that one
37needs to write a full-featured SSL client or server application:
38multiple SSL contexts, cipher selection, certificate verification, and
39SSL version selection. As an extra bonus, it works perfectly with
40mod_perl.
41
2ca91bcc
JR
42%description -l pl.UTF-8
43Ten moduł jest prawdziwym zamiennikiem dla IO::Socket::INET,
44używającym SSL do kodowania danych przed przesyłaniem do zdalnego
11427a56 45serwera lub klienta. IO::Socket::SSL wspiera wszystkie dodatkowe
2ca91bcc
JR
46rzeczy potrzebne do napisania w pełni funkcjonalnego klienta lub
47serwera SSL: wiele kontekstów SSL, wybór szyfru, weryfikacja
48certyfikatu, wybór wersji SSL. Ponadto wspaniale działa z mod_perlem.
51fa02bf 49
50%prep
ef6840f9 51%setup -q -n %{pdir}-%{pnam}-%{version}
51fa02bf 52
53%build
034770f2 54echo "n" | \
457bc30f 55%{__perl} Makefile.PL \
6973d60a 56 INSTALLDIRS=vendor
a76e1938 57%{__make}
51fa02bf 58
b63fc453 59%{?with_tests:%{__make} test}
1b56fd53 60
51fa02bf 61%install
62rm -rf $RPM_BUILD_ROOT
51fa02bf 63
bbe78fbf 64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
51fa02bf 66
aebfe8ba
JB
67%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/IO/Socket/SSL.pod
68
85d8312c 69install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
638003d6 70cp -pr example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51fa02bf 71
51fa02bf 72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
05b702b4 77%doc Changes README docs/*
457bc30f 78%{perl_vendorlib}/IO/Socket/SSL.pm
05b702b4
JB
79%{perl_vendorlib}/IO/Socket/SSL
80%{_mandir}/man3/IO::Socket::SSL*.3pm*
e718c871 81%{_examplesdir}/%{name}-%{version}
This page took 0.128092 seconds and 4 git commands to generate.