1 Summary: Linux Container Tools
7 Source0: http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
8 # Source0-md5: 327f0e700858ab5b916aa36517680256
9 URL: http://sourceforge.net/projects/lxc
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: libtool
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Tools to create and manage containers. It contains a full featured
17 container with the isolation / virtualization of the pids, the ipc,
18 the utsname, the mount points, /proc, /sys, the network and it takes
19 into account the control groups. It is very light, flexible, and
20 provides a set of tools around the container like the monitoring with
21 asynchronous events notification, or the freeze of the container. This
22 package is useful to create Virtual Private Server, or to run isolated
23 applications like bash or sshd.
26 Summary: Header files and develpment documentation for lxc
27 Group: Development/Libraries
28 Requires: %{name} = %{epoch}:%{version}-%{release}
31 lxc development files.
34 Summary: Static lxc library
35 Group: Development/Libraries
36 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
43 sed -i -e 's#^lxcpath=.*#lxcpath=/var/lxc#g' src/lxc/Makefile.am
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/var/lxc
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog README etc/*.conf etc/*-config
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/liblxc-*.so
73 %dir %{_sysconfdir}/lxc
77 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/liblxc.so
83 %defattr(644,root,root,755)