lxc.spec.in revision 1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# lxc: linux Container library
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# (C) Copyright IBM Corp. 2007, 2008
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# Daniel Lezcano <dlezcano at fr.ibm.com>
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen# This library is free software; you can redistribute it and/or
6e5f8923e3353300e0922adf2c44bdef6e8e03f7Timo Sirainen# modify it under the terms of the GNU Lesser General Public
ffd8dc932516bc55bf01d91355540daab365e5e9Timo Sirainen# License as published by the Free Software Foundation; either
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# version 2.1 of the License, or (at your option) any later version.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen# This library is distributed in the hope that it will be useful,
fb08a91e3f2949ecefb647fa38206ca9aad5307fTimo Sirainen# but WITHOUT ANY WARRANTY; without even the implied warranty of
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# Lesser General Public License for more details.
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# You should have received a copy of the GNU Lesser General Public
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# License along with this library; if not, write to the Free Software
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo SirainenName: @PACKAGE@
bdc81a44ea0cf97571da9aa11741c7881b9b64e5Timo SirainenVersion: @VERSION@
870bcf0d0c07f7d915f1f571f38968426ba575a1Timo SirainenSource: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
e7a4c77db3a37224b91e16d139fa80ce67dc37ffTimo SirainenSummary: %{name} : Linux Container
f6edc54aa72596af8da681c07223108c322712d5Timo SirainenBuildRoot: %{_tmppath}/%{name}-%{version}-build
f6edc54aa72596af8da681c07223108c322712d5Timo SirainenRequires: libcap
acef354e742a39416b0697e1554f5d49b0369850Timo SirainenBuildRequires: libcap libcap-devel docbook-utils
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenThe package "%{name}" provides the command lines to create and manage
f6edc54aa72596af8da681c07223108c322712d5Timo Sirainencontainers. It contains a full featured container with the isolation
f6edc54aa72596af8da681c07223108c322712d5Timo Sirainen/ virtualization of the pids, the ipc, the utsname, the mount points,
f6edc54aa72596af8da681c07223108c322712d5Timo Sirainen/proc, /sys, the network and it takes into account the control groups.
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenIt is very light, flexible, and provides a set of tools around the
c0e5c6a86e1de5d4f5591d39b4aa921a23c807d7Timo Sirainencontainer like the monitoring with asynchronous events notification,
c0e5c6a86e1de5d4f5591d39b4aa921a23c807d7Timo Sirainenor the freeze of the container. This package is useful to create
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenVirtual Private Server, or to run isolated applications like bash or
f6edc54aa72596af8da681c07223108c322712d5Timo SirainenSummary: runtime library files for %{name}
f6edc54aa72596af8da681c07223108c322712d5Timo Sirainen%description libs
f6edc54aa72596af8da681c07223108c322712d5Timo SirainenThe %{name}-libs package contains libraries for running %{name} applications.
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%package devel
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenSummary: development library for %{name}
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%description devel
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenThe %{name}-devel package contains header files and library needed for
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainendevelopment of the linux containers.
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainentest "%{ksrc}" != "none" && args="--with-linuxdir=%{ksrc}"
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo SirainenPATH=$PATH:/usr/sbin:/sbin %configure $args --disable-rpath
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainenmake %{?_smp_mflags}
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainenfind $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';'
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainenrm -rf %{buildroot}
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen%defattr(-,root,root)
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen%attr(4111,root,root) %{_bindir}/lxc-attach
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen%attr(4111,root,root) %{_bindir}/lxc-create
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen%attr(4111,root,root) %{_bindir}/lxc-clone
e7a4c77db3a37224b91e16d139fa80ce67dc37ffTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-start
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-netstat
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-unshare
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-execute
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-checkpoint
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4111,root,root) %{_bindir}/lxc-restart
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%{_datadir}/doc/*
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%defattr(-,root,root)
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%{_libdir}/*.so.*
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%{_libdir}/%{name}
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%attr(4555,root,root) %{_libdir}/%{name}/lxc-init
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%defattr(-,root,root)
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%{_includedir}/%{name}/*
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen%{_libdir}/*.so
c0e5c6a86e1de5d4f5591d39b4aa921a23c807d7Timo Sirainen%{_datadir}/pkgconfig/*
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen* Thu Sep 8 2011 Greg Kurz <gkurz@fr.ibm.com> - Version 0.7.5.1
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen- fix installed files for rpmbuild
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen- introduce lxc-libs package
191153d1a5b0eb0c129139570e3aa5212f28d2acJosef 'Jeff' Sipek* Fri Jul 23 2010 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.7.2
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen- set attribute for installed files
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen- fix libraries installation
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen* Mon Mar 24 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.1
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen- Removed capability setting, let the user to do that through "lxc-setcap"
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen* Mon Feb 16 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
d8552f9f65e5ff64be5de9faf9a8171799a0bbecTimo Sirainen- Added more capabilities to the executables
9cd232cda7563ad81c01776e5ebc5ed2b3cef898Timo Sirainen* Sun Jan 25 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
9cd232cda7563ad81c01776e5ebc5ed2b3cef898Timo Sirainen- Reduced spec file
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen* Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen- Initial RPM release.
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# Local variables:
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# mode: shell-script
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen# sh-shell: rpm