2 # - more subpackages (plugins)
5 Summary: Portable x86 PC Emulator
6 Summary(pl): Przeno¶ny emulator x86 PC
11 Group: Applications/Emulators
12 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
13 # Source0-md5: 7b21efbe2b56cc15d110993234259b33
14 Patch0: %{name}-ncurses.patch
15 URL: http://bochs.sourceforge.net/
16 BuildRequires: SDL-devel
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf
19 BuildRequires: docbook-dtd41-sgml
20 BuildRequires: libstdc++-devel
21 BuildRequires: ncurses-devel
22 BuildRequires: svgalib-devel
23 BuildRequires: wxGTK2-devel
24 BuildRequires: zlib-devel
25 Requires: XFree86-fonts
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Bochs is a portable x86 PC emulation software package that emulates
30 enough of the x86 CPU, related AT hardware, and BIOS to run DOS,
31 Windows '95, Minix 2.0, and other OS's, all on your workstation.
34 Bochs jest przeno¶nym emulatorem x86 PC emuluj±cym wystarczaj±co du¿o
35 architektury procesora x86 oraz hardware'u AT i BIOS-u ¿eby uruchomiæ
36 DOS-a, Windows 95, Minix 2.0 i inne systemu operacyjne, wszystkie na
45 # --enable-x86-64 (not supported together with --enable-sep)
46 # --enable-debugger --enable-iodebug --enable-x86-debugger (slowdowns emulation)
47 # --enable-apic (no need to specify, configure will choose best depending on nr cpus)
49 WX_CONFIG=wxgtk2-2.4-config \
50 --enable-config-interface \
53 --enable-cpu-level=6 \
54 --enable-compressed-hd \
60 --enable-guest2host-tlb \
61 --enable-repeat-speedups \
64 --enable-fast-function-calls \
66 --enable-global-pages \
67 --enable-host-specific-asms \
68 --enable-ignore-bad-msr \
70 --enable-all-optimizations \
72 --enable-instrumentation \
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT \
98 docdir=%{_docdir}/%{name}-%{version}
100 mv -f $RPM_BUILD_ROOT%{_datadir}/bochs/VGABIOS*{LICENSE,README,latest} \
101 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
103 cp -f TESTFORM.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
105 #rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*fonts
106 #rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*pcf
108 #find $RPM_BUILD_ROOT -type d -name CVS | xargs rm -rf
111 rm -rf $RPM_BUILD_ROOT
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/*
116 %dir %{_libdir}/%{name}
117 %dir %{_libdir}/%{name}/plugins
118 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so.*
119 %{_libdir}/%{name}/plugins/*.la
120 %dir %{_datadir}/%{name}
121 %dir %{_datadir}/%{name}/keymaps
122 %attr(755,root,root) %{_datadir}/%{name}/keymaps/convertmap.pl
123 %{_datadir}/%{name}/keymaps/*.map
124 %{_datadir}/%{name}/*BIOS*
126 %{_docdir}/%{name}-%{version}