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