%global commit cf1b425a5d0e413919d1438cd7477151263d3e2f %global gitdate 20220817 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global debug_package %{nil} # https://github.com/89luca89/distrobox/issues/127 %global __brp_mangle_shebangs_exclude_from %{_bindir}/distrobox-(export|init)$ %global forgeurl https://github.com/89luca89/distrobox Name: distrobox Version: 1.3.2 %forgemeta Release: 0%{?dist} Summary: Another tool for containerized command line environments on Linux License: GPLv3 URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch 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 %forgesetup %build %install install -d -m0755 %{buildroot}%{_bindir} ./install -P %{buildroot}/%{_prefix} install -d -m0755 %{buildroot}%{_docdir}/%{name} install -m 0644 docs/*.md %{buildroot}%{_docdir}/%{name} %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} %{_bindir}/%{name}-create %{_bindir}/%{name}-enter %{_bindir}/%{name}-export %{_bindir}/%{name}-init %{_bindir}/%{name}-list %{_bindir}/%{name}-rm %{_bindir}/%{name}-stop %{_bindir}/%{name}-host-exec %{_bindir}/%{name}-ephemeral %changelog