lxc/lxc.spec

181 lines
5.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: lxc
Version: 2.0.8
Release: 1mamba
Summary: Userspace control package for Linux Containers
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)
%config(noreplace) %{_sysconfdir}/default/lxc
%{_sysconfdir}/lxc/default.conf
%{_bindir}/lxc-*
%{_sbindir}/init.lxc
#%{_sbindir}/init.lxc.static
%{_datadir}/bash-completion/completions/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.conf.d/README
#%{_datadir}/lxc/lxc-restore-net
%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.*
%{_libdir}/lxc
%{_libexecdir}/lxc/lxc-containers
#%{_libexecdir}/lxc/lxc-devsetup
%{_libexecdir}/lxc/lxc-net
%{_libexecdir}/lxc/hooks/unmount-namespace
%{_libexecdir}/lxc/lxc-monitord
%{_libexecdir}/lxc/lxc-user-nic
%{_libdir}/lxc/rootfs/README
%{_libdir}/lua/lxc/core.so
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/lxc
%{_includedir}/lxc/*.h
%{_libdir}/liblxc.la
%{_libdir}/liblxc.so
%{_libdir}/pkgconfig/lxc.pc
%dir %{_datadir}/doc/lxc
%dir %{_datadir}/doc/lxc/examples
%{_datadir}/doc/lxc/examples/*.conf
#%doc README
%changelog
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
- automatic version update by autodist
* Sun Feb 05 2017 Automatic Build System <autodist@mambasoft.it> 2.0.7-1mamba
- automatic version update by autodist
* Sun Nov 27 2016 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic version update by autodist
* Fri Aug 26 2016 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Mon Jul 04 2016 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
- automatic version update by autodist
* Tue May 17 2016 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Tue Apr 19 2016 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Thu Nov 12 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.1.5-2mamba
- lxc-start requires %{_libdir}/lxc
* Tue Nov 10 2015 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
- automatic version update by autodist
* Wed Oct 07 2015 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic version update by autodist
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic version update by autodist
* Mon Apr 13 2015 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic version update by autodist
* Sun Mar 22 2015 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* 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