-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
distrobox.spec
54 lines (43 loc) · 1.54 KB
/
distrobox.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#global debug_package %{nil}
%define _empty_manifest_terminate_build 0
# https://github.com/89luca89/distrobox/issues/127
%global __brp_mangle_shebangs_exclude_from %{_bindir}/distrobox-(export|init)$
Name: distrobox
Version: 1.7.2.1
Release: 1
Summary: Another tool for containerized command line environments on Linux
License: GPLv3
URL: https://github.com/89luca89/distrobox/
Source0: https://github.com/89luca89/distrobox/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: imagemagick
Requires: (podman or %{_bindir}/docker)
Requires: %{_bindir}/basename
Requires: %{_bindir}/find
Requires: %{_bindir}/grep
Requires: %{_bindir}/sed
%description
Use any linux distribution inside your terminal. Distrobox uses podman
or docker to create containers using the linux distribution of your
choice. Created container will be tightly integrated with the host,
allowing to share the HOME directory of the user, external storage,
external usb devices and graphical apps (X11/Wayland) and audio.
%prep
%autosetup -p1
%build
%install
./install -P %{buildroot}/%{_prefix}
%check
%{buildroot}%{_bindir}/%{name} list -V
for i in create enter export init list rm stop host-exec; do
%{buildroot}%{_bindir}/%{name}-$i -V
done
%files
%license COPYING.md
#doc %{_docdir}/%{name}
%{_mandir}/man1/%{name}*
%{_bindir}/%{name}*
%{_iconsdir}/hicolor/*x*/apps/terminal-distrobox-icon.png
%{_datadir}/icons/hicolor/scalable/apps/terminal-distrobox-icon.svg
%{_datadir}/bash-completion/completions/distrobox*
%{_datadir}/zsh/site-functions/