forked from pool/perl-libwww-perl
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=42
This commit is contained in:
committed by
Git OBS Bridge
parent
75686d6b97
commit
5e642a6b6a
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-libwww-perl
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,20 +17,19 @@
|
||||
|
||||
|
||||
Name: perl-libwww-perl
|
||||
Version: 6.05
|
||||
Version: 6.13
|
||||
Release: 0
|
||||
%define cpan_name libwww-perl
|
||||
Summary: The World-Wide-Web library for Perl
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Summary: The World-Wide Web library for Perl
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/libwww-perl/
|
||||
Source: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{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
|
||||
Source0: libwww-perl-6.13.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Digest::MD5)
|
||||
BuildRequires: perl(Encode) >= 2.12
|
||||
BuildRequires: perl(Encode::Locale)
|
||||
BuildRequires: perl(File::Listing) >= 6
|
||||
BuildRequires: perl(HTML::Entities)
|
||||
@@ -44,11 +43,10 @@ BuildRequires: perl(HTTP::Request::Common) >= 6
|
||||
BuildRequires: perl(HTTP::Response) >= 6
|
||||
BuildRequires: perl(HTTP::Status) >= 6
|
||||
BuildRequires: perl(LWP::MediaTypes) >= 6
|
||||
BuildRequires: perl(Net::HTTP) >= 6.04
|
||||
BuildRequires: perl(Net::HTTP) >= 6.07
|
||||
BuildRequires: perl(URI) >= 1.10
|
||||
BuildRequires: perl(URI::Escape)
|
||||
BuildRequires: perl(WWW::RobotRules) >= 6
|
||||
#
|
||||
Requires: perl(Encode::Locale)
|
||||
Requires: perl(File::Listing) >= 6
|
||||
Requires: perl(HTML::Entities)
|
||||
@@ -62,30 +60,20 @@ Requires: perl(HTTP::Request::Common) >= 6
|
||||
Requires: perl(HTTP::Response) >= 6
|
||||
Requires: perl(HTTP::Status) >= 6
|
||||
Requires: perl(LWP::MediaTypes) >= 6
|
||||
Requires: perl(Net::HTTP) >= 6.04
|
||||
Requires: perl(Net::HTTP) >= 6.07
|
||||
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(LWP::Protocol::https) >= 6.02
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
Recommends: perl(LWP::Protocol::https) >= 6.06
|
||||
# MANUAL END
|
||||
|
||||
%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.
|
||||
The World-Wide Web library for Perl
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
@@ -103,6 +91,5 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc AUTHORS Changes README README.SSL talk-to-ourself
|
||||
%attr(755,root,root) %{_bindir}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user