3 # _with_static - linked static
5 Summary: A DOS emulator
6 Summary(de): DOS-Emulator
7 Summary(es): Emulador DOS
8 Summary(fr): Emulateur DOS
9 Summary(pl): Emulator DOSa
10 Summary(pt_BR): Emulador DOS
11 Summary(tr): DOS öykünümcüsü
16 Group: Applications/Emulators
17 Source0: ftp://ftp.sourceforge.net/pub/sourceforge/dosemu/%{name}-%{version}.tgz
18 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
19 Source2: %{name}-sys.tar.gz
20 Source3: %{name}-PRZECZYTAJ_TO
21 Source4: %{name}-README.PLD
22 Source5: %{name}.desktop
23 #Source6: http://www.dosemu.org/~stas/patchset-%{version}.%{pver}.tgz
24 Patch0: %{name}-man-pages.patch
25 Patch1: %{name}-parser-buf.patch
26 Patch2: %{name}-make-new.patch
27 Patch3: %{name}-%{name}_conf.patch
28 Patch4: %{name}-mfs-pts.patch
29 Patch5: %{name}-Oacute.patch
30 Patch6: %{name}-doSgmlTools.patch
31 Patch7: %{name}-dont_build_dvi.patch
32 URL: http://www.dosemu.org/
33 BuildRequires: XFree86-devel
34 BuildRequires: autoconf
37 BuildRequires: docbook-dtd30-sgml
40 BuildRequires: openjade
42 BuildRequires: sgml-tools
43 BuildRequires: slang-devel
44 BuildRequires: util-linux
47 %{?_with_static:BuildRequires: glibc-static}
48 %{?_with_static:BuildRequires: XFree86-static}
49 %{?_with_static:BuildRequires: slang-static}
50 ExclusiveArch: %{ix86}
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 Conflicts: kernel < 2.0.28
53 Conflicts: mtools < 3.6
56 %define _xbindir /usr/X11R6/bin
57 %define _dosemudir /var/lib/dosemu
60 Dosemu is a DOS emulator. Once you've installed dosemu, start the DOS
61 emulator by typing in the "dos" command.
63 You need to install dosemu if you use DOS programs and you want to be
64 able to run them on your GNU/Linux system. You may also need to
65 install the dosemu-freedos-* packages.
68 Esta es una versión del emulador DOS que fue proyectada para
69 ejecutarse en secciones X Window. Ofrece soporte a gráficos VGA como
70 también soporte a ratón.
73 Dosemu to Emulator systemu DOS. Po zainstalowaniu mo¿esz go uruchomiæ
76 Je¶li korzystasz z dosowych programów i chcia³by¶ je uruchamiaæ na
77 twoim Linuksowym systemie zainstaluj dosemu. Mo¿esz te¿ potrzebowaæ
78 pakietów dosemu-freedos-*.
81 Essa é uma versão do emulador DOS que foi projetada para rodar em
82 sessões X Window. Oferece suporte para gráficos VGA bem como suporte
86 Summary: A DOS emulator for the X Window System
87 Summary(de): DOS-Emulator für X
88 Summary(es): Emulador DOS que se ejecuta en X
89 Summary(fr): Émulateur DOS conçu pou être lancé sous X
90 Summary(pl): Emulator DOSa dla Systemu X Window
91 Summary(pt_BR): Emulador DOS que roda no X
92 Summary(tr): X altýnda çalýþan DOS öykünümcüsü
93 Group: Applications/Emulators
98 %description -n xdosemu
99 Xdosemu is a version of the dosemu DOS emulator that runs with the X
100 Window System. Xdosemu provides VGA graphics and mouse support.
102 %description -n xdosemu -l de
103 Dies ist eine Version des DOS-Emulators für X-Windows-Sitzungen. Er
104 unterstützt VGA-Grafiken und Maus.
106 %description -n xdosemu -l es
107 Esta es la versión del emulador DOS dibujada para ejecutarse en una
108 ventana del X Window. Posee soporte para gráficos VGA y ratón.
110 %description -n xdosemu -l fr
111 Version de l'émulateur DOS conçue pour tourner dans une session X.
112 Offre une gestion des graphismes VGA et de la souris.
114 %description -n xdosemu -l pl
115 Xdosemu jest wersj± emulatora dosemu dzia³aj±c± w X Window System.
116 Xdosemu ma wsparcie dla grafiki VGA i obs³ugi myszki.
118 %description -n xdosemu -l pt_BR
119 Esta é a versão do emulador DOS desenhada para rodar em uma janela do
120 X Window. Possui suporte a gráficos VGA e mouse.
122 %description -n xdosemu -l tr
123 Bu yazýlým, DOS öykünümcüsünün X altýnda çalýþan bir sürümüdür. VGA
124 grafikleri ve fare desteði vardýr.
127 Summary: Utilities for dosemu
128 Summary(pl): Programy pomocnicze do dosemu
129 Group: Applications/Emulators
133 Utilities for dosemu: dexeconfig, hdinfo, mkhdimage, mkfatimage16.
135 %description utils -l pl
136 Programy pomocnicze dla dosemu: dexeconfig, hdinfo, mkhdimage,
151 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"; export OPTFLAGS
153 ./mkpluginhooks enable plugin_keyboard off plugin_kbd_unicode on \
154 plugin_extra_charset on plugin_term on plugin_translate on plugin_demo off
156 cp -f base-configure.in configure.in
161 %{?_with_static:--enable-linkstatic} \
162 --enable-new-intcode \
167 mv -f bin/dosemu.bin bin/dos-nox
171 %{?_with_static:--enable-linkstatic} \
172 --enable-new-intcode \
175 mv -f bin/dosemu.bin bin/dos-x
176 mv -f bin/dos-nox bin/dosemu.bin
178 mv -f man/dosemu.bin.1 man/dos.1
182 find src/doc -name "*.html" -exec cp -f '{}' doc/ ';'
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir},%{_sysconfdir},%{_pixmapsdir}} \
190 $RPM_BUILD_ROOT{%{_mandir}/man1,%{_mandir}/pl/man1} \
191 $RPM_BUILD_ROOT%{_dosemudir}/bootdir/{dosemu,freedos/doc/fdkernel} \
192 $RPM_BUILD_ROOT%{_applnkdir}/System
194 install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dos
195 install bin/dos-x $RPM_BUILD_ROOT%{_xbindir}/dos
196 install bin/midid $RPM_BUILD_ROOT%{_bindir}/midid
197 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/xdos
198 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/dosexec
199 install bin/dosdebug $RPM_BUILD_ROOT%{_bindir}/dosdebug
200 install src/tools/periph/{dexeconfig,hdinfo,mkhdimage,mkfatimage16} $RPM_BUILD_ROOT%{_bindir}
201 ln -sf dos $RPM_BUILD_ROOT%{_bindir}/dosexec
203 install etc/dosemu.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
204 install etc/dosemu.users.secure $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.users
205 install etc/global.conf $RPM_BUILD_ROOT%{_dosemudir}/global.conf
206 install etc/dosemu.conf $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.conf
208 install man/{dos.1,dosdebug.1,xdos.1,mkfatimage16.1} $RPM_BUILD_ROOT%{_mandir}/man1
209 install pl/man1/{dos.1,dosdebug.1,xdos.1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
211 install src/plugin/commands/*.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
212 install dosemu/*.sys $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
213 cp %{SOURCE3} PRZECZYTAJ_TO
214 cp %{SOURCE4} README.PLD
215 install %{SOURCE5} $RPM_BUILD_ROOT%{_applnkdir}/System
217 #ln -sf dosemu/comcom.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/command.com
219 rm -f doc/{configuration,dosemu.lsm}
222 rm -rf $RPM_BUILD_ROOT
225 %defattr(644,root,root,755)
226 %doc QuickStart COPYING ChangeLog* doc/*.html PRZECZYTAJ_TO README.PLD
228 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
229 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
230 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
231 %attr(755,root,root) %{_bindir}/dos
232 %attr(755,root,root) %{_bindir}/dosdebug
233 %attr(755,root,root) %{_bindir}/dosexec
234 %attr(755,root,root) %{_bindir}/midid
235 %dir %{_dosemudir}/bootdir
236 %dir %{_dosemudir}/bootdir/dosemu
237 %{_dosemudir}/bootdir/dosemu/*
238 #%{_dosemudir}/bootdir/command.com
239 %{_mandir}/man1/[dm]*
240 %lang(pl) %{_mandir}/pl/man1/d*
241 %{_pixmapsdir}/dosemu.xpm
244 %defattr(644,root,root,755)
245 %doc QuickStart COPYING ChangeLog* doc/*.html PRZECZYTAJ_TO README.PLD
247 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
248 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
249 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
250 %attr(755,root,root) %{_bindir}/dosdebug
251 %attr(755,root,root) %{_bindir}/midid
252 %attr(755,root,root) %{_xbindir}/*
253 %dir %{_dosemudir}/bootdir
254 %dir %{_dosemudir}/bootdir/dosemu
255 %{_dosemudir}/bootdir/dosemu/*
256 #%{_dosemudir}/bootdir/command.com
257 %{_mandir}/man1/[dm]*
258 %{_mandir}/man1/xdos.1*
259 %lang(pl) %{_mandir}/pl/man1/d*
260 %lang(pl) %{_mandir}/pl/man1/xdos.1*
261 %{_applnkdir}/System/*
262 %{_pixmapsdir}/dosemu.xpm
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_bindir}/dexeconfig
267 %attr(755,root,root) %{_bindir}/hdinfo
268 %attr(755,root,root) %{_bindir}/mkhdimage
269 %attr(755,root,root) %{_bindir}/mkfatimage16