1 |
ngompa |
1044196 |
Name: bubblewrap |
2 |
|
|
Summary: Core execution tool for unprivileged containers |
3 |
|
|
Group: Security |
4 |
ngompa |
1177823 |
Version: 0.2.0 |
5 |
ngompa |
1063583 |
Release: %mkrel 1 |
6 |
ngompa |
1044196 |
License: LGPLv2+ |
7 |
|
|
URL: https://github.com/projectatomic/bubblewrap |
8 |
ngompa |
1074437 |
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz |
9 |
ngompa |
1044196 |
|
10 |
|
|
# We always run autogen.sh |
11 |
|
|
BuildRequires: gcc |
12 |
|
|
BuildRequires: autoconf |
13 |
|
|
BuildRequires: automake |
14 |
|
|
BuildRequires: libtool |
15 |
|
|
BuildRequires: pkgconfig(libcap) |
16 |
|
|
BuildRequires: pkgconfig(libselinux) |
17 |
|
|
BuildRequires: xsltproc |
18 |
|
|
BuildRequires: docbook-style-xsl |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged |
22 |
|
|
containers that works as a setuid binary on kernels without |
23 |
|
|
user namespaces. |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%autosetup -p1 |
27 |
|
|
|
28 |
|
|
%build |
29 |
ngompa |
1074437 |
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi |
30 |
ngompa |
1044196 |
%configure2_5x --disable-silent-rules --with-priv-mode=none |
31 |
|
|
|
32 |
|
|
%make_build |
33 |
|
|
|
34 |
|
|
%install |
35 |
|
|
%make_install INSTALL="install -p -c" |
36 |
|
|
|
37 |
|
|
find %{buildroot} -name '*.la' -delete -print |
38 |
|
|
|
39 |
|
|
%files |
40 |
|
|
%license COPYING |
41 |
|
|
%{_datadir}/bash-completion/completions/bwrap |
42 |
|
|
%{_bindir}/bwrap |
43 |
|
|
%{_mandir}/man1/* |
44 |
|
|
|