]> git.pld-linux.org Git - packages/perl-Crypt-SSLeay.git/blame - perl-Crypt-SSLeay.spec
- rel 10; fix openssl build
[packages/perl-Crypt-SSLeay.git] / perl-Crypt-SSLeay.spec
CommitLineData
003c043b 1#
2# Conditional build:
4b62bbbb 3%bcond_without tests # Do not perform "make test"
ebab9ef7 4#
36f20a2d 5%include /usr/lib/rpm/macros.perl
65eedde8 6%define pdir Crypt
7%define pnam SSLeay
27ef64d7 8Summary: Crypt::SSLeay - OpenSSL glue that provides LWP HTTPS support
9a9612ae
ER
9Summary(cs.UTF-8): Crypt::SSLeay - spojení OpenSSL, které poskytuje podporu HTTPS pro LWP
10Summary(da.UTF-8): Crypt::SSLeay - OpenSSL-klister som giver understøttelse for LWP HTTPS
11Summary(de.UTF-8): Crypt::SSLeay - OpenSSL Elemente für LWP HTTPS Support
12Summary(es.UTF-8): Crypt::SSLeay - Enlace OpenSSL que proporciona soporte HTTPS LWP
13Summary(fr.UTF-8): Crypt::SSLeay - colle OpenSSL fournissant une prise en charge LWP HTTPS
14Summary(it.UTF-8): Crypt::SSLeay - OpenSSL glue che fornisce supporto per LWP HTTPS
15Summary(ja.UTF-8): Crypt::SSLeay - LWP HTTPSのサポートを提供するOpenSSL glue
16Summary(ko.UTF-8): Crypt::SSLeay - LWP HTTPS 지원을 제공하는 OpenSSL 접착(glue) 입니다
17Summary(pl.UTF-8): Crypt::SSLeay - obsługa HTTPS dla LWP przez połączenie z OpenSSL
18Summary(pt.UTF-8): Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
19Summary(pt_BR.UTF-8): Crypt::SSLeay - a interface de OpenSSL que oferece o suporte em LWP de HTTPS
20Summary(sv.UTF-8): Crypt::SSLeay - OpenSSL-klister som gör stöd för LWP HTTPS
21Summary(tr.UTF-8): Crypt::SSLeay - LWP HTTPS desteği sağlayan OpenSSL bağlantısı
22Summary(zh_CN.UTF-8): Crypt::SSLeay - 提供 LWP HTTPS 支持的 OpenSSL 胶水
23Summary(zh_TW.UTF-8): Crypt::SSLeay - 提供 LWP HTTPS 支援的 OpenSSL glue。
edbbf9de 24Name: perl-Crypt-SSLeay
f85f3c0e 25Version: 0.72
fab7cecd 26Release: 10
bfca28c5 27# same as perl
22450f21 28License: GPL v1+ or Artistic
edbbf9de 29Group: Development/Languages/Perl
69f29617 30Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
f85f3c0e 31# Source0-md5: 77d955c9056dbb12413d95d8852a9cdf
cdbbf223 32Patch0: no-dot-in-inc.patch
fab7cecd 33Patch1: openssl.patch
ebc5e513 34URL: http://search.cpan.org/dist/Crypt-SSLeay/
fda8684b 35BuildRequires: openssl-devel >= 0.9.7d
4694f018
JB
36BuildRequires: perl-ExtUtils-CBuilder >= 0.280205
37BuildRequires: perl-Path-Class >= 0.35
054a0ff1
JB
38%if %{with tests}
39BuildRequires: perl-Test-Simple >= 0.88
4694f018 40BuildRequires: perl-Try-Tiny >= 0.19
054a0ff1 41%endif
52838cab 42BuildRequires: perl-devel >= 1:5.8.0
ebab9ef7 43BuildRequires: rpm-perlprov >= 4.1-13
4694f018 44Conflicts: perl-LWP-Protocol-https < 6.02
a1dab319 45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
edbbf9de 46
47%description
27ef64d7 48This perl module provides support for the HTTPS protocol under LWP,
49so that a LWP::UserAgent can make HTTPS GET & HEAD & POST requests.
003c043b 50
51The Crypt::SSLeay package contains Net::SSL, which is automatically
27ef64d7 52loaded by LWP::Protocol::https on HTTPS requests, and provides the
003c043b 53necessary SSL glue for that module to work.
54
eefc24dd
JR
55%description -l cs.UTF-8
56Tento modul Perlu nabízí podporu pro protokol HTTPS pod LWP, takže
57LWP::UserAgent může provádět HTTPS požadavky GET & HEAD & POST. Pro
58informace o požadavcích POST si prosím přečtěte perldoc LWP.
128dbb1a 59
eefc24dd
JR
60Balíček Crypt::SSLeay obsahuje Net::SSL, který je automaticky nahrán
61LWP::Protocol::https při požadavcích HTTPS, a nabízí potřebné spojení
128dbb1a 62SSL, aby tento modul fungoval.
63
eefc24dd
JR
64%description -l da.UTF-8
65Dette perlmodul giver understøttelse for protokollen HTTPS under LWP,
66så en LWP::UserAgent kan lave HTTPS-forespørgslerne GET & HEAD & POST.
67Se perldoc LWP for mere information om POST-forespørgsler.
128dbb1a 68
eefc24dd
JR
69Pakken Crypt::SSLeay indeholder Net::SSL som automatisk læses ind af
70LWP::Protocol::https ved HTTPS-forespørgsler, og giver det nødvendige
128dbb1a 71SSL-klister til at det modul kan fungere.
72
eefc24dd
JR
73%description -l de.UTF-8
74Dieses Perl-Modul liefert Support für das HTTPS-Protokoll unter LWP,
75so dass ein LWP::UserAgent HTTPS GET & HEAD & POST Anfragen ausführen
76kann. Weitere Informationen über POST-Anfragen sindin perldoc LWP
128dbb1a 77enthalten.
78
eefc24dd 79Das Crypt::SSLeay Paket enthält Net::SSL, das bei HTTPS-Anfragen
128dbb1a 80automatisch von LWP::Protocol::https geladen wird, und bietet die
eefc24dd 81erforderlichen SSL-Elemente für das Modul.
128dbb1a 82
eefc24dd
JR
83%description -l es.UTF-8
84Este módulo perl proporciona soporte para el protocolo HTTPS bajo LWP,
128dbb1a 85de manera que LWP::UserAgent pueda crear peticiones GET & HEAD & POST.
eefc24dd 86Consulte perldoc LWP para más información sobre las peticiones POST.
128dbb1a 87
88El paquete Crypt::SSLeay contiene Net::SSL, que se descarga
eefc24dd
JR
89automáticamente por LWP::Protocol::https en las peticiones HTTPS y
90proporciona los elementos necesarios SSL para que funcione el módulo.
128dbb1a 91
eefc24dd 92%description -l fr.UTF-8
27ef64d7 93Le module perl fournit un support pour le protocole HTTPS sous LWP, de
eefc24dd 94manière à ce qu'un LWP::UserAgent puisse exécuter les requêtes GET &
128dbb1a 95HEAD & POST. Veuillez consulter perldoc LWP pour obtenir de plus
eefc24dd 96amples informations concernant les requêtes POST.
128dbb1a 97
eefc24dd
JR
98Le paquetage Crypt::SSLeay contient Net::SSL, qui est chargé
99automatiquement par LWP::Protocol::https sur les requêtes HTTPS, et
100fournit la colle SSL nécessaire pour faire fonctionner ce module.
128dbb1a 101
eefc24dd 102%description -l it.UTF-8
27ef64d7 103Questo modulo di perl supporta il protocollo HTTPS in LWP, in modo che
104un LWP::UserAgent possa effettuare richieste GET & HEAD & POST HTTP.
128dbb1a 105Consultare perldoc LWP per ulteriori informazioni sulle richieste
106POST.
107
108Il pacchetto Crypt::SSLeay contiene Net::SSL, che viene caricato
27ef64d7 109automaticamente da LWP::Protocol::https sulle richieste HTTP e
128dbb1a 110fornisce la colla SSL necessaria per far funzionare quel modulo.
111
eefc24dd
JR
112%description -l ja.UTF-8
113この perlモジュールは、LWPの元でHTTPSプロトコル用のサポートを提供しま
114す。ですから、LWP::UserAgent は HTTPS GET & HEAD & POSTリクエストを
115作成できます。 POSTリクエストの詳細については perldoc LWPを
116御覧下さい。 理 末スト Crypt::SSLeayパッケージには、hリクエストにより
117LWP::Protocol::https で自動的にロードされるNet::SSLを含んでいます。そ
118して、モジュールが動作するよう に 必要なSSL glueを提供します。
119
120%description -l ko.UTF-8
121이 perl 모듈은 LWP::UserAgent가 HTTPS GET, HEAD, POST 요청을 생성할 수
122있도록 LWP 하에서 HTTPS 프로토콜에 대한 지원을 제공합니다. POST 요청에
123대한 보다 많은 정보를 원하시면, perldoc LWP를 참조하시기 바랍니다.
124
125Crypt::SSLeay 패키지에는 HTTPS 요청에 따라 LWP::Protocol::https에 의해
126자동으로 로딩되는 Net::SSL가 포함되어 있으며, 해당 모듈이 작동하는데
127필요한 SSL 접착 (glue)을 제공합니다.
128
129%description -l pl.UTF-8
130Ten moduł Perla dostarcza obsługę protokołu HTTPS dla LWP, dzięki
131czemu LWP::UserAgent może wykonywać zapytania GET i POST po HTTPS.
132
133Pakiet Crypt::SSLeay zawiera moduł Net::SSL, automatycznie ładowany
134przez LWP::Protocol::https w przypadku zapytań HTTPS, oraz dostarcza
135niezbędnych do jego działania składników.
136
137%description -l pt.UTF-8
138Este módulo de Perl providencia o suporte para o protocolo HTTP em
128dbb1a 139LWP, de modo a que um LWP::UserAgent possa fazer pedidos de HTTPS de
eefc24dd 140GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
128dbb1a 141os pedidos de POST.
142
eefc24dd 143O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
128dbb1a 144automaticamente pelo LWP::Protocol::https nos pedidos de HTTPS, e que
eefc24dd 145fornece a lógica de interacção com o SSL necessária para o módulo
128dbb1a 146funcionar.
147
eefc24dd
JR
148%description -l pt_BR.UTF-8
149Este módulo de Perl providencia o suporte para o protocolo HTTP em
128dbb1a 150LWP, de modo a que um LWP::UserAgent possa fazer pedidos de HTTPS de
eefc24dd 151GET & HEAD & POST. Veja o LWP do 'perldoc' para mais informações sobre
128dbb1a 152os pedidos de POST.
153
eefc24dd 154O pacote Crypt::SSLeay contém o Net::SSL, que é carregado
128dbb1a 155automaticamente pelo LWP::Protocol::https nos pedidos de HTTPS, e que
eefc24dd 156fornece a lógica de interacção com o SSL necessária para o módulo
128dbb1a 157funcionar.
158
eefc24dd
JR
159%description -l sv.UTF-8
160Denna perlmodul ger stöd för protokollet HTTPS under LWP, så att en
161LWP::UserAgent kan göra HTTPS-begäran GET & HEAD & POST. Se perldoc
162LWP för mer information om POST-begäran.
128dbb1a 163
eefc24dd
JR
164Paketet Crypt::SSLeay innehåller Net::SSL som automatiskt läses in av
165LWP::Protocol::https vid HTTPS-begäran, och ger det nödvändiga
166SSL-klistret för att den mudulen skall fungera.
128dbb1a 167
eefc24dd
JR
168%description -l zh_CN.UTF-8
169该 Perl 模块提供对 LWP 下的 HTTPS 协议的支持,因此
170 LWP::UserAgent 能够进行HTTPS GET & HEAD & POST
171请求。请参阅 perldoc LWP 来获取关于 POST 请求的详
172细信息。
128dbb1a 173
eefc24dd
JR
174Crypt::SSLeay 软件包包含 Net::SSL(它在 HTTPS 请求时
175被 LWP::Protocol::https 自动载入),并且为该模块的运行
176提供了必要的 SSL 胶水。
128dbb1a 177
edbbf9de 178%prep
36f20a2d 179%setup -q -n %{pdir}-%{pnam}-%{version}
cdbbf223 180%patch0 -p1
fab7cecd 181%patch1 -p1
edbbf9de 182
183%build
ebab9ef7 184yes "" | %{__perl} Makefile.PL \
185 INSTALLDIRS=vendor
964b2ccb 186%{__make} \
64622229 187 CC="%{__cc}" \
964b2ccb 188 OPTIMIZE="%{rpmcflags}"
ebab9ef7 189
4b62bbbb 190%{?with_tests:%{__make} test}
fbe7e27a 191
edbbf9de 192%install
193rm -rf $RPM_BUILD_ROOT
edbbf9de 194
609e2613 195%{__make} install \
196 DESTDIR=$RPM_BUILD_ROOT
edbbf9de 197
edbbf9de 198%clean
199rm -rf $RPM_BUILD_ROOT
200
201%files
202%defattr(644,root,root,755)
4bdb6f72 203%doc Changes TODO
ebab9ef7 204%{perl_vendorarch}/Crypt/SSLeay.pm
205%{perl_vendorarch}/Crypt/SSLeay
206%{perl_vendorarch}/Net/SSL.pm
207%dir %{perl_vendorarch}/auto/Crypt/SSLeay
ebab9ef7 208%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/SSLeay/SSLeay.so
f85f3c0e 209%{_mandir}/man3/Crypt::SSLeay*.3pm*
054a0ff1 210%{_mandir}/man3/Net::SSL.3pm*
This page took 0.133533 seconds and 4 git commands to generate.