2001-06-02 11:42:37 +04:00
|
|
|
Summary: Bochs Project x86 PC Emulator
|
2001-05-22 20:50:15 +04:00
|
|
|
Name: bochs
|
2001-11-10 06:39:55 +03:00
|
|
|
Version: @SEDVERSION@
|
2001-05-25 20:58:48 +04:00
|
|
|
Release: 1
|
2001-05-22 20:50:15 +04:00
|
|
|
License: LGPL
|
|
|
|
Group: Applications/Emulators
|
|
|
|
URL:http://bochs.sourceforge.net
|
|
|
|
Packager:Bryce Denney <bryce.denney@bigfoot.com>
|
|
|
|
Source:bochs.tar.gz
|
2001-06-06 17:57:24 +04:00
|
|
|
|
2001-05-22 20:50:15 +04:00
|
|
|
%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.
|
2001-06-06 17:57:24 +04:00
|
|
|
|
2001-05-22 20:50:15 +04:00
|
|
|
%prep
|
|
|
|
rm -rf $RPM_BUILD_DIR/bochs
|
|
|
|
tar xzvf $RPM_SOURCE_DIR/bochs.tar.gz
|
|
|
|
%build
|
|
|
|
cd $RPM_BUILD_DIR/bochs
|
2001-12-06 07:03:34 +03:00
|
|
|
CONFIGURE_ARGS="--prefix=/usr --mandir=/usr/man"
|
2001-06-06 17:57:24 +04:00
|
|
|
export CONFIGURE_ARGS
|
|
|
|
sh .conf.linux
|
2001-05-22 20:50:15 +04:00
|
|
|
make
|
|
|
|
%install
|
|
|
|
pwd
|
|
|
|
cd $RPM_BUILD_DIR/bochs
|
2001-11-10 05:06:26 +03:00
|
|
|
for i in "" usr usr/bin usr/man usr/man/man1; do
|
2001-11-10 06:39:55 +03:00
|
|
|
if ! test -d /$i; then mkdir /$i; fi
|
2001-06-06 17:57:24 +04:00
|
|
|
done
|
|
|
|
make install install_dlx
|
|
|
|
|
2001-05-22 20:50:15 +04:00
|
|
|
%files
|
2001-11-10 05:06:26 +03:00
|
|
|
/usr/bin/bochs
|
|
|
|
/usr/bin/bochs-docs
|
|
|
|
/usr/bin/bochs-dlx
|
|
|
|
/usr/bin/bximage
|
2001-11-10 06:39:55 +03:00
|
|
|
/usr/bochs/@SEDVERSION@
|
2001-11-10 05:06:26 +03:00
|
|
|
/usr/bochs/dlxlinux
|
|
|
|
/usr/bochs/latest
|
2001-12-06 07:03:34 +03:00
|
|
|
/usr/man/man1/bochs*
|
|
|
|
/usr/man/man1/bximage*
|
2001-06-06 17:57:24 +04:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_DIR/bochs
|
|
|
|
%post
|
2001-11-10 06:39:55 +03:00
|
|
|
/usr/bochs/@SEDVERSION@/install-x11-fonts
|
2001-06-06 17:57:24 +04:00
|
|
|
%preun
|
|
|
|
# clean up the bochsout.txt that is always produced if you
|
|
|
|
# run bochs-dlx.
|
2001-11-10 05:06:26 +03:00
|
|
|
rm -rf /usr/bochs/dlxlinux/bochsout.txt core
|
2001-06-06 17:57:24 +04:00
|
|
|
%postun
|
2001-11-10 05:06:26 +03:00
|
|
|
rmdir /usr/bochs > /dev/null 2>&1
|