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@consol.de> 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@consol.de> 6.06-1
- Specfile created