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: 24decf98e063e0741d6a64271ac788b2
11 URL: https://github.com/containers/bubblewrap
12 BuildRequires: libcap-devel
13 BuildRequires: libselinux-devel >= 2.3
14 BuildRequires: libxslt-progs
15 BuildRequires: pkgconfig
16 BuildRequires: rpm-build >= 4.6
17 BuildRequires: rpmbuild(macros) >= 1.719
18 BuildRequires: tar >= 1:1.22
20 Requires: libselinux >= 2.3
21 Requires: uname(release) >= 3.5
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 bwrap is a privileged helper for container setup.
27 It works by creating a new, completely empty, filesystem namespace
28 where the root is on a tmpfs that is invisible from the host, and
29 which will be automatically cleaned up when the last process exists.
30 You can then use commandline options to construct the root filesystem
31 and process environment for the command to run in the namespace.
33 %description -l pl.UTF-8
34 bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów.
36 Działa tworząc nową, całkowicie pustą przestrzeń nazw systemu plików,
37 gdzie katalog główny jest na tmpfs-ie całkowicie niewidocznym z hosta,
38 czyszczonym automatycznie po zakończeniu ostatniego procesu. Do
39 tworzenia głównego systemu plików i środowiska procesów do
40 uruchamiania poleceń w środowisku można używać opcji linii poleceń.
42 %package -n bash-completion-bubblewrap
43 Summary: Bash completion for bwrap command
44 Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia bwrap
45 Group: Applications/Shells
46 Requires: %{name} = %{version}-%{release}
47 Requires: bash-completion >= 1:2.0
50 %description -n bash-completion-bubblewrap
51 Bash completion for bwrap command.
53 %description -n bash-completion-bubblewrap -l pl.UTF-8
54 Bashowe dopełnianie parametrów polecenia bwrap.
56 %package -n zsh-completion-bubblewrap
57 Summary: ZSH completion for bwrap command
58 Summary(pl.UTF-8): Dopełnianie parametrów polecenia bwrap dla ZSH
59 Group: Applications/Shells
60 Requires: %{name} = %{version}-%{release}
61 Requires: zsh-completions
64 %description -n zsh-completion-bubblewrap
65 ZSH completion for bwrap command.
67 %description -n zsh-completion-bubblewrap -l pl.UTF-8
68 Dopełnianie parametrów polecenia bwrap dla ZSH.
75 --disable-silent-rules \
76 --with-bash-completion-dir=%{bash_compdir}
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/bwrap
93 %{_mandir}/man1/bwrap.1*
95 %files -n bash-completion-bubblewrap
96 %defattr(644,root,root,755)
99 %files -n zsh-completion-bubblewrap
100 %defattr(644,root,root,755)
101 %{zsh_compdir}/_bwrap