1 Summary: Linux Container Tools
7 Source0: http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
8 # Source0-md5: 5c9c6889ba1255217078ea5d1aaf0c82
9 URL: http://lxc.sourceforge.net
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: docbook-dtd30-sgml
13 BuildRequires: docbook-utils
14 BuildRequires: libcap-devel
15 BuildRequires: libtool
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define configpath /var/lib/lxc
21 Tools to create and manage containers. It contains a full featured
22 container with the isolation / virtualization of the pids, the ipc,
23 the utsname, the mount points, /proc, /sys, the network and it takes
24 into account the control groups. It is very light, flexible, and
25 provides a set of tools around the container like the monitoring with
26 asynchronous events notification, or the freeze of the container. This
27 package is useful to create Virtual Private Server, or to run isolated
28 applications like bash or sshd.
31 Summary: Header files and develpment documentation for lxc
32 Group: Development/Libraries
33 Requires: %{name} = %{epoch}:%{version}-%{release}
36 lxc development files.
43 %{__aclocal} -I config
47 --with-config-path=%{configpath}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT \
57 pcdatadir=%{_pkgconfigdir}
58 %{__make} -C doc install \
59 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
62 install -d $RPM_BUILD_ROOT%{configpath}
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog CONTRIBUTING MAINTAINERS README TODO doc/FAQ.txt doc/examples/*.conf
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/liblxc.so.*.*.*
75 %attr(755,root,root) %ghost %{_libdir}/liblxc.so.0
76 %{_libdir}/lxc/rootfs/README
80 %dir %{_libdir}/lxc/templates
81 %dir %{_libdir}/lxc/rootfs
82 %attr(755,root,root) %{_libdir}/lxc/lxc-init
83 %attr(755,root,root) %{_libdir}/lxc/templates/lxc-*
86 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/liblxc.so
89 %{_pkgconfigdir}/lxc.pc