# # Conditional build: %bcond_without tests # perform "make test" %define pdir EV %include /usr/lib/rpm/macros.perl Summary: EV - Perl interface to libev, a high performance full-featured event loop Summary(pl.UTF-8): EV - perlowy interfejs do libev - wydajnej pętli zdarzeń Name: perl-EV Version: 4.22 Release: 5 Epoch: 1 # same as Perl, libev: BSD-like License: GPL v1+ or Artistic (Perl module), BSD-like (embedded libev) Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pdir}-%{version}.tar.gz # Source0-md5: 8bca55688edafcf98ab6d7a86ea195be URL: http://search.cpan.org/dist/EV/ BuildRequires: perl-Canary-Stability BuildRequires: perl-common-sense BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This module provides an interface to libev . This module is very fast and scalable. It is actually so fast that you can use it through the AnyEvent module, stay portable to other event loops (if you don't rely on any watcher types not available through it) and still be faster than with any other event loop currently supported in Perl. %description -l pl.UTF-8 Moduł ten dostarcza intefejs do libev . Jest bardzo szybki i skalowalny. Właściwie jest na tyle szybki, że można go użyć poprzez moduł AnyEvent i pozostawić kod przenośnym na inne pętle zdarzeń (jeśli nie jest wymagane użycie typów obserwatorów niedostępnych przez AnyEvent), i całość jest nadal szybsza niż inne pętle zdarzeń dostępne z poziomu Perla. %prep %setup -q -n %{pdir}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor