]>
Commit | Line | Data |
---|---|---|
6aef4654 | 1 | # |
0b920c52 MŁ |
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 | 10 | Summary: QEMU CPU Emulator |
5a2da1d0 | 11 | Summary(pl): QEMU - emulator procesora |
cd19124e | 12 | Name: qemu |
8bf91894 | 13 | Version: 0.7.1 |
14 | Release: 1 | |
5a2da1d0 JB |
15 | License: GPL |
16 | Group: Applications/Emulators | |
867764ba | 17 | #Source0Download: http://fabrice.bellard.free.fr/qemu/download.html |
cd19124e | 18 | Source0: http://fabrice.bellard.free.fr/qemu/%{name}-%{version}.tar.gz |
8bf91894 | 19 | # Source0-md5: b0c80d2c082049a5b8ccbc7f55fe165b |
6aef4654 | 20 | %if %{with kqemu} |
f51cb96a | 21 | Source1: http://fabrice.bellard.free.fr/qemu/kqemu-0.7.1-1.tar.gz |
080a0c6f | 22 | # NoSource1-md5: 012498dac620eb8c212bf5f622414dd0 |
6aef4654 | 23 | NoSource: 1 |
24 | %endif | |
8bd2aee2 | 25 | Patch0: %{name}-nostatic.patch |
f1ae848c | 26 | Patch1: %{name}-DESTDIR.patch |
867764ba | 27 | Patch2: %{name}-longjmp.patch |
d8d8cede | 28 | Patch3: %{name}-dot.patch |
d5906b49 | 29 | Patch4: %{name}-initrd_load_addr.patch |
0b920c52 MŁ |
30 | Patch5: %{name}-gcc4_x86.patch |
31 | Patch6: %{name}-gcc4_ppc.patch | |
3b2d6429 | 32 | Patch7: %{name}-parallel.patch |
a6d3659e | 33 | Patch8: %{name}-nosdlgui.patch |
cd19124e | 34 | URL: http://fabrice.bellard.free.fr/qemu/ |
a6d3659e | 35 | Requires: SDL >= 1.2.1 |
867764ba | 36 | BuildRequires: SDL-devel >= 1.2.1 |
c3048014 | 37 | BuildRequires: sed >= 4.0 |
4b0669f5 | 38 | %if %{with kqemu} |
39 | BuildRequires: kernel-source | |
40 | %endif | |
1815bf07 | 41 | ExclusiveArch: %{ix86} %{x8664} ppc |
2ef13cb9 | 42 | # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c) |
cd19124e | 43 | BuildRoot: %{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 |
49 | QEMU is a FAST! processor emulator. By using dynamic translation it | |
50 | achieves a reasonnable speed while being easy to port on new host | |
51 | CPUs. 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 |