%define upstream_name IO-Epoll %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Scalable IO Multiplexing for Linux 2.5.44 and higher License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/IO/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-devel %description The 'epoll(4)' subsystem is a new, (currently) Linux-specific variant of 'poll(2)'. It is designed to offer O(1) scalability over large numbers of watched file descriptors. You will need at least version 2.5.44 of Linux to use this module, and you might need to upgrade your C library. The 'epoll(2)' API comprises four system calls: 'epoll_create(2)', 'epoll_ctl(2)', 'epoll_wait(2)' and 'epoll_pwait(2)'. 'IO::Epoll' provides a low-level API which closely matches the underlying system calls. It also provides a higher-level layer designed to emulate the behavior of 'IO::Poll' and 'IO::Ppoll'. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.30.0-3.mga3 + Revision: 368498 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.30.0-2.mga3 + Revision: 250784 - rebuild for perl 5.16 * Thu Jan 05 2012 jquelin <jquelin> 0.30.0-1.mga2 + Revision: 191187 - update to 0.03 * Mon Jul 04 2011 jquelin <jquelin> 0.20.0-1.mga2 + Revision: 118375 - imported package perl-IO-Epoll