bubblewrap/bubblewrap.spec
2019-11-06 19:03:44 +08:00

44 lines
1.0 KiB
RPMSpec

Name: bubblewrap
Version: 0.3.3
Release: 1
Summary: Core execution tool for unprivileged containers
License: LGPLv2+
URL: https://github.com/projectatomic/bubblewrap
Source0: https://github.com/containers/bubblewrap/archive/bubblewrap-%{version}.tar.xz
BuildRequires: autoconf automake libtool gcc libcap-devel
BuildRequires: pkgconfig(libselinux) libxslt docbook-style-xsl
%description
There is an effort in the Linux kernel called user namespaces which
attempts to allow unprivileged users to use container features.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi
%configure --disable-silent-rules --with-priv-mode=none
%make_build
%install
%make_install
%delete_la
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/bwrap
%{_datadir}/bash-completion/completions/bwrap
%files help
%defattr(-,root,root)
%doc README.md
%{_mandir}/man1/*
%changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.3-1
- Package init