]> git.pld-linux.org Git - packages/qemu.git/blob - qemu.spec
- updated to 0.7.0, updated DESTDIR patch
[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 URL:            http://fabrice.bellard.free.fr/qemu/
15 BuildRequires:  SDL-devel >= 1.2.1
16 ExclusiveArch:  %{ix86} amd64 ppc
17 # sparc is currently unsupported (missing cpu_get_real_ticks() impl in vl.c)
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 # some SPARC boot image in ELF format
21 %define         _noautostrip    .*%{_datadir}/qemu/proll.elf
22
23 %description
24 QEMU is a FAST! processor emulator. By using dynamic translation it
25 achieves a reasonnable speed while being easy to port on new host
26 CPUs. QEMU has two operating modes:
27
28 - User mode emulation. In this mode, QEMU can launch Linux processes
29   compiled for one CPU on another CPU. Linux system calls are converted
30   because of endianness and 32/64 bit mismatches. Wine (Windows
31   emulation) and DOSEMU (DOS emulation) are the main targets for QEMU.
32
33 - Full system emulation. In this mode, QEMU emulates a full system,
34   including a processor and various peripherials. 
35   It can also be used to provide virtual hosting of several 
36   virtual PC on a single server.
37
38 %description -l pl
39 QEMU to szybki(!) emulator procesora. Poprzez u¿ycie dynamicznego
40 t³umaczenia osi±ga rozs±dn± szybko¶æ i jest ³atwy do przeportowania,
41 aby dzia³a³ na kolejnych procesorach. QEMU ma dwa tryby pracy:
42
43 - Emulacja trybu u¿ytkownika. W tym trybie QEMU mo¿e uruchamiaæ
44   procesy linuksowe skompilowane dla jednego procesora na innym
45   procesorze. Linuksowe wywo³ania systemowe s± t³umaczone ze wzglêdu
46   na niezgodno¶æ kolejno¶ci bajtów w s³owie i 32/64-bitowego rozmiaru
47   s³owa. Wine (emulacja Windows) i DOSEMU (emulacja DOS-a) to g³ówne
48   cele QEMU.
49
50 - Pe³na emulacja systemu. W tym trybie QEMU emuluje ca³y system,
51   w³±czaj±c w to procesor i ró¿ne urz±dzenia peryferyjne.
52   Mo¿e byæ tak¿e u¿ywane do wirtualnego hostowania kilku wirtualnych 
53   pecetów na pojedynczym serwerze.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59 %patch2 -p1
60
61 %build
62 ./configure \
63         --prefix=%{_prefix} \
64         --cc="%{__cc}" \
65         --make="%{__make}" \
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc README qemu-doc.html qemu-tech.html
81 %attr(755,root,root) %{_bindir}/*
82 %{_datadir}/qemu
83 %{_mandir}/man1/qemu.1*
84 %{_mandir}/man1/qemu-img.1*
This page took 0.067554 seconds and 4 git commands to generate.