]> git.pld-linux.org Git - packages/bochs.git/blobdiff - bochs.spec
- with wx
[packages/bochs.git] / bochs.spec
index fed6f4126ba8a773f1eb22eb7704458d8cba7d3e..d048dae38fe1a3ddd4e39ccdf16e6358b312b429 100644 (file)
@@ -1,13 +1,20 @@
+# TODO:
+#      - more --with and --enable in configure
+
 Summary:       Portable x86 PC Emulator
-Summary(pl):   Przeno¶ny emulator x96 PC
+Summary(pl):   Przeno¶ny emulator x86 PC
 Name:          bochs
-Version:       2000_0325a
-Release:       1
+Version:       2.0
+Release:       1.1
 License:       GPL
 Group:         Applications/Emulators
-Group(pl):     Aplikacje/Emulatory
-Source0:       ftp://bochs.com/pub/%{name}-%{version}.tar.gz
-URL:           http://www.bochs.com/
+Source0:       http://telia.dl.sourceforge.net/sourceforge/bochs/%{name}-%{version}.tar.gz
+URL:           http://bochs.sourceforge.net/
+BuildRequires: XFree86-devel
+BuildRequires: libstdc++-devel
+BuildRequires: wxGTK-devel
+#vga.pcf.gz
+Requires:      XFree86-fonts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -17,42 +24,55 @@ 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.
+architektury procesora x86 oraz hardware'u 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 \
+       --enable-cpu-level=6 \
+       --enable-vbe \
+       --with-x \
+       --with-wx \
        --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
+%{__make} install \
+    DESTDIR=$RPM_BUILD_ROOT \
+    docdir=%{_docdir}/%{name}-%{version}
+
+mv -f $RPM_BUILD_ROOT%{_datadir}/bochs/VGABIOS*{LICENSE,README,latest} \
+    $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
+cp -f TESTFORM.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+    
+rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*fonts
+rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*pcf
+
+DIRS=`find $RPM_BUILD_ROOT -type d -name CVS`
+for DIR in $DIRS
+do
+    rm -rf $DIR
+done
 
 %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/*
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/keymaps
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_datadir}/%{name}/keymaps/convertmap.pl
+%{_datadir}/%{name}/keymaps/*.map
+%{_datadir}/%{name}/*BIOS*
+%{_mandir}/man[15]/*
+%{_docdir}/%{name}-%{version}
This page took 0.114255 seconds and 4 git commands to generate.