]> git.pld-linux.org Git - packages/lxc.git/blame - lxc.spec
- initial
[packages/lxc.git] / lxc.spec
CommitLineData
0886a606
AM
1Summary: Linux Container Tools
2Name: lxc
3Version: 0.4.0
4Release: 1
5License: GPL
6Group: Base
7Source0: http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
8# Source0-md5: 327f0e700858ab5b916aa36517680256
9URL: http://sourceforge.net/projects/lxc
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%description
13Tools to create and manage containers. It contains a full featured
14container with the isolation / virtualization of the pids, the ipc,
15the utsname, the mount points, /proc, /sys, the network and it takes
16into account the control groups. It is very light, flexible, and
17provides a set of tools around the container like the monitoring with
18asynchronous events notification, or the freeze of the container. This
19package is useful to create Virtual Private Server, or to run isolated
20applications like bash or sshd.
21
22%package devel
23Summary: Header files and develpment documentation for lxc
24Group: Development/Libraries
25Requires: %{name} = %{epoch}:%{version}-%{release}
26
27%description devel
28lxc development files.
29
30%package static
31Summary: Static lxc library
32Group: Development/Libraries
33Requires: %{name}-devel = %{epoch}:%{version}-%{release}
34
35%description static
36Static lxc library.
37
38%prep
39%setup -q
40
41%build
42%configure
43
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post -p /sbin/ldconfig
56%postun -p /sbin/ldconfig
57
58%files
59%defattr(644,root,root,755)
60%doc AUTHORS ChangeLog README etc/*.conf etc/*-config
61%attr(755,root,root) %{_bindir}/*
62%attr(755,root,root) %{_libdir}/liblxc-*.so
63%dir %{_sysconfdir}/lxc
64
65%files devel
66%defattr(644,root,root,755)
67%{_includedir}/lxc
68%attr(755,root,root) %{_libdir}/liblxc.so
69%{_libdir}/lib*.la
70
71%files static
72%defattr(644,root,root,755)
73%{_libdir}/lib*.a
This page took 0.102697 seconds and 4 git commands to generate.