update to 2.0 [release 2.0-1mamba;Sun Dec 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 03:59:40 +01:00
parent 8880d2856a
commit 36322102c0

View File

@ -1,22 +1,22 @@
%define pkgver %(echo %version | tr -d .)
Name: libcgroup
Version: 0.38
Release: 2mamba
Version: 2.0
Release: 1mamba
Summary: A control group kernel file system interface to manipulate and control the details on task grouping
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libcg.sourceforge.net/
Source: http://downloads.sourceforge.net/project/libcg/libcgroup/v.%{pkgver}/libcgroup-%{version}.tar.bz2
Source: https+git://github.com/libcgroup/libcgroup.git/v%{version}/libcgroup-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaudit-devel
BuildRequires: pam-devel
BuildRequires: libcap-ng-devel
BuildRequires: libpam-devel
## AUTOBUILDREQ-END
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Control groups, a new kernel feature in Linux 2.6.24 provides a file system interface to manipulate and control the details on task grouping including creation of new task groups (control groups), permission handling and task assignment.
@ -42,10 +42,11 @@ This package contains utility applications for %{name}.
%prep
%setup -q
./bootstrap.sh
%build
%configure \
--enable-pam-module-dir=/%{_lib}/security
--enable-pam-module-dir=%{_libdir}/security
%make
@ -62,7 +63,10 @@ This package contains utility applications for %{name}.
%files
%defattr(-,root,root)
%{_libdir}/libcgroup.so.*
/%{_lib}/security/pam_cgroup.so.*
%{_libdir}/libcgroupfortesting.so.*
%{_libdir}/libcgset.so.*
%{_libdir}/security/pam_cgroup.a
%{_libdir}/security/pam_cgroup.so.*
%doc COPYING
%files devel
@ -72,9 +76,16 @@ This package contains utility applications for %{name}.
%{_includedir}/libcgroup/*.h
%{_libdir}/libcgroup.la
%{_libdir}/libcgroup.so
%{_libdir}/libcgroup.a
%{_libdir}/libcgroupfortesting.a
%{_libdir}/libcgroupfortesting.la
%{_libdir}/libcgroupfortesting.so
%{_libdir}/libcgset.a
%{_libdir}/libcgset.la
%{_libdir}/libcgset.so
%{_libdir}/pkgconfig/libcgroup.pc
/%{_lib}/security/pam_cgroup.la
/%{_lib}/security/pam_cgroup.so
%{_libdir}/security/pam_cgroup.la
%{_libdir}/security/pam_cgroup.so
%doc README README_daemon README_systemd
%files tools
@ -108,6 +119,9 @@ This package contains utility applications for %{name}.
%{_mandir}/man8/cgrulesengd.8.gz
%changelog
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
* Thu Oct 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-2mamba
- libcgroup-tools: fixed group