]> git.pld-linux.org Git - packages/perl-Crypt-SSLeay.git/blob - perl-Crypt-SSLeay.spec
- autoupdated to 0.49
[packages/perl-Crypt-SSLeay.git] / perl-Crypt-SSLeay.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 %include        /usr/lib/rpm/macros.perl
5 %define         pdir    Crypt
6 %define         pnam    SSLeay
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
10 Version:        0.49
11 Release:        1
12 License:        GPL/Artistic
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)
19
20 %description
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.
23
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.
27
28 %description -l pl
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.
31
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 yes "" | perl Makefile.PL
41 %{__make} OPTIMIZE="%{rpmcflags}"
42 %{!?_without_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc CHANGES README
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
61 %{_mandir}/man3/*
This page took 0.108148 seconds and 4 git commands to generate.