# # 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 Name: perl-Crypt-SSLeay Version: 0.51 Release: 1 # 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 BuildRequires: openssl-devel >= 0.9.7d BuildRequires: perl-devel >= 5.6 BuildRequires: rpm-perlprov >= 4.1-13 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. The Crypt::SSLeay package contains Net::SSL, which is automatically 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. 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. 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 enthalten. 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. %description -l es 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. 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. %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 & HEAD & POST. Veuillez consulter perldoc LWP pour obtenir de plus 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. %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. 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 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 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 os pedidos de POST. 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 funcionar. %description -l pt_BR 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 os pedidos de POST. 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 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. 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 ÇëÇóµÄÏê ϸÐÅÏ¢¡£ Crypt::SSLeay Èí¼þ°ü°üº¬ Net::SSL(ËüÔÚ https ÇëÇóʱ ±» LWP::Protocol::https ×Ô¶¯ÔØÈë)£¬²¢ÇÒΪ¸ÃÄ£¿éµÄÔËÐÐ ÌṩÁ˱ØÒªµÄ SSL ½ºË®¡£ %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build yes "" | %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGES README %{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/*