mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 21:04:08 +00:00

Don't create the directory when we install the lxc package. This is handled by lxc-create. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
105 lines
2.9 KiB
RPMSpec
105 lines
2.9 KiB
RPMSpec
#
|
|
# lxc: linux Container library
|
|
#
|
|
# (C) Copyright IBM Corp. 2007, 2008
|
|
#
|
|
# Authors:
|
|
# Daniel Lezcano <dlezcano at fr.ibm.com>
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
Name: @PACKAGE@
|
|
Version: @VERSION@
|
|
Release: 1
|
|
URL: http://lxc.sourceforge.net
|
|
Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
|
Summary: %{name} : Linux Container
|
|
Group: Applications/System
|
|
License: LGPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: libcap
|
|
BuildRequires: libcap libcap-devel docbook-utils
|
|
|
|
%description
|
|
|
|
The package "%{name}" provides the command lines to create and manage
|
|
containers. It contains a full featured container with the isolation
|
|
/ virtualization of the pids, the ipc, the utsname, the mount points,
|
|
/proc, /sys, the network and it takes into account the control groups.
|
|
It is very light, flexible, and provides a set of tools around the
|
|
container like the monitoring with asynchronous events notification,
|
|
or the freeze of the container. This package is useful to create
|
|
Virtual Private Server, or to run isolated applications like bash or
|
|
sshd.
|
|
|
|
%package devel
|
|
Release: 1
|
|
Summary: development library for %{name}
|
|
Group: Development/Libraries
|
|
|
|
%description devel
|
|
The %{name}-devel package contains header files and library needed for
|
|
development of the linux containers.
|
|
|
|
%prep
|
|
%setup
|
|
%build
|
|
PATH=$PATH:/usr/sbin:/sbin %configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';'
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/%{name}/*
|
|
%{_libdir}/*.so*
|
|
%{_bindir}/*
|
|
%{_libexecdir}/*
|
|
%{_mandir}/*
|
|
%{_datadir}/pkgconfig/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/%{name}/*
|
|
%{_libdir}/*.so*
|
|
%{_libdir}/*.a
|
|
|
|
%changelog
|
|
|
|
* Mon Mar 24 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.1
|
|
- Removed capability setting, let the user to do that through "lxc-setcap"
|
|
|
|
* Mon Feb 16 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
|
|
- Added more capabilities to the executables
|
|
|
|
* Sun Jan 25 2009 Daniel Lezcano <daniel.lezcano@free.fr> - Version 0.6.0
|
|
- Reduced spec file
|
|
|
|
* Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
|
|
- Initial RPM release.
|
|
|
|
# Local variables:
|
|
# mode: shell-script
|
|
# sh-shell: rpm
|
|
# end:
|