Accepting request 64388 from home:vitezslav_cizek:branches:devel:languages:perl
reviewed OK, Thank you :) OBS-URL: https://build.opensuse.org/request/show/64388 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=26
This commit is contained in:
parent
e1a22eea3f
commit
063238dfdb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1d5dbc560c877e46b8aed53cc589183bcaa9b63efc957329ad86b0565dc2d68c
|
|
||||||
size 214654
|
|
3
libwww-perl-6.01.tar.bz2
Normal file
3
libwww-perl-6.01.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f2d9fef67e1e5241905dc8dc4cf725acbabbf979a409a018b59eac4a66c04a44
|
||||||
|
size 106331
|
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 11:01:06 UTC 2011 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix deps
|
||||||
|
o add several missing deps
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 09:26:19 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
- upgrade to 6.01
|
||||||
|
Unbundled all modules not in the LWP:: namespace from the libwww-perl
|
||||||
|
distribution. The new broken out CPAN distribtions are File-Listing,
|
||||||
|
HTML-Form, HTTP-Cookies, HTTP-Daemon, HTTP-Date, HTTP-Message, HTTP-Negotiate,
|
||||||
|
Net-HTTP, and WWW-RobotRules. libwww-perl-6 require these to be installed.
|
||||||
|
|
||||||
|
This release also drops the unmaintained lwp-rget script from the distribution.
|
||||||
|
Perl v5.8.8 or better is now required.
|
||||||
|
|
||||||
|
Support internationalized URLs from command line scripts and in the proxy
|
||||||
|
environment variables.
|
||||||
|
|
||||||
|
The lwp-dump script got new --request option.
|
||||||
|
The lwp-request script got new -E option, contributed by Tony Finch.
|
||||||
|
|
||||||
|
Protocol handlers and callbacks can raise HTTP::Response objects as exceptions.
|
||||||
|
This will abort the current request and make LWP return the raised response.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 2 06:31:24 UTC 2010 - coolo@novell.com
|
Thu Dec 2 06:31:24 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-libwww-perl (Version 5.837)
|
# spec file for package perl-libwww-perl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,55 +15,84 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-libwww-perl
|
Name: perl-libwww-perl
|
||||||
Version: 5.837
|
|
||||||
Release: 1
|
|
||||||
License: GPL+, Artistic License
|
|
||||||
%define cpan_name libwww-perl
|
%define cpan_name libwww-perl
|
||||||
Summary: The World-Wide Web library for Perl
|
Summary: The World-Wide-Web library for Perl
|
||||||
Url: http://search.cpan.org/dist/libwww-perl/
|
Version: 6.01
|
||||||
|
Release: 1
|
||||||
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
#Source: http://www.cpan.org/modules/by-module/libwww/libwww-perl-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/libwww-perl/
|
||||||
|
#Source: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
|
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
|
||||||
Patch0: disable-ghttp.diff
|
Patch0: disable-ghttp.diff
|
||||||
BuildRequires: perl
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Compress::Raw::Zlib)
|
|
||||||
BuildRequires: perl(Crypt::SSLeay)
|
|
||||||
BuildRequires: perl(Digest::MD5)
|
BuildRequires: perl(Digest::MD5)
|
||||||
BuildRequires: perl(HTML::Parser) >= 3.33
|
BuildRequires: perl(Encode) >= 2.12
|
||||||
BuildRequires: perl(HTML::Tagset)
|
BuildRequires: perl(Encode::Locale)
|
||||||
BuildRequires: perl(IO::Compress::Deflate)
|
BuildRequires: perl(File::Listing) >= 6
|
||||||
BuildRequires: perl(IO::Compress::Gzip)
|
BuildRequires: perl(HTML::Entities)
|
||||||
BuildRequires: perl(IO::Uncompress::Gunzip)
|
BuildRequires: perl(HTML::HeadParser)
|
||||||
BuildRequires: perl(IO::Uncompress::Inflate)
|
BuildRequires: perl(HTTP::Cookies) >= 6
|
||||||
BuildRequires: perl(IO::Uncompress::RawInflate)
|
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) >= 1.10
|
||||||
Requires: perl(Compress::Raw::Zlib)
|
BuildRequires: perl(URI::Escape)
|
||||||
Requires: perl(Crypt::SSLeay)
|
BuildRequires: perl(WWW::RobotRules) >= 6
|
||||||
|
#
|
||||||
Requires: perl(Digest::MD5)
|
Requires: perl(Digest::MD5)
|
||||||
Requires: perl(HTML::Parser) >= 3.33
|
Requires: perl(Encode) >= 2.12
|
||||||
Requires: perl(HTML::Tagset)
|
Requires: perl(Encode::Locale)
|
||||||
Requires: perl(IO::Compress::Deflate)
|
Requires: perl(File::Listing) >= 6
|
||||||
Requires: perl(IO::Compress::Gzip)
|
Requires: perl(HTML::Entities)
|
||||||
Requires: perl(IO::Uncompress::Gunzip)
|
Requires: perl(HTML::HeadParser)
|
||||||
Requires: perl(IO::Uncompress::Inflate)
|
Requires: perl(HTTP::Cookies) >= 6
|
||||||
Requires: perl(IO::Uncompress::RawInflate)
|
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) >= 1.10
|
||||||
|
Requires: perl(URI::Escape)
|
||||||
|
Requires: perl(WWW::RobotRules) >= 6
|
||||||
|
%{perl_requires}
|
||||||
|
#
|
||||||
|
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
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The libwww-perl collection is a set of Perl modules which provides a
|
The libwww-perl collection is a set of Perl modules which provides a
|
||||||
simple and consistent application programming interface to the World-Wide
|
simple and consistent application programming interface to the
|
||||||
Web. The main focus of the library is to provide classes and functions
|
World-Wide Web. The main focus of the library is to provide classes
|
||||||
that allow you to write WWW clients. The library also contain modules that
|
and functions that allow you to write WWW clients. The library also
|
||||||
are of more general use and even classes that help you implement simple
|
contain modules that are of more general use and even classes that
|
||||||
HTTP servers.
|
help you implement simple HTTP servers.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
@ -74,25 +103,22 @@ HTTP servers.
|
|||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
#disable test that require network connection
|
%{__mv} t/live/jigsaw-chunk.t t/live/jigsaw-chunk.tt
|
||||||
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.t t/live/jigsaw-md5.tt
|
%{__mv} t/live/jigsaw-md5-get.t t/live/jigsaw-md5-get.tt
|
||||||
mv t/live/jigsaw-md5-get.t t/live/jigsaw-md5-get.tt
|
|
||||||
%{__make} test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# remove .packlist file
|
%perl_process_packlist
|
||||||
%{__rm} -rf %{buildroot}%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf %{buildroot}%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(644,root,root,755)
|
||||||
%doc AUTHORS Changes README README.SSL talk-to-ourself
|
%doc AUTHORS Changes README README.SSL talk-to-ourself
|
||||||
|
%attr(755,root,root) %{_bindir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user