0.6.2-alt1
[qemu] / qemu.spec
1 Name: qemu
2 Version: 0.6.2
3 Release: alt1
4
5 Summary: QEMU CPU Emulator
6 License: GPL/LGPL/BSD
7 Group: Emulators
8
9 URL: http://fabrice.bellard.free.fr/qemu/
10 Source: %name-snapshot-2004-11-28_23.tar.bz2
11
12 Patch: %name-0.6.2-alt-makefile.patch
13 Patch1: %name-0.6.2-alt-hdtrans.patch
14
15 # for %_bindir/qemu*
16 %set_verify_elf_method textrel=relaxed
17
18 BuildRequires: libSDL-devel-static xorg-x11-devel-static
19 BuildRequires: glibc-devel-static zlib-devel-static
20 BuildRequires: libaudiofile-devel-static esound-devel-static libalsa-devel-static
21 BuildRequires: tetex-core
22
23 %description
24 QEMU is a fast processor emulator using dynamic translation to achieve
25 good emulation speed.  QEMU has two operating modes:
26
27 * Full system emulation.  In this mode, QEMU emulates a full system
28   (for example a PC), including a processor and various peripherials.
29   It can be used to launch different Operating Systems without rebooting
30   the PC or to debug system code.
31
32 * User mode emulation (Linux host only).  In this mode, QEMU can launch
33   Linux processes compiled for one CPU on another CPU.  It can be used
34   to   launch the Wine Windows API emulator or to ease cross-compilation
35   and cross-debugging.
36
37 As QEMU requires no host kernel patches to run, it is very safe and easy
38 to use.
39
40 %prep
41 %setup -q -n %name-snapshot-2004-11-28_23
42 %patch -p1
43 %patch1 -p1
44
45 %build
46 ./configure --prefix=%_prefix --enable-adlib
47 # XXX asm error with CFLAGS='%optflags'
48 # XXX segfault with LDFLAGS=
49 %make_build
50
51 cd tests
52 %__subst -p s/-static//g Makefile
53 %make
54
55 %install
56 %make_install install DESTDIR=%buildroot
57
58 %files
59 %doc Changelog README TODO qemu-doc.html qemu-tech.html
60 %_bindir/qemu*
61 %_man1dir/qemu*
62 %dir %_datadir/qemu
63 %_datadir/qemu/*.bin
64
65 %changelog
66 * Mon Nov 29 2004 Kachalov Anton <mouse@altlinux.ru> 0.6.2-alt1
67 - Snapshot of 23-28 Nov 2004
68 - LARGE disk fix (actual for NT4, win2k, winXP)
69
70 * Fri Nov 26 2004 Kachalov Anton <mouse@altlinux.ru> 0.6.1-alt1
71 - 0.6.1
72
73 * Sun Oct 17 2004 Alexey Tourbin <at@altlinux.ru> 0.6.0-alt1
74 - initial revision