From: undefine Date: Sun, 19 Nov 2000 13:10:08 +0000 (+0000) Subject: - Initial rpm version X-Git-Tag: bochs-1_1_2-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbochs.git;a=commitdiff_plain;h=a47f34bd3d202e8ee918a31b0c3657833b6090a2 - Initial rpm version Changed files: bochs.spec -> 1.1 --- a47f34bd3d202e8ee918a31b0c3657833b6090a2 diff --git a/bochs.spec b/bochs.spec new file mode 100644 index 0000000..fed6f41 --- /dev/null +++ b/bochs.spec @@ -0,0 +1,58 @@ +Summary: Portable x86 PC Emulator +Summary(pl): Przeno¶ny emulator x96 PC +Name: bochs +Version: 2000_0325a +Release: 1 +License: GPL +Group: Applications/Emulators +Group(pl): Aplikacje/Emulatory +Source0: ftp://bochs.com/pub/%{name}-%{version}.tar.gz +URL: http://www.bochs.com/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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. + +%description -l pl +Bochs jest przeno¶nym emulatorem x86 PC emuluj±cym wystarczaj±co du¿o +architektóry procesora x86 oraz hardwaru AT i BIOS-u ¿eby uruchomiæ +DOS-a, windows'95, Minix 2.0 i inne systemu operacyjne, wszystkie na +twoim komputerze. + +%prep +%setup -q + +%build +%configure \ + --with-x \ + --enable-cpu-level=5 \ + --enable-pci \ + --enable-vga \ + --enable-fpu \ + --enable-cdrom \ + --with-x11 +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/bochs/bios} +install bochs $RPM_BUILD_ROOT/%{_bindir} +install bios/BIOS-bochs-990925a bios/VGABIOS-elpin-2.20 $RPM_BUILD_ROOT%{_datadir}/bochs/bios +mv -f .bochsrc .brc +echo "Example .bochrc file - put it into selected directory and modify" \ + "path to images" >.bochsrc +sed -e 's#bios#%{_datadir}/bochs/bios#g' <.brc >>.bochsrc +gzip -9nf docs-html/* bios/VGABIOS-elpin-LICENSE .bochsrc + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc docs-html/* bios/VGABIOS-elpin-LICENSE* .bochsrc* +%attr(755,root,root) %{_bindir}/bochs +%dir %{_datadir}/bochs +%{_datadir}/bochs/*