X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-libwww.spec;h=ff18bca3b65fd872bf89bf5a634a1a32e24900c8;hb=bae2fe9974aae6804572e67ab80284ddee6fcfab;hp=513a837d32e6d716c1aeb4a6861bcf57acd12735;hpb=7823cf355034babc90f1742a5333229ca61437e6;p=packages%2Fperl-libwww.git diff --git a/perl-libwww.spec b/perl-libwww.spec index 513a837..ff18bca 100644 --- a/perl-libwww.spec +++ b/perl-libwww.spec @@ -1,76 +1,87 @@ +# +# Conditional build: +%bcond_with tests # perform "make test" +# %include /usr/lib/rpm/macros.perl %define pdir WWW %define pnam libwww-perl -Summary: LIBWWW Perl module -Summary(cs): Modul LIBWWW pro Perl -Summary(da): Perlmodul LIBWWW -Summary(de): LIBWWW Perl Modul -Summary(es): Módulo de Perl LIBWWW -Summary(fr): Module Perl LIBWWW -Summary(it): Modulo di Perl LIBWWW -Summary(ja): LIBWWW Perl ¥â¥¸¥å¡¼¥ë -Summary(ko): LIBWWW ÆÞ ¸ðÁÙ -Summary(no): Perlmodul LIBWWW -Summary(pl): Modu³ Perla LIBWWW -Summary(pt): Módulo de Perl LIBWWW -Summary(pt_BR): Módulo Perl LIBWWW -Summary(ru): íÏÄÕÌØ ÄÌÑ Perl LIBWWW -Summary(sv): LIBWWW Perlmodul -Summary(uk): íÏÄÕÌØ ÄÌÑ Perl LIBWWW -Summary(zh_CN): LIBWWW Perl Ä£¿é +Summary: libwww-perl - a simple and consistent API to the World-Wide Web +Summary(pl.UTF-8): libwww-perl - prosty i logiczny API do WWW Name: perl-libwww -Version: 5.65 -Release: 3 -License: GPL +Version: 5.822 +Release: 1 +# same as perl +License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz -BuildRequires: perl >= 5.6 -BuildRequires: perl(Net::FTP) >= 2.58 +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz +# Source0-md5: 5b5856e0d61abb75fb5f52ed1678161f +URL: http://search.cpan.org/dist/libwww-perl/ +BuildRequires: perl(Net::FTP) >= 2.58 BuildRequires: perl-Digest-MD5 -BuildRequires: perl-HTML-Parser -BuildRequires: perl-MIME-Base64 -BuildRequires: perl-URI +BuildRequires: perl-HTML-Parser >= 3.33 +BuildRequires: perl-MIME-Base64 >= 2.1 +BuildRequires: perl-URI >= 1.10 +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: perl-libnet -BuildRequires: rpm-perlprov >= 3.0.3-18 +BuildRequires: rpm-perlprov >= 4.1-13 +Suggests: perl-IO-Socket-SSL +Obsoletes: perl-libwww-perl 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)" +%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 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 jest kolekcj± modu³ów Perla, które dostaczaj± proste API do -WWW (World-Wide Web). +%description -l pl.UTF-8 +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} %build -perl Makefile.PL $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p +done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc README TODO -%{perl_sitelib}/*.pm -%{perl_sitelib}/File/* -%{perl_sitelib}/HTML/* -%{perl_sitelib}/HTTP/* -%{perl_sitelib}/Net/* -%{perl_sitelib}/LWP +%doc README* +%{perl_vendorlib}/*.pm +%{perl_vendorlib}/File/* +%{perl_vendorlib}/HTML/* +%{perl_vendorlib}/HTTP/* +%{perl_vendorlib}/Net/* +%{perl_vendorlib}/LWP +%{perl_vendorlib}/WWW/* %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* -%{_mandir}/man3/* +%{_mandir}/man3/[!B]*