]> git.pld-linux.org Git - packages/dosemu-freedos-minimal.git/blob - dosemu-freedos-minimal.spec
e6bb972c940252b1f1cc0e4df94bd8f03d4b1de4
[packages/dosemu-freedos-minimal.git] / dosemu-freedos-minimal.spec
1 Summary:        Minimal FreeDOS
2 Summary(pl):    Minimalna wersja FreeDOSa
3 Name:           dosemu-freedos-minimal
4 Version:        2.0.33_16
5 Release:        2
6 License:        GPL
7 Group:          Applications/Emulators
8 Source0:        http://dl.sourceforge.net/freedos/ke2033_16.zip
9 # Source0-md5:  07a702a337d6c5b1ae0709ce39e29212
10 Source2:        autoexec2.bat
11 Source3:        config2.sys
12 Source4:        keybpl.exe
13 # Source4-md5:  53e265897c9fc6aa983f12b59d9861b4
14 Source5:        egapl.exe
15 # Source5-md5:  226641c2370aac17d969d83e3f86a3a9
16 Source6:        shsucdx.exe
17 # Source6-md5:  ea564329c456ff4dd3a3c21c04f5a185
18 URL:            http://www.freedos.org/
19 BuildRequires:  unzip
20 ExclusiveArch:  %{ix86}
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Provides:       dos
23 Requires:       dosemu
24
25 %define         _dosemudir              /var/lib/dosemu
26
27 %description
28 This package contains minimal dos for use with dosemu:
29 FreeDOS kernel and configuration files.
30
31 %description -l pl
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.
35
36 %prep
37 %setup -c %{name} -q
38 mv DOC doc
39 mv BIN bin
40 # lowercase filenames
41 for i in $(find . -type f)
42 do
43         mv $i $(echo $i | tr A-Z a-z)
44 done
45 rm -f bin/autoxec.bat bin/config.sys
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
50
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
57
58 install doc/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
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
This page took 0.053664 seconds and 2 git commands to generate.