]> git.pld-linux.org Git - packages/perl-Net-SSLeay.git/blame - perl-Net-SSLeay.spec
- tabs in preamble
[packages/perl-Net-SSLeay.git] / perl-Net-SSLeay.spec
CommitLineData
898d1980 1#
2# Conditional build:
f89153ff 3%bcond_with tests # perform "make test"
898d1980 4#
52074e6b 5%include /usr/lib/rpm/macros.perl
893144ba 6Summary: Net::SSLeay - Perl extension for using OpenSSL or SSLeay
f4eb8062 7Summary(pl.UTF-8): Net::SSLeay - rozszerzenie Perla do używania OpenSSL lub SSLeay
52074e6b 8Name: perl-Net-SSLeay
57001df8 9Version: 1.25
2382c593 10Release: 3
9506710a 11# same as openssl
12License: Apache-style License
52074e6b 13Group: Development/Languages/Perl
e1821606 14Source0: http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{version}.tar.gz
57001df8 15# Source0-md5: 87de8a06802fbb63c7c85e89eedbe139
ec7586da 16Patch0: %{name}-paths.patch
259c50d9 17BuildRequires: openssl-devel >= 0.9.7d
18BuildRequires: openssl-tools >= 0.9.7d
d83281a2 19BuildRequires: perl-devel >= 1:5.8.0
4a04154d 20BuildRequires: rpm-perlprov >= 4.1-13
af86cfc8 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52074e6b 22
23%description
67033d73
JB
24This module offers some high level convinience functions for accessing
25web pages on SSL servers, a sslcat() function for writing your own
26clients, and finally access to the SSL api of SSLeay/OpenSSL package
27so you can write servers or clients for more complicated applications.
28
e148820e
JR
29%description -l pl.UTF-8
30Ten moduł oferuje kilka wygodnych funkcji wysokiego poziomu służących
31do dostępu do stron WWW na serwerach SSL, funkcję sslcat() do pisania
32własnych klientów, oraz dostęp do API SSL pakietu SSLeay/OpenSSL, co
33pozwala na pisanie serwerów lub klientów dla bardziej skomplikowanych
67033d73 34aplikacji.
52074e6b 35
36%prep
37%setup -q -n Net_SSLeay.pm-%{version}
9bf6eecd 38%patch0 -p1
52074e6b 39
40%build
4a04154d 41%{__perl} Makefile.PL %{_prefix} \
92a2c89f 42 INSTALLDIRS=vendor
a7798ded 43%{__make} \
44 OPTIMIZE="%{rpmcflags}"
52074e6b 45
f89153ff 46%{?with_tests:%{__make} test}
898d1980 47
52074e6b 48%install
49rm -rf $RPM_BUILD_ROOT
ec7586da 50install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52074e6b 51
a7798ded 52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
4860b30a 54install examples/*.{pl,conf} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52074e6b 55
52074e6b 56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
898d1980 61%doc Changes Credits README
4a04154d 62%{perl_vendorarch}/Net/SSLeay.pm
63%{perl_vendorarch}/Net/SSLeay
64%{perl_vendorarch}/Net/ptrtstrun.pl
65%dir %{perl_vendorarch}/auto/Net/SSLeay
66%{perl_vendorarch}/auto/Net/SSLeay/autosplit.ix
67%{perl_vendorarch}/auto/Net/SSLeay/*.al
68%{perl_vendorarch}/auto/Net/SSLeay/*.bs
69%attr(755,root,root) %{perl_vendorarch}/auto/Net/SSLeay/*.so
52074e6b 70%{_mandir}/man3/*
ec7586da 71%{_examplesdir}/%{name}-%{version}
This page took 0.06081 seconds and 4 git commands to generate.