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