Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37494805
en ru br
ALT Linux repos
S:6.72-alt1
5.0: 5.826-alt1
4.1: 5.812-alt1
4.0: 5.805-alt3
3.0: 5.803-alt3
+backports:5.803-alt0.M30.3

Group :: Development/Perl
RPM: perl-libwww

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist libwww-perl
Name: perl-libwww
Version: 5.805
Release: alt3

Summary: WWW client/server library for Perl (aka LWP)
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source: %dist-%version-%release.tar

BuildArch: noarch

Provides: %name-perl = %version
Obsoletes: %name-perl <= %version

# requires Win32

%add_findreq_skiplist */HTTP/Cookies/Microsoft.pm
# requires Authen::NTLM; not required by any package
%add_findreq_skiplist */LWP/Authen/Ntlm.pm
# requires HTTP::GHTTP; not required by any package
%add_findreq_skiplist */LWP/Protocol/GHTTP.pm

# Automatically added by buildreq on Sun Apr 08 2007

BuildRequires: perl-Compress-Zlib perl-DBM perl-Encode perl-HTML-Parser perl-devel

%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.

%prep
%setup -q -n %dist-%version-%release
bzip2 -9fk Changes

%ifdef __BTE
rm -fv t/live/*.t
%endif

%build
%perl_vendor_build

%install
%perl_vendor_install

ln -snf lwp-request %buildroot%_bindir/GET
ln -snf lwp-request %buildroot%_bindir/HEAD
ln -snf lwp-request %buildroot%_bindir/POST

ln -snf lwp-request.1 %buildroot%_man1dir/GET.1
ln -snf lwp-request.1 %buildroot%_man1dir/HEAD.1
ln -snf lwp-request.1 %buildroot%_man1dir/POST.1

%files
%doc Changes.bz2 README README.SSL
%_bindir/lwp-*
%_bindir/GET
%_bindir/HEAD
%_bindir/POST
%_man1dir/lwp-*.*
%_man1dir/GET.*
%_man1dir/HEAD.*
%_man1dir/POST.*
%dir %perl_vendor_privlib/LWP
%perl_vendor_privlib/LWP.pm
%perl_vendor_privlib/LWP/*
%dir %perl_vendor_privlib/Net
%perl_vendor_privlib/Net/HTTP*
%dir %perl_vendor_privlib/WWW
%perl_vendor_privlib/WWW/RobotRules*
%dir %perl_vendor_privlib/HTML
%perl_vendor_privlib/HTML/Form.pm
%dir %perl_vendor_privlib/HTTP
%perl_vendor_privlib/HTTP/*
%dir %perl_vendor_privlib/File
%perl_vendor_privlib/File/Listing.pm
%dir %perl_vendor_privlib/Bundle
%perl_vendor_privlib/Bundle/LWP.pm
%doc %perl_vendor_privlib/lwp*.pod

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin