Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > aef056f4c0ad378ced63bc74a1f7505d > files > 2

cpulimit-1.1-3mdv2009.0.src.rpm

%define name	cpulimit
%define version	1.1
%define release %mkrel 3

Name:		%name
Version:	%version
Release:	%release
Summary:	CPU Usage Limiter
URL:		http://cpulimit.sourceforge.net/
Source:		cpulimit-%{version}.tar.gz
License:	GPL
Group:		Monitoring
BuildRoot:	%{_tmppath}/%{name}-root
%description
cpulimit is a simple program that attempts to limit the cpu usage of a
process (expressed in percentage, not in cpu time). This is useful to
control batch jobs, when you don't want they eat too much cpu. It does
not act on the nice value or other scheduling priority stuff, but on
the real cpu usage. Also, it is able to adapt itself to the overall
system load, dynamically and quickly.

%prep
%setup -q

%build
%make

%install
%{__mkdir} -p $RPM_BUILD_ROOT%{_bindir}
%{__cp} -p %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}

%clean
%{__rm} -Rf $RPM_BUILD_ROOT

%files
%{_bindir}/%{name}


%changelog
* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.1-3mdv2009.0
+ Revision: 243724
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.1-1mdv2008.1
+ Revision: 136345
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Fri Jul 27 2007 Nicolas Vigier <nvigier@mandriva.com> 1.1-1mdv2008.0
+ Revision: 56274
- Import cpulimit