]> git.pld-linux.org Git - packages/perl-LWP-Protocol-https.git/blame - perl-LWP-Protocol-https.spec
- up to 6.07
[packages/perl-LWP-Protocol-https.git] / perl-LWP-Protocol-https.spec
CommitLineData
81463531 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
a86d49fc 4
81463531 5%define pdir LWP
6%define pnam Protocol-https
7%include /usr/lib/rpm/macros.perl
8Summary: LWP::Protocol::https - Provide https support for LWP::UserAgent
e9616cbf 9Summary(pl.UTF-8): LWP::Protocol::https - obsługa https dla LWP::UserAgent
81463531 10Name: perl-LWP-Protocol-https
96fc4c81
AM
11Version: 6.07
12Release: 1
81463531 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/LWP/%{pdir}-%{pnam}-%{version}.tar.gz
96fc4c81 17# Source0-md5: b8943dfb7d187af63c36fc18ab15947d
e9616cbf 18URL: http://search.cpan.org/dist/LWP-Protocol-https/
289a502d 19BuildRequires: perl-devel >= 1:5.8.1
81463531 20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
289a502d 22BuildRequires: perl-IO-Socket-SSL >= 1:1.54
e9616cbf 23BuildRequires: perl-Mozilla-CA >= 20110101
81463531 24BuildRequires: perl-Net-HTTP >= 6
d47802e2 25BuildRequires: perl-libwww >= 6.06
81463531 26%endif
a86d49fc 27Requires: perl-Mozilla-CA
81463531 28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
e9616cbf
JB
32The LWP::Protocol::https module provide support for using https
33schemed URLs with LWP. This module is a plug-in to the LWP protocol
34handling, so you don't use it directly. Once the module is installed
35LWP is able to access sites using HTTP over SSL/TLS.
81463531 36
e9616cbf 37%description -l pl.UTF-8
a86d49fc
ER
38Moduł LWP::Protocol::https zapewnia obsługę URL-i ze schematu https w
39LWP. Ten moduł jest wtyczką do obsługi protokołu w LWP, więc nie używa
40się go bezpośrednio. Po zainstalowaniu modułu LWP potrafi łączyć się z
41serwisami przy użyciu HTTP po SSL/TLS.
81463531 42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
49%{__make}
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} pure_install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changes README
e9616cbf
JB
65%{perl_vendorlib}/LWP/Protocol/https.pm
66%{_mandir}/man3/LWP::Protocol::https.3pm*
This page took 0.034199 seconds and 4 git commands to generate.