lxc/lxc.spec

129 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: lxc
Version: 1.0.6
Release: 1mamba
Summary: Userspace control package for Linux Containers, a lightweight virtual system mechanism
Group: Applications/Emulators
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lxc.sourceforge.net/
Source: http://linuxcontainers.org/downloads/lxc-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcap-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
userspace control package for Linux Containers, a lightweight virtual system mechanism sometimes described as “chroot on steroids”.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/lxc/default.conf
%{_sysconfdir}/bash_completion.d/lxc
%{_bindir}/lxc-*
%{_sbindir}/init.lxc
%dir %{_datadir}/lxc
%dir %{_datadir}/lxc/config
%{_datadir}/lxc/lxc-patch.py
%{_datadir}/lxc/config/*.conf
%{_datadir}/lxc/config/common.seccomp
%{_datadir}/lxc/config/common.seccomp
%dir %{_datadir}/lxc/hooks
%{_datadir}/lxc/hooks/*
%{_datadir}/lxc/lxc.functions
%dir %{_datadir}/lxc/selinux
%{_datadir}/lxc/selinux/lxc.*
%dir %{_datadir}/lxc/templates
%{_datadir}/lxc/templates/lxc-*
%{_datadir}/lua/lxc.lua
%{python3_sitearch}/*
%{_mandir}/man1/lxc-*.1*
%{_mandir}/man5/lxc*.5*
%{_mandir}/man7/lxc.7*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblxc.so.*
#%dir %{_libexecdir}/lxc
#%{_libexecdir}/lxc/lxc-init
%{_libexecdir}/lxc/lxc-monitord
%{_libexecdir}/lxc/lxc-user-nic
%{_libdir}/lua/lxc/core.so
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/lxc
%{_includedir}/lxc/*.h
%{_libdir}/liblxc.so
%{_libdir}/lxc/rootfs/README
%{_libdir}/pkgconfig/lxc.pc
%dir %{_datadir}/doc/lxc
%dir %{_datadir}/doc/lxc/examples
%{_datadir}/doc/lxc/examples/*.conf
%doc README
%changelog
* Thu Oct 02 2014 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* Tue Jul 22 2014 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic version update by autodist
* Tue Jun 17 2014 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
- automatic version update by autodist
* Fri Mar 28 2014 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Mon Jul 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- package created by silvan using the webbuild interface