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 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 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