2023-02-07 14:25:15 +00:00
|
|
|
Name: bubblewrap
|
2024-08-30 11:19:23 +00:00
|
|
|
Version: 0.10.0
|
2024-05-21 19:35:48 +00:00
|
|
|
Release: %autorelease
|
2016-07-12 07:45:04 +00:00
|
|
|
Summary: Core execution tool for unprivileged containers
|
|
|
|
|
2023-02-07 14:25:15 +00:00
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
URL: https://github.com/containers/bubblewrap/
|
|
|
|
Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
|
2016-07-11 20:03:19 +00:00
|
|
|
|
2023-11-16 19:55:59 +00:00
|
|
|
BuildRequires: pkgconfig(bash-completion) >= 2.0
|
2016-07-12 07:45:04 +00:00
|
|
|
BuildRequires: gcc
|
2016-07-11 20:03:19 +00:00
|
|
|
BuildRequires: docbook-style-xsl
|
2023-02-07 14:25:15 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig(libcap)
|
|
|
|
BuildRequires: pkgconfig(libselinux)
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged
|
|
|
|
containers that works as a setuid binary on kernels without
|
|
|
|
user namespaces.
|
|
|
|
|
|
|
|
%prep
|
2016-07-12 07:45:04 +00:00
|
|
|
%autosetup
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%build
|
2023-11-16 19:20:23 +00:00
|
|
|
%meson -Dman=enabled -Dselinux=enabled
|
2023-02-07 14:25:15 +00:00
|
|
|
%meson_build
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%install
|
2023-02-07 14:25:15 +00:00
|
|
|
%meson_install
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2023-02-07 14:25:15 +00:00
|
|
|
%doc README.md
|
2016-07-12 07:45:04 +00:00
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
2016-07-11 20:03:19 +00:00
|
|
|
%{_datadir}/bash-completion/completions/bwrap
|
2021-08-25 15:16:51 +00:00
|
|
|
%dir %{_datadir}/zsh
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_bwrap
|
2016-07-11 20:03:19 +00:00
|
|
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
2016-09-24 15:00:00 +00:00
|
|
|
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid=ep) %{_bindir}/bwrap
|
2016-07-11 20:03:19 +00:00
|
|
|
%else
|
|
|
|
%{_bindir}/bwrap
|
|
|
|
%endif
|
2023-02-07 14:25:15 +00:00
|
|
|
%{_mandir}/man1/bwrap.1*
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-05-21 19:35:48 +00:00
|
|
|
%autochangelog
|
2024-01-23 00:54:55 +00:00
|
|
|
|