]> git.pld-linux.org Git - packages/perl-Crypt-SSLeay.git/blobdiff - perl-Crypt-SSLeay.spec
perl 5.36.0 rebuild
[packages/perl-Crypt-SSLeay.git] / perl-Crypt-SSLeay.spec
index 56cf55595ff8981f347366dbc3f1af8b7a0228b1..93d32e61051dc77e6a5f2c3605dcd153e9e6497a 100644 (file)
@@ -2,37 +2,45 @@
 # Conditional build:
 %bcond_without tests   # Do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    SSLeay
 Summary:       Crypt::SSLeay - OpenSSL glue that provides LWP HTTPS support
-Summary(cs.UTF-8):   Crypt::SSLeay - spojení OpenSSL, které poskytuje podporu HTTPS pro LWP
-Summary(da.UTF-8):   Crypt::SSLeay - OpenSSL-klister som giver understøttelse for LWP HTTPS
-Summary(de.UTF-8):   Crypt::SSLeay - OpenSSL Elemente für LWP HTTPS Support
-Summary(es.UTF-8):   Crypt::SSLeay - Enlace OpenSSL que proporciona soporte HTTPS LWP
-Summary(fr.UTF-8):   Crypt::SSLeay - colle OpenSSL fournissant une prise en charge LWP HTTPS
-Summary(it.UTF-8):   Crypt::SSLeay - OpenSSL glue che fornisce supporto per LWP HTTPS
-Summary(ja.UTF-8):   Crypt::SSLeay - LWP HTTPSのサポートを提供するOpenSSL glue
-Summary(ko.UTF-8):   Crypt::SSLeay - LWP HTTPS 지원을 제공하는 OpenSSL 접착(glue) 입니다
-Summary(pl.UTF-8):   Crypt::SSLeay - obsługa HTTPS dla LWP przez połączenie z OpenSSL
-Summary(pt.UTF-8):   Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
-Summary(pt_BR.UTF-8):   Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
-Summary(sv.UTF-8):   Crypt::SSLeay - OpenSSL-klister som gör stöd för LWP HTTPS
-Summary(tr.UTF-8):   Crypt::SSLeay - LWP HTTPS desteği sağlayan OpenSSL bağlantısı
-Summary(zh_CN.UTF-8):   Crypt::SSLeay - 提供 LWP HTTPS 支持的 OpenSSL 胶水
-Summary(zh_TW.UTF-8):   Crypt::SSLeay - 提供 LWP HTTPS 支援的 OpenSSL glue。
+Summary(cs.UTF-8):     Crypt::SSLeay - spojení OpenSSL, které poskytuje podporu HTTPS pro LWP
+Summary(da.UTF-8):     Crypt::SSLeay - OpenSSL-klister som giver understøttelse for LWP HTTPS
+Summary(de.UTF-8):     Crypt::SSLeay - OpenSSL Elemente für LWP HTTPS Support
+Summary(es.UTF-8):     Crypt::SSLeay - Enlace OpenSSL que proporciona soporte HTTPS LWP
+Summary(fr.UTF-8):     Crypt::SSLeay - colle OpenSSL fournissant une prise en charge LWP HTTPS
+Summary(it.UTF-8):     Crypt::SSLeay - OpenSSL glue che fornisce supporto per LWP HTTPS
+Summary(ja.UTF-8):     Crypt::SSLeay - LWP HTTPSのサポートを提供するOpenSSL glue
+Summary(ko.UTF-8):     Crypt::SSLeay - LWP HTTPS 지원을 제공하는 OpenSSL 접착(glue) 입니다
+Summary(pl.UTF-8):     Crypt::SSLeay - obsługa HTTPS dla LWP przez połączenie z OpenSSL
+Summary(pt.UTF-8):     Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
+Summary(pt_BR.UTF-8):  Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
+Summary(sv.UTF-8):     Crypt::SSLeay - OpenSSL-klister som gör stöd för LWP HTTPS
+Summary(tr.UTF-8):     Crypt::SSLeay - LWP HTTPS desteği sağlayan OpenSSL bağlantısı
+Summary(zh_CN.UTF-8):  Crypt::SSLeay - 提供 LWP HTTPS 支持的 OpenSSL 胶水
+Summary(zh_TW.UTF-8):  Crypt::SSLeay - 提供 LWP HTTPS 支援的 OpenSSL glue。
 Name:          perl-Crypt-SSLeay
-Version:       0.51
-Release:       2
+Version:       0.72
+Release:       15
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: e276fd3970d573139fe56695a7b747bd
-Patch0:                %{name}-init.patch
+Source0:       http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 77d955c9056dbb12413d95d8852a9cdf
+Patch0:                no-dot-in-inc.patch
+Patch1:                openssl.patch
+URL:           http://search.cpan.org/dist/Crypt-SSLeay/
 BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: perl-ExtUtils-CBuilder >= 0.280205
+BuildRequires: perl-Path-Class >= 0.35
+%if %{with tests}
+BuildRequires: perl-Test-Simple >= 0.88
+BuildRequires: perl-Try-Tiny >= 0.19
+%endif
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+Conflicts:     perl-LWP-Protocol-https < 6.02
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -169,11 +177,13 @@ Crypt::SSLeay 软件包包含 Net::SSL(它在 HTTPS 请求时
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 yes "" | %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -189,11 +199,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README
+%doc Changes TODO
 %{perl_vendorarch}/Crypt/SSLeay.pm
 %{perl_vendorarch}/Crypt/SSLeay
 %{perl_vendorarch}/Net/SSL.pm
 %dir %{perl_vendorarch}/auto/Crypt/SSLeay
-%{perl_vendorarch}/auto/Crypt/SSLeay/SSLeay.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/SSLeay/SSLeay.so
-%{_mandir}/man3/*
+%{_mandir}/man3/Crypt::SSLeay*.3pm*
+%{_mandir}/man3/Net::SSL.3pm*
This page took 0.100262 seconds and 4 git commands to generate.