]> git.pld-linux.org Git - packages/lxc.git/blobdiff - lxc.spec
Up to 0.9.0
[packages/lxc.git] / lxc.spec
index 42989cb1b475e59086367fb4ec7829de833a2a8f..9e7a424f0a88fba799a662c55f86d0cf5fd18f8f 100644 (file)
--- a/lxc.spec
+++ b/lxc.spec
@@ -1,14 +1,13 @@
 Summary:       Linux Container Tools
 Name:          lxc
-Version:       0.7.3
+Version:       0.9.0
 Release:       1
 License:       GPL
 Group:         Base
 Source0:       http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz
-# Source0-md5: c12fb813362b37d783ca2c9551ccd716
+# Source0-md5: 8552a4479090616f4bc04d8473765fc9
+Patch0:                %{name}-devpts.patch
 URL:           http://lxc.sourceforge.net
-BuildRequires: autoconf
-BuildRequires: automake
 BuildRequires: docbook-dtd30-sgml
 BuildRequires: docbook-utils
 BuildRequires: libcap-devel
@@ -36,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}
 
@@ -55,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}
 
@@ -69,18 +67,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog CONTRIBUTING MAINTAINERS README TODO doc/FAQ.txt 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
 %{_libdir}/lxc/rootfs/README
-%{_mandir}/man?/lxc*
 %dir %{configpath}
 %dir %{_libdir}/lxc
-%dir %{_libdir}/lxc/templates
 %dir %{_libdir}/lxc/rootfs
 %attr(755,root,root) %{_libdir}/lxc/lxc-init
-%attr(755,root,root) %{_libdir}/lxc/templates/lxc-*
+%dir %{_sysconfdir}/lxc
+%config(noreplace) %{_sysconfdir}/lxc/default.conf
+%{_datadir}/lxc
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.043661 seconds and 4 git commands to generate.