2024-01-05 21:32:59 +01:00
|
|
|
Name: cpulimit
|
2024-02-04 16:45:25 +01:00
|
|
|
Epoch: 1
|
|
|
|
Version: 3.0
|
2024-01-05 21:32:59 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: CPU Usage Limiter for Linux
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-02-04 16:45:25 +01:00
|
|
|
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
|
2024-01-05 21:32:59 +01:00
|
|
|
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.
|
|
|
|
|
2024-02-04 16:45:25 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:32:59 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-02-04 16:45:25 +01:00
|
|
|
%makeinstall PREFIX=%{buildroot}%{_prefix}
|
2024-01-05 21:32:59 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-02-04 16:45:25 +01:00
|
|
|
%{_bindir}/cpulimit
|
|
|
|
%{_mandir}/man1/cpulimit.1*
|
2024-01-05 21:32:59 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-02-04 16:45:25 +01:00
|
|
|
* Sun Feb 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-1mamba
|
|
|
|
- update to 3.0
|
|
|
|
|
2024-01-05 21:32:59 +01:00
|
|
|
* Fri Mar 04 2016 Automatic Build System <autodist@mambasoft.it> 20160304-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:32:59 +01:00
|
|
|
* Tue Jun 23 2015 Automatic Build System <autodist@mambasoft.it> 20150623-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:32:59 +01:00
|
|
|
* 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
|