]> git.pld-linux.org Git - packages/bochs.git/blob - bochs.spec
- with wx
[packages/bochs.git] / bochs.spec
1 # TODO:
2 #       - more --with and --enable in configure
3
4 Summary:        Portable x86 PC Emulator
5 Summary(pl):    Przeno¶ny emulator x86 PC
6 Name:           bochs
7 Version:        2.0
8 Release:        1.1
9 License:        GPL
10 Group:          Applications/Emulators
11 Source0:        http://telia.dl.sourceforge.net/sourceforge/bochs/%{name}-%{version}.tar.gz
12 URL:            http://bochs.sourceforge.net/
13 BuildRequires:  XFree86-devel
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  wxGTK-devel
16 #vga.pcf.gz
17 Requires:       XFree86-fonts
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Bochs is a portable x86 PC emulation software package that emulates
22 enough of the x86 CPU, related AT hardware, and BIOS to run DOS,
23 Windows '95, Minix 2.0, and other OS's, all on your workstation.
24
25 %description -l pl
26 Bochs jest przeno¶nym emulatorem x86 PC emuluj±cym wystarczaj±co du¿o
27 architektury procesora x86 oraz hardware'u AT i BIOS-u ¿eby uruchomiæ
28 DOS-a, Windows'95, Minix 2.0 i inne systemu operacyjne, wszystkie na
29 Twoim komputerze.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure \
36         --enable-cdrom \
37         --enable-cpu-level=6 \
38         --enable-vbe \
39         --with-x \
40         --with-wx \
41         --with-x11
42         
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49     DESTDIR=$RPM_BUILD_ROOT \
50     docdir=%{_docdir}/%{name}-%{version}
51
52 mv -f $RPM_BUILD_ROOT%{_datadir}/bochs/VGABIOS*{LICENSE,README,latest} \
53     $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
54
55 cp -f TESTFORM.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
56     
57 rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*fonts
58 rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*pcf
59
60 DIRS=`find $RPM_BUILD_ROOT -type d -name CVS`
61 for DIR in $DIRS
62 do
63     rm -rf $DIR
64 done
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %dir %{_datadir}/%{name}
72 %dir %{_datadir}/%{name}/keymaps
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_datadir}/%{name}/keymaps/convertmap.pl
75 %{_datadir}/%{name}/keymaps/*.map
76 %{_datadir}/%{name}/*BIOS*
77 %{_mandir}/man[15]/*
78 %{_docdir}/%{name}-%{version}
This page took 0.055397 seconds and 3 git commands to generate.