]>
Commit | Line | Data |
---|---|---|
5fba4327 | 1 | Summary: Minimal FreeDOS |
9bde2214 | 2 | Summary(pl.UTF-8): Minimalna wersja FreeDOSa |
5fba4327 | 3 | Name: dosemu-freedos-minimal |
965f319e JR |
4 | Version: 2.0.39 |
5 | Release: 1 | |
5fba4327 JB |
6 | License: GPL |
7 | Group: Applications/Emulators | |
965f319e | 8 | Source0: http://dl.sourceforge.net/freedos/ke2039_86f32.zip |
2799a216 | 9 | # Source0-md5: 1e1c8abfd8db425a18fd5bce389c752a |
5fba4327 JB |
10 | Source2: autoexec2.bat |
11 | Source3: config2.sys | |
12 | Source4: keybpl.exe | |
e4a4c5af | 13 | # Source4-md5: 53e265897c9fc6aa983f12b59d9861b4 |
5fba4327 | 14 | Source5: egapl.exe |
e4a4c5af | 15 | # Source5-md5: 226641c2370aac17d969d83e3f86a3a9 |
5fba4327 | 16 | Source6: shsucdx.exe |
e4a4c5af | 17 | # Source6-md5: ea564329c456ff4dd3a3c21c04f5a185 |
5fba4327 JB |
18 | URL: http://www.freedos.org/ |
19 | BuildRequires: unzip | |
5e9dbb10 JB |
20 | Requires: dosemu |
21 | Provides: dos | |
55b1acf7 | 22 | ExclusiveArch: %{ix86} %{x8664} |
5fba4327 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5fba4327 | 24 | |
5e9dbb10 JB |
25 | %define _dosemudir /var/lib/dosemu |
26 | # extract to lowercase | |
27 | %define __unzip unzip -L | |
85dc3fd7 | 28 | |
5fba4327 | 29 | %description |
0e6427e3 ER |
30 | This package contains minimal dos for use with dosemu: FreeDOS kernel |
31 | and configuration files. | |
5fba4327 | 32 | |
f3b7670a JR |
33 | %description -l pl.UTF-8 |
34 | W pakiecie znajduje się minimalna wersja DOS-a potrzebna do | |
0e6427e3 | 35 | uruchomienia dosemu. Pakiet zawiera kernel FreeDOSa, autoexec.bat, |
f3b7670a | 36 | config.sys i kilka przydatnych programów. |
5fba4327 JB |
37 | |
38 | %prep | |
af6ebe01 | 39 | %setup -q -c |
5e9dbb10 | 40 | |
5d86c201 | 41 | rm -f bin/autoxec.bat bin/config.sys |
5fba4327 | 42 | |
5fba4327 JB |
43 | %install |
44 | rm -rf $RPM_BUILD_ROOT | |
1e382e52 | 45 | install -d $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/{bin,doc,help,nls} |
85dc3fd7 | 46 | |
5e9dbb10 | 47 | install bin/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir |
5fba4327 JB |
48 | install %{SOURCE2} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/autoexec.bat |
49 | install %{SOURCE3} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/config.sys | |
50 | install %{SOURCE4} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/keybpl.exe | |
51 | install %{SOURCE5} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/egapl.exe | |
52 | install %{SOURCE6} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/shsucdx.exe | |
85dc3fd7 | 53 | |
5fba4327 JB |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
2799a216 | 59 | %doc docs/{bugs,config,contrib,history,intfns,mkboot,nls,readme,sys}.txt |
0e6427e3 ER |
60 | %config(noreplace) %verify(not md5 mtime size) %{_dosemudir}/bootdir/autoexec.bat |
61 | %config(noreplace) %verify(not md5 mtime size) %{_dosemudir}/bootdir/config.sys | |
2799a216 | 62 | %{_dosemudir}/bootdir/country.sys |
5e9dbb10 JB |
63 | %{_dosemudir}/bootdir/egapl.exe |
64 | %{_dosemudir}/bootdir/install.bat | |
65 | %{_dosemudir}/bootdir/kernel.sys | |
66 | %{_dosemudir}/bootdir/keybpl.exe | |
2799a216 | 67 | %{_dosemudir}/bootdir/kwc8632.map |
5e9dbb10 JB |
68 | %{_dosemudir}/bootdir/shsucdx.exe |
69 | %{_dosemudir}/bootdir/sys.com | |
70 | %dir %{_dosemudir}/bootdir/freedos | |
71 | %dir %{_dosemudir}/bootdir/freedos/bin | |
1e382e52 | 72 | %dir %{_dosemudir}/bootdir/freedos/doc |
5e9dbb10 JB |
73 | %dir %{_dosemudir}/bootdir/freedos/help |
74 | %dir %{_dosemudir}/bootdir/freedos/nls |