commit 97ab28334a888b64237bc4ccc4ff9dd2d4e13a08 Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Tue Mar 29 15:38:24 2011 +0200 Import .gitignore | 1 + perl-LWP-Protocol-https.spec | 58 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ef7c64e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/LWP-Protocol-https-6.02.tar.gz diff --git a/perl-LWP-Protocol-https.spec b/perl-LWP-Protocol-https.spec new file mode 100644 index 0000000..ff9ad3d --- /dev/null +++ b/perl-LWP-Protocol-https.spec @@ -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@xxxxxxxxxx> 6.02-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot stuff diff --git a/sources b/sources index e69de29..ddf131b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a37185492b15ad5ac13da4aef48bd388 LWP-Protocol-https-6.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel