3 %bcond_without tests # do not perform "make test"
7 Summary: IO::All::LWP - IO::All interface to LWP
8 Summary(pl.UTF-8): IO::All::LWP - interfejs IO::All do LWP
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 2971dc7889c0c523237b1fd4488c6cdb
17 URL: http://search.cpan.org/dist/IO-All-LWP/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-IO-All >= 0.3
22 BuildRequires: perl(LWP)
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module acts as glue between IO::All and LWP, so that files can
29 be read and written through the network using the convenient IO:All
30 interface. Note that this module is not used directly: you just use
31 IO::All, which knows when to autoload IO::All::HTTP, IO::All::HTTPS,
32 or IO::All::FTP, which implement the specific protocols with base on
35 %description -l pl.UTF-8
36 Moduł ten działa jako moduł łączący IO::All i LWP tak, że można czytać
37 z plików i zapisywać do nich poprzez siec, korzystając z wygodnego
38 interfejsu IO:All. Uwaga: modułu tego nie używa się bezpośrednio;
39 należy po prostu korzystać z IO::All, który wie, kiedy załadować
40 moduły IO::All::HTTP, IO::All::HTTPS lub IO::All::FTP implementujące
41 poszczególne protokoły w oparciu o IO::All::LWP.
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %{perl_vendorlib}/IO/All/*.pm