3 # _without_tests - do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: IO::Multiplex - Manage IO on many file handles
9 Summary(pl): IO::Multiplex - zarz±dzanie operacjami we/wy na wielu uchwytach plików
10 Name: perl-IO-Multiplex
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: d78ca0342ad65988288e3a2198ddbaee
17 BuildRequires: perl-devel >= 5.6
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 IO::Multiplex is designed to take the effort out of managing multiple
24 file handles. It is essentially a really fancy front end to the select
25 system call. In addition to maintaining the select loop, it buffers
26 all input and output to/from the file handles. It can also accept
27 incoming connections on one or more listen sockets.
30 Modu³ IO::Multiplex zosta³ zaprojektowany jako próba zarz±dzania
31 wieloma uchwytami plików. Jest przede wszystkim naprawdê fantazyjnym
32 frontendem do wywo³ania systemowego select. Oprócz zarz±dzania pêtl±
33 wywo³añ select, buforuje ca³e wej¶cie i wyj¶cie do/z uchwytów plików.
34 Mo¿e tak¿e akceptowaæ przychodz±ce po³±czenia z jednego lub wiêcej
35 nas³uchuj±cych gniazd.
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{!?_without_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc Changes README TODO
58 %{perl_vendorlib}/IO/Multiplex.pm