]> git.pld-linux.org Git - packages/perl-Net-SSLeay.git/blobdiff - perl-Net-SSLeay.spec
- tabs in preamble
[packages/perl-Net-SSLeay.git] / perl-Net-SSLeay.spec
index 9c8a940a12854116bcb19b0222a8174018368838..ff6c3beaf154d8d9e02cd67946057ffbe0351b2f 100644 (file)
@@ -1,21 +1,22 @@
 #
 # Conditional build:
-# _with_tests - perform "make test"
+%bcond_with    tests   # perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       Net::SSLeay - Perl extension for using OpenSSL or SSLeay
-Summary(pl):   Net::SSLeay - rozszerzenie perla do u¿ywania OpenSSL lub SSLeay
+Summary(pl.UTF-8):     Net::SSLeay - rozszerzenie Perla do używania OpenSSL lub SSLeay
 Name:          perl-Net-SSLeay
-Version:       1.22
-Release:       2
-License:       GPL
+Version:       1.25
+Release:       3
+# same as openssl
+License:       Apache-style License
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{version}.tar.gz
-# Source0-md5: dd96a6d6fc984f7c922fa2a251585ae4
+# Source0-md5: 87de8a06802fbb63c7c85e89eedbe139
 Patch0:                %{name}-paths.patch
-BuildRequires: openssl-devel >= 0.9.7
-BuildRequires: openssl-tools >= 0.9.7
-BuildRequires: perl-devel >= 5.6.1
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: openssl-tools >= 0.9.7d
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,30 +26,31 @@ web pages on SSL servers, a sslcat() function for writing your own
 clients, and finally access to the SSL api of SSLeay/OpenSSL package
 so you can write servers or clients for more complicated applications.
 
-%description -l pl
-Ten modu³ oferuje kilka wygodnych funkcji wysokiego poziomu s³u¿±cych
-do dostêpu do stron WWW na serwerach SSL, funkcjê sslcat() do pisania
-w³asnych klientów, oraz dostêp do API SSL pakietu SSLeay/OpenSSL, co
-pozwala na pisanie serwerów lub klientów dla bardziej skomplikowanych
+%description -l pl.UTF-8
+Ten moduł oferuje kilka wygodnych funkcji wysokiego poziomu służących
+do dostępu do stron WWW na serwerach SSL, funkcję sslcat() do pisania
+własnych klientów, oraz dostęp do API SSL pakietu SSLeay/OpenSSL, co
+pozwala na pisanie serwerów lub klientów dla bardziej skomplikowanych
 aplikacji.
 
 %prep
 %setup -q -n Net_SSLeay.pm-%{version}
-%patch0 -p0
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL %{_prefix} \
-       INSTALLDIRS=vendor 
-%{__make} OPTIMIZE="%{rpmcflags}"
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
 
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 install examples/*.{pl,conf} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
This page took 0.061701 seconds and 4 git commands to generate.