]> git.pld-linux.org Git - packages/lxc.git/blobdiff - lxc.spec
Up to 0.9.0
[packages/lxc.git] / lxc.spec
index 3aa5c26853aacd259bfee66aa7a89b68604941d5..9e7a424f0a88fba799a662c55f86d0cf5fd18f8f 100644 (file)
--- a/lxc.spec
+++ b/lxc.spec
@@ -1,16 +1,16 @@
 Summary:       Linux Container Tools
 Name:          lxc
-Version:       0.6.5
+Version:       0.9.0
 Release:       1
 License:       GPL
 Group:         Base
-Source0:       http://dl.sourceforge.net/lxc/%{name}-%{version}.tar.gz
-# Source0-md5: d648bcf82541c0da6725da502ee1d111
-URL:           http://sourceforge.net/projects/lxc
-BuildRequires: autoconf
-BuildRequires: automake
+Source0:       http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz
+# Source0-md5: 8552a4479090616f4bc04d8473765fc9
+Patch0:                %{name}-devpts.patch
+URL:           http://lxc.sourceforge.net
 BuildRequires: docbook-dtd30-sgml
 BuildRequires: docbook-utils
+BuildRequires: libcap-devel
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,13 +35,10 @@ Requires:   %{name} = %{epoch}:%{version}-%{release}
 lxc development files.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal} -I config
-%{__autoconf}
-%{__automake}
 %configure \
        --with-config-path=%{configpath}
 
@@ -54,9 +51,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        pcdatadir=%{_pkgconfigdir}
+
 %{__make} -C doc install \
        DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
+
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
 
 install -d $RPM_BUILD_ROOT%{configpath}
 
@@ -68,13 +67,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README doc/examples/*.conf
+%doc AUTHORS ChangeLog CONTRIBUTING MAINTAINERS README TODO doc/FAQ.txt doc/examples/*.conf
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/liblxc.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/liblxc.so.0
-%{_mandir}/man?/lxc*
+%{_libdir}/lxc/rootfs/README
 %dir %{configpath}
-%attr(755,root,root) %{_libdir}/lxc-init
+%dir %{_libdir}/lxc
+%dir %{_libdir}/lxc/rootfs
+%attr(755,root,root) %{_libdir}/lxc/lxc-init
+%dir %{_sysconfdir}/lxc
+%config(noreplace) %{_sysconfdir}/lxc/default.conf
+%{_datadir}/lxc
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.06387 seconds and 4 git commands to generate.