cpulimit/cpulimit.spec

65 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: cpulimit
Epoch: 1
Version: 3.0
Release: 1mamba
Summary: CPU Usage Limiter for Linux
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/limitcpu/
Source: https://sourceforge.net/projects/limitcpu/files/limitcpu/cpulimit-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
cpulimit is a simple program which 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 them to 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.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{buildroot}%{_prefix}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/cpulimit
%{_mandir}/man1/cpulimit.1*
%doc LICENSE
%changelog
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
- update to 3.0
* Fri Mar 04 2016 Automatic Build System <autodist@mambasoft.it> 20160304-1mamba
- automatic version update by autodist
* Tue Jun 23 2015 Automatic Build System <autodist@mambasoft.it> 20150623-1mamba
- automatic version update by autodist
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 20140311-1mamba
- automatic version update by autodist
* Sat Jan 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140118git-1mamba
- update to 20140118git
* Tue Jan 29 2013 Automatic Build System <autodist@mambasoft.it> 20120918-1mamba
- update to 20120918
* Tue Sep 28 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1-1mamba
- package created by autospec