1 Summary: QEMU CPU Emulator
2 Summary(pl): QEMU - emulator procesora
7 Group: Applications/Emulators
8 Source0: http://fabrice.bellard.free.fr/qemu/%{name}-%{version}.tar.gz
9 # Source0-md5: 81acda062219c82973e82585b0eb357a
10 Patch0: %{name}-nostatic.patch
11 Patch1: %{name}-DESTDIR.patch
12 Patch2: %{name}-amd64.patch
13 #Patch0: qemu-0.5.0-cvsupdates.patch.bz2
14 #Patch1: qemu-0.1.6-glibc23-ldscripts.patch.bz2
15 #Patch2: qemu-0.5.0-sdl-static-libs.patch.bz2
16 #Patch3: qemu-0.5.0-DESTDIR.patch.bz2
17 #Patch4: qemu-0.5.0-lib64.patch.bz2
18 #Patch5: qemu-0.5.0-amd64.patch.bz2
19 #Patch6: qemu-0.5.0-vl-amd64.patch.bz2
20 URL: http://fabrice.bellard.free.fr/qemu/
21 BuildRequires: SDL-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 QEMU is a FAST! processor emulator. By using dynamic translation it
26 achieves a reasonnable speed while being easy to port on new host
27 CPUs. QEMU has two operating modes:
29 - User mode emulation. In this mode, QEMU can launch Linux processes
30 compiled for one CPU on another CPU. Linux system calls are converted
31 because of endianness and 32/64 bit mismatches. Wine (Windows
32 emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
34 - Full system emulation. In this mode, QEMU emulates a full system,
35 including a processor and various peripherials. Currently, it is only
36 used to launch an x86 Linux kernel on an x86 Linux system. It enables
37 easier testing and debugging of system code. It can also be used to
38 provide virtual hosting of several virtual PC on a single server.
41 QEMU to szybki(!) emulator procesora. Poprzez u¿ycie dynamicznego
42 t³umaczenia osi±ga rozs±dn± szybko¶æ i jest ³atwy do przeportowania,
43 aby dzia³a³ na kolejnych procesorach. QEMU ma dwa tryby pracy:
45 - Emulacja trybu u¿ytkownika. W tym trybie QEMU mo¿e uruchamiaæ
46 procesy linuksowe skompilowane dla jednego procesora na innym
47 procesorze. Linuksowe wywo³ania systemowe s± t³umaczone ze wzglêdu
48 na niezgodno¶æ kolejno¶ci bajtów w s³owie i 32/64-bitowego rozmiaru
49 s³owa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to g³ówne
52 - Pe³na emulacja systemu. W tym trybie QEMU emuluje ca³y system,
53 w³±czaj±c w to procesor i ró¿ne urz±dzenia peryferyjne. Aktualnie
54 dzia³a to tylko przy uruchamianiu j±dra Linuksa x86 na systemie
55 linuksowym x86, pozwalaj±c na ³atwiejsze testowanie i odpluskwianie
56 kodu systemu. Mo¿e byæ tak¿e u¿ywane do wirtualnego hostowania kilku
57 wirtualnych pecetów na pojedynczym serwerze.
64 #%patch0 -p1 -b .cvsupdates
65 #%patch1 -p1 -b .glibc23-ldscripts
66 #%patch2 -p1 -b .sdl-static-libs
67 #%patch3 -p1 -b .DESTDIR
68 #%patch4 -p1 -b .lib64
69 #%patch5 -p1 -b .amd64
70 # needs to 64-bit clean softmmu code or MAP_32BIT physical_ram_base
71 # but other problems remain.
72 #%patch6 -p1 -b .vl-amd64
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
92 %doc README qemu-doc.html
94 %attr(755,root,root) %{_bindir}/qemu-fast
102 %{_bindir}/qemu-sparc
104 %{_mandir}/man1/qemu.1*
105 %dir %{_datadir}/qemu
106 %{_datadir}/qemu/bios.bin
107 %{_datadir}/qemu/vgabios.bin