%define name bochs %define version 1.4.1 %define release 2mdk Summary: Bochs Project x86 PC Emulator Name: %name Version: %version Release: %release License: LGPL Group: Emulators URL: http://bochs.sourceforge.net Source: %name-%version.tar.bz2 BuildRoot: %_tmppath/%{name}-buildroot %description Bochs is a portable x86 PC emulation software package that emulates enough of the x86 CPU, related AT hardware, and BIOS to run DOS, Windows '95, Minix 2.0, and other OS's, all on your workstation. %prep rm -rf $RPM_BUILD_DIR/bochs-1.3 %setup %build %configure --enable-fpu --enable-cdrom --enable-sb16=linux --enable-split-hd --enable-ne2000 %make make unpack_dlx # must use prefix=/usr since this step sets up # the paths in dlx bochsrc file. %install %makeinstall cd $RPM_BUILD_ROOT/usr/bin rm -f bochs; ln -sf /usr/bochs/%{version}/bochs . rm -f bximage; ln -sf /usr/bochs/%{version}/bximage . %post /usr/bochs/%{version}/install-x11-fonts %preun # clean up the bochsout.txt that is always produced if you # run bochs-dlx. rm -rf /usr/bochs/dlxlinux/bochsout.txt core %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %_bindir/* %_prefix/%name/ %_mandir/man1/* %changelog * Sat Aug 31 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4.1-2mdk - rebuild * Wed Jul 24 2002 Sylvestre Taburet <staburet@mandrakesoft.com> 1.4.1-1mdk - upgraded to 1.4.1 (service release) * Tue May 28 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4-3mdk - rebuild against new libstdc++ * Mon Apr 08 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4-2mdk - fix %post & %pre by adding %{version} to cure problem when version changes ( thx Quel Qun ) * Sat Mar 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.4-1mdk - 1.4 * Tue Feb 05 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.3-1mdk - new