X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-libwww.spec;h=fa25aa3d2e9d0253a1ddeaec7c64ed2dcbc0d4e0;hb=44760cc95efb17e24c47b38ee196b04591a90022;hp=440425680ab5516bc7d5f369f863611f588a0598;hpb=261aebad91d495fce6fd50811c2b4468a7f5f0d0;p=packages%2Fperl-libwww.git diff --git a/perl-libwww.spec b/perl-libwww.spec index 4404256..fa25aa3 100644 --- a/perl-libwww.spec +++ b/perl-libwww.spec @@ -1,64 +1,77 @@ +# +# Conditional build: +# _with_tests - perform "make test" +# %include /usr/lib/rpm/macros.perl -Summary: Perl LIBWWW module -Summary(pl): Modu³ perla LIBWWW +%define pdir WWW +%define pnam libwww-perl +Summary: libwww-perl - a simple and consistent API to the World-Wide Web +Summary(pl): libwww-perl - prosty i logiczny API do WWW Name: perl-libwww -Version: 5.51 -Release: 1 +Version: 5.69 +Release: 2 License: GPL Group: Development/Languages/Perl -Group(de): Entwicklung/Sprachen/Perl -Group(pl): Programowanie/Jêzyki/Perl -Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/libwww-perl-%{version}.tar.gz -Patch0: perl-libwww-rpmperl-automation-workaround.patch -BuildRequires: rpm-perlprov >= 3.0.3-18 -BuildRequires: perl >= 5.6 -%requires_eq perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz +# Source0-md5: b4567b6fae2b1733415a746956826e0c +BuildRequires: perl-devel >= 5.6 +BuildRequires: perl(Net::FTP) >= 2.58 BuildRequires: perl-Digest-MD5 BuildRequires: perl-HTML-Parser BuildRequires: perl-MIME-Base64 BuildRequires: perl-URI BuildRequires: perl-libnet -%requires_eq perl -Requires: %{perl_sitearch} +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: perl-libwww-perl + +# modules not always required +%define _noautoreq "perl(HTML::Parse)" "perl(HTML::FormatPS)" "perl(HTML::FormatText)" "perl(HTTP::GHTTP)" "perl(IO::Socket::SSL)" "perl(Mail::Internet)" "perl(Authen::NTLM)" %description -Libwww-perl is a collection of Perl modules which provides a simple -and consistent programming interface (API) to the World-Wide Web. +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. %description -l pl -Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API -do WWW (World-Wide Web). +libwww-perl jest zbiorem modu³ów Perla, dostarczaj±cych prostego API +do WWW (World-Wide Web). G³ównym zadaniem biblioteki jest udostêpnianie +klas i funkcji, pozwalaj±cych na pisanie klientów WWW. Biblioteka zawiera +tak¿e modu³y bardziej ogólnego przeznaczenia, a nawet klasy, pozwalaj±ce +na implementacjê prostego serwera HTTP. %prep %setup -q -n libwww-perl-%{version} -%patch0 -p1 - %build -perl Makefile.PL -%{__make} OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" +%{__perl} Makefile.PL