2011-03-29 13:38:24 +00:00
|
|
|
Name: perl-LWP-Protocol-https
|
2014-04-23 11:20:31 +00:00
|
|
|
Version: 6.06
|
|
|
|
Release: 1%{?dist}
|
2011-03-29 13:38:24 +00:00
|
|
|
Summary: Provide HTTPS support for LWP::UserAgent
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/LWP-Protocol-https/
|
2014-04-23 11:20:31 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-%{version}.tar.gz
|
2011-03-29 13:38:24 +00:00
|
|
|
BuildArch: noarch
|
2014-01-16 13:30:47 +00:00
|
|
|
BuildRequires: perl
|
2011-03-29 13:38:24 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2014-01-16 13:30:47 +00:00
|
|
|
BuildRequires: perl(strict)
|
2014-04-23 11:20:31 +00:00
|
|
|
# Run-time:
|
2012-02-20 12:25:04 +00:00
|
|
|
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
2011-03-29 13:38:24 +00:00
|
|
|
BuildRequires: perl(LWP::Protocol::http)
|
|
|
|
BuildRequires: perl(Mozilla::CA) >= 20110101
|
|
|
|
BuildRequires: perl(Net::HTTPS) >= 6
|
2014-04-23 11:20:31 +00:00
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(IO::Select)
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
|
|
|
BuildRequires: perl(LWP::UserAgent) >= 6.06
|
|
|
|
BuildRequires: perl(Socket)
|
2012-02-20 12:25:04 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2014-04-23 11:20:31 +00:00
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(IO::Socket::SSL) >= 1.953
|
|
|
|
BuildRequires: perl(IO::Socket::SSL::Utils)
|
2014-01-16 13:30:47 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2012-02-20 12:25:04 +00:00
|
|
|
Requires: perl(IO::Socket::SSL) >= 1.54
|
2011-03-29 13:38:24 +00:00
|
|
|
Requires: perl(Mozilla::CA) >= 20110101
|
|
|
|
Requires: perl(Net::HTTPS) >= 6
|
|
|
|
|
|
|
|
# Remove underspecified dependencies
|
2011-07-26 07:25:37 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$
|
2011-03-29 13:38:24 +00:00
|
|
|
|
|
|
|
%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
|
2014-01-16 13:30:47 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2011-03-29 13:38:24 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2014-01-16 13:30:47 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2011-03-29 13:38:24 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
2012-02-20 12:25:04 +00:00
|
|
|
make test
|
2011-03-29 13:38:24 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2014-04-23 11:20:31 +00:00
|
|
|
* Wed Apr 23 2014 Petr Pisar <ppisar@redhat.com> - 6.06-1
|
|
|
|
- 6.06 bump
|
|
|
|
|
2014-01-16 13:30:47 +00:00
|
|
|
* Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 6.04-4
|
|
|
|
- Modernize spec file
|
|
|
|
|
2013-08-03 22:33:36 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-23 23:54:28 +00:00
|
|
|
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 6.04-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-05-02 12:12:42 +00:00
|
|
|
* Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 6.04-1
|
|
|
|
- 6.04 bump
|
|
|
|
|
2013-02-14 13:13:23 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 16:31:33 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-15 04:49:34 +00:00
|
|
|
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-02-20 12:25:04 +00:00
|
|
|
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
|
|
|
- 6.03 bump
|
|
|
|
- Enable tests by default, they detect connectivity now
|
|
|
|
|
2012-01-13 14:30:38 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-25 12:11:59 +00:00
|
|
|
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-4
|
|
|
|
- RPM 4.9 dependency filtering added
|
|
|
|
|
2011-06-17 13:53:31 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.02-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-03-29 14:27:24 +00:00
|
|
|
* Tue Mar 29 2011 Petr Pisar <ppisar@redhat.com> - 6.02-2
|
|
|
|
- Disable tests because they need network access
|
|
|
|
|
2011-03-29 13:38:24 +00:00
|
|
|
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 6.02-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|
|
- Remove BuildRoot stuff
|