]>
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 | |
0ef95fcf JK |
4 | Version: 0.3.3 |
5 | Release: 1 | |
59e0aef7 JB |
6 | License: LGPL v2+ |
7 | Group: Applications/System | |
8 | #Source0Download: https://github.com/projectatomic/bubblewrap/releases | |
9 | Source0: https://github.com/projectatomic/bubblewrap/releases/download/v%{version}/%{name}-%{version}.tar.xz | |
0ef95fcf | 10 | # Source0-md5: 69ce48ca2d637eaf6b42674ee903e5ad |
59e0aef7 JB |
11 | URL: https://github.com/projectatomic/bubblewrap |
12 | BuildRequires: libcap-devel | |
13 | BuildRequires: libselinux-devel >= 2.1.9 | |
14 | BuildRequires: libxslt-progs | |
15 | BuildRequires: tar >= 1:1.22 | |
16 | BuildRequires: xz | |
17 | Requires: libselinux >= 2.1.9 | |
7d2e9ba7 | 18 | Requires: uname(release) >= 3.5 |
59e0aef7 JB |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | bwrap is a privileged helper for container setup. | |
23 | ||
24 | It works by creating a new, completely empty, filesystem namespace | |
25 | where the root is on a tmpfs that is invisible from the host, and | |
26 | which will be automatically cleaned up when the last process exists. | |
27 | You can then use commandline options to construct the root filesystem | |
28 | and process environment for the command to run in the namespace. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów. | |
32 | ||
33 | Działa tworząc nową, całkowicie pustą przestrzeń nazw systemu plików, | |
34 | gdzie katalog główny jest na tmpfs-ie całkowicie niewidocznym z hosta, | |
35 | czyszczonym automatycznie po zakończeniu ostatniego procesu. Do | |
36 | tworzenia głównego systemu plików i środowiska procesów do | |
37 | uruchamiania poleceń w środowisku można używać opcji linii poleceń. | |
38 | ||
39 | %package -n bash-completion-bubblewrap | |
40 | Summary: Bash completion for bwrap command | |
41 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia bwrap | |
42 | Group: Applications/Shells | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | Requires: bash-completion >= 2.0 | |
45 | ||
46 | %description -n bash-completion-bubblewrap | |
47 | Bash completion for bwrap command. | |
48 | ||
49 | %description -n bash-completion-bubblewrap -l pl.UTF-8 | |
50 | Bashowe dopełnianie parametrów polecenia bwrap. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %configure \ | |
57 | --disable-silent-rules | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %attr(755,root,root) %{_bindir}/bwrap | |
72 | %{_mandir}/man1/bwrap.1* | |
73 | ||
74 | %files -n bash-completion-bubblewrap | |
75 | %defattr(644,root,root,755) | |
76 | %{bash_compdir}/bwrap |