2007-01-16 00:32:26 +01:00
|
|
|
#
|
2010-01-14 17:06:37 +01:00
|
|
|
# spec file for package perl-libwww-perl (Version 5.834)
|
2007-01-16 00:32:26 +01:00
|
|
|
#
|
2010-01-14 17:06:37 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-09 21:48:30 +02:00
|
|
|
|
2007-01-16 00:32:26 +01:00
|
|
|
Name: perl-libwww-perl
|
2009-07-29 17:13:37 +02:00
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: The World-Wide Web library for Perl
|
2010-01-14 17:06:37 +01:00
|
|
|
Version: 5.834
|
2009-01-09 01:46:04 +01:00
|
|
|
Release: 1
|
2007-10-08 12:27:45 +02:00
|
|
|
AutoReqProv: on
|
2009-07-29 17:13:37 +02:00
|
|
|
License: Artistic License ..
|
2007-01-16 00:32:26 +01:00
|
|
|
Group: Development/Libraries/Perl
|
2009-07-29 17:13:37 +02:00
|
|
|
Url: http://search.cpan.org/dist/LWP/
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
2007-01-16 00:32:26 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-29 17:13:37 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Net::FTP) >= 2.58
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
# other not perl || perl-base
|
|
|
|
BuildRequires: perl(URI) >= 1.10
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 2.1
|
|
|
|
BuildRequires: perl(HTML::Tagset)
|
|
|
|
BuildRequires: perl(HTML::Parser) >= 3.33
|
|
|
|
BuildRequires: perl(Compress::Zlib) >= 1.10
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl(Net::FTP) >= 2.58
|
|
|
|
Requires: perl(Digest::MD5)
|
|
|
|
# other not perl || perl-base
|
|
|
|
Requires: perl(URI) >= 1.10
|
|
|
|
Requires: perl(HTML::Tagset)
|
|
|
|
Requires: perl(HTML::Parser) >= 3.33
|
|
|
|
Requires: perl(Compress::Zlib) >= 1.10
|
|
|
|
#Requires: perl(Compress::Bzip2)
|
|
|
|
Recommends: perl(Crypt::SSLeay)
|
|
|
|
Provides: libwww-perl
|
|
|
|
Provides: perl_lw3
|
|
|
|
Obsoletes: perl_lw3
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%description
|
2009-07-29 17:13:37 +02:00
|
|
|
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.
|
2007-01-16 00:32:26 +01:00
|
|
|
|
2009-07-29 17:13:37 +02:00
|
|
|
Authors:
|
|
|
|
Gisle Aas <gisle@aas.no>
|
|
|
|
Martijn Koster
|
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
|
2009-07-29 17:13:37 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|
|
|
%{__make}
|
2007-07-27 02:05:39 +02:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:32:26 +01:00
|
|
|
#disable test that require network connection
|
|
|
|
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
|
2009-07-29 17:13:37 +02:00
|
|
|
%{__make} test
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-29 17:13:37 +02:00
|
|
|
%perl_gen_filelist
|
2007-01-16 00:32:26 +01:00
|
|
|
|
|
|
|
%clean
|
2009-07-29 17:13:37 +02:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-16 00:32:26 +01:00
|
|
|
|
2009-07-29 17:13:37 +02:00
|
|
|
%files -f %{name}.files
|
2007-01-16 00:32:26 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README README.SSL
|
2008-04-09 21:48:30 +02:00
|
|
|
|
2007-07-27 02:05:39 +02:00
|
|
|
%changelog
|