]> git.pld-linux.org Git - packages/perl-EV.git/blame - perl-EV.spec
- updated to 4.33
[packages/perl-EV.git] / perl-EV.spec
CommitLineData
d0b8d537 1#
2# Conditional build:
7b6014f9 3%bcond_without tests # perform "make test"
96ca67f9
ER
4
5%define pdir EV
96ca67f9 6Summary: EV - Perl interface to libev, a high performance full-featured event loop
ecd9f0ab 7Summary(pl.UTF-8): EV - perlowy interfejs do libev - wydajnej pętli zdarzeń
d0b8d537 8Name: perl-EV
d5aca536
JB
9Version: 4.33
10Release: 1
05a68dee 11Epoch: 1
96ca67f9
ER
12# same as Perl, libev: BSD-like
13License: GPL v1+ or Artistic (Perl module), BSD-like (embedded libev)
d0b8d537 14Group: Development/Languages/Perl
ecd9f0ab 15Source0: http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/%{pdir}-%{version}.tar.gz
d5aca536
JB
16# Source0-md5: b6d348e9306fd78dab0b80c55e9efb32
17URL: https://metacpan.org/dist/EV
28ac8016 18BuildRequires: perl-Canary-Stability
d5aca536 19BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
b34e4adf 20BuildRequires: perl-common-sense
d5aca536 21BuildRequires: perl-devel >= 1:5.8.2
d0b8d537 22BuildRequires: rpm-perlprov >= 4.1-13
d5aca536
JB
23BuildRequires: rpmbuild(macros) >= 1.745
24Conflicts: perl-AnyEvent < 5.29
d0b8d537 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This module provides an interface to libev
96ca67f9 29<http://software.schmorp.de/pkg/libev.html>.
d0b8d537 30
31This module is very fast and scalable. It is actually so fast that you
32can use it through the AnyEvent module, stay portable to other event
33loops (if you don't rely on any watcher types not available through
34it) and still be faster than with any other event loop currently
35supported in Perl.
36
d0b8d537 37%description -l pl.UTF-8
ecd9f0ab 38Moduł ten dostarcza intefejs do libev
96ca67f9 39<http://software.schmorp.de/pkg/libev.html>.
ecd9f0ab
JB
40
41Jest bardzo szybki i skalowalny. Właściwie jest na tyle szybki, że
42można go użyć poprzez moduł AnyEvent i pozostawić kod przenośnym na
43inne pętle zdarzeń (jeśli nie jest wymagane użycie typów obserwatorów
44niedostępnych przez AnyEvent), i całość jest nadal szybsza niż inne
45pętle zdarzeń dostępne z poziomu Perla.
d0b8d537 46
47%prep
48%setup -q -n %{pdir}-%{version}
49
50%build
51%{__perl} Makefile.PL \
36679d7c 52 INSTALLDIRS=vendor </dev/null
d0b8d537 53%{__make} \
54 CC="%{__cc}" \
55 OPTIMIZE="%{rpmcflags}"
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} pure_install \
63 DESTDIR=$RPM_BUILD_ROOT
64
9854614f 65install -d libev-doc
d5aca536 66%{__mv} libev/{Changes,LICENSE,README} libev-doc
dccc494d 67%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/EV/libev.pod
9854614f 68
d0b8d537 69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
ecd9f0ab 74%doc Changes COPYING README libev-doc
95074e4c 75%dir %{perl_vendorarch}/EV
d0b8d537 76%{perl_vendorarch}/EV/*.pm
77%{perl_vendorarch}/EV.pm
78%{perl_vendorarch}/EV/EVAPI.h
79%{perl_vendorarch}/EV/ev.h
95074e4c 80%dir %{perl_vendorarch}/auto/EV
d0b8d537 81%attr(755,root,root) %{perl_vendorarch}/auto/EV/EV.so
ecd9f0ab 82%{_mandir}/man3/EV*.3pm*
This page took 0.0568 seconds and 4 git commands to generate.