File kvmtool.spec of Package kvmtool

Name: kvmtool
Epoch: 1
Version: 3.18.0
Release: 6
License: GPL-2.0
Summary: Linux Native KVM Tool
Source: %name.tar.xz
Patch0: nonexec-stack.patch
Patch1: kvmtool.sysmacros.patch
# Excluded arches that are known to fail to build (2016-08-01)
ExclusiveArch: %ix86 x86_64
BuildRequires: libaio-devel libfdt1-devel glibc-devel-static
BuildRequires: pkg-config
BuildRequires: pkgconfig(zlib) pkgconfig(sdl) pkgconfig(gtk+-3.0) pkgconfig(libvncserver)

kvmtool is a lightweight tool for hosting KVM guests. As a pure virtualization
tool it only supports guests using the same architecture, though it supports
running 32-bit guests on those 64-bit architectures that allow this.

%setup -q -n %name
%patch0 -p1
%patch1 -p1

make %{?_smp_mflags} prefix=%_prefix LTO=1

%make_install prefix=%_prefix

%doc README CREDITS-Git Documentation/*

openSUSE Build Service is sponsored by