]> git.pld-linux.org Git - packages/bubblewrap.git/blame - bubblewrap.spec
- updated to 0.5.0
[packages/bubblewrap.git] / bubblewrap.spec
CommitLineData
59e0aef7
JB
1Summary: bubblewrap - container setup utility
2Summary(pl.UTF-8): bubblewrap - narzędzie do tworzenia kontenerów
3Name: bubblewrap
ee0c3a78 4Version: 0.5.0
0ef95fcf 5Release: 1
59e0aef7
JB
6License: LGPL v2+
7Group: Applications/System
ee0c3a78
JB
8#Source0Download: https://github.com/containers/bubblewrap/releases
9Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/%{name}-%{version}.tar.xz
10# Source0-md5: a1b802c8381527bf6acbeed7e5ceac3a
11URL: https://github.com/containers/bubblewrap
59e0aef7 12BuildRequires: libcap-devel
ee0c3a78 13BuildRequires: libselinux-devel >= 2.3
59e0aef7 14BuildRequires: libxslt-progs
ee0c3a78
JB
15BuildRequires: pkgconfig
16BuildRequires: rpm-build >= 4.6
17BuildRequires: rpmbuild(macros) >= 1.719
59e0aef7
JB
18BuildRequires: tar >= 1:1.22
19BuildRequires: xz
ee0c3a78 20Requires: libselinux >= 2.3
7d2e9ba7 21Requires: uname(release) >= 3.5
59e0aef7
JB
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25bwrap is a privileged helper for container setup.
26
27It works by creating a new, completely empty, filesystem namespace
28where the root is on a tmpfs that is invisible from the host, and
29which will be automatically cleaned up when the last process exists.
30You can then use commandline options to construct the root filesystem
31and process environment for the command to run in the namespace.
32
33%description -l pl.UTF-8
34bwrap to uprzywilejowany program pomocniczy do tworzenia kontenerów.
35
36Działa tworząc nową, całkowicie pustą przestrzeń nazw systemu plików,
37gdzie katalog główny jest na tmpfs-ie całkowicie niewidocznym z hosta,
38czyszczonym automatycznie po zakończeniu ostatniego procesu. Do
39tworzenia głównego systemu plików i środowiska procesów do
40uruchamiania poleceń w środowisku można używać opcji linii poleceń.
41
42%package -n bash-completion-bubblewrap
43Summary: Bash completion for bwrap command
44Summary(pl.UTF-8): Bashowe dopełnianie parametrów polecenia bwrap
45Group: Applications/Shells
46Requires: %{name} = %{version}-%{release}
47Requires: bash-completion >= 2.0
ee0c3a78 48BuildArch: noarch
59e0aef7
JB
49
50%description -n bash-completion-bubblewrap
51Bash completion for bwrap command.
52
53%description -n bash-completion-bubblewrap -l pl.UTF-8
54Bashowe dopełnianie parametrów polecenia bwrap.
55
ee0c3a78
JB
56%package -n zsh-completion-bubblewrap
57Summary: ZSH completion for bwrap command
58Summary(pl.UTF-8): Dopełnianie parametrów polecenia bwrap dla ZSH
59Group: Applications/Shells
60Requires: %{name} = %{version}-%{release}
61Requires: zsh-completions
62BuildArch: noarch
63
64%description -n zsh-completion-bubblewrap
65ZSH completion for bwrap command.
66
67%description -n zsh-completion-bubblewrap -l pl.UTF-8
68Dopeł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
81rm -rf $RPM_BUILD_ROOT
82
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
85
86%clean
87rm -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
This page took 0.108864 seconds and 4 git commands to generate.