1
by Guido Trotter
Import upstream version 0.6.2 |
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 |
||
23 |
Name: @PACKAGE@ |
|
24 |
Version: @VERSION@ |
|
25 |
Release: 1 |
|
26 |
URL: http://lxc.sourceforge.net |
|
27 |
Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz |
|
28 |
Summary: %{name} : Linux Container |
|
29 |
Group: Applications/System |
|
30 |
License: LGPL |
|
31 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
32 |
Requires: libcap |
|
33 |
BuildRequires: libcap libcap-devel docbook-utils |
|
34 |
||
35 |
%description |
|
36 |
||
37 |
The package "%{name}" provides the command lines to create and manage |
|
38 |
containers. 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. |
|
41 |
It is very light, flexible, and provides a set of tools around the |
|
42 |
container like the monitoring with asynchronous events notification, |
|
43 |
or the freeze of the container. This package is useful to create |
|
44 |
Virtual Private Server, or to run isolated applications like bash or |
|
45 |
sshd. |
|
46 |
||
47 |
%package devel |
|
48 |
Release: 1 |
|
49 |
Summary: development library for %{name} |
|
50 |
Group: Development/Libraries |
|
51 |
||
52 |
%description devel |
|
53 |
The %{name}-devel package contains header files and library needed for |
|
54 |
development of the linux containers. |
|
55 |
||
56 |
%prep |
|
57 |
%setup |
|
58 |
%build |
|
59 |
PATH=$PATH:/usr/sbin:/sbin %configure |
|
60 |
make %{?_smp_mflags} |
|
61 |
||
62 |
%install |
|
63 |
%makeinstall |
|
64 |
||
65 |
find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';' |
|
66 |
||
67 |
%clean |
|
68 |
rm -rf %{buildroot} |
|
69 |
||
70 |
%post |
|
71 |
||
72 |
%files |
|
73 |
%defattr(-,root,root) |
|
74 |
%{_libdir}/*.so* |
|
1.2.4
by Guido Trotter
Import upstream version 0.7.1 |
75 |
%{_libdir}/%{name}
|
1
by Guido Trotter
Import upstream version 0.6.2 |
76 |
%{_bindir}/*
|
77 |
%{_mandir}/*
|
|
1.2.1
by Guido Trotter
Import upstream version 0.6.3 |
78 |
%{_datadir}/pkgconfig/*
|
1.2.4
by Guido Trotter
Import upstream version 0.7.1 |
79 |
%{_datadir}/doc/*
|
1
by Guido Trotter
Import upstream version 0.6.2 |
80 |
|
81 |
%files devel
|
|
82 |
%defattr(-,root,root)
|
|
83 |
%{_includedir}/%{name}/*
|
|
84 |
%{_libdir}/*.so*
|
|
85 |
||
86 |
%changelog
|
|
87 |
||
88 |
* Mon Mar 24 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.1
|
|
89 |
- Removed capability setting, let the user to do that through "lxc-setcap"
|
|
90 |
||
91 |
* Mon Feb 16 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
|
|
92 |
- Added more capabilities to the executables
|
|
93 |
||
94 |
* Sun Jan 25 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
|
|
95 |
- Reduced spec file
|
|
96 |
||
97 |
* Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
|
|
98 |
- Initial RPM release.
|
|
99 |
||
100 |
# Local variables:
|
|
101 |
# mode: shell-script
|
|
102 |
# sh-shell: rpm
|
|
103 |
# end:
|