commit 1a536ba347d95fc17fa95a9a9113affc9d7372f3 Author: Sven Nierlein <sven.nierlein@xxxxxxxxx> Date: Tue May 6 18:49:00 2014 +0200 Initial import (#1079753). .gitignore | 1 + perl-LWP-Protocol-connect.spec | 59 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..02bfe2e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/LWP-Protocol-connect-6.06.tar.gz diff --git a/perl-LWP-Protocol-connect.spec b/perl-LWP-Protocol-connect.spec new file mode 100644 index 0000000..11ff37a --- /dev/null +++ b/perl-LWP-Protocol-connect.spec @@ -0,0 +1,59 @@ +Name: perl-LWP-Protocol-connect +Version: 6.06 +Release: 2%{?dist} +Summary: Provides HTTP/CONNECT proxy support for LWP::UserAgent +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/LWP-Protocol-connect/ +Source0: http://search.cpan.org/CPAN/authors/id/B/BE/BENNING/LWP-Protocol-connect-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Test::More) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(IO::Socket::SSL) +BuildRequires: perl(LWP::Protocol) +BuildRequires: perl(LWP::Protocol::https) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(URI::http) +BuildRequires: perl(base) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) + + +%description +The LWP::Protocol::connect module provides support for using https over a proxy +via the HTTP/CONNECT method. + +%prep +%setup -q -n LWP-Protocol-connect-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%{perl_vendorlib}/* +%{_mandir}/man3/* +%doc LICENSE +%doc CHANGES +%doc README + +%changelog +* Sun Apr 06 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 6.06-2 +- added changes and readme +- used description from the module itself +- used DESTDIR instead of PERL_INSTALL_ROOT +- removed author test only build requires + +* Sun Mar 23 2014 Sven Nierlein <sven.nierlein@xxxxxxxxx> 6.06-1 +- Specfile created diff --git a/sources b/sources index e69de29..24abe16 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c7a8ff38d3ec50c193d3ce55fe5c3aee LWP-Protocol-connect-6.06.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