2 # --with static - linked static
3 # --without dist_kernel - without distribution kernel
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.dosemu.org/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 Patch0: ftp://ftp.dosemu.org/dosemu/fixes/patch-1.0.2.1.gz
23 Patch1: %{name}-1.0.2-man-pages.patch
24 Patch2: %{name}-0.98.1-security.patch
25 Patch3: %{name}-make-new.patch
26 Patch4: %{name}-Polish_keyboard.patch
27 Patch5: %{name}-%{name}_conf.patch
28 Patch6: %{name}-alt224.patch
30 Patch8: %{name}-rawkeyboard-console.patch
31 Patch9: %{name}-comcom.patch
32 Patch10: %{name}-global.conf-xdos.patch
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,
148 OPTFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"; export OPTFLAGS
150 cp -f base-configure.in configure.in
155 %{?_with_static:--enable-linkstatic} \
156 --enable-new-intcode \
161 mv -f bin/dosemu.bin bin/dos-nox
165 %{?_with_static:--enable-linkstatic} \
166 --enable-new-intcode \
169 mv -f bin/dosemu.bin bin/dos-x
170 mv -f bin/dos-nox bin/dosemu.bin
172 mv -f man/dosemu.bin.1 man/dos.1
175 rm -rf $RPM_BUILD_ROOT
176 install -d $RPM_BUILD_ROOT{%{_bindir},%{_xbindir},%{_sysconfdir},%{_pixmapsdir}} \
177 $RPM_BUILD_ROOT{%{_mandir}/man1,%{_mandir}/pl/man1} \
178 $RPM_BUILD_ROOT%{_dosemudir}/bootdir/{dosemu,freedos/doc/fdkernel}
180 install bin/dosemu.bin $RPM_BUILD_ROOT%{_bindir}/dos
181 install bin/dos-x $RPM_BUILD_ROOT%{_xbindir}/dos
182 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/xdos
183 ln -sf dos $RPM_BUILD_ROOT%{_xbindir}/dosexec
184 install bin/dosdebug $RPM_BUILD_ROOT%{_bindir}/dosdebug
185 install src/tools/periph/{dexeconfig,hdinfo,mkhdimage,mkfatimage16} $RPM_BUILD_ROOT%{_bindir}
186 ln -sf dos $RPM_BUILD_ROOT%{_bindir}/dosexec
188 install etc/dosemu.xpm $RPM_BUILD_ROOT%{_prefix}/X11R6/share/pixmaps
189 install etc/dosemu.users.secure $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.users
190 install etc/global.conf $RPM_BUILD_ROOT%{_dosemudir}/global.conf
191 install etc/dosemu.conf $RPM_BUILD_ROOT%{_sysconfdir}/dosemu.conf
193 install man/{dos.1,dosdebug.1,xdos.1,mkfatimage16.1} $RPM_BUILD_ROOT%{_mandir}/man1
194 install pl/man1/{dos.1,dosdebug.1,xdos.1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
196 install src/plugin/commands/*.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
197 install dosemu/*.sys $RPM_BUILD_ROOT%{_dosemudir}/bootdir/dosemu
198 cp %{SOURCE3} PRZECZYTAJ_TO
199 cp %{SOURCE4} README.PLD
201 #ln -sf dosemu/comcom.com $RPM_BUILD_ROOT%{_dosemudir}/bootdir/command.com
203 # Take out irritating ^H's from the documentation
204 for i in `ls --color=no doc/` ; do cat doc/$i > $i ; cat $i | perl -p -e 's/.\010//g' > doc/$i ; done
206 rm -f doc/{configuration,dosemu.lsm}
208 gzip -9nf QuickStart COPYING ChangeLog* doc/* PRZECZYTAJ_TO README.PLD
211 rm -rf $RPM_BUILD_ROOT
214 %defattr(644,root,root,755)
217 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
218 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
219 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
220 %attr(755,root,root) %{_bindir}/dos
221 %attr(755,root,root) %{_bindir}/dosdebug
222 %attr(755,root,root) %{_bindir}/dosexec
223 %dir %{_dosemudir}/bootdir
224 %dir %{_dosemudir}/bootdir/dosemu
225 %{_dosemudir}/bootdir/dosemu/*
226 #%{_dosemudir}/bootdir/command.com
227 %{_mandir}/man1/[dm]*
228 %lang(pl) %{_mandir}/pl/man1/d*
229 %{_pixmapsdir}/dosemu.xpm
232 %defattr(644,root,root,755)
235 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.conf
236 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dosemu.users
237 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/global.conf
238 %attr(755,root,root) %{_bindir}/dosdebug
239 %attr(755,root,root) %{_xbindir}/*
240 %dir %{_dosemudir}/bootdir
241 %dir %{_dosemudir}/bootdir/dosemu
242 %{_dosemudir}/bootdir/dosemu/*
243 #%{_dosemudir}/bootdir/command.com
244 %{_mandir}/man1/[dm]*
245 %{_mandir}/man1/xdos.1*
246 %lang(pl) %{_mandir}/pl/man1/d*
247 %lang(pl) %{_mandir}/pl/man1/xdos.1*
248 %{_pixmapsdir}/dosemu.xpm
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_bindir}/dexeconfig
253 %attr(755,root,root) %{_bindir}/hdinfo
254 %attr(755,root,root) %{_bindir}/mkhdimage
255 %attr(755,root,root) %{_bindir}/mkfatimage16