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
Url: https://git.kernel.org/cgit/linux/kernel/git/will/%name.git
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)

%description
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.


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


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


%install
%make_install prefix=%_prefix


%files
%defattr(-,root,root)
%doc README CREDITS-Git Documentation/*
%_bindir/*


%changelog
openSUSE Build Service is sponsored by