1 Summary: bubblewrap - container setup utility
2 Summary(pl.UTF-8): bubblewrap - narzędzie do tworzenia kontenerów
7 Group: Applications/System
8 #Source0Download: https://github.com/containers/bubblewrap/releases
9 Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5: adcbd7c08ac068a9328ec93cd83716e5
11 URL: https://github.com/containers/bubblewrap
12 BuildRequires: docbook-style-xsl-nons
13 BuildRequires: libcap-devel
14 BuildRequires: libselinux-devel >= 2.3
15 BuildRequires: libxslt-progs
16 BuildRequires: meson >= 0.49.0
17 BuildRequires: ninja >= 1.5
18 BuildRequires: pkgconfig
19 BuildRequires: rpm-build >= 4.6
20 BuildRequires: rpmbuild(macros) >= 1.736
21 BuildRequires: tar >= 1:1.22
23 Requires: libselinux >= 2.3
24 Requires: uname(release) >= 3.5
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 bwrap is a privileged helper for container setup.
30 It works by creating a new, completely empty, filesystem namespace
31 where the root is on a tmpfs that is invisible from the host, and
32 which will be automatically cleaned up when the last process exists.
33 You can then use commandline options to construct the root filesystem
34 and process environment for the command to run in the namespace.
36 %description -l pl.UTF-8
37 bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów.
39 Działa tworząc nową, całkowicie pustą przestrzeń nazw systemu plików,
40 gdzie katalog główny jest na tmpfs-ie całkowicie niewidocznym z hosta,
41 czyszczonym automatycznie po zakończeniu ostatniego procesu. Do
42 tworzenia głównego systemu plików i środowiska procesów do
43 uruchamiania poleceń w środowisku można używać opcji linii poleceń.
45 %package -n bash-completion-bubblewrap
46 Summary: Bash completion for bwrap command
47 Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia bwrap
48 Group: Applications/Shells
49 Requires: %{name} = %{version}-%{release}
50 Requires: bash-completion >= 1:2.0
53 %description -n bash-completion-bubblewrap
54 Bash completion for bwrap command.
56 %description -n bash-completion-bubblewrap -l pl.UTF-8
57 Bashowe dopełnianie parametrów polecenia bwrap.
59 %package -n zsh-completion-bubblewrap
60 Summary: ZSH completion for bwrap command
61 Summary(pl.UTF-8): Dopełnianie parametrów polecenia bwrap dla ZSH
62 Group: Applications/Shells
63 Requires: %{name} = %{version}-%{release}
64 Requires: zsh-completions
67 %description -n zsh-completion-bubblewrap
68 ZSH completion for bwrap command.
70 %description -n zsh-completion-bubblewrap -l pl.UTF-8
71 Dopełnianie parametrów polecenia bwrap dla ZSH.
78 -Dbash_completion_dir=%{bash_compdir} \
79 -Dzsh_completion_dir=%{zsh_compdir}
84 rm -rf $RPM_BUILD_ROOT
86 %ninja_install -C build
89 rm -rf $RPM_BUILD_ROOT
92 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/bwrap
95 %{_mandir}/man1/bwrap.1*
97 %files -n bash-completion-bubblewrap
98 %defattr(644,root,root,755)
101 %files -n zsh-completion-bubblewrap
102 %defattr(644,root,root,755)
103 %{zsh_compdir}/_bwrap