2018-11-28 11:18:22 +01:00
|
|
|
Name: perl-LWP-Protocol-connect
|
|
|
|
Version: 6.09
|
2022-01-11 16:40:21 +01:00
|
|
|
Release: 3%{?dist}
|
2018-11-28 11:18:22 +01:00
|
|
|
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://www.cpan.org/authors/id/B/BE/BENNING/LWP-Protocol-connect-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(HTTP::Request)
|
|
|
|
BuildRequires: perl(IO::Socket::SSL)
|
|
|
|
BuildRequires: perl(LWP::Protocol)
|
|
|
|
BuildRequires: perl(LWP::Protocol::http)
|
|
|
|
BuildRequires: perl(LWP::Protocol::https)
|
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(URI::http)
|
|
|
|
Requires: perl(HTTP::Request)
|
|
|
|
Requires: perl(IO::Socket::SSL)
|
|
|
|
Requires: perl(LWP::Protocol)
|
|
|
|
Requires: perl(LWP::Protocol::http)
|
|
|
|
Requires: perl(LWP::Protocol::https)
|
|
|
|
Requires: perl(LWP::UserAgent)
|
|
|
|
Requires: perl(URI::http)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%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
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CHANGES dist.ini LICENSE META.json README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2022-01-11 16:40:21 +01:00
|
|
|
* Tue Jan 11 2022 Daniel Berteaud <dbd@ehtrace.com> 6.09-3
|
|
|
|
- Release bump
|
|
|
|
|
2021-12-09 18:45:16 +01:00
|
|
|
* Thu Dec 09 2021 Daniel Berteaud <dani@lapiole.org> 6.09-2
|
|
|
|
- Update tito builder (dani@lapiole.org)
|
|
|
|
|
2018-11-28 11:41:48 +01:00
|
|
|
* Wed Nov 28 2018 Daniel Berteaud <daniel@firewall-services.com> 6.09-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2018-11-28 11:18:22 +01:00
|
|
|
* Wed Nov 28 2018 Daniel Berteaud <daniel@firewall-services.com> 6.09-1
|
|
|
|
- First build (created with cpanspec)
|