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