4a9ff084d6
Ville Skyttä (7): Link updates. Attribute documentation wording improvements. Don't parse robots.txt response content unless it's textual. Decode robots.txt response content before attempting to parse it. RobotUA robots.txt response parsing cleanups. Don't parse HEAD of robots.txt responses. Request handler doc grammar fixes. Gisle Aas (6): Pass on HTTP/1.0 if set as request protocol Remove outdated docs (not touched since 1996 :-) Merge pull request #22 from madsen/RT67947-verify_hostname PERL_LWP_ENV_PROXY tweaks lwp-request didn't respect -H Content-type [RT#70488] lwp-request -H didn't allow repeated headers Christopher J. Madsen (2): verify_hostname defaults to 0 if ssl_opts provided [RT#67947] Test verify_hostname setting Bryan Cardillo (1): Fix expect header support to work with content refs. Moritz Onken (1): add PERL_LWP_ENV_PROXY env variable to enable env_proxy globally _______________________________________________________________________________ OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=32
127 lines
4.3 KiB
RPMSpec
127 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package perl-libwww-perl
|
|
#
|
|
# Copyright (c) 2011 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-libwww-perl
|
|
Version: 6.03
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
%define cpan_name libwww-perl
|
|
Summary: The World-Wide-Web library for Perl
|
|
Url: http://search.cpan.org/dist/libwww-perl/
|
|
Group: Development/Libraries/Perl
|
|
#Source: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
|
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
|
|
Patch0: disable-ghttp.diff
|
|
BuildRequires: perl
|
|
BuildRequires: perl(Digest::MD5)
|
|
BuildRequires: perl(Encode) >= 2.12
|
|
BuildRequires: perl(Encode::Locale)
|
|
BuildRequires: perl(File::Listing) >= 6
|
|
BuildRequires: perl(HTML::Entities)
|
|
BuildRequires: perl(HTML::HeadParser)
|
|
BuildRequires: perl(HTTP::Cookies) >= 6
|
|
BuildRequires: perl(HTTP::Daemon) >= 6
|
|
BuildRequires: perl(HTTP::Date) >= 6
|
|
BuildRequires: perl(HTTP::Negotiate) >= 6
|
|
BuildRequires: perl(HTTP::Request) >= 6
|
|
BuildRequires: perl(HTTP::Request::Common) >= 6
|
|
BuildRequires: perl(HTTP::Response) >= 6
|
|
BuildRequires: perl(HTTP::Status) >= 6
|
|
BuildRequires: perl(IO::Select)
|
|
BuildRequires: perl(IO::Socket)
|
|
BuildRequires: perl(LWP::MediaTypes) >= 6
|
|
BuildRequires: perl(MIME::Base64) >= 2.1
|
|
BuildRequires: perl(Net::FTP) >= 2.58
|
|
BuildRequires: perl(Net::HTTP) >= 6
|
|
BuildRequires: perl(URI) >= 1.10
|
|
BuildRequires: perl(URI::Escape)
|
|
BuildRequires: perl(WWW::RobotRules) >= 6
|
|
BuildRequires: perl-macros
|
|
#
|
|
Requires: perl(Digest::MD5)
|
|
Requires: perl(Encode) >= 2.12
|
|
Requires: perl(Encode::Locale)
|
|
Requires: perl(File::Listing) >= 6
|
|
Requires: perl(HTML::Entities)
|
|
Requires: perl(HTML::HeadParser)
|
|
Requires: perl(HTTP::Cookies) >= 6
|
|
Requires: perl(HTTP::Daemon) >= 6
|
|
Requires: perl(HTTP::Date) >= 6
|
|
Requires: perl(HTTP::Negotiate) >= 6
|
|
Requires: perl(HTTP::Request) >= 6
|
|
Requires: perl(HTTP::Request::Common) >= 6
|
|
Requires: perl(HTTP::Response) >= 6
|
|
Requires: perl(HTTP::Status) >= 6
|
|
Requires: perl(IO::Select)
|
|
Requires: perl(IO::Socket)
|
|
Requires: perl(LWP::MediaTypes) >= 6
|
|
Requires: perl(MIME::Base64) >= 2.1
|
|
Requires: perl(Net::FTP) >= 2.58
|
|
Requires: perl(Net::HTTP) >= 6
|
|
Requires: perl(URI) >= 1.10
|
|
Requires: perl(URI::Escape)
|
|
Requires: perl(WWW::RobotRules) >= 6
|
|
#
|
|
Recommends: perl(Authen::NTML) >= 2.12
|
|
Recommends: perl(Data::Dump)
|
|
Recommends: perl(IO::Socket::SSL) >= 1.38
|
|
Recommends: perl(Mozilla::CA) >= 20110101
|
|
Recommends: perl(Net::HTTPS) >= 6
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%{perl_requires}
|
|
|
|
%description
|
|
The libwww-perl collection is a set of Perl modules which provides a
|
|
simple and consistent application programming interface to the
|
|
World-Wide Web. The main focus of the library is to provide classes
|
|
and functions that allow you to write WWW clients. The library also
|
|
contain modules that are of more general use and even classes that
|
|
help you implement simple HTTP servers.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
mv t/live/jigsaw-chunk.t t/live/jigsaw-chunk.tt
|
|
mv t/live/jigsaw-md5.t t/live/jigsaw-md5.tt
|
|
mv t/live/jigsaw-md5-get.t t/live/jigsaw-md5-get.tt
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(644,root,root,755)
|
|
%doc AUTHORS Changes README README.SSL talk-to-ourself
|
|
%attr(755,root,root) %{_bindir}/*
|
|
|
|
%changelog
|