Name: cgroup Summary: A collection of tools and libraries to control and monitor control groups the associated controllers Group: Development/Libraries Version: @PACKAGE_VERSION@ Release: 1%{?dist} License: LGPL URL: http://libcg.sourceforge.net/%{name}-%{version}.tar.bz2 Source0: cgroup-@PACKAGE_VERSION@.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: byacc BuildRequires: flex BuildRequires: coreutils %description Control groups infrastructure. The tools and library help manipulate, control, administrate and monitor control groups and the associated controllers. %package lib Summary: Development libraries to handle control group applications Group: Development/Libraries %description lib The libcgroup-devel package contains the libraries to run control group applications. %package lib-devel Summary: Development libraries to develop applications that utilize control groups Group: Development/Libraries %description lib-devel It provides API to create/delete and modify cgroup nodes. It will also in the future allow creation of persistent configuration for control groups and provide scripts to manage that configuration. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files lib %defattr(-,root,root,-) %{_libdir}/libcgroup-%{version}.so %{_libdir}/libcgroup.so.* %doc COPYING INSTALL %files lib-devel %defattr(-,root,root,-) %{_includedir}/libcgroup.h %{_libdir}/libcgroup.so %doc COPYING INSTALL %changelog *Tue May 20 2008 Dhaval Giani 0.1-1 -The first version of libcg * Tue May 20 2008 Balbir Singh 0.1-1 - Get the spec file to work