Accepting request 107181 from home:mvyskocil:branches:Virtualization

build qemu with --enable-spice

OBS-URL: https://build.opensuse.org/request/show/107181
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=55
This commit is contained in:
Ismail Dönmez 2012-02-27 15:51:17 +00:00 committed by Git OBS Bridge
parent b96ce9a1d4
commit ab2e30a56b
2 changed files with 14 additions and 8 deletions

View File

@ -92,18 +92,21 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel
%endif
%if 0%{?suse_version} >= 1210
BuildRequires: libattr-devel-static
BuildRequires: glibc-devel-static
BuildRequires: libattr-devel-static
BuildRequires: libfdt1-devel
%endif
%if 0%{?suse_version} >= 1140
BuildRequires: glib2-devel-static
%endif
BuildRequires: libvdeplug3-devel
BuildRequires: glib2-devel
BuildRequires: python
BuildRequires: fdupes
Requires: timezone virt-utils
BuildRequires: glib2-devel
BuildRequires: libspice-server-devel
BuildRequires: libvdeplug3-devel
BuildRequires: python
BuildRequires: spice-protocol-devel
Requires: timezone
Requires: virt-utils
%description
QEMU is an extremely well-performing CPU emulator that allows you to
@ -181,7 +184,7 @@ run cross architectures builds
# build QEMU
mkdir -p dynamic
# build qemu-system
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir --interp-prefix=%_datadir/%name/qemu-i386 --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus" --audio-drv-list="alsa sdl" --enable-mixemu --enable-vde --extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir --interp-prefix=%_datadir/%name/qemu-i386 --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus" --audio-drv-list="alsa sdl" --enable-mixemu --enable-vde --extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user --enable-spice
# curl test fails for no reason in build system
echo "CONFIG_CURL=y" >> config-host.mak
echo "CURL_LIBS=-lcurl" >> config-host.mak

View File

@ -57,9 +57,12 @@ BuildRequires: glib2-devel-static
%endif
BuildRequires: libvdeplug3-devel
BuildRequires: glib2-devel
BuildRequires: libspice-server-devel
BuildRequires: python
BuildRequires: fdupes
Requires: timezone virt-utils
BuildRequires: spice-protocol-devel
Requires: timezone
Requires: virt-utils
%description
QEMU is an extremely well-performing CPU emulator that allows you to
@ -96,7 +99,7 @@ mkdir -p dynamic
--interp-prefix=%_datadir/%name/qemu-i386 \
--audio-card-list="ac97 es1370 sb16 cs4231a adlib gus" \
--audio-drv-list="alsa sdl" --enable-mixemu --enable-vde \
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user --enable-spice
# curl test fails for no reason in build system
echo "CONFIG_CURL=y" >> config-host.mak
echo "CURL_LIBS=-lcurl" >> config-host.mak