File quickemu.spec of Package quickemu

#
# spec file for package quickemu
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Luciano Santos <luc14n0@opensuse.org>
# Copyright (c) 2024 GuinuxBR <guinuxbr@gmail.com>
#
# 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.7
Release:        0
Summary:        A quick VM builder and manager
License:        MIT
Group:          Productivity/Clustering/Computing
URL:            https://github.com/quickemu-project/quickemu
Source0:        %{url}/archive/refs/tags/%{version}.tar.gz

# PATH-FIX-OPENSUSE 1-quickemu-drop-sdl-support.patch luc14n0@opensuse.org
# Since Oct 2020 openSUSE's QEMU doesn't offer SDL support anymore.
#Patch1:         01-quickemu-drop-sdl-support.patch

BuildRequires:  make
BuildArch:      noarch

Requires:       bash >= 4.0
Requires:       coreutils
Requires:       curl
Requires:       gawk
Requires:       grep
Requires:       jq
Requires:       lsb-release
Requires:       Mesa-demo-x
Requires:       mkisofs
Requires:       pciutils
Requires:       procps
Requires:       python3-base
Requires:       qemu >= 6.0.0
Requires:       qemu-ovmf-x86_64
Requires:       qemu-spice
Requires:       sed
Requires:       socat
Requires:       swtpm
Requires:       unzip
Requires:       usbutils
Requires:       util-linux
Requires:       xdg-user-dirs
Requires:       xrandr
Requires:       zsync
Requires:       /usr/bin/spicy


%description
Quickly create and run highly optimised desktop virtual machines for Linux,
macOS and Windows; with just two commands. You decide what operating system
you want to run and Quickemu will figure out the best way to do it for you.

%prep
%autosetup -p1

%build
# Nothing to do here.


%install
# Install the scripts and manpages
%make_install -C docs mandir=%{_mandir} bindir=%{_bindir}

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

%changelog
openSUSE Build Service is sponsored by