Import LWP::Protocol::connect

This commit is contained in:
Daniel Berteaud 2018-11-28 11:18:22 +01:00
parent 8e048cd8c4
commit 396de336b3
5 changed files with 73 additions and 2 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

1
.tito/releasers.conf Symbolic link
View File

@ -0,0 +1 @@
../../tito_libs/releasers.conf

View File

@ -1,5 +1,6 @@
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
builder = fws.builder.GitLfsBuilder
tagger = tito.tagger.ReleaseTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)
lib_dir = ../tito_libs

BIN
LWP-Protocol-connect-6.09.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,65 @@
Name: perl-LWP-Protocol-connect
Version: 6.09
Release: 0.beta1%{?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://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
* Wed Nov 28 2018 Daniel Berteaud <daniel@firewall-services.com> 6.09-1
- First build (created with cpanspec)