]> git.pld-linux.org Git - packages/qemu.git/blob - qemu.spec
71f14e79cfc47d26f05b95ccc7ae81e232f00067
[packages/qemu.git] / qemu.spec
1 Summary:        QEMU CPU Emulator
2 Summary(pl):    QEMU - emulator procesora
3 Name:           qemu
4 Version:        0.7.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/Emulators
8 #Source0Download: http://fabrice.bellard.free.fr/qemu/download.html
9 Source0:        http://fabrice.bellard.free.fr/qemu/%{name}-%{version}.tar.gz
10 # Source0-md5:  234e9ace03b00259bb57dc5a9c633056
11 Patch0:         %{name}-nostatic.patch
12 Patch1:         %{name}-DESTDIR.patch
13 Patch2:         %{name}-longjmp.patch
14 Patch3:         %{name}-dot.patch
15 URL:            http://fabrice.bellard.free.fr/qemu/
16 BuildRequires:  SDL-devel >= 1.2.1
17 ExclusiveArch:  %{ix86} amd64 ppc
18 # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 # some SPARC boot image in ELF format
22 %define         _noautostrip    .*%{_datadir}/qemu/proll.elf
23
24 %description
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:
28
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.
33
34 - Full system emulation. In this mode, QEMU emulates a full system,
35   including a processor and various peripherials. 
36   It can also be used to provide virtual hosting of several 
37   virtual PC on a single server.
38
39 %description -l pl
40 QEMU to szybki(!) emulator procesora. Poprzez u¿ycie dynamicznego
41 t³umaczenia osi±ga rozs±dn± szybko¶æ i jest ³atwy do przeportowania,
42 aby dzia³a³ na kolejnych procesorach. QEMU ma dwa tryby pracy:
43
44 - Emulacja trybu u¿ytkownika. W tym trybie QEMU mo¿e uruchamiaæ
45   procesy linuksowe skompilowane dla jednego procesora na innym
46   procesorze. Linuksowe wywo³ania systemowe s± t³umaczone ze wzglêdu
47   na niezgodno¶æ kolejno¶ci bajtów w s³owie i 32/64-bitowego rozmiaru
48   s³owa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to g³ówne
49   cele QEMU.
50
51 - Pe³na emulacja systemu. W tym trybie QEMU emuluje ca³y system,
52   w³±czaj±c w to procesor i ró¿ne urz±dzenia peryferyjne.
53   Mo¿e byæ tak¿e u¿ywane do wirtualnego hostowania kilku wirtualnych 
54   pecetów na pojedynczym serwerze.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61 %patch3 -p1
62
63 %build
64 ./configure \
65         --prefix=%{_prefix} \
66         --cc="%{__cc}" \
67         --make="%{__make}" \
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %doc README qemu-doc.html qemu-tech.html
83 %attr(755,root,root) %{_bindir}/*
84 %{_datadir}/qemu
85 %{_mandir}/man1/qemu.1*
86 %{_mandir}/man1/qemu-img.1*
This page took 0.076751 seconds and 2 git commands to generate.