]> git.pld-linux.org Git - packages/perl-libwww.git/blobdiff - perl-libwww.spec
- removed .pod and %%{perl_sitelib}/Bundle/* files
[packages/perl-libwww.git] / perl-libwww.spec
index 03c1bc74ed73457ffbf3289499e6c58076508414..513a837d32e6d716c1aeb4a6861bcf57acd12735 100644 (file)
@@ -1,42 +1,57 @@
 %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 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 Ä£¿é
 Name:          perl-libwww
-Version:       5.61
-Release:       1
+Version:       5.65
+Release:       3
 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:                %{name}-Digest-MD5.patch
-BuildRequires: rpm-perlprov >= 3.0.3-18
+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
 BuildRequires: perl-Digest-MD5
 BuildRequires: perl-HTML-Parser
 BuildRequires: perl-MIME-Base64
 BuildRequires: perl-URI
 BuildRequires: perl-libnet
+BuildRequires: rpm-perlprov >= 3.0.3-18
 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)"
 
 %description
-Libwww-perl is a collection of Perl modules which provides a simple
-and consistent programming interface (API) to the World-Wide Web.
+LIBWWW is a collection of Perl modules which provides a simple and
+consistent programming interface (API) to the World-Wide Web.
 
 %description -l pl
-Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
-do WWW (World-Wide Web).
+LIBWWW jest kolekcj± modu³ów Perla, które dostaczaj± proste API do
+WWW (World-Wide Web).
 
 %prep
 %setup -q -n libwww-perl-%{version}
-%patch0 -p1
 
 %build
-perl Makefile.PL
+perl Makefile.PL </dev/null
 %{__make} OPTIMIZE="%{rpmcflags}"
 
 %install
@@ -44,22 +59,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README TODO
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README TODO
 %{perl_sitelib}/*.pm
-%{perl_sitelib}/*.pod
 %{perl_sitelib}/File/*
 %{perl_sitelib}/HTML/*
 %{perl_sitelib}/HTTP/*
 %{perl_sitelib}/Net/*
 %{perl_sitelib}/LWP
-%{perl_sitelib}/WWW
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-%{_mandir}/man3/[FHLWl]*
+%{_mandir}/man3/*
This page took 0.105619 seconds and 4 git commands to generate.