]> git.pld-linux.org Git - packages/bochs.git/commitdiff
- Initial rpm version
authorundefine <undefine@pld-linux.org>
Sun, 19 Nov 2000 13:10:08 +0000 (13:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bochs.spec -> 1.1

bochs.spec [new file with mode: 0644]

diff --git a/bochs.spec b/bochs.spec
new file mode 100644 (file)
index 0000000..fed6f41
--- /dev/null
@@ -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/*
This page took 0.043637 seconds and 4 git commands to generate.