#
# TODO:
# - wait till the gcc bug http://gcc.gnu.org/PR16185 is fixed.
-# - kqemu could be distributable if somebody bothers to contact qemu
+# - kqemu module could be distributable if somebody bothers to contact qemu
# author http://fabrice.bellard.free.fr/qemu/qemu-accel.html
+# (but only in source form as distribution of linked module would be
+# violation of GPL)
#
# Conditional build:
%bcond_without kqemu # disable QEMU accelerator support
%bcond_with nosdlgui # do not use SDL gui (use X11 instead)
%bcond_without gcc4 # use gcc4 patches (broke build on gcc33)
%bcond_without dist_kernel # without distribution kernel
-%bcond_with kernel # build kqemu kernel modules
+%bcond_with kernel # build kqemu kernel modules (see License)
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace utilities
#
%define _kqemu_version 1.3.0pre9
-%define _rel 0.5
+%define _rel 1
Summary: QEMU CPU Emulator
Summary(pl): QEMU - emulator procesora
Name: qemu
URL: http://fabrice.bellard.free.fr/qemu/
%if %{with kernel} && %{with dist_kernel}
BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.7
+BuildRequires: rpmbuild(macros) >= 1.330
%endif
%if %{with userspace}
BuildRequires: SDL-devel >= 1.2.1
BuildRequires: alsa-lib-devel
%{!?with_gcc4:BuildRequires: gcc < 5:4.0}
BuildRequires: perl-tools-pod
-BuildRequires: rpmbuild(macros) >= 1.330
BuildRequires: tetex
BuildRequires: sed >= 4.0
%endif