#
# TODO:
-# - fix ncurses detection
# - update patches
#
# Conditional build:
%define _enable_debug_packages 0
%endif
-%define rel 0.1
+%define rel 5
%define kqemu_version 1.4.0pre1
-%define qemu_version 0.10.0
+%define qemu_version 0.11.1
%define pname qemu
Summary: QEMU CPU Emulator
Summary(pl.UTF-8): QEMU - emulator procesora
Group: Applications/Emulators
# Source0Download: http://fabrice.bellard.free.fr/qemu/download.html
Source0: http://download.savannah.gnu.org/releases/qemu/%{pname}-%{version}.tar.gz
-# Source0-md5: 8dc50b834fa3f5f6a17d7bc3d0559e53
+# Source0-md5: 193285b0bcf655a7f7577d05ffcb82b1
Source1: http://www.nongnu.org/qemu/k%{pname}-%{kqemu_version}.tar.gz
# Source1-md5: d738d8ca7332211ab716ec3213d82ee1
+Patch0: %{pname}-ncurses.patch
Patch6: %{pname}-nosdlgui.patch
# Proof of concept, for reference, do not remove
Patch8: %{pname}-kde_virtual_workspaces_hack.patch
%if %{with userspace}
BuildRequires: SDL-devel >= 1.2.1
BuildRequires: alsa-lib-devel
+BuildRequires: bluez-libs-devel
+BuildRequires: gnutls-devel
BuildRequires: ncurses-devel
+BuildRequires: perl-Encode
BuildRequires: perl-tools-pod
+BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
-BuildRequires: tetex
+BuildRequires: texi2html
+BuildRequires: texinfo-texi2dvi
BuildRequires: which
+BuildRequires: xorg-lib-libX11-devel
%endif
Requires: SDL >= 1.2.1
# sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
%prep
%setup -q -n %{pname}-%{qemu_version} %{?with_kernel:-a1}
+%patch0 -p0
%{?with_nosdlgui:%patch6 -p1}
#%patch8 -p1
%if %{without kqemu}
--disable-kqemu \
%endif
+ --enable-mixemu \
--audio-drv-list="alsa" \
--interp-prefix=%{_libdir}/%{pname}
%{__make}