]>
Commit | Line | Data |
---|---|---|
59e0aef7 JB |
1 | Summary: bubblewrap - container setup utility |
2 | Summary(pl.UTF-8): bubblewrap - narzędzie do tworzenia kontenerów | |
3 | Name: bubblewrap | |
ee0c3a78 | 4 | Version: 0.5.0 |
0ef95fcf | 5 | Release: 1 |
59e0aef7 JB |
6 | License: LGPL v2+ |
7 | Group: Applications/System | |
ee0c3a78 JB |
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: a1b802c8381527bf6acbeed7e5ceac3a | |
11 | URL: https://github.com/containers/bubblewrap | |
59e0aef7 | 12 | BuildRequires: libcap-devel |
ee0c3a78 | 13 | BuildRequires: libselinux-devel >= 2.3 |
59e0aef7 | 14 | BuildRequires: libxslt-progs |
ee0c3a78 JB |
15 | BuildRequires: pkgconfig |
16 | BuildRequires: rpm-build >= 4.6 | |
17 | BuildRequires: rpmbuild(macros) >= 1.719 | |
59e0aef7 JB |
18 | BuildRequires: tar >= 1:1.22 |
19 | BuildRequires: xz | |
ee0c3a78 | 20 | Requires: libselinux >= 2.3 |
7d2e9ba7 | 21 | Requires: uname(release) >= 3.5 |
59e0aef7 JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | bwrap is a privileged helper for container setup. | |
26 | ||
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. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów. | |
35 | ||
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ń. | |
41 | ||
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 >= 2.0 | |
ee0c3a78 | 48 | BuildArch: noarch |
59e0aef7 JB |
49 | |
50 | %description -n bash-completion-bubblewrap | |
51 | Bash completion for bwrap command. | |
52 | ||
53 | %description -n bash-completion-bubblewrap -l pl.UTF-8 | |
54 | Bashowe dopełnianie parametrów polecenia bwrap. | |
55 | ||
ee0c3a78 JB |
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 | |
62 | BuildArch: noarch | |
63 | ||
64 | %description -n zsh-completion-bubblewrap | |
65 | ZSH completion for bwrap command. | |
66 | ||
67 | %description -n zsh-completion-bubblewrap -l pl.UTF-8 | |
68 | Dopełnianie parametrów polecenia bwrap dla ZSH. | |
69 | ||
59e0aef7 JB |
70 | %prep |
71 | %setup -q | |
72 | ||
73 | %build | |
74 | %configure \ | |
ee0c3a78 JB |
75 | --disable-silent-rules \ |
76 | --with-bash-completion-dir=%{bash_compdir} | |
77 | ||
59e0aef7 JB |
78 | %{__make} |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
91 | %attr(755,root,root) %{_bindir}/bwrap | |
92 | %{_mandir}/man1/bwrap.1* | |
93 | ||
94 | %files -n bash-completion-bubblewrap | |
95 | %defattr(644,root,root,755) | |
96 | %{bash_compdir}/bwrap | |
ee0c3a78 JB |
97 | |
98 | %files -n zsh-completion-bubblewrap | |
99 | %defattr(644,root,root,755) | |
100 | %{zsh_compdir}/_bwrap |