]> git.proxmox.com Git - mirror_lxc.git/blame - lxc.spec.in
fix compilation warning
[mirror_lxc.git] / lxc.spec.in
CommitLineData
5e97c3fc 1#
2# lxc: linux Container library
3#
4# (C) Copyright IBM Corp. 2007, 2008
5#
6# Authors:
7# Daniel Lezcano <dlezcano at fr.ibm.com>
8#
9# This library is free software; you can redistribute it and/or
10# modify it under the terms of the GNU Lesser General Public
11# License as published by the Free Software Foundation; either
12# version 2.1 of the License, or (at your option) any later version.
13#
14# This library is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17# Lesser General Public License for more details.
18#
19# You should have received a copy of the GNU Lesser General Public
20# License along with this library; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
5e97c3fc 23Name: @PACKAGE@
24Version: @VERSION@
cef07149 25Release: 1
5e97c3fc 26URL: http://lxc.sourceforge.net
cef07149 27Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
28Summary: %{name} : Linux Container
5e97c3fc 29Group: Applications/System
30License: LGPL
cef07149 31BuildRoot: %{_tmppath}/%{name}-%{version}-build
32Requires: libcap
33BuildRequires: libcap libcap-devel docbook-utils
5e97c3fc 34
35%description
805415fc 36
cef07149 37The package "%{name}" provides the command lines to create and manage
805415fc 38containers. It contains a full featured container with the isolation
39/ virtualization of the pids, the ipc, the utsname, the mount points,
40/proc, /sys, the network and it takes into account the control groups.
41It is very light, flexible, and provides a set of tools around the
42container like the monitoring with asynchronous events notification,
43or the freeze of the container. This package is useful to create
44Virtual Private Server, or to run isolated applications like bash or
45sshd.
5e97c3fc 46
47%package devel
cef07149 48Release: 1
5e97c3fc 49Summary: development library for %{name}
cef07149 50Group: Development/Libraries
5e97c3fc 51
52%description devel
805415fc 53The %{name}-devel package contains header files and library needed for
cef07149 54development of the linux containers.
5e97c3fc 55
56%prep
cef07149 57%setup
5e97c3fc 58%build
cef07149 59PATH=$PATH:/usr/sbin:/sbin %configure
60make %{?_smp_mflags}
5e97c3fc 61
62%install
cef07149 63%makeinstall
64
65find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';'
805415fc 66
5e97c3fc 67%clean
68rm -rf %{buildroot}
69
cef07149 70%post
805415fc 71
5e97c3fc 72%files
73%defattr(-,root,root)
c2cc9f0a 74%{_libdir}/*.so*
a7405925 75%{_libdir}/%{name}
5da9e545 76%attr(4111,root,root) %{_libdir}/%{name}/lxc-init
5e97c3fc 77%{_bindir}/*
5da9e545
DL
78%attr(4111,root,root) %{_bindir}/lxc-attach
79%attr(4111,root,root) %{_bindir}/lxc-create
80%attr(4111,root,root) %{_bindir}/lxc-start
81%attr(4111,root,root) %{_bindir}/lxc-netstat
82%attr(4111,root,root) %{_bindir}/lxc-unshare
83%attr(4111,root,root) %{_bindir}/lxc-execute
84%attr(4111,root,root) %{_bindir}/lxc-checkpoint
85%attr(4111,root,root) %{_bindir}/lxc-restart
d823d5b9 86%{_mandir}/*
b6345ba1 87%{_datadir}/pkgconfig/*
411c76ce 88%{_datadir}/doc/*
5e97c3fc 89
90%files devel
91%defattr(-,root,root)
92%{_includedir}/%{name}/*
cef07149 93%{_libdir}/*.so*
5e97c3fc 94
95%changelog
b4915399 96
237315ff
DL
97* Mon Mar 24 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.1
98- Removed capability setting, let the user to do that through "lxc-setcap"
99
44931bc7 100* Mon Feb 16 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
101- Added more capabilities to the executables
102
cef07149 103* Sun Jan 25 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
104- Reduced spec file
105
b4915399 106* Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
5e97c3fc 107- Initial RPM release.
108
109# Local variables:
110# mode: shell-script
111# sh-shell: rpm
112# end: