|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: lxc
|
|
|
|
Name: lxc
|
|
|
|
Version: 0.7.2
|
|
|
|
Version: 0.7.4.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
|
|
|
|
|
|
|
@ -30,6 +30,18 @@ overhead of full virtualization.
|
|
|
|
|
|
|
|
|
|
|
|
The %{name}-libs package contains libraries for running %{name} applications.
|
|
|
|
The %{name}-libs package contains libraries for running %{name} applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package templates
|
|
|
|
|
|
|
|
Summary: Templates for %{name}
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: debootstrap
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description templates
|
|
|
|
|
|
|
|
Linux Resource Containers provide process and resource isolation without the
|
|
|
|
|
|
|
|
overhead of full virtualization.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The %{name}-template package contains templates for creating containers.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -69,8 +81,12 @@ rm -rf %{buildroot}
|
|
|
|
%{__make} DESTDIR=%{buildroot} install
|
|
|
|
%{__make} DESTDIR=%{buildroot} install
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
%{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name}
|
|
|
|
%{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name}
|
|
|
|
# Remove templates
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
|
|
|
find %{buildroot}%{_libdir}/lxc/templates \
|
|
|
|
|
|
|
|
-type f \
|
|
|
|
|
|
|
|
-not -name lxc-maverick \
|
|
|
|
|
|
|
|
-not -name lxc-sshd \
|
|
|
|
|
|
|
|
-delete
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
@ -88,13 +104,19 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%dir %{_libdir}/lxc
|
|
|
|
|
|
|
|
%dir %{_libdir}/lxc/templates
|
|
|
|
%{_libdir}/liblxc.so.*
|
|
|
|
%{_libdir}/liblxc.so.*
|
|
|
|
%{_libdir}/lxc
|
|
|
|
%{_libdir}/lxc/lxc-init
|
|
|
|
|
|
|
|
%{_libdir}/lxc/rootfs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files templates
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_libdir}/lxc/templates/lxc-*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/liblxc.so
|
|
|
|
%{_libdir}/liblxc.so
|
|
|
@ -104,6 +126,9 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
|
|
|
%{_docdir}/%{name}
|
|
|
|
%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Mar 25 2011 Silas Sewell <silas@sewell.ch> - 0.7.4.1-1
|
|
|
|
|
|
|
|
- Update to 0.7.4.1
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1
|
|
|
|
* Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1
|
|
|
|
- Update to 0.7.2
|
|
|
|
- Update to 0.7.2
|
|
|
|
- Remove templates
|
|
|
|
- Remove templates
|
|
|
|