2007-01-16 00:32:26 +01:00
|
|
|
#
|
2011-03-17 12:27:05 +01:00
|
|
|
# spec file for package perl-libwww-perl
|
2007-01-16 00:32:26 +01:00
|
|
|
#
|
2017-02-14 10:07:01 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:32:26 +01:00
|
|
|
#
|
2008-10-06 17:20:21 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:32:26 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-03-21 15:15:12 +01:00
|
|
|
|
2007-01-16 00:32:26 +01:00
|
|
|
Name: perl-libwww-perl
|
2017-02-14 10:07:01 +01:00
|
|
|
Version: 6.18
|
2013-04-15 12:43:30 +02:00
|
|
|
Release: 0
|
2011-10-17 16:51:40 +02:00
|
|
|
%define cpan_name libwww-perl
|
2015-04-22 16:07:37 +02:00
|
|
|
Summary: The World-Wide Web library for Perl
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-10-17 16:51:40 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2013-04-15 12:43:30 +02:00
|
|
|
Url: http://search.cpan.org/dist/libwww-perl/
|
2017-02-14 10:07:01 +01:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
|
2015-04-22 16:07:37 +02:00
|
|
|
Source1: cpanspec.yml
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-03-17 12:27:05 +01:00
|
|
|
BuildRequires: perl
|
2013-04-15 12:43:30 +02:00
|
|
|
BuildRequires: perl-macros
|
2011-03-17 12:27:05 +01:00
|
|
|
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(LWP::MediaTypes) >= 6
|
2015-04-22 16:07:37 +02:00
|
|
|
BuildRequires: perl(Net::HTTP) >= 6.07
|
2017-02-14 10:07:01 +01:00
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::RequiresInternet)
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
2010-07-07 16:22:41 +02:00
|
|
|
BuildRequires: perl(URI) >= 1.10
|
2011-03-17 12:27:05 +01:00
|
|
|
BuildRequires: perl(URI::Escape)
|
|
|
|
BuildRequires: perl(WWW::RobotRules) >= 6
|
|
|
|
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(LWP::MediaTypes) >= 6
|
2015-04-22 16:07:37 +02:00
|
|
|
Requires: perl(Net::HTTP) >= 6.07
|
2017-02-14 10:07:01 +01:00
|
|
|
Requires: perl(Try::Tiny)
|
2010-07-07 16:22:41 +02:00
|
|
|
Requires: perl(URI) >= 1.10
|
2011-03-17 12:27:05 +01:00
|
|
|
Requires: perl(URI::Escape)
|
|
|
|
Requires: perl(WWW::RobotRules) >= 6
|
2011-10-17 16:51:40 +02:00
|
|
|
%{perl_requires}
|
2015-04-22 16:07:37 +02:00
|
|
|
# MANUAL BEGIN
|
|
|
|
Recommends: perl(LWP::Protocol::https) >= 6.06
|
|
|
|
# MANUAL END
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%description
|
2015-04-22 16:07:37 +02:00
|
|
|
The World-Wide Web library for Perl
|
2010-07-07 16:22:41 +02:00
|
|
|
|
2007-01-16 00:32:26 +01:00
|
|
|
%prep
|
2009-07-29 17:13:37 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%build
|
2013-07-16 11:49:10 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2007-07-27 02:05:39 +02:00
|
|
|
|
|
|
|
%check
|
2013-07-16 11:49:10 +02:00
|
|
|
%{__make} test
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2011-03-17 12:27:05 +01:00
|
|
|
%perl_process_packlist
|
2009-07-29 17:13:37 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:32:26 +01:00
|
|
|
|
2010-07-07 16:22:41 +02:00
|
|
|
%files -f %{name}.files
|
2013-07-16 11:49:10 +02:00
|
|
|
%defattr(-,root,root,755)
|
2017-02-14 10:07:01 +01:00
|
|
|
%doc AUTHORS Changes README README.SSL talk-to-ourself
|
|
|
|
%license LICENSE
|
2008-04-09 21:48:30 +02:00
|
|
|
|
2007-07-27 02:05:39 +02:00
|
|
|
%changelog
|