]> 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 e6c8ac51254c54c590c2c7daf5bc5ff4531f1ca4..93d32e61051dc77e6a5f2c3605dcd153e9e6497a 100644 (file)
 # 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):   Crypt::SSLeay - spojení OpenSSL, které poskytuje podporu https pro LWP
-Summary(da):   Crypt::SSLeay - OpenSSL-klister som giver understøttelse for LWP https
-Summary(de):   Crypt::SSLeay - OpenSSL Elemente für LWP https Support
-Summary(es):   Crypt::SSLeay - Enlace OpenSSL que proporciona soporte https LWP
-Summary(fr):   Crypt::SSLeay - colle OpenSSL fournissant une prise en charge LWP https
-Summary(it):   Crypt::SSLeay - OpenSSL glue che fornisce supporto per LWP https
-Summary(ja):   Crypt::SSLeay - LWP https¤Î¥µ¥Ý¡¼¥È¤òÄ󶡤¹¤ëOpenSSL glue
-Summary(ko):   Crypt::SSLeay - LWP https Áö¿øÀ» Á¦°øÇϴ OpenSSL Á¢Âø(glue) ÀÔ´Ï´Ù
-Summary(pl):   Crypt::SSLeay - obs³uga https dla LWP przez po³±czenie z OpenSSL
-Summary(pt):   Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
-Summary(pt_BR):        Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
-Summary(sv):   Crypt::SSLeay - OpenSSL-klister som gör stöd för LWP https
-Summary(tr):   Crypt::SSLeay - LWP https desteði saðlayan OpenSSL baðlantýsý
-Summary(zh_CN):        Crypt::SSLeay - Ìṩ LWP https Ö§³ÖµÄ OpenSSL ½ºË®
-Summary(zh_TW):        Crypt::SSLeay - ´£¨Ñ LWP https ¤ä´©ªº OpenSSL glue¡C
+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。
 Name:          perl-Crypt-SSLeay
-Version:       0.51
-Release:       1
+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
+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-devel >= 5.6
+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
-This perl module provides support for the https protocol under LWP,
-so that a LWP::UserAgent can make https GET & HEAD & POST requests.
+This perl module provides support for the HTTPS protocol under LWP,
+so that a LWP::UserAgent can make HTTPS GET & HEAD & POST requests.
 
 The Crypt::SSLeay package contains Net::SSL, which is automatically
-loaded by LWP::Protocol::https on https requests, and provides the
+loaded by LWP::Protocol::https on HTTPS requests, and provides the
 necessary SSL glue for that module to work.
 
-%description -l cs
-Tento modul Perlu nabízí podporu pro protokol https pod LWP, tak¾e
-LWP::UserAgent mù¾e provádìt https po¾adavky GET & HEAD & POST. Pro
-informace o po¾adavcích POST si prosím pøeètìte perldoc LWP.
+%description -l cs.UTF-8
+Tento modul Perlu nabízí podporu pro protokol HTTPS pod LWP, takže
+LWP::UserAgent může provádÄ\9bt HTTPS požadavky GET & HEAD & POST. Pro
+informace o požadavcích POST si prosím přečtěte perldoc LWP.
 
-Balíèek Crypt::SSLeay obsahuje Net::SSL, který je automaticky nahrán
-LWP::Protocol::https pøi po¾adavcích https, a nabízí potøebné spojení
+Balíček Crypt::SSLeay obsahuje Net::SSL, který je automaticky nahrán
+LWP::Protocol::https při požadavcích HTTPS, a nabízí potřebné spojení
 SSL, aby tento modul fungoval.
 
-%description -l da
-Dette perlmodul giver understøttelse for protokollen https under LWP,
-så en LWP::UserAgent kan lave https-forespørgslerne GET & HEAD & POST.
-Se perldoc LWP for mere information om POST-forespørgsler.
+%description -l da.UTF-8
+Dette perlmodul giver understøttelse for protokollen HTTPS under LWP,
+så en LWP::UserAgent kan lave HTTPS-forespørgslerne GET & HEAD & POST.
+Se perldoc LWP for mere information om POST-forespørgsler.
 
-Pakken Crypt::SSLeay indeholder Net::SSL som automatisk læses ind af
-LWP::Protocol::https ved https-forespørgsler, og giver det nødvendige
+Pakken Crypt::SSLeay indeholder Net::SSL som automatisk læses ind af
+LWP::Protocol::https ved HTTPS-forespørgsler, og giver det nødvendige
 SSL-klister til at det modul kan fungere.
 
-%description -l de
-Dieses Perl-Modul liefert Support für das https-Protokoll unter LWP,
-so dass ein LWP::UserAgent https GET & HEAD & POST Anfragen ausführen
-kann. Weitere Informationen über POST-Anfragen sindin perldoc LWP
+%description -l de.UTF-8
+Dieses Perl-Modul liefert Support für das HTTPS-Protokoll unter LWP,
+so dass ein LWP::UserAgent HTTPS GET & HEAD & POST Anfragen ausführen
+kann. Weitere Informationen über POST-Anfragen sindin perldoc LWP
 enthalten.
 
-Das Crypt::SSLeay Paket enthält Net::SSL, das bei https-Anfragen
+Das Crypt::SSLeay Paket enthält Net::SSL, das bei HTTPS-Anfragen
 automatisch von LWP::Protocol::https geladen wird, und bietet die
-erforderlichen SSL-Elemente für das Modul.
+erforderlichen SSL-Elemente für das Modul.
 
-%description -l es
-Este módulo perl proporciona soporte para el protocolo https bajo LWP,
+%description -l es.UTF-8
+Este módulo perl proporciona soporte para el protocolo HTTPS bajo LWP,
 de manera que LWP::UserAgent pueda crear peticiones GET & HEAD & POST.
-Consulte perldoc LWP para más información sobre las peticiones POST.
+Consulte perldoc LWP para más información sobre las peticiones POST.
 
 El paquete Crypt::SSLeay contiene Net::SSL, que se descarga
-automáticamente por LWP::Protocol::https en las peticiones https y
-proporciona los elementos necesarios SSL para que funcione el módulo.
+automáticamente por LWP::Protocol::https en las peticiones HTTPS y
+proporciona los elementos necesarios SSL para que funcione el módulo.
 
-%description -l fr
-Le module perl fournit un support pour le protocole https sous LWP, de
-manière à ce qu'un LWP::UserAgent puisse exécuter les requêtes GET &
+%description -l fr.UTF-8
+Le module perl fournit un support pour le protocole HTTPS sous LWP, de
+manière à ce qu'un LWP::UserAgent puisse exécuter les requêtes GET &
 HEAD & POST. Veuillez consulter perldoc LWP pour obtenir de plus
-amples informations concernant les requêtes POST.
+amples informations concernant les requêtes POST.
 
-Le paquetage Crypt::SSLeay contient Net::SSL, qui est chargé
-automatiquement par LWP::Protocol::https sur les requêtes https, et
-fournit la colle SSL nécessaire pour faire fonctionner ce module.
+Le paquetage Crypt::SSLeay contient Net::SSL, qui est chargé
+automatiquement par LWP::Protocol::https sur les requêtes HTTPS, et
+fournit la colle SSL nécessaire pour faire fonctionner ce module.
 
-%description -l it
-Questo modulo di perl supporta il protocollo https in LWP, in modo che
-un LWP::UserAgent possa effettuare richieste GET & HEAD & POST http.
+%description -l it.UTF-8
+Questo modulo di perl supporta il protocollo HTTPS in LWP, in modo che
+un LWP::UserAgent possa effettuare richieste GET & HEAD & POST HTTP.
 Consultare perldoc LWP per ulteriori informazioni sulle richieste
 POST.
 
 Il pacchetto Crypt::SSLeay contiene Net::SSL, che viene caricato
-automaticamente da LWP::Protocol::https sulle richieste http e
+automaticamente da LWP::Protocol::https sulle richieste HTTP e
 fornisce la colla SSL necessaria per far funzionare quel modulo.
 
-%description -l ja
-¤³¤Î perl¥â¥¸¥å¡¼¥ë¤Ï¡¢LWP¤Î¸µ¤Çhttps¥×¥í¥È¥³¥ëÍѤΥµ¥Ý¡¼¥È¤òÄ󶡤·¤Þ
-¤¹¡£¤Ç¤¹¤«¤é¡¢LWP::UserAgent ¤Ï https GET & HEAD & POST¥ê¥¯¥¨¥¹¥È¤ò
-ºîÀ®¤Ç¤­¤Þ¤¹¡£ POST¥ê¥¯¥¨¥¹¥È¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï perldoc LWP¤ò
-¸æÍ÷²¼¤µ¤¤¡£ Íý Ëö¥¹¥È Crypt::SSLeay¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï¡¢h¥ê¥¯¥¨¥¹¥È¤Ë¤è¤ê
-LWP::Protocol::https ¤Ç¼«Æ°Åª¤Ë¥í¡¼¥É¤µ¤ì¤ëNet::SSL¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£¤½
-¤·¤Æ¡¢¥â¥¸¥å¡¼¥ë¤¬Æ°ºî¤¹¤ë¤è¤¦ ¤Ë É¬ÍפÊSSL glue¤òÄ󶡤·¤Þ¤¹¡£
-
-%description -l ko
-ÀÌ perl ¸ðµâÀº LWP::UserAgent°¡ https GET, HEAD, POST ¿äûÀ» »ý¼ºÇÒ ¼ö
-ÀÖµµ·Ï LWP ÇÏ¿¡¼­ https ÇÁ·ÎÅäÄÝ¿¡ ´ëÇÑ Áö¿øÀ» Á¦°øÇÕ´Ï´Ù. POST ¿äû¿¡
-´ëÇÑ º¸´Ù ¸¹Àº Á¤º¸¸¦ ¿øÇϽøé, perldoc LWP¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.
-
-Crypt::SSLeay ÆÐÅ°Áö¿¡´Â https ¿äû¿¡ µû¶ó LWP::Protocol::https¿¡ ÀÇÇØ
-ÀÚµ¿À¸·Î ·ÎµùµÇ´Â Net::SSL°¡ Æ÷ÇԵǾî ÀÖÀ¸¸ç, ÇØ´ç ¸ðµâÀÌ ÀÛµ¿Çϴµ¥
-ÇÊ¿äÇÑ SSL Á¢Âø (glue)À» Á¦°øÇÕ´Ï´Ù.
-
-%description -l pl
-Ten modu³ Perla dostarcza obs³ugê protoko³u https dla LWP, dziêki
-czemu LWP::UserAgent mo¿e wykonywaæ zapytania GET i POST po https.
-
-Pakiet Crypt::SSLeay zawiera modu³ Net::SSL, automatycznie ³adowany
-przez LWP::Protocol::https w przypadku zapytañ https, oraz dostarcza
-niezbêdnych do jego dzia³ania sk³adników.
-
-%description -l pt
-Este módulo de Perl providencia o suporte para o protocolo HTTP em
+%description -l ja.UTF-8
+この perlモジュールは、LWPの元でHTTPSプロトコル用のサポートを提供しま
+す。ですから、LWP::UserAgent は HTTPS GET & HEAD & POSTリクエストを
+作成できます。 POSTリクエストの詳細については perldoc LWPを
+御覧下さい。 理 末スト Crypt::SSLeayパッケージには、hリクエストにより
+LWP::Protocol::https で自動的にロードされるNet::SSLを含んでいます。そ
+して、モジュールが動作するよう に 必要なSSL glueを提供します。
+
+%description -l ko.UTF-8
+이 perl 모듈은 LWP::UserAgent가 HTTPS GET, HEAD, POST 요청을 생성할 수
+있도록 LWP 하에서 HTTPS 프로토콜에 대한 지원을 제공합니다. POST 요청에
+대한 보다 많은 정보를 원하시면, perldoc LWP를 참조하시기 바랍니다.
+
+Crypt::SSLeay 패키지에는 HTTPS 요청에 따라 LWP::Protocol::https에 의해
+자동으로 로딩되는 Net::SSL가 포함되어 있으며, 해당 모듈이 작동하는데
+필요한 SSL 접착 (glue)을 제공합니다.
+
+%description -l pl.UTF-8
+Ten moduł Perla dostarcza obsługę protokołu HTTPS dla LWP, dzięki
+czemu LWP::UserAgent może wykonywać zapytania GET i POST po HTTPS.
+
+Pakiet Crypt::SSLeay zawiera moduł Net::SSL, automatycznie ładowany
+przez LWP::Protocol::https w przypadku zapytań HTTPS, oraz dostarcza
+niezbędnych do jego działania składników.
+
+%description -l pt.UTF-8
+Este módulo de Perl providencia o suporte para o protocolo HTTP em
 LWP, de modo a que um LWP::UserAgent possa fazer pedidos de HTTPS de
-GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
+GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
 os pedidos de POST.
 
-O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
+O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
 automaticamente pelo LWP::Protocol::https nos pedidos de HTTPS, e que
-fornece a lógica de interacção com o SSL necessária para o módulo
+fornece a lógica de interacção com o SSL necessária para o módulo
 funcionar.
 
-%description -l pt_BR
-Este módulo de Perl providencia o suporte para o protocolo HTTP em
+%description -l pt_BR.UTF-8
+Este módulo de Perl providencia o suporte para o protocolo HTTP em
 LWP, de modo a que um LWP::UserAgent possa fazer pedidos de HTTPS de
-GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
+GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
 os pedidos de POST.
 
-O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
+O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
 automaticamente pelo LWP::Protocol::https nos pedidos de HTTPS, e que
-fornece a lógica de interacção com o SSL necessária para o módulo
+fornece a lógica de interacção com o SSL necessária para o módulo
 funcionar.
 
-%description -l sv
-Denna perlmodul ger stöd för protokollet https under LWP, så att en
-LWP::UserAgent kan göra https-begäran GET & HEAD & POST.  Se perldoc
-LWP för mer information om POST-begäran.
+%description -l sv.UTF-8
+Denna perlmodul ger stöd för protokollet HTTPS under LWP, så att en
+LWP::UserAgent kan göra HTTPS-begäran GET & HEAD & POST.  Se perldoc
+LWP för mer information om POST-begäran.
 
-Paketet Crypt::SSLeay innehåller Net::SSL som automatiskt läses in av
-LWP::Protocol::https vid https-begäran, och ger det nödvändiga
-SSL-klistret för att den mudulen skall fungera.
+Paketet Crypt::SSLeay innehåller Net::SSL som automatiskt läses in av
+LWP::Protocol::https vid HTTPS-begäran, och ger det nödvändiga
+SSL-klistret för att den mudulen skall fungera.
 
-%description -l zh_CN
-¸Ã Perl Ä£¿éÌṩ¶Ô LWP ÏµĠhttps Ð­ÒéµÄÖ§³Ö£¬Òò´Ë
- LWP::UserAgent Äܹ»½øÐÐhttps GET & HEAD & POST
-ÇëÇó¡£Çë²ÎÔÄ perldoc LWP À´»ñÈ¡¹ØÓÚ POST ÇëÇóµÄÏê
-ϸÐÅÏ¢¡£
+%description -l zh_CN.UTF-8
+该 Perl 模块提供对 LWP 下的 HTTPS 协议的支持,因此
+ LWP::UserAgent 能够进行HTTPS GET & HEAD & POST
+请求。请参阅 perldoc LWP 来获取关于 POST 请求的详
+细信息。
 
-Crypt::SSLeay Èí¼þ°ü°üº¬ Net::SSL(ËüÔÚ https ÇëÇóʱ
-±» LWP::Protocol::https ×Ô¶¯ÔØÈë)£¬²¢ÇÒΪ¸ÃÄ£¿éµÄÔËÐÐ
-ÌṩÁ˱ØÒªµÄ SSL ½ºË®¡£
+Crypt::SSLeay 软件包包含 Net::SSL(它在 HTTPS 请求时
+被 LWP::Protocol::https 自动载入),并且为该模块的运行
+提供了必要的 SSL 胶水。
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
 yes "" | %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
@@ -186,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.081126 seconds and 4 git commands to generate.