]> git.pld-linux.org Git - packages/bochs.git/blob - bochs.spec
- add Requires: docbook-dtd41-sgmL
[packages/bochs.git] / bochs.spec
1 # TODO:
2 #       - more subpackages (plugins)
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.2
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:  docbook-dtd41-sgml
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  wxGTK-devel
17 BuildRequires:  SDL-devel
18 BuildRequires:  svgalib-devel
19 #vga.pcf.gz
20 Requires:       XFree86-fonts
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Bochs is a portable x86 PC emulation software package that emulates
25 enough of the x86 CPU, related AT hardware, and BIOS to run DOS,
26 Windows '95, Minix 2.0, and other OS's, all on your workstation.
27
28 %description -l pl
29 Bochs jest przeno¶nym emulatorem x86 PC emuluj±cym wystarczaj±co du¿o
30 architektury procesora x86 oraz hardware'u AT i BIOS-u ¿eby uruchomiæ
31 DOS-a, Windows'95, Minix 2.0 i inne systemu operacyjne, wszystkie na
32 Twoim komputerze.
33
34 %prep
35 %setup -q
36
37 %build
38 %configure \
39         --enable-cdrom \
40         --enable-cpu-level=5 \
41         --enable-vbe \
42         --enable-sb16=linux \
43         --enable-configure-interface \
44         --enable-new-pit \
45         --enable-ne2000 \
46         --enable-plugins \
47         --enable-repeat-speedups \
48         --enable-icache \
49         --enable-host-specific-asms \
50         --enable-all-optimizations \
51         --enable-mmx \
52         --enable-sse=2 \
53         --with-x \
54         --with-wx \
55         --with-rfb \
56         --with-sdl \
57         --with-svga \
58         --with-x11
59         
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66     DESTDIR=$RPM_BUILD_ROOT \
67     docdir=%{_docdir}/%{name}-%{version}
68
69 mv -f $RPM_BUILD_ROOT%{_datadir}/bochs/VGABIOS*{LICENSE,README,latest} \
70     $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
71
72 cp -f TESTFORM.txt $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
73     
74 rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*fonts
75 rm -f $RPM_BUILD_ROOT%{_datadir}/bochs/*pcf
76
77 DIRS=`find $RPM_BUILD_ROOT -type d -name CVS`
78 for DIR in $DIRS
79 do
80     rm -rf $DIR
81 done
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %dir %{_datadir}/%{name}
89 %dir %{_datadir}/%{name}/keymaps
90 %attr(755,root,root) %{_bindir}/*
91 %attr(755,root,root) %{_datadir}/%{name}/keymaps/convertmap.pl
92 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so.*
93 %{_libdir}/%{name}/plugins/*.la
94 %{_datadir}/%{name}/keymaps/*.map
95 %{_datadir}/%{name}/*BIOS*
96 %{_mandir}/man[15]/*
97 %{_docdir}/%{name}-%{version}
This page took 0.070049 seconds and 3 git commands to generate.