Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-EV
perl-EV.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-EV.spec of Package perl-EV
# # - EV - # %define real_name EV %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} summary: EV - perl interface to libev, a high performance full-featured event loop version: 3.9 release: 1 Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{real_name}-%{version}.tar.gz license: Artistic Group: Development/Libraries/Perl AutoReqProv: on url: http://www.cpan.org buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n) BuildRequires: perl-common-sense Requires: perl-common-sense %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. %prep %setup -q -n %{real_name}-%{version} chmod -R u+w %{_builddir}/%{real_name}-%{version} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %build grep -rsl '^#!.*perl' . | grep -v '.bak$' |xargs --no-run-if-empty \ %__perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' CFLAGS="$RPM_OPT_FLAGS" echo y | %{__perl} Makefile.PL --default `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\. 9[1-6]|6\.0[0-5]/ '` %{__make} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %files %defattr(-, root, root) %doc Changes README %doc %{_mandir}/man?/* %dir %{perl_vendorarch}/EV %dir %{perl_vendorarch}/auto/EV %{perl_vendorarch}/EV* %{perl_vendorarch}/auto/EV/EV.so %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Wed Mar 3 2010 Holger Manthey <holger.manthey@bertelsmann.de> - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor