]> git.pld-linux.org Git - packages/perl-IO-Socket-SSL.git/blame - perl-IO-Socket-SSL.spec
- unified
[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#
ef6840f9 5%include /usr/lib/rpm/macros.perl
6000d045 6%define pdir IO
7%define pnam Socket-SSL
ef40482c 8Summary: IO::Socket::SSL - nearly transparent SSL encapsulation for IO::Socket::INET
ab161b65 9Summary(pl.UTF-8): IO::Socket::SSL - prawie przezroczysta obudowa SSL dla IO::Socket::INET
51fa02bf 10Name: perl-IO-Socket-SSL
a26769a0 11Version: 1.34
bbe78fbf 12Release: 1
85d8312c 13Epoch: 1
eb6f1a1d 14# same as perl
15License: GPL v1+ or Artistic
51fa02bf 16Group: Development/Languages/Perl
a26769a0
CM
17Source0: http://www.cpan.org/modules/by-module/IO/SULLR/%{pdir}-%{pnam}-%{version}.tar.gz
18# Source0-md5: c42dfa4172e6ee3673b5ead6709f7c04
74bed108 19URL: http://search.cpan.org/dist/IO-Socket-SSL/
902f2f05
JB
20%if %{with tests}
21BuildRequires: perl-Net-SSLeay >= 1.21
22%endif
c7ef29f3 23BuildRequires: perl-devel >= 1:5.8.0
457bc30f 24BuildRequires: rpm-perlprov >= 4.1-13
52ab1a6f 25BuildArch: noarch
1536a10f 26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51fa02bf 27
28%description
11427a56
JB
29This module is a true drop-in replacement for IO::Socket::INET that
30uses SSL to encrypt data before it is transferred to a remote server
31or client. IO::Socket::SSL supports all the extra features that one
32needs to write a full-featured SSL client or server application:
33multiple SSL contexts, cipher selection, certificate verification, and
34SSL version selection. As an extra bonus, it works perfectly with
35mod_perl.
36
2ca91bcc
JR
37%description -l pl.UTF-8
38Ten moduł jest prawdziwym zamiennikiem dla IO::Socket::INET,
39używającym SSL do kodowania danych przed przesyłaniem do zdalnego
11427a56 40serwera lub klienta. IO::Socket::SSL wspiera wszystkie dodatkowe
2ca91bcc
JR
41rzeczy potrzebne do napisania w pełni funkcjonalnego klienta lub
42serwera SSL: wiele kontekstów SSL, wybór szyfru, weryfikacja
43certyfikatu, wybór wersji SSL. Ponadto wspaniale działa z mod_perlem.
51fa02bf 44
45%prep
ef6840f9 46%setup -q -n %{pdir}-%{pnam}-%{version}
51fa02bf 47
48%build
457bc30f 49%{__perl} Makefile.PL \
6973d60a 50 INSTALLDIRS=vendor
a76e1938 51%{__make}
51fa02bf 52
b63fc453 53%{?with_tests:%{__make} test}
1b56fd53 54
51fa02bf 55%install
56rm -rf $RPM_BUILD_ROOT
51fa02bf 57
bbe78fbf 58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
51fa02bf 60
85d8312c 61install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
1b56fd53 62install example/* util/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51fa02bf 63
51fa02bf 64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
85d8312c 69%doc Change* README docs/*
457bc30f 70%{perl_vendorlib}/IO/Socket/SSL.pm
51fa02bf 71%{_mandir}/man3/*
e718c871 72%{_examplesdir}/%{name}-%{version}
This page took 0.080265 seconds and 4 git commands to generate.