summaryrefslogtreecommitdiffstats
path: root/libcgroup.spec.in
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-27 20:38:54 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-02-27 20:38:54 +0000
commit1b17475ed4300d050cc87334898908f444881af5 (patch)
treeebfc97f6dafdcfafc67f31d32894100d4020afc7 /libcgroup.spec.in
parent8044128fa6322f391d4629072954e24ef1c72e4f (diff)
downloadlibcg-1b17475ed4300d050cc87334898908f444881af5.tar.gz
libcg-1b17475ed4300d050cc87334898908f444881af5.tar.xz
libcg-1b17475ed4300d050cc87334898908f444881af5.zip
libcgroup: Update specfile for v0.33 and bump up the version
From: Ivana Varekova <varekova@redhat.com> OK, here goes This patch Originally from Ivana and with changes I've made, get the spec file working again (rpmlint warnings need some care and ownership). The new version will be 0.33 and will have new man pages and newer API and many more bug fixes [varekova@redhat.com] Incorporate pam module instalation to the spec file - file part change add dependency [balbir@linux.vnet.ibm.com] Bumped up the version, getting ready for a new release. Updated makefile to install new man pages and to move the pam module to the correct place at the time of installation. Signed-off-by: Ivana Varekova <varekova@redhat.com> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@355 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'libcgroup.spec.in')
-rw-r--r--libcgroup.spec.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/libcgroup.spec.in b/libcgroup.spec.in
index 5fac72c..5a65d6b 100644
--- a/libcgroup.spec.in
+++ b/libcgroup.spec.in
@@ -7,6 +7,7 @@ License: LGPLv2+
URL: http://libcg.sourceforge.net/
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: pam-devel
BuildRequires: byacc
BuildRequires: flex
BuildRequires: coreutils
@@ -45,6 +46,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
cp samples/cgred.conf $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/cgred.conf
cp samples/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf
cp samples/cgrules.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgrules.conf
+mkdir -p $RPM_BUILD_ROOT/%{_lib}/security/
+mv $RPM_BUILD_ROOT/%{_libdir}/security/pam_cgroup.so \
+ $RPM_BUILD_ROOT/%{_lib}/security/pam_cgroup.so
%clean
rm -rf $RPM_BUILD_ROOT
@@ -75,8 +79,12 @@ fi
%{_bindir}/cgclassify
%{_sbindir}/cgconfigparser
%{_bindir}/cgrulesengd
+%attr(0644, root, root) %{_mandir}/man1/*
+%attr(0644, root, root) %{_mandir}/man5/*
+%attr(0644, root, root) %{_mandir}/man8/*
%attr(0755,root,root) %{_initrddir}/cgconfig
%attr(0755,root,root) %{_initrddir}/cgred
+%attr(0755,root,root) /%{_lib}/security/pam_cgroup.so
%doc COPYING INSTALL README_daemon
@@ -88,6 +96,8 @@ fi
%changelog
+* Tue Feb 24 2009 Balbir Singh <balbir@linux.vnet.ibm.com> 0.33-1
+- Update to 0.33, spec file changes to add Makefiles and pam_cgroup module
* Fri Oct 10 2008 Dhaval Giani <dhaval@linux.vnet.ibm.com> 0.32-1
- Update to latest upstream
* Thu Sep 11 2008 Dhaval Giani <dhaval@linux-vnet.ibm.com> 0.31-1