SPECS: lxc.spec (NEW) - initial

arekm arekm at pld-linux.org
Fri Nov 28 19:16:02 CET 2008


Author: arekm                        Date: Fri Nov 28 18:16:02 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   lxc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/lxc.spec
diff -u /dev/null SPECS/lxc.spec:1.1
--- /dev/null	Fri Nov 28 19:16:02 2008
+++ SPECS/lxc.spec	Fri Nov 28 19:15:57 2008
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+Summary:	Linux Container Tools
+Name:		lxc
+Version:	0.4.0
+Release:	1
+License:	GPL
+Group:		Base
+Source0:	http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
+# Source0-md5:	327f0e700858ab5b916aa36517680256
+URL:		http://sourceforge.net/projects/lxc
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tools 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
+Summary:	Header files and develpment documentation for lxc
+Group:		Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+lxc development files.
+
+%package static
+Summary:	Static lxc library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static lxc library.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README etc/*.conf etc/*-config
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/liblxc-*.so
+%dir %{_sysconfdir}/lxc
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/lxc
+%attr(755,root,root) %{_libdir}/liblxc.so
+%{_libdir}/lib*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/11/28 18:15:57  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list