# $Revision: 1.20 $, $Date: 2001/11/26 15:07:07 $ Summary: Utilities to create and check MS-DOS FAT filesystems Summary(es): Un programa que crea sistemas de archivo de MS-DOS (FAT) en Linux. Summary(pl): Narzêdzia do tworzenia i sprawdzanai systemów plikowych MS-DOS FAT Summary(pt_BR): Um programa que cria sistemas de arquivo do MS-DOS (FAT) no Linux Name: dosfstools Version: 2.8 Release: 2 License: GPL Group: Applications/System Group(de): Applikationen/System Group(pl): Aplikacje/System Source0: ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/%{name}-%{version}.src.tar.gz Source1: %{name}-pl-man-pages.tar.bz2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: mkdosfs-ygg %define _sbindir /sbin %description Inside of this package there are two utilities to create and to check MS-DOS FAT filesystems on either harddisks or floppies under Linux. This version uses the enhanced boot sector/superblock format of DOS 3.3+ as well as provides a default dummy boot sector code. %description -l es El programa mkdosfs se usa para crear un sistema de archivos FAT (MS-DOS) a partir de Linux. Si su computador necesita usar sistemas de archivo MS-DOS usted debe instalar el paquete dosfstools. %description -l pl W pakiecie znajduj± siê dwa narzêdzia s³u¿±ce do tworzenia i sprawdzania systemów plików FAT na dyskach twardych lub dyskietkach pod Linuksem. Wersja ta u¿ywa ulepszonego formatu sektora uruchomieniowego/superbloku u¿ywanego w DOS-ie 3.3 i nowszych oraz obs³uguje pusty kod sektora uruchomieniowego. %description -l pt_BR O programa mkdosfs é usado para criar um sistema de arquivos FAT (MS-DOS) a partir do Linux. O pacote dosfstools deve ser instalado se sua máquina precisa usar sistemas de arquivo MS-DOS. %prep %setup -q cp dosfsck/README README.fsck cp mkdosfs/README README.mkdosfs %build %{__make} \ OPTFLAGS="%{rpmcflags}" \ PREFIX=%{_prefix} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ PREFIX=$RPM_BUILD_ROOT \ MANDIR=$RPM_BUILD_ROOT%{_mandir}/man8 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/*.{msdos,vfat}.8 echo ".so dosfsck.8" > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.msdos.8 echo ".so dosfsck.8" > $RPM_BUILD_ROOT%{_mandir}/man8/fsck.vfat.8 echo ".so mkdosfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.msdos.8 echo ".so mkdosfs.8" > $RPM_BUILD_ROOT%{_mandir}/man8/mkfs.vfat.8 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} gzip -9nf CHANGES TODO README.fsck README.mkdosfs %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_sbindir}/* %{_mandir}/man8/* %lang(pl) %{_mandir}/pl/man8/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <pld-list@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: dosfstools.spec,v $ Revision 1.20 2001/11/26 15:07:07 kloczek - merge translations from CNV. Revision 1.19 2001/11/26 14:39:09 ankry - added pl man pages - fixed .so pointers creating in spec - release 2 Revision 1.18 2001/07/28 15:01:37 migo - Summary -> Summary(pl) Revision 1.17 2001/04/30 16:05:16 kloczek - added using %%{rpmcflags} macro. Revision 1.16 2001/03/01 05:30:40 kloczek - updated to 2.8. Revision 1.15 2001/01/25 20:03:22 misiek Massive attack. We use -O0 instead -O flags while debug enabled. Revision 1.14 2000/12/23 00:48:43 michuz - changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...} (now it's more C like) Revision 1.13 2000/11/29 11:18:14 kloczek - added pl Summary. Revision 1.12 2000/11/29 11:10:27 wiget 2.6, removed obsoleted patches Revision 1.11 2000/10/25 05:59:16 kloczek - release 9, - use new rpm automation, - merge linux24 patch from RH. Revision 1.10 2000/06/09 07:22:49 kloczek - added using %%{__make} macro. Revision 1.9 2000/05/31 07:54:07 wiget release++ Revision 1.8 2000/05/31 07:50:17 wiget added patches from Rawhide Revision 1.7 2000/05/18 18:08:17 kloczek - spec adapterized. Revision 1.6 2000/04/10 17:06:16 baggins - more spelling fixes Revision 1.5 2000/04/01 11:14:25 zagrodzki - changed all BuildRoot definitons - removed all applnkdir defs - changed some prereqs/requires - removed duplicate empty lines Revision 1.4 2000/03/28 15:38:05 arturs - added %description -l pl Revision 1.3 1999/11/03 18:39:23 kloczek - typo. Revision 1.2 1999/11/03 18:32:38 kloczek - cosmetics. Revision 1.1 1999/11/02 12:59:45 baggins - new, PLD style specs * Mon Aug 2 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Remove fsck.* to don't have a fsck on vfat on boot (Maybe we can do a port of scandisk on linux ;) ) * Thu Jul 8 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Rewriting the .spec files to obsoletes mkdosfs-ygg for new dosfstools. - initialization of spec file. - 2.2 : - Added dosfsck/COPYING, putting dosfsck officially under GPL (Werner and I agree that it should be GPL). - mkdosfs: Allow creation of a 16 bit FAT on filesystems that are too small for it if the user explicitly selected FAT16 (but a warning is printed). Formerly, you got the misleading error message "make the fs a bit smaller". - dosfsck: new option -y as synonym for -y; for compability with other fs checkers, which also accept this option. - dosfsck: Now prints messages similar to e2fsck: at start version and feature list; at end number of files (and directories) and number of used/total clusters. This makes the printouts of *fsck at boot time nicer. - dosfsck: -a (auto repair) now turns on -f (salvage files), too. -a should act as non-destructive as possible, so lost clusters should be assigned to files. Otherwise the data in them might be overwritten later. - dosfsck: Don't drop a directory with lots of bad entries in auto-repair mode for the same reason as above. - dosfsck: avoid deleting the whole FAT32 root dir if something is wrong with it (bad start cluster or the like). - general: also create symlinks {mkfs,fsck}.vfat.8 to the respective real man pages.