8
0

Accepting request 42696 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-libwww-perl via accept of submit request 42696 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/42696
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-libwww-perl?expand=0&rev=17
This commit is contained in:
Christian Wittmer
2010-07-07 14:22:41 +00:00
committed by Git OBS Bridge
parent a33ce89e81
commit ddc9e2c22f
5 changed files with 82 additions and 116 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-libwww-perl (Version 5.834)
# spec file for package perl-libwww-perl (Version 5.836)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,61 +17,56 @@
# norootforbuild
Name: perl-libwww-perl
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
%define cpan_name libwww-perl
Summary: The World-Wide Web library for Perl
Version: 5.834
Release: 2
AutoReqProv: on
License: Artistic License ..
Version: 5.836
Release: 1
License: GPL+, Artistic License
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/LWP/
Url: http://search.cpan.org/dist/libwww-perl/
#Source: http://www.cpan.org/modules/by-module/libwww/libwww-perl-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
Patch: %{name}-%{version}-Content-Disposition.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
BuildRequires: perl(Net::FTP) >= 2.58
%endif
BuildRequires: perl(Crypt::SSLeay)
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
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(URI) >= 1.10
Requires: perl = %{perl_version}
Requires: perl(Net::FTP) >= 2.58
Requires: perl(Compress::Raw::Zlib)
Requires: perl(Crypt::SSLeay)
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
Requires: perl(HTML::Tagset)
Requires: perl(IO::Compress)
Requires: perl(URI) >= 1.10
%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.
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.
Authors:
--------
Gisle Aas <gisle@aas.no>
Martijn Koster
Authors:
Gisle Aas <gisle@aas.no>
Martijn Koster
%prep
%setup -q -n %{cpan_name}-%{version}
%patch -p1
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
#disable test that require network connection
@@ -82,14 +77,17 @@ mv t/live/jigsaw-md5-get.t t/live/jigsaw-md5-get.tt
%install
%perl_make_install
%perl_process_packlist
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README README.SSL
%files -f %{name}.files
%defattr(-,root,root,-)
%doc AUTHORS Changes README README.SSL talk-to-ourself
%changelog