Группа :: Эмуляторы
Пакет: dosemu-freedos
Главная Изменения Спек Патчи Загрузить Bugs and FR
%def_with M24
%if_with M24
%define _release alt1.M24.1
%else
%define _release alt2
%endif
Name: dosemu-freedos
Version: 050405
Release: %_release
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Minimum FreeDOS image for dosemu
Summary(ru_RU.KOI8-R): Минимальный образ FreeDOS для dosemu
License: GPL
Group: Emulators
Url: http://www.freedos.org
BuildArchitectures: noarch
Requires: dosemu >= 1.1.4
Source0: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/attrib/attrib21.zip
Source1: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/choice/choice43a.zip
#Source2: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/cls/cls201.zip
#Source3: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/comp/comp_pv2.zip
Source3: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/comp/comp0103.zip
#Source4: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/copy/copy300.zip
Source5: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/debug/debug98.zip
Source6: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/diskcomp/diskcomp-06jun2003.zip
Source7: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/diskcopy/dskcp094.zip
Source8: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/exe2bin/exe2b10x.zip
Source9: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/edit/edit082.zip
Source10: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fc/fc303x.zip
Source11: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/find/find-01nov2003.zip
#Source12: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/xmat090.zip
#Source13: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/format08.zip
Source12: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/format-0.91t.zip
Source13: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/shsucdx/shcd300.zip
Source14: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/help/fasthelp/fsuite04.zip
#Source14: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/help/hhs101.zip
Source15: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/join/swsubs32.zip
Source16: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/label/label14.zip
Source17: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/loadhi/loadh01x.zip
Source18: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/mem/mem16.zip
Source19: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/mode/mode-30nov2004.zip
Source20: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/more/more40b.zip
Source21: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/move/move32x.zip
Source22: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/nansi/nansi40a.zip
Source23: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/pause/pause31b.zip
Source24: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/replace/replace12.zip
Source25: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/sort/sort-09jul2004.zip
#Source26: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/sort/rpsrt102.zip
#Source27: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/tree/tree372s.zip
Source28: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/tree/tree372x.zip
Source29: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/verify/verif10x.zip
Source30: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/vol/vol.zip
Source31: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/xcopy/rxcopy/rxcopy11.zip
Source32: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/assign/asgn-14.zip
Source33: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/deltree/deltree102e.zip
Source34: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/touc143x.zip
Source36: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/lang/basic/bwb220ax.zip
Source37: http://www.mindspring.com/~minyard/du.zip
#Source37: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/du10x.zip
# GNU utils binaries
Source38: gnu.tar.bz2
Source45: http://www.freedos.org/jhall/freedos/utils/files/runtime21c.zip
Source46: http://www.freedos.org/jhall/freedos/utils/files/tee10.zip
Source47: http://www.freedos.org/jhall/freedos/utils/files/trch31c.zip
# kernel and FreeCOM binaries
Source40: http://heanet.dl.sourceforge.net/sourceforge/freedos/com082pl3-bin.zip
#Source41: http://heanet.dl.sourceforge.net/sourceforge/freedos/ke2035a_16.zip
Source44: http://fdos.org/kernel/kwc38632.dev.zip
Source42: dosemu-freedos-031113-alt-autoexec.bat
Source43: dosemu-freedos-050709-alt-config.sys
# Automatically added by buildreq on Thu Nov 13 2003
BuildRequires: unzip
%description
FreeDOS aims to be a complete, free, 100% MS-DOS compatible operating system.
This is minimal image of FreeDOS making possible to boot under DOSEmu.
%description -l ru_RU.KOI8-R
FreeDOS - свободный, 100% совместимый аналог операционной системы MS-DOS.
Пакет содержит её минимальный вариант, достаточный для загрузки в DOSEmu.
%prep
%setup -q -c %name-%version -T
# extracting archives
for i in %SOURCE0 %SOURCE1 %SOURCE3 %SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 \
%SOURCE9 %SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 %SOURCE15 \
%SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19 %SOURCE20 %SOURCE21 \
%SOURCE22 %SOURCE23 %SOURCE24 %SOURCE25 %SOURCE28 \
%SOURCE29 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 \
%SOURCE36 %SOURCE37 %SOURCE40 %SOURCE44 %SOURCE45 %SOURCE46 %SOURCE47
do
echo $i
%__unzip -L -o -q $i
done
#%__unzip -L -o -q %SOURCE35 bin/tee.com help/tee
# freedos tree
%__mkdir_p tmp/dosemu/freedos/{bin,dosemu,gnu,help,nls,tmp}
FREEDOS=tmp/dosemu/freedos
# adjusting binaries
find -type f -iregex ".*\.com" -o -iregex ".*\.exe" | %__grep -v "$FREEDOS/bin" | xargs -r -i{} %__mv {} $FREEDOS/bin
%__tar -xjf %SOURCE38 -C $FREEDOS
(cd $FREEDOS/bin
%__rm -f _*
for upper in *; do
%__chmod 0644 $upper
lower=`echo $upper | tr [:upper:] [:lower:]`
if [ "x$upper" != "x$lower" ]; then
%__mv $upper $lower
fi
done
%__ln_s swsubst.exe join.exe
%__ln_s swsubst.exe subst.exe
%__ln_s fasthelp.exe help.exe
%__mv command.com ..
%__ln_s ../command.com command.com
)
%__mv source/nansi/nansi.sys $FREEDOS/bin
#%__mv bin/kernel.sys $FREEDOS
%__mv kwc38632.sys $FREEDOS/kernel.sys
%__mv country.sys $FREEDOS/bin
%__install -m0644 %SOURCE42 $FREEDOS/autoexec.bat
%__install -m0644 %SOURCE43 $FREEDOS/config.sys
echo fake > $FREEDOS/dosemu/lcd.exe
# adjusting docs
%__mv doc/fc/fc.txt $FREEDOS/help/fc
%__mv doc/diskcopy/diskcopy help/{loadhi,tee,touch,verify} $FREEDOS/help/
%__mv help/attrib.txt $FREEDOS/help/attrib
%__mv choice/help/choice.en $FREEDOS/help/choice
%__mv comp.doc $FREEDOS/help/comp
%__mv debug.doc $FREEDOS/help/debug
%__mv edit.hlp $FREEDOS/bin
%__mv doc/format/help.txt $FREEDOS/help/format
%__mv doc/Fasthelp/README $FREEDOS/help/fasthelp
%__mv doc/Whatis/README $FREEDOS/help/whatis
%__mv doc/mem/readme $FREEDOS/help/mem
#%__mv mode.txt $FREEDOS/help/mode
%__mv more40/doc/help $FREEDOS/help/more
%__mv doc/nansi/nansi.doc $FREEDOS/help/nansi
%__mv doc/sort/sort.1 $FREEDOS/help/sort
%__mv doc/xcopy.txt $FREEDOS/help/xcopy
%__mv deltree.txt $FREEDOS/help/deltree
%__mv doc/bwbasic/bwbasic.doc $FREEDOS/help/bwbasic
#%__mv doc/sys.txt $FREEDOS/help/sys
%__mv shsucdx.txt $FREEDOS/help/shsucdx
# help wants 'name.en' pages
for i in $FREEDOS/help/*; do
%__mv $i $i.en
done
# adjusting translations
%__mv nls/* $FREEDOS/nls
%__mv pause/nls/* more40/nls/* NLS/* choice/nls/* trch/nls/* runtime/nls/* source/diskcopy/nls/* $FREEDOS/nls
# making image
%__tar -C tmp -czf dosemu-freedos-bin.tgz dosemu
%build
%install
%__install -m644 -D dosemu-freedos-bin.tgz %buildroot%_datadir/dosemu/dosemu-freedos-bin.tgz
%files
%_datadir/dosemu/dosemu-freedos-bin.tgz
%changelog
…
Полный changelog можно просмотреть здесь
%if_with M24
%define _release alt1.M24.1
%else
%define _release alt2
%endif
Name: dosemu-freedos
Version: 050405
Release: %_release
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Minimum FreeDOS image for dosemu
Summary(ru_RU.KOI8-R): Минимальный образ FreeDOS для dosemu
License: GPL
Group: Emulators
Url: http://www.freedos.org
BuildArchitectures: noarch
Requires: dosemu >= 1.1.4
Source0: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/attrib/attrib21.zip
Source1: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/choice/choice43a.zip
#Source2: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/cls/cls201.zip
#Source3: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/comp/comp_pv2.zip
Source3: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/comp/comp0103.zip
#Source4: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/copy/copy300.zip
Source5: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/debug/debug98.zip
Source6: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/diskcomp/diskcomp-06jun2003.zip
Source7: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/diskcopy/dskcp094.zip
Source8: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/exe2bin/exe2b10x.zip
Source9: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/edit/edit082.zip
Source10: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fc/fc303x.zip
Source11: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/find/find-01nov2003.zip
#Source12: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/xmat090.zip
#Source13: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/format08.zip
Source12: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/format/format-0.91t.zip
Source13: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/shsucdx/shcd300.zip
Source14: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/help/fasthelp/fsuite04.zip
#Source14: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/help/hhs101.zip
Source15: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/join/swsubs32.zip
Source16: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/label/label14.zip
Source17: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/loadhi/loadh01x.zip
Source18: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/mem/mem16.zip
Source19: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/mode/mode-30nov2004.zip
Source20: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/more/more40b.zip
Source21: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/move/move32x.zip
Source22: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/nansi/nansi40a.zip
Source23: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/pause/pause31b.zip
Source24: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/replace/replace12.zip
Source25: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/sort/sort-09jul2004.zip
#Source26: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/sort/rpsrt102.zip
#Source27: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/tree/tree372s.zip
Source28: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/tree/tree372x.zip
Source29: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/verify/verif10x.zip
Source30: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/vol/vol.zip
Source31: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/xcopy/rxcopy/rxcopy11.zip
Source32: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/assign/asgn-14.zip
Source33: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/deltree/deltree102e.zip
Source34: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/file/touc143x.zip
Source36: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/lang/basic/bwb220ax.zip
Source37: http://www.mindspring.com/~minyard/du.zip
#Source37: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/util/disk/du10x.zip
# GNU utils binaries
Source38: gnu.tar.bz2
Source45: http://www.freedos.org/jhall/freedos/utils/files/runtime21c.zip
Source46: http://www.freedos.org/jhall/freedos/utils/files/tee10.zip
Source47: http://www.freedos.org/jhall/freedos/utils/files/trch31c.zip
# kernel and FreeCOM binaries
Source40: http://heanet.dl.sourceforge.net/sourceforge/freedos/com082pl3-bin.zip
#Source41: http://heanet.dl.sourceforge.net/sourceforge/freedos/ke2035a_16.zip
Source44: http://fdos.org/kernel/kwc38632.dev.zip
Source42: dosemu-freedos-031113-alt-autoexec.bat
Source43: dosemu-freedos-050709-alt-config.sys
# Automatically added by buildreq on Thu Nov 13 2003
BuildRequires: unzip
%description
FreeDOS aims to be a complete, free, 100% MS-DOS compatible operating system.
This is minimal image of FreeDOS making possible to boot under DOSEmu.
%description -l ru_RU.KOI8-R
FreeDOS - свободный, 100% совместимый аналог операционной системы MS-DOS.
Пакет содержит её минимальный вариант, достаточный для загрузки в DOSEmu.
%prep
%setup -q -c %name-%version -T
# extracting archives
for i in %SOURCE0 %SOURCE1 %SOURCE3 %SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 \
%SOURCE9 %SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 %SOURCE15 \
%SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19 %SOURCE20 %SOURCE21 \
%SOURCE22 %SOURCE23 %SOURCE24 %SOURCE25 %SOURCE28 \
%SOURCE29 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 \
%SOURCE36 %SOURCE37 %SOURCE40 %SOURCE44 %SOURCE45 %SOURCE46 %SOURCE47
do
echo $i
%__unzip -L -o -q $i
done
#%__unzip -L -o -q %SOURCE35 bin/tee.com help/tee
# freedos tree
%__mkdir_p tmp/dosemu/freedos/{bin,dosemu,gnu,help,nls,tmp}
FREEDOS=tmp/dosemu/freedos
# adjusting binaries
find -type f -iregex ".*\.com" -o -iregex ".*\.exe" | %__grep -v "$FREEDOS/bin" | xargs -r -i{} %__mv {} $FREEDOS/bin
%__tar -xjf %SOURCE38 -C $FREEDOS
(cd $FREEDOS/bin
%__rm -f _*
for upper in *; do
%__chmod 0644 $upper
lower=`echo $upper | tr [:upper:] [:lower:]`
if [ "x$upper" != "x$lower" ]; then
%__mv $upper $lower
fi
done
%__ln_s swsubst.exe join.exe
%__ln_s swsubst.exe subst.exe
%__ln_s fasthelp.exe help.exe
%__mv command.com ..
%__ln_s ../command.com command.com
)
%__mv source/nansi/nansi.sys $FREEDOS/bin
#%__mv bin/kernel.sys $FREEDOS
%__mv kwc38632.sys $FREEDOS/kernel.sys
%__mv country.sys $FREEDOS/bin
%__install -m0644 %SOURCE42 $FREEDOS/autoexec.bat
%__install -m0644 %SOURCE43 $FREEDOS/config.sys
echo fake > $FREEDOS/dosemu/lcd.exe
# adjusting docs
%__mv doc/fc/fc.txt $FREEDOS/help/fc
%__mv doc/diskcopy/diskcopy help/{loadhi,tee,touch,verify} $FREEDOS/help/
%__mv help/attrib.txt $FREEDOS/help/attrib
%__mv choice/help/choice.en $FREEDOS/help/choice
%__mv comp.doc $FREEDOS/help/comp
%__mv debug.doc $FREEDOS/help/debug
%__mv edit.hlp $FREEDOS/bin
%__mv doc/format/help.txt $FREEDOS/help/format
%__mv doc/Fasthelp/README $FREEDOS/help/fasthelp
%__mv doc/Whatis/README $FREEDOS/help/whatis
%__mv doc/mem/readme $FREEDOS/help/mem
#%__mv mode.txt $FREEDOS/help/mode
%__mv more40/doc/help $FREEDOS/help/more
%__mv doc/nansi/nansi.doc $FREEDOS/help/nansi
%__mv doc/sort/sort.1 $FREEDOS/help/sort
%__mv doc/xcopy.txt $FREEDOS/help/xcopy
%__mv deltree.txt $FREEDOS/help/deltree
%__mv doc/bwbasic/bwbasic.doc $FREEDOS/help/bwbasic
#%__mv doc/sys.txt $FREEDOS/help/sys
%__mv shsucdx.txt $FREEDOS/help/shsucdx
# help wants 'name.en' pages
for i in $FREEDOS/help/*; do
%__mv $i $i.en
done
# adjusting translations
%__mv nls/* $FREEDOS/nls
%__mv pause/nls/* more40/nls/* NLS/* choice/nls/* trch/nls/* runtime/nls/* source/diskcopy/nls/* $FREEDOS/nls
# making image
%__tar -C tmp -czf dosemu-freedos-bin.tgz dosemu
%build
%install
%__install -m644 -D dosemu-freedos-bin.tgz %buildroot%_datadir/dosemu/dosemu-freedos-bin.tgz
%files
%_datadir/dosemu/dosemu-freedos-bin.tgz
%changelog
…
Полный changelog можно просмотреть здесь