Import
This commit is contained in:
parent
5876e557f2
commit
97ab28334a
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/LWP-Protocol-https-6.02.tar.gz
|
58
perl-LWP-Protocol-https.spec
Normal file
58
perl-LWP-Protocol-https.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
Name: perl-LWP-Protocol-https
|
||||||
|
Version: 6.02
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Provide HTTPS support for LWP::UserAgent
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/LWP-Protocol-https/
|
||||||
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(IO::Socket::SSL) >= 1.38
|
||||||
|
BuildRequires: perl(LWP::Protocol::http)
|
||||||
|
BuildRequires: perl(LWP::UserAgent) >= 6.02
|
||||||
|
BuildRequires: perl(Mozilla::CA) >= 20110101
|
||||||
|
BuildRequires: perl(Net::HTTPS) >= 6
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
Requires: perl(IO::Socket::SSL) >= 1.38
|
||||||
|
Requires: perl(LWP::UserAgent) >= 6.02
|
||||||
|
Requires: perl(Mozilla::CA) >= 20110101
|
||||||
|
Requires: perl(Net::HTTPS) >= 6
|
||||||
|
|
||||||
|
# Remove underspecified dependencies
|
||||||
|
%filter_from_requires /^perl(Net::HTTPS)\s*$/d
|
||||||
|
%filter_setup
|
||||||
|
|
||||||
|
%description
|
||||||
|
The LWP::Protocol::https module provides support for using HTTPS schemed
|
||||||
|
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
|
||||||
|
you don't use it directly. Once the module is installed LWP is able to
|
||||||
|
access sites using HTTP over SSL/TLS.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n LWP-Protocol-https-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 6.02-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.78.
|
||||||
|
- Remove BuildRoot stuff
|
Loading…
Reference in New Issue
Block a user