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