1 Summary: Minimal FreeDOS
2 Summary(pl): Minimalna wersja FreeDOSa
3 Name: dosemu-freedos-minimal
7 Group: Applications/Emulators
8 Source0: http://dl.sourceforge.net/freedos/ke2033_16.zip
9 # Source0-md5: 07a702a337d6c5b1ae0709ce39e29212
10 Source2: autoexec2.bat
13 # Source4-md5: 53e265897c9fc6aa983f12b59d9861b4
15 # Source5-md5: 226641c2370aac17d969d83e3f86a3a9
17 # Source6-md5: ea564329c456ff4dd3a3c21c04f5a185
18 URL: http://www.freedos.org/
20 ExclusiveArch: %{ix86}
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _dosemudir /var/lib/dosemu
28 This package contains minimal dos for use with dosemu:
29 FreeDOS kernel and configuration files.
32 W pakiecie znajduje siê mimalna wersja DOS-a potrzebna do uruchomienia
33 dosemu. Pakiet zawiera kernel FreeDOSa, autoexec.bat, config.sys
34 i kilka przydatnych programów.
41 for i in $(find . -type f)
43 mv $i $(echo $i | tr A-Z a-z)
45 rm -f bin/autoxec.bat bin/config.sys
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
51 install bin/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir/
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/autoexec.bat
53 install %{SOURCE3} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/config.sys
54 install %{SOURCE4} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/keybpl.exe
55 install %{SOURCE5} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/egapl.exe
56 install %{SOURCE6} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/shsucdx.exe
58 install doc/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %dir %{_dosemudir}/bootdir/freedos
66 %{_dosemudir}/bootdir/*
67 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/bootdir/autoexec.bat
68 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/bootdir/config.sys