Skip to content
Newer
Older
100644 139 lines (116 sloc) 4.18 KB
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
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@
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
25 Release: 1
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
26 URL: http://lxc.sourceforge.net
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
27 Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
28 Summary: %{name} : Linux Container
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
29 Group: Applications/System
30 License: LGPL
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
31 BuildRoot: %{_tmppath}/%{name}-%{version}-build
32 Requires: libcap
33 BuildRequires: libcap libcap-devel docbook-utils
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
34
35 %description
805415f Give the ability to non-root user to play with the containers. This f…
dlezcano authored Oct 24, 2008
36
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
37 The package "%{name}" provides the command lines to create and manage
805415f Give the ability to non-root user to play with the containers. This f…
dlezcano authored Oct 24, 2008
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.
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
46
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
47 %package libs
48 Summary: runtime library files for %{name}
49 Group: System Environment/Libraries
50
51 %description libs
52 The %{name}-libs package contains libraries for running %{name} applications.
53
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
54 %package devel
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
55 Release: 1
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
56 Summary: development library for %{name}
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
57 Group: Development/Libraries
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
58
59 %description devel
805415f Give the ability to non-root user to play with the containers. This f…
dlezcano authored Oct 24, 2008
60 The %{name}-devel package contains header files and library needed for
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
61 development of the linux containers.
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
62
63 %prep
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
64 %setup
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
65 %build
dfb8f06 @legoater take into account new configure option --with-linuxdir
legoater authored Jan 21, 2011
66 test "%{ksrc}" != "none" && args="--with-linuxdir=%{ksrc}"
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
67 PATH=$PATH:/usr/sbin:/sbin %configure $args --disable-rpath
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
68 make %{?_smp_mflags}
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
69
70 %install
bcb8845 lxc-rpm-build
Dwight Engen authored Sep 11, 2012
71 rm -rf %{buildroot}
72 make install DESTDIR=%{buildroot}
73 find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
805415f Give the ability to non-root user to play with the containers. This f…
dlezcano authored Oct 24, 2008
74
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
75 %clean
76 rm -rf %{buildroot}
77
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
78 %post
805415f Give the ability to non-root user to play with the containers. This f…
dlezcano authored Oct 24, 2008
79
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
80 %files
81 %defattr(-,root,root)
82 %{_bindir}/*
5da9e54 fix lxc.spec file
Daniel Lezcano authored Jul 23, 2010
83 %attr(4111,root,root) %{_bindir}/lxc-attach
84 %attr(4111,root,root) %{_bindir}/lxc-create
be8b597 @hallyn Add lxc-clone script
hallyn authored Jun 24, 2011
85 %attr(4111,root,root) %{_bindir}/lxc-clone
72be4f8 @hallyn Add lxc-shutdown script
hallyn authored Jul 31, 2012
86 %attr(4111,root,root) %{_bindir}/lxc-shutdown
5da9e54 fix lxc.spec file
Daniel Lezcano authored Jul 23, 2010
87 %attr(4111,root,root) %{_bindir}/lxc-start
88 %attr(4111,root,root) %{_bindir}/lxc-netstat
89 %attr(4111,root,root) %{_bindir}/lxc-unshare
90 %attr(4111,root,root) %{_bindir}/lxc-execute
91 %attr(4111,root,root) %{_bindir}/lxc-checkpoint
92 %attr(4111,root,root) %{_bindir}/lxc-restart
d823d5b Added the man.1 pages
dlezcano authored Nov 18, 2008
93 %{_mandir}/*
411c76c fix lxc.spec.in
Daniel Lezcano authored Jun 17, 2010
94 %{_datadir}/doc/*
bcb8845 lxc-rpm-build
Dwight Engen authored Sep 11, 2012
95 %{_datadir}/lxc/*
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
96
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
97 %files libs
98 %defattr(-,root,root)
99 %{_libdir}/*.so.*
100 %{_libdir}/%{name}
bcb8845 lxc-rpm-build
Dwight Engen authored Sep 11, 2012
101 %attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
102
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
103 %files devel
104 %defattr(-,root,root)
105 %{_includedir}/%{name}/*
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
106 %{_libdir}/*.so
bcb8845 lxc-rpm-build
Dwight Engen authored Sep 11, 2012
107 %{_libdir}/pkgconfig/*
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
108
109 %changelog
bcb8845 lxc-rpm-build
Dwight Engen authored Sep 11, 2012
110 * Mon Sep 10 2012 Dwight Engen <dwight.engen@oracle.com> - Version 0.8.0
111 - fix lxc-init moved to libexec
112 - .pc moved to _libdir
113 - package template files /usr/share/lxc/templates
114
1c41ddc fixes for rpmbuild
Greg Kurz authored Sep 13, 2011
115 * Thu Sep 8 2011 Greg Kurz <gkurz@fr.ibm.com> - Version 0.7.5.1
116 - fix installed files for rpmbuild
117 - introduce lxc-libs package
b491539 Changelog
dlezcano authored Sep 5, 2008
118
7ef6e44 set rights to lxc-init
Daniel Lezcano authored Jul 23, 2010
119 * Fri Jul 23 2010 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.7.2
120 - set attribute for installed files
121 - fix libraries installation
122
237315f Use a specific script to set the capabilities
Daniel Lezcano authored Mar 24, 2009
123 * Mon Mar 24 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.1
124 - Removed capability setting, let the user to do that through "lxc-setcap"
125
44931bc Add more capabilities
dlezcano authored Feb 16, 2009
126 * Mon Feb 16 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
127 - Added more capabilities to the executables
128
cef0714 Reduce spec file
dlezcano authored Jan 25, 2009
129 * Sun Jan 25 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
130 - Reduced spec file
131
b491539 Changelog
dlezcano authored Sep 5, 2008
132 * Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
5e97c3f Initial revision
dlezcano authored Aug 6, 2008
133 - Initial RPM release.
134
135 # Local variables:
136 # mode: shell-script
137 # sh-shell: rpm
138 # end:
Something went wrong with that request. Please try again.