File quickemu.spec of Package quickemu

#
# spec file for package quickemu
#
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           quickemu
Version:        4.9.9
Release:        0
Summary:        Quickly create and run optimised Windows, macOS and Linux virtual machines
License:        MIT
URL:            https://github.com/quickemu-project/quickemu
Source:         %{name}-%{version}.tar.gz
BuildArch:      noarch
Requires:       7zip
Requires:       bash
Requires:       bzip2
Requires:       coreutils
Requires:       curl
Requires:       gawk
Requires:       gptfdisk
Requires:       grep
Requires:       gzip
Requires:       jq
Requires:       Mesa-demo-x
Requires:       mkisofs
Requires:       mtools
Requires:       pciutils
Requires:       procps
Requires:       python3
Requires:       qemu
Requires:       qemu-audio-pipewire
Requires:       qemu-audio-sdl
Requires:       qemu-img
Requires:       qemu-ui-gtk
Requires:       qemu-ui-sdl
Requires:       sed
Requires:       socat
Requires:       spice-gtk
Requires:       virt-viewer
Requires:       swtpm
Requires:       unzip
Requires:       usbutils
Requires:       util-linux
Requires:       xdg-utils
Requires:       xdg-user-dirs
Requires:       xrandr
Requires:       zsync


%description
Quickly create and run optimised Windows, macOS and Linux virtual machines

%prep
%setup -q
sed -i 's|#!/usr/bin/env bash|#!/usr/bin/bash|g' quickemu quickget quickreport
sed -i 's|#!/usr/bin/env python3|#!/usr/bin/python3|g' chunkcheck

%build


%install
install -Dpm755 chunkcheck  %{buildroot}%{_bindir}/chunkcheck
install -Dpm755 quickemu    %{buildroot}%{_bindir}/quickemu
install -Dpm755 quickget    %{buildroot}%{_bindir}/quickget
install -Dpm755 quickreport %{buildroot}%{_bindir}/quickreport

install -Dpm644 docs/quickemu_conf.5 %{buildroot}%{_mandir}/man5/quickemu_conf.5
install -Dpm644 docs/quickemu.1      %{buildroot}%{_mandir}/man1/quickemu.1
install -Dpm644 docs/quickget.1      %{buildroot}%{_mandir}/man1/quickget.1

%files
%license LICENSE
%doc README.md
%{_bindir}/chunkcheck
%{_bindir}/quickemu
%{_bindir}/quickget
%{_bindir}/quickreport
%{_mandir}/man5/quickemu_conf.5*
%{_mandir}/man1/quickemu.1*
%{_mandir}/man1/quickget.1*

%changelog
openSUSE Build Service is sponsored by