]> git.pld-linux.org Git - packages/perl-LWP-Protocol-https.git/blame - perl-LWP-Protocol-https.spec
- updated BRs
[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"
4#
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
42aa9dd8 11Version: 6.04
e9616cbf 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
42aa9dd8 17# Source0-md5: 1b422a7d3b5fed1eb4d748fdc9fd79a4
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
e9616cbf 25BuildRequires: perl-libwww >= 6.04
81463531 26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
e9616cbf
JB
31The LWP::Protocol::https module provide support for using https
32schemed URLs with LWP. This module is a plug-in to the LWP protocol
33handling, so you don't use it directly. Once the module is installed
34LWP is able to access sites using HTTP over SSL/TLS.
81463531 35
e9616cbf
JB
36%description -l pl.UTF-8
37Moduł LWP::Protocol::https zapewnia obsługę URL-i ze schematu https
38w LWP. Ten moduł jest wtyczką do obsługi protokołu w LWP, więc nie
39używa się go bezpośrednio. Po zainstalowaniu modułu LWP potrafi
40łączyć się z serwisami przy użyciu HTTP po SSL/TLS.
81463531 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make}
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes README
e9616cbf
JB
64%{perl_vendorlib}/LWP/Protocol/https.pm
65%{_mandir}/man3/LWP::Protocol::https.3pm*
This page took 0.05881 seconds and 4 git commands to generate.