]> git.pld-linux.org Git - packages/qemu.git/blame - qemu.spec
- use NoSource1-md5 again
[packages/qemu.git] / qemu.spec
CommitLineData
6aef4654 1#
0b920c52
2# TODO:
3# - wait till the gcc bug http://gcc.gnu.org/PR16185 is fixed.
4#
6aef4654 5# Conditional build:
6%bcond_with kqemu # with QEMU accelerator module
161ffd93 7%bcond_with cflags_passing # with passing rpmcflags to Makefiles
a6d3659e 8%bcond_with nosdlgui # do not use SDL gui (use X11 instead)
6aef4654 9#
cd19124e 10Summary: QEMU CPU Emulator
5a2da1d0 11Summary(pl): QEMU - emulator procesora
cd19124e 12Name: qemu
8bf91894 13Version: 0.7.1
14Release: 1
5a2da1d0
JB
15License: GPL
16Group: Applications/Emulators
867764ba 17#Source0Download: http://fabrice.bellard.free.fr/qemu/download.html
cd19124e 18Source0: http://fabrice.bellard.free.fr/qemu/%{name}-%{version}.tar.gz
8bf91894 19# Source0-md5: b0c80d2c082049a5b8ccbc7f55fe165b
6aef4654 20%if %{with kqemu}
f51cb96a 21Source1: http://fabrice.bellard.free.fr/qemu/kqemu-0.7.1-1.tar.gz
080a0c6f 22# NoSource1-md5: 012498dac620eb8c212bf5f622414dd0
6aef4654 23NoSource: 1
24%endif
8bd2aee2 25Patch0: %{name}-nostatic.patch
f1ae848c 26Patch1: %{name}-DESTDIR.patch
867764ba 27Patch2: %{name}-longjmp.patch
d8d8cede 28Patch3: %{name}-dot.patch
d5906b49 29Patch4: %{name}-initrd_load_addr.patch
0b920c52
30Patch5: %{name}-gcc4_x86.patch
31Patch6: %{name}-gcc4_ppc.patch
3b2d6429 32Patch7: %{name}-parallel.patch
a6d3659e 33Patch8: %{name}-nosdlgui.patch
cd19124e 34URL: http://fabrice.bellard.free.fr/qemu/
a6d3659e 35Requires: SDL >= 1.2.1
867764ba 36BuildRequires: SDL-devel >= 1.2.1
c3048014 37BuildRequires: sed >= 4.0
4b0669f5 38%if %{with kqemu}
39BuildRequires: kernel-source
40%endif
1815bf07 41ExclusiveArch: %{ix86} %{x8664} ppc
2ef13cb9 42# sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
cd19124e 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
867764ba
JB
45# some SPARC boot image in ELF format
46%define _noautostrip .*%{_datadir}/qemu/proll.elf
47
cd19124e 48%description
49QEMU is a FAST! processor emulator. By using dynamic translation it
50achieves a reasonnable speed while being easy to port on new host
51CPUs. QEMU has two operating modes:
52
53- User mode emulation. In this mode, QEMU can launch Linux processes
54 compiled for one CPU on another CPU. Linux system calls are converted
55 because of endianness and 32/64 bit mismatches. Wine (Windows
56 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
57
58- Full system emulation. In this mode, QEMU emulates a full system,
c012f329 59 including a processor and various peripherials.
60 It can also be used to provide virtual hosting of several
61 virtual PC on a single server.
cd19124e 62
5a2da1d0
JB
63%description -l pl
64