]> git.pld-linux.org Git - packages/perl-EV.git/commitdiff
- initial
authoramateja <amateja@pld-linux.org>
Wed, 17 Jun 2009 07:24:53 +0000 (07:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-EV.spec -> 1.1

perl-EV.spec [new file with mode: 0644]

diff --git a/perl-EV.spec b/perl-EV.spec
new file mode 100644 (file)
index 0000000..95d14cd
--- /dev/null
@@ -0,0 +1,75 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    EV
+Summary:       EV - perl interface to libev, a high performance full-featured event loop
+Summary(pl.UTF-8):     EV - interfejs perlowy do libev
+Name:          perl-EV
+Version:       3.6
+Release:       1
+License:       unknown
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/EV/%{pdir}-%{version}.tar.gz
+# Source0-md5: 642062929539555da53d8731354d5cda
+URL:           http://search.cpan.org/dist/EV/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an interface to libev
+(http://software.schmorp.de/pkg/libev.html). While the documentation
+below is comprehensive, one might also consult the documentation of
+libev itself (http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod or
+perldoc EV::libev) for more subtle details on watcher semantics or
+some discussion on the available backends, or how to force a specific
+backend with LIBEV_FLAGS, or just about in any case because it has
+much more detailed information.
+
+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.
+
+This module does not export any symbols.
+
+%description -l pl.UTF-8
+ModuĊ‚ ten dostarcza intefejs do libev.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/EV/*.pm
+%{perl_vendorarch}/EV.pm
+%{perl_vendorarch}/EV/EVAPI.h
+%{perl_vendorarch}/EV/ev.h
+%{perl_vendorarch}/auto/EV/EV.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/EV/EV.so
+%dir %{perl_vendorarch}/auto/EV/
+%{_mandir}/man3/*
This page took 0.105635 seconds and 4 git commands to generate.