# SPDX-FileCopyrightText: (c) 2026 Daniel Hast # # SPDX-License-Identifier: Apache-2.0 OR MIT Name: bwrap-restricted Version: 0.1.1 Release: 1 Summary: %{name} exposes a restricted subset of bubblewrap's options. License: Apache-2.0 OR MIT URL: https://codeberg.org/HastD/%{name} Source: %{url}/archive/v%{gsub %{version} ~ -}.tar.gz BuildArch: noarch BuildRequires: meson >= 1.3.0 BuildRequires: pandoc BuildRequires: python3-devel >= 3.11 Requires: python3 >= 3.11 Requires: bubblewrap %description %{name} exposes a configurable, restricted subset of the interface to Linux namespace functionality provided by bubblewrap. %{name} acts as a wrapper around the `bwrap` executable; it parses the arguments to `bwrap`, scans them for forbidden options, and executes `bwrap` with the given arguments only if no forbidden options are present. Additionally, extra options can be inserted between the options and the command arguments. %prep %autosetup -n %{name} %build %meson %meson_build %install %meson_install %files %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/%{name} %license %{_defaultlicensedir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Tue Aug 25 2026 Daniel Hast - v0.1.1-1 - Fix missing options * Tue Aug 25 2026 Daniel Hast - v0.1.0-1 - Initial RPM release