Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:HSF
cgmanager
cgmanager.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cgmanager.spec of Package cgmanager
# # spec file for package cgmanager # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define soname libcgmanager %define sover 0 Name: cgmanager Version: 0.42 Release: 0 Summary: Central cgroup manager daemon License: LGPL-2.1-or-later URL: https://linuxcontainers.org/cgmanager Source: https://linuxcontainers.org/downloads/%{name}/%{name}-%{version}.tar.gz Source1: https://linuxcontainers.org/downloads/%{name}/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring Source3: baselibs.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: help2man BuildRequires: libtool BuildRequires: pam-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(dbus-1) >= 1.2.16 BuildRequires: pkgconfig(libnih) >= 1.0.3 BuildRequires: pkgconfig(libnih-dbus) >= 1.0.0 BuildRequires: pkgconfig(popt) %description CGManager is a central privileged daemon that manages all your cgroups for you through a simple D-Bus API. It's designed to work with nested LXC containers as well as accepting unprivileged requests including resolving user namespaces UIDs/GIDs. %package -n %{soname}%{sover} Summary: Central cgroup manager daemon library %description -n %{soname}%{sover} CGManager is a central privileged daemon that manages all your cgroups for you through a simple D-Bus API. It's designed to work with nested LXC containers as well as accepting unprivileged requests including resolving user namespaces UIDs/GIDs. This package contains the shared library. %package -n %{soname}-devel Summary: Development files for libcgmanager Requires: %{soname}%{sover} = %{version} Requires: pkgconfig %description -n %{soname}-devel The libcgmanager development package includes the header files, libraries necessary for compiling and linking application which will use libcgmanager. %prep %setup -q sed -i -e 's:/sbin:/usr/sbin:g' config/init/systemd/*.service %build autoreconf -fi %configure \ --disable-static \ --with-pamdir=/%{_lib}/security \ --with-distro=suse \ --with-init-script=systemd %make_build %install %make_install ln -sf service %{buildroot}%{_sbindir}/rc%{name} ln -sf service %{buildroot}%{_sbindir}/rccgproxy find %{buildroot} -type f -name "*.la" -delete -print %pre %service_add_pre %{name}.service cgproxy.service %post %service_add_post %{name}.service cgproxy.service %preun %service_del_preun %{name}.service cgproxy.service %postun %service_del_postun %{name}.service cgproxy.service %post -n %{soname}%{sover} -p /sbin/ldconfig %postun -n %{soname}%{sover} -p /sbin/ldconfig %files %{_bindir}/cgm %{_sbindir}/%{name} %{_sbindir}/cgproxy %{_sbindir}/rc%{name} %{_sbindir}/rccgproxy %{_datadir}/%{name}/ %{_libexecdir}/%{name}/ %{_unitdir}/%{name}.service %{_unitdir}/cgproxy.service /%{_lib}/security/pam_cgm.so %{_mandir}/man1/cgm.1%{?ext_man} %{_mandir}/man8/%{name}.8%{?ext_man} %{_mandir}/man8/cgproxy.8%{?ext_man} %files -n %{soname}%{sover} %{_libdir}/%{soname}.so.%{sover}* %files -n %{soname}-devel %{_includedir}/%{name}/ %{_libdir}/%{soname}.so %{_libdir}/pkgconfig/%{soname}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor