2 # --with static - linked static
4 Summary: A DOS emulator
5 Summary(de): DOS-Emulator
6 Summary(es): Emulador DOS
7 Summary(fr): Emulateur DOS
8 Summary(pl): Emulator DOSa
9 Summary(pt_BR): Emulador DOS
10 Summary(tr): DOS öykünümcüsü
15 Group: Applications/Emulators
16 Source0: ftp://ftp.dosemu.org/dosemu/%{name}-%{version}.tgz
17 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-pl-man-pages.tar.bz2
18 Source2: %{name}-sys.tar.gz
19 Source3: %{name}-PRZECZYTAJ_TO
20 Source4: %{name}-README.PLD
21 Patch0: ftp://ftp.dosemu.org/dosemu/fixes/patch-1.0.2.1.gz
22 Patch1: %{name}-1.0.2-man-pages.patch
23 Patch2: %{name}-0.98.1-security.patch
24 Patch3: %{name}-make-new.patch
25 Patch4: %{name}-Polish_keyboard.patch
26 Patch5: %{name}-%{name}_conf.patch
27 Patch6: %{name}-alt224.patch
29 Patch8: %{name}-rawkeyboard-console.patch
30 Patch9: %{name}-comcom.patch
31 Patch10: %{name}-global.conf-xdos.patch
32 Patch11: c_run_irqs.diff
33 URL: http://www.dosemu.org/
34 BuildRequires: XFree86-devel
39 BuildRequires: slang-devel
42 %{?_with_static:BuildRequires: glibc-static}
43 %{?_with_static:BuildRequires: XFree86-static}
44 %{?_with_static:BuildRequires: slang-static}
45 ExclusiveArch: %{ix86}
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Conflicts: kernel < 2.0.28
48 Conflicts: mtools < 3.6
51 %define _xbindir /usr/X11R6/bin
52 %define _dosemudir /var/lib/dosemu
55 Dosemu is a DOS emulator. Once you've installed dosemu, start the DOS
56 emulator by typing in the "dos" command.
58 You need to install dosemu if you use DOS programs and you want to be
59 able to run them on your GNU/Linux system. You may also need to
60 install the dosemu-freedos-* packages.
63 Esta es una versión del emulador DOS que fue proyectada para
64 ejecutarse en secciones X Window. Ofrece soporte a gráficos VGA como
65 también soporte a ratón.
68 Dosemu to Emulator systemu DOS. Po zainstalowaniu mo¿esz go uruchomiæ
71 Je¶li korzystasz z dosowych programów i chcia³by¶ je uruchamiaæ na
72 twoim Linuksowym systemie zainstaluj dosemu. Mo¿esz te¿ potrzebowaæ
73 pakietów dosemu-freedos-*.
76 Essa é uma versão do emulador DOS que foi projetada para rodar em
77 sessões X Window. Oferece suporte para gráficos VGA bem como suporte
81 Summary: A DOS emulator for the X Window System
82 Summary(de): DOS-Emulator für X
83 Summary(es): Emulador DOS que se ejecuta en X
84 Summary(fr): Émulateur DOS conçu pou être lancé sous X
85 Summary(pt_BR): Emulador DOS que roda no X
86 Summary(tr): X altýnda çalýþan DOS öykünümcüsü
87 Group: Applications/Emulators
92 %description -n xdosemu
93 Xdosemu is a version of the dosemu DOS emulator that runs with the X
94 Window System. Xdosemu provides VGA graphics and mouse support.
96 %description -n xdosemu -l de
97 Dies ist eine Version des DOS-Emulators für X-Windows-Sitzungen. Er
98 unterstützt VGA-Grafiken und Maus.
100 %description -n xdosemu -l es
101 Esta es la versión del emulador DOS dibujada para ejecutarse en una
102 ventana del X Window. Posee soporte para gráficos VGA y ratón.
104 %description -n xdosemu -l fr
105 Version de l'émulateur DOS conçue pour tourner dans une session X.
106 Offre une gestion des graphismes VGA et de la souris.
108 %description -n xdosemu -l pl
109 Xdosemu jest wersj± emulatora dosemu dzia³aj±c± w X Window System.
110 Xdosemu ma wsparcie dla grafiki VGA i obs³ugi myszki.
112 %description -n xdosemu -l pt_BR
113 Esta é a versão do emulador DOS desenhada para rodar em uma janela do
114 X Window. Possui suporte a gráficos VGA e mouse.
116 %description -n xdosemu -l tr
117 Bu yazýlým, DOS öykünümcüsünün X altýnda çalýþan bir sürümüdür. VGA
118 grafikleri ve fare desteði vardýr.
121 Summary: Utilities for dosemu
122 Summary(pl): Programy pomocnicze do dosemu
123 Group: Applications/Emulators
127 Utilities for dosemu: dexeconfig, hdinfo, mkhdimage, mkfatimage16.
129 %description utils -l pl
130 Programy pomocnicze dla dosemu: dexeconfig, hdinfo, mkhdimage,
149 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"; export OPTFLAGS
151 cp -f base-configure.in configure.in
156 %{?_with_static:--enable-linkstatic} \
157 --enable-new-intcode \
162 mv -f bin/dosemu.bin bin/dos-nox
166 %{?_with_static:--enable-linkstatic} \
167 --enable-new-intcode \
170 mv -f bin/dosemu.bin bin/dos-x
171 mv -f bin/dos-nox bin/dosemu.bin
173 mv -f man/dosemu.bin.1 man/dos.1
176 rm -rf $RPM_BUILD_ROOT
177 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir},%{_sysconfdir},%{_pixmapsdir}} \
178 $RPM_BUILD_ROOT{%{_mandir}/man1,%{_mandir}/pl/man1} \
179 $RPM_BUILD_ROOT%{_dosemudir}/bootdir/{dosemu,freedos/doc/fdkernel}
181 install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dos
182 install bin/dos-x $RPM_BUILD_ROOT%{_xbindir}/dos
183 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/xdos
184 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/dosexec
185 install bin/dosdebug $RPM_BUILD_ROOT%{_bindir}/dosdebug
186 install src/tools/periph/{dexeconfig,hdinfo,mkhdimage,mkfatimage16} $RPM_BUILD_ROOT%{_bindir}
187 ln -sf dos $RPM_BUILD_ROOT%{_bindir}/dosexec
189 install etc/dosemu.xpm $RPM_BUILD_ROOT%{_prefix}/X11R6/share/pixmaps
190 install etc/dosemu.users.secure $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.users
191 install etc/global.conf $RPM_BUILD_ROOT%{_dosemudir}/global.conf
192 install etc/dosemu.conf $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.conf
194 install man/{dos.1,dosdebug.1,xdos.1,mkfatimage16.1} $RPM_BUILD_ROOT%{_mandir}/man1
195 install pl/man1/{dos.1,dosdebug.1,xdos.1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
197 install src/plugin/commands/*.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
198 install dosemu/*.sys $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
199 cp %{SOURCE3} PRZECZYTAJ_TO
200 cp %{SOURCE4} README.PLD
202 #ln -sf dosemu/comcom.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/command.com
204 # Take out irritating ^H's from the documentation
205 for i in `ls --color=no doc/` ; do cat doc/$i > $i ; cat $i | perl -p -e 's/.\010//g' > doc/$i ; done
207 rm -f doc/{configuration,dosemu.lsm}
210 rm -rf $RPM_BUILD_ROOT
213 %defattr(644,root,root,755)
214 %doc QuickStart COPYING ChangeLog* doc/* PRZECZYTAJ_TO README.PLD
216 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
217 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
218 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
219 %attr(755,root,root) %{_bindir}/dos
220 %attr(755,root,root) %{_bindir}/dosdebug
221 %attr(755,root,root) %{_bindir}/dosexec
222 %dir %{_dosemudir}/bootdir
223 %dir %{_dosemudir}/bootdir/dosemu
224 %{_dosemudir}/bootdir/dosemu/*
225 #%{_dosemudir}/bootdir/command.com
226 %{_mandir}/man1/[dm]*
227 %lang(pl) %{_mandir}/pl/man1/d*
228 %{_pixmapsdir}/dosemu.xpm
231 %defattr(644,root,root,755)
232 %doc QuickStart COPYING ChangeLog* doc/* PRZECZYTAJ_TO README.PLD
234 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
235 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
236 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
237 %attr(755,root,root) %{_bindir}/dosdebug
238 %attr(755,root,root) %{_xbindir}/*
239 %dir %{_dosemudir}/bootdir
240 %dir %{_dosemudir}/bootdir/dosemu
241 %{_dosemudir}/bootdir/dosemu/*
242 #%{_dosemudir}/bootdir/command.com
243 %{_mandir}/man1/[dm]*
244 %{_mandir}/man1/xdos.1*
245 %lang(pl) %{_mandir}/pl/man1/d*
246 %lang(pl) %{_mandir}/pl/man1/xdos.1*
247 %{_pixmapsdir}/dosemu.xpm
250 %defattr(644,root,root,755)
251 %attr(755,root,root) %{_bindir}/dexeconfig
252 %attr(755,root,root) %{_bindir}/hdinfo
253 %attr(755,root,root) %{_bindir}/mkhdimage
254 %attr(755,root,root) %{_bindir}/mkfatimage16