# # spec file for package cpuset (Version 0.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cpuset Version: 0.1 Release: 3 Summary: Allows manipluation of cpusets on system and provides higher level functions. Source: %{name}-%{version}.tar.gz License: GPL v2 only Group: System/Management BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.opensuse.org BuildRequires: python-devel %py_requires %description Cpuset is a Python application to make using the cpusets facilities in the Linux kernel easier. The actual included command is called cset and it allows manipulation of cpusets on system and provides higher level functions such as implementation and control of a basic cpu shielding setup. It is recommended that you run at least 2.6.22 for best results. Authors: -------- Alex Tsariounov %prep %setup %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} --record-rpm=INSTALLED_FILES # rm generic /usr/share/doc/packages dir that's already in the filesystem rpm cat INSTALLED_FILES | awk '! /%dir[ \t]*\/usr\/share\/doc\/packages$/' > tmpfil.files mv -f tmpfil.files INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Thu Jan 24 2008 alext@suse.de - Remove error in abuild for including generic doc directory in list of files * Thu Jan 24 2008 alext@suse.de - Changed --record to --record-rpm to fix build. * Wed Jan 16 2008 alext@suse.de - Initial submission to autobuild, pdb entry exists. - Currently not functional, version set to 0.1.