]> git.pld-linux.org Git - packages/dosemu-freedos-minimal.git/commitdiff
- simplified extracting .zip to lowercase
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Mar 2004 23:16:10 +0000 (23:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed suplicate files, added dirs for other dosemu-freedos-*
- moved docs to %%doc

Changed files:
    dosemu-freedos-minimal.spec -> 1.12

dosemu-freedos-minimal.spec

index e6bb972c940252b1f1cc0e4df94bd8f03d4b1de4..ca8f78608686625d5fd0d5e5b7a5b1619d4c6fc1 100644 (file)
@@ -17,12 +17,14 @@ Source6:    shsucdx.exe
 # Source6-md5: ea564329c456ff4dd3a3c21c04f5a185
 URL:           http://www.freedos.org/
 BuildRequires: unzip
+Requires:      dosemu
+Provides:      dos
 ExclusiveArch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Provides:      dos
-Requires:      dosemu
 
-%define                _dosemudir              /var/lib/dosemu
+%define                _dosemudir      /var/lib/dosemu
+# extract to lowercase
+%define                __unzip         unzip -L
 
 %description
 This package contains minimal dos for use with dosemu:
@@ -35,34 +37,36 @@ i kilka przydatnych program
 
 %prep
 %setup -c %{name} -q
-mv DOC doc
-mv BIN bin
-# lowercase filenames
-for i in $(find . -type f)
-do
-       mv $i $(echo $i | tr A-Z a-z)
-done
+
 rm -f bin/autoxec.bat bin/config.sys
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
+install -d $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/{bin,help,nls}
 
-install bin/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir/
+install bin/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir
 install %{SOURCE2} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/autoexec.bat
 install %{SOURCE3} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/config.sys
 install %{SOURCE4} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/keybpl.exe
 install %{SOURCE5} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/egapl.exe
 install %{SOURCE6} $RPM_BUILD_ROOT%{_dosemudir}/bootdir/shsucdx.exe
 
-install doc/* $RPM_BUILD_ROOT%{_dosemudir}/bootdir/freedos/doc/fdkernel
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{_dosemudir}/bootdir/freedos
-%{_dosemudir}/bootdir/*
+%doc doc/{bugs,config,contrib,history,intfns,mkboot,nls,readme,sys}.txt
 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/bootdir/autoexec.bat
 %config(noreplace) %verify(not size mtime md5) %{_dosemudir}/bootdir/config.sys
+%{_dosemudir}/bootdir/command.com
+%{_dosemudir}/bootdir/egapl.exe
+%{_dosemudir}/bootdir/install.bat
+%{_dosemudir}/bootdir/kernel.sys
+%{_dosemudir}/bootdir/keybpl.exe
+%{_dosemudir}/bootdir/shsucdx.exe
+%{_dosemudir}/bootdir/sys.com
+%dir %{_dosemudir}/bootdir/freedos
+%dir %{_dosemudir}/bootdir/freedos/bin
+%dir %{_dosemudir}/bootdir/freedos/help
+%dir %{_dosemudir}/bootdir/freedos/nls
This page took 0.181604 seconds and 4 git commands to generate.