]> git.pld-linux.org Git - packages/bubblewrap.git/blob - bubblewrap.spec
ab0b41e18190cbfd4d65c40a2ede223a4b1a635d
[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.6.2
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:  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
19 BuildRequires:  xz
20 Requires:       libselinux >= 2.3
21 Requires:       uname(release) >= 3.5
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 >= 1:2.0
48 BuildArch:      noarch
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
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
70 %prep
71 %setup -q
72
73 %build
74 %configure \
75         --disable-silent-rules \
76         --with-bash-completion-dir=%{bash_compdir}
77
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 %doc README.md
92 %attr(755,root,root) %{_bindir}/bwrap
93 %{_mandir}/man1/bwrap.1*
94
95 %files -n bash-completion-bubblewrap
96 %defattr(644,root,root,755)
97 %{bash_compdir}/bwrap
98
99 %files -n zsh-completion-bubblewrap
100 %defattr(644,root,root,755)
101 %{zsh_compdir}/_bwrap
This page took 0.044519 seconds and 2 git commands to generate.