]> git.pld-linux.org Git - packages/bubblewrap.git/blob - bubblewrap.spec
- updated to 0.9.0
[packages/bubblewrap.git] / bubblewrap.spec
1 Summary:        bubblewrap - container setup utility
2 Summary(pl.UTF-8):      bubblewrap - narzędzie do tworzenia kontenerów
3 Name:           bubblewrap
4 Version:        0.9.0
5 Release:        1
6 License:        LGPL v2+
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
22 BuildRequires:  xz
23 Requires:       libselinux >= 2.3
24 Requires:       uname(release) >= 3.5
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 bwrap is a privileged helper for container setup.
29
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.
35
36 %description -l pl.UTF-8
37 bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów.
38
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ń.
44
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
51 BuildArch:      noarch
52
53 %description -n bash-completion-bubblewrap
54 Bash completion for bwrap command.
55
56 %description -n bash-completion-bubblewrap -l pl.UTF-8
57 Bashowe dopełnianie parametrów polecenia bwrap.
58
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
65 BuildArch:      noarch
66
67 %description -n zsh-completion-bubblewrap
68 ZSH completion for bwrap command.
69
70 %description -n zsh-completion-bubblewrap -l pl.UTF-8
71 Dopełnianie parametrów polecenia bwrap dla ZSH.
72
73 %prep
74 %setup -q
75
76 %build
77 %meson build \
78         -Dbash_completion_dir=%{bash_compdir} \
79         -Dzsh_completion_dir=%{zsh_compdir}
80
81 %ninja_build -C build
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %ninja_install -C build
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(644,root,root,755)
93 %doc README.md
94 %attr(755,root,root) %{_bindir}/bwrap
95 %{_mandir}/man1/bwrap.1*
96
97 %files -n bash-completion-bubblewrap
98 %defattr(644,root,root,755)
99 %{bash_compdir}/bwrap
100
101 %files -n zsh-completion-bubblewrap
102 %defattr(644,root,root,755)
103 %{zsh_compdir}/_bwrap
This page took 0.141357 seconds and 4 git commands to generate.