qemoo/qemoo.spec

42 lines
810 B
RPMSpec
Raw Normal View History

2022-10-28 09:48:09 +03:00
Summary: Wrapper for qemu to easy run guest machines
Name: qemoo
2022-11-01 13:27:30 +03:00
Version: 0.4
2022-11-02 16:40:22 +03:00
Release: 4
2022-10-28 09:48:09 +03:00
License: GPLv2+
Group: System/Base
Url: https://abf.io/import/qemoo
Source0: %{name}
Source1: %{name}.cfg
Requires: qemu
Requires: qemu-img
2022-10-28 10:41:48 +03:00
# architecture dependened efi firmware emulator
# TODO: find efi firmware for all architectures that support efi
%ifarch x86_64
2022-10-28 09:48:09 +03:00
Requires: edk2-ovmf
2022-10-28 10:41:48 +03:00
%endif
2022-10-28 09:48:09 +03:00
Buildarch: noarch
%description
Wrapper for qemu to easy run guest machine
from iso, img, /dev/sd?
supported installation from iso to new qcow2 image
%prep
%build
%install
mkdir -p %{buildroot}%{_bindir}/ %{buildroot}/%{_sysconfdir}
install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/
install -m 755 %{SOURCE0} %{buildroot}/%{_bindir}
%files
%{_bindir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}.cfg
2022-10-28 09:48:09 +03:00