Name:		bubblewrap
Version:	0.11.2
Release:	1
Summary:	Core execution tool for unprivileged containers
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

BuildRequires: gcc
BuildRequires: meson >= 0.49.0
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libselinux)
BuildRequires: python3
BuildRequires: /usr/bin/xsltproc 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
%meson
%meson_build

%install
%meson_install

%files
%license COPYING
%{_bindir}/bwrap
%{_datadir}/bash-completion/completions/bwrap
%{_datadir}/zsh/site-functions/_bwrap

%files help
%doc README.md
%{_mandir}/man1/*

%changelog
* Thu Apr 23 2026 Funda Wang <fundawang@yeah.net> - 0.11.2-1
- update to 0.11.2

* Wed Apr 08 2026 Funda Wang <fundawang@yeah.net> - 0.11.1-1
- update to 0.11.1

* Thu Oct 31 2024 Funda Wang <fundawang@yeah.net> - 0.11.0-1
- update to 0.11.0

* Fri Sep 20 2024 kkz <zhaoshuang@uniontech.com> - 0.10.0-1
- Upgrade to version 0.10.0
  Add the --[ro-]bind-fd option, which can be used to mount
     a filesystem represented by a file descriptor without
     time-of-check/time-of-use attacks
  Fix some confusing syntax in SetupOpFlag (no functional change)

* Fri Aug 16 2024 wangkai <13474090681@163.com> - 0.8.0-2
- Add --bind-fd and --ro-bind-fd to let you bind a O_PATH fd for flatpak fix CVE-2024-42472

* Wed Nov 22 2023 konglidong <konglidong@uniontech.com> - 0.8.0-1
- Update version to 0.8.0

* Tue Jun 23 2020 shixuantong <shixuantong@huawei.com> -0.4.1-1
- Update to 0.4.1

* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.3-1
- Package init