3 # _without_tests - do not perform "make test"
4 %include /usr/lib/rpm/macros.perl
7 Summary: Crypt::SSLeay - OpenSSL glue that provides LWP https support
8 Summary(pl): Crypt::SSLeay - obs³uga https dla LWP przez po³±czenie z OpenSSL
9 Name: perl-Crypt-SSLeay
13 Group: Development/Languages/Perl
14 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires: openssl-devel >= 0.9.6a
16 BuildRequires: perl >= 5.6
17 BuildRequires: rpm-perlprov >= 3.0.3-16
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This perl module provides support for the https protocol under LWP,
22 so that a LWP::UserAgent can make https GET & HEAD & POST requests.
24 The Crypt::SSLeay package contains Net::SSL, which is automatically
25 loaded by LWP::Protocol::https on https requests, and provides the
26 necessary SSL glue for that module to work.
29 Ten modu³ Perla dostarcza obs³ugê protoko³u https dla LWP, dziêki
30 czemu LWP::UserAgent mo¿e wykonywaæ zapytania GET i POST po https.
32 Pakiet Crypt::SSLeay zawiera modu³ Net::SSL, automatycznie ³adowany
33 przez LWP::Protocol::https w przypadku zapytañ https, oraz dostarcza
34 niezbêdnych do jego dzia³ania sk³adników.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 yes "" | perl Makefile.PL
41 %{__make} OPTIMIZE="%{rpmcflags}"
42 %{!?_without_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_sitearch}/Crypt/SSLeay.pm
56 %{perl_sitearch}/Crypt/SSLeay
57 %{perl_sitearch}/Net/SSL.pm
58 %dir %{perl_sitearch}/auto/Crypt/SSLeay
59 %{perl_sitearch}/auto/Crypt/SSLeay/SSLeay.bs
60 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/SSLeay/SSLeay.so