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
46 %{?_with_static:BuildRequires: glibc-static}
47 %{?_with_static:BuildRequires: XFree86-static}
48 %{?_with_static:BuildRequires: slang-static}
49 ExclusiveArch: %{ix86}
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 Conflicts: kernel < 2.0.28
52 Conflicts: mtools < 3.6
55 %define _xbindir /usr/X11R6/bin
56 %define _dosemudir /var/lib/dosemu
59 Dosemu is a DOS emulator. Once you've installed dosemu, start the DOS
60 emulator by typing in the "dos" command.
62 You need to install dosemu if you use DOS programs and you want to be
63 able to run them on your GNU/Linux system. You may also need to
64 install the dosemu-freedos-* packages.
67 Esta es una versión del emulador DOS que fue proyectada para
68 ejecutarse en secciones X Window. Ofrece soporte a gráficos VGA como
69 también soporte a ratón.
72 Dosemu to Emulator systemu DOS. Po zainstalowaniu mo¿esz go uruchomiæ
75 Je¶li korzystasz z dosowych programów i chcia³by¶ je uruchamiaæ na
76 twoim Linuksowym systemie zainstaluj dosemu. Mo¿esz te¿ potrzebowaæ
77 pakietów dosemu-freedos-*.
80 Essa é uma versão do emulador DOS que foi projetada para rodar em
81 sessões X Window. Oferece suporte para gráficos VGA bem como suporte
85 Summary: A DOS emulator for the X Window System
86 Summary(de): DOS-Emulator für X
87 Summary(es): Emulador DOS que se ejecuta en X
88 Summary(fr): Émulateur DOS conçu pou être lancé sous X
89 Summary(pl): Emulator DOSa dla Systemu X Window
90 Summary(pt_BR): Emulador DOS que roda no X
91 Summary(tr): X altýnda çalýþan DOS öykünümcüsü
92 Group: Applications/Emulators
96 %description -n xdosemu
97 Xdosemu is a version of the dosemu DOS emulator that runs with the X
98 Window System. Xdosemu provides VGA graphics and mouse support.
100 %description -n xdosemu -l de
101 Dies ist eine Version des DOS-Emulators für X-Windows-Sitzungen. Er
102 unterstützt VGA-Grafiken und Maus.
104 %description -n xdosemu -l es
105 Esta es la versión del emulador DOS dibujada para ejecutarse en una
106 ventana del X Window. Posee soporte para gráficos VGA y ratón.
108 %description -n xdosemu -l fr
109 Version de l'émulateur DOS conçue pour tourner dans une session X.
110 Offre une gestion des graphismes VGA et de la souris.
112 %description -n xdosemu -l pl
113 Xdosemu jest wersj± emulatora dosemu dzia³aj±c± w X Window System.
114 Xdosemu ma wsparcie dla grafiki VGA i obs³ugi myszki.
116 %description -n xdosemu -l pt_BR
117 Esta é a versão do emulador DOS desenhada para rodar em uma janela do
118 X Window. Possui suporte a gráficos VGA e mouse.
120 %description -n xdosemu -l tr
121 Bu yazýlým, DOS öykünümcüsünün X altýnda çalýþan bir sürümüdür. VGA
122 grafikleri ve fare desteði vardýr.
125 Summary: Utilities for dosemu
126 Summary(pl): Programy pomocnicze do dosemu
127 Group: Applications/Emulators
131 Utilities for dosemu: dexeconfig, hdinfo, mkhdimage, mkfatimage16.
133 %description utils -l pl
134 Programy pomocnicze dla dosemu: dexeconfig, hdinfo, mkhdimage,
149 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"; export OPTFLAGS
151 ./mkpluginhooks enable plugin_keyboard off plugin_kbd_unicode on \
152 plugin_extra_charset on plugin_term on plugin_translate on plugin_demo off
154 cp -f base-configure.in configure.in
159 %{?_with_static:--enable-linkstatic} \
160 --enable-new-intcode \
165 mv -f bin/dosemu.bin bin/dos-nox
169 %{?_with_static:--enable-linkstatic} \
170 --enable-new-intcode \
173 mv -f bin/dosemu.bin bin/dos-x
174 mv -f bin/dos-nox bin/dosemu.bin
176 mv -f man/dosemu.bin.1 man/dos.1
180 find src/doc -name "*.html" -exec cp -f '{}' doc/ ';'
186 rm -rf $RPM_BUILD_ROOT
187 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir},%{_sysconfdir},%{_pixmapsdir}} \
188 $RPM_BUILD_ROOT{%{_mandir}/man1,%{_mandir}/pl/man1} \
189 $RPM_BUILD_ROOT%{_dosemudir}/bootdir/{dosemu,freedos/doc/fdkernel} \
190 $RPM_BUILD_ROOT%{_applnkdir}/System
192 install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dos
193 install bin/dos-x $RPM_BUILD_ROOT%{_xbindir}/dos
194 install bin/midid $RPM_BUILD_ROOT%{_bindir}/midid
195 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/xdos
196 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/dosexec
197 install bin/dosdebug $RPM_BUILD_ROOT%{_bindir}/dosdebug
198 install src/tools/periph/{dexeconfig,hdinfo,mkhdimage,mkfatimage16} $RPM_BUILD_ROOT%{_bindir}
199 ln -sf dos $RPM_BUILD_ROOT%{_bindir}/dosexec
201 install etc/dosemu.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
202 install etc/dosemu.users.secure $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.users
203 install etc/global.conf $RPM_BUILD_ROOT%{_dosemudir}/global.conf
204 install etc/dosemu.conf $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.conf
206 install man/{dos.1,dosdebug.1,xdos.1,mkfatimage16.1} $RPM_BUILD_ROOT%{_mandir}/man1
207 install pl/man1/{dos.1,dosdebug.1,xdos.1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
209 install src/plugin/commands/*.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
210 install dosemu/*.sys $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
211 cp %{SOURCE3} PRZECZYTAJ_TO
212 cp %{SOURCE4} README.PLD
213 install %{SOURCE5} $RPM_BUILD_ROOT%{_applnkdir}/System
215 #ln -sf dosemu/comcom.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/command.com
217 rm -f doc/{configuration,dosemu.lsm}
220 rm -rf $RPM_BUILD_ROOT
223 %defattr(644,root,root,755)
224 %doc QuickStart COPYING ChangeLog* doc/*.html PRZECZYTAJ_TO README.PLD
226 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
227 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
228 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
229 %attr(755,root,root) %{_bindir}/dos
230 %attr(755,root,root) %{_bindir}/dosdebug
231 %attr(755,root,root) %{_bindir}/dosexec
232 %attr(755,root,root) %{_bindir}/midid
233 %dir %{_dosemudir}/bootdir
234 %dir %{_dosemudir}/bootdir/dosemu
235 %{_dosemudir}/bootdir/dosemu/*
236 #%{_dosemudir}/bootdir/command.com
237 %{_mandir}/man1/[dm]*
238 %lang(pl) %{_mandir}/pl/man1/d*
239 %{_pixmapsdir}/dosemu.xpm
242 %defattr(644,root,root,755)
243 %doc QuickStart COPYING ChangeLog* doc/*.html PRZECZYTAJ_TO README.PLD
245 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
246 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
247 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
248 %attr(755,root,root) %{_bindir}/dosdebug
249 %attr(755,root,root) %{_bindir}/midid
250 %attr(755,root,root) %{_xbindir}/*
251 %dir %{_dosemudir}/bootdir
252 %dir %{_dosemudir}/bootdir/dosemu
253 %{_dosemudir}/bootdir/dosemu/*
254 #%{_dosemudir}/bootdir/command.com
255 %{_mandir}/man1/[dm]*
256 %{_mandir}/man1/xdos.1*
257 %lang(pl) %{_mandir}/pl/man1/d*
258 %lang(pl) %{_mandir}/pl/man1/xdos.1*
259 %{_applnkdir}/System/*
260 %{_pixmapsdir}/dosemu.xpm
263 %defattr(644,root,root,755)
264 %attr(755,root,root) %{_bindir}/dexeconfig
265 %attr(755,root,root) %{_bindir}/hdinfo
266 %attr(755,root,root) %{_bindir}/mkhdimage
267 %attr(755,root,root) %{_bindir}/mkfatimage16