%define module IO-Multiplex %define version 1.07 %define release 1mdk %define pdir IO Summary: %{module} module for perl Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/search?dist=%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot Requires: perl >= 5.005 , perl-base >= 5.005 BuildRequires: perl-devel >= 5.005 %description IO::Multiplex is designed to take the effort out of managing multiple file handles. It is essentially a really fancy front end to the C<select> system call. In addition to maintaining the C<select> loop, it buffers all input and output to/from the file handles. It can also accept incoming connections on one or more listen sockets. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(444,root,root,755) %doc Changes README TODO MANIFEST %{perl_vendorlib}/IO/* %_mandir/man*/* %changelog * Thu Sep 04 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.07-1mdk - needed by perl-Net-Server