Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jejb1:Tumbleweed
perl-LWP-Protocol-socks
perl-LWP-Protocol-socks.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-LWP-Protocol-socks.spec of Package perl-LWP-Protocol-socks
# # spec file for package perl-LWP-Protocol-socks # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-LWP-Protocol-socks Version: 1.7 Release: 0 %define cpan_name LWP-Protocol-socks Summary: adds support for the socks protocol and proxy facility License: CHECK(GPL-1.0+ or Artistic-1.0) Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/LWP-Protocol-socks/ Source: http://www.cpan.org/authors/id/S/SC/SCR/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(IO::Socket::SSL) >= 0.96 BuildRequires: perl(IO::Socket::Socks) >= 0.2 BuildRequires: perl(LWP) >= 6.02 BuildRequires: perl(LWP::Protocol::https) >= 6.02 #BuildRequires: perl(LWP::Protocol) #BuildRequires: perl(LWP::Protocol::http) #BuildRequires: perl(LWP::Protocol::socks) #BuildRequires: perl(Net::HTTP) #BuildRequires: perl(Net::HTTPS) #BuildRequires: perl(URI::Escape) #BuildRequires: perl(URI::http) #BuildRequires: perl(URI::socks) Requires: perl(IO::Socket::SSL) >= 0.96 Requires: perl(IO::Socket::Socks) >= 0.2 Requires: perl(LWP) >= 6.02 Requires: perl(LWP::Protocol::https) >= 6.02 %{perl_requires} %description Use this package when you wish to use a socks proxy for your connections. It provides some essential hooks into the LWP system to implement a socks "scheme" similar to http for describing your socks connection, and can be used to proxy either http or https connections. The use case is to use LWP::UserAgent's proxy method to register your socks proxy like so: $ua->proxy([qw(http https)] => 'socks://socks.yahoo.com:1080'); Then just use your $ua object as usual! %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor