Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:driesverachtert
perl-BSD-Resource
perl-BSD-Resource-SLES_9.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-BSD-Resource-SLES_9.spec of Package perl-BSD-Resource
# $Id: perl-BSD-Resource.spec 5710 2007-08-11 16:34:28Z dag $ # Authority: dries # Upstream: Jarkko Hietaniemi <jhi@iki,fi> %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name BSD-Resource Summary: BSD process resource limit and priority functions Name: perl-BSD-Resource Version: 1.28 %define releasesuffix sles9 Release: 1 License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/BSD-Resource/ Packager: Dries Verachtert <dries@ulyssis.org> Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/ Source: http://www.cpan.org/modules/by-module/BSD/BSD-Resource-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl(ExtUtils::MakeMaker), perl %description This Perl extension implements the BSD process resource limit functions getrusage() getrlimit() setrlimit() and the BSD process priority functions. These are available also via core Perl but here we do more tricks so that the PRIO_* are available. getpriority() setpriority() Also is provided times() which provides the same functionality as the one in core Perl, only with better time resolution. %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %{__make} install ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ChangeLog README %doc %{_mandir}/man3/*.3pm* %dir %{perl_vendorarch}/BSD/ %{perl_vendorarch}/BSD/Resource.pm %dir %{perl_vendorarch}/auto/BSD/ %{perl_vendorarch}/auto/BSD/Resource/ %changelog * Fri Jun 2 2006 Dries Verachtert <dries@ulyssis.org> - 1.28-1 - Updated to release 1.28. * Sun Dec 19 2004 Dries Verachtert <dries@ulyssis.org> - 1.24-1 - Initial package.
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