Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 61d96b330bb9ab9f0af5be59b9457aa5 > files > 6

dosfstools-2.11-alt4.src.rpm

Name: dosfstools
Version: 2.11
Release: alt4

%def_without kernel26

Summary: Utilities to create and check MS-DOS FAT filesystems
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÙ ÄÌÑ ÓÏÚÄÁÎÉÑ É ÐÒÏ×ÅÒËÉ ÆÁÊÌÏ×ÙÈ ÓÉÓÔÅÍ MS-DOS FAT
License: GPL
Group: File tools
Packager: Ilya Evseev <evseev@altlinux.ru>

Source:  ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/%name-%version.src.tar.gz
Patch:   %name-2.10-noumount-subfs.patch
Patch1:  %name-2.11-alt-extbootcode.patch
Patch2:  %name-2.11-alt-types.patch
Patch3:  %name-2.11-alt-fsck866.patch
URL:     ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools

Obsoletes: mkdosfs-ygg

%if_with kernel26
BuildPreReq: kernel-headers-std26-up
%else
BuildPreReq: kernel-headers-std
%endif

%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 ru_RU.KOI8-R
÷ ÜÔÏÍ ÐÁËÅÔÅ ÓÏÄÅÒÖÁÔÓÑ Ä×Å ÕÔÉÌÉÔÙ: mkdosfs ÄÌÑ ÆÏÒÍÁÔÉÒÏ×ÁÎÉÑ
ÄÉÓËÅÔ É ÒÁÚÄÅÌÏ× ÆÏÒÍÁÔÏ× FAT É FAT32, ÐÒÉÎÑÔÙÈ × MS-DOS É Windows,
Á ÔÁËÖÅ dosfsck ÄÌÑ ÐÒÏ×ÅÒËÉ ÔÁËÉÈ ÄÉÓËÏ× ÎÁ ÌÏÇÉÞÅÓËÉÅ ÏÛÉÂËÉ.

%prep
%setup -q
%patch -p1
%patch1 -b .bootcode
# %patch2 -p1
%patch3 -p1

%build
%make_build PREFIX=/ CFLAGS="$RPM_OPT_FLAGS `getconf LFS_CFLAGS`"

%install
%__install -p -m644 dosfsck/README README.fsck
%__install -p -m644 mkdosfs/README README.mkdosfs
%makeinstall PREFIX=$RPM_BUILD_ROOT MANDIR=$RPM_BUILD_ROOT%_man8dir

%files
/sbin/*
%_mandir/man?/*
%doc CHANGES TODO README*

%changelog
* Thu Jan  4 2007 Ilya Evseev <evseev@altlinux.ru> 2.11-alt4
- Added patch #3 that fixes bug #10433:
  dosfsck fails on russian filenames in CP866 charset
- Added macro for building under ALC3.0 via 'rpmbuild --with kernel26 ...',
  not needed under ALM2.4 and modern Sisyphus/ALM3.1

* Wed Sep 14 2005 Kachalov Anton <mouse@altlinux.ru> 2.11-alt3
- Compiling with LFS support

* Thu Apr 14 2005 Anton D. Kachalov <mouse@altlinux.org> 2.11-alt2
- Compiling with kernel-headers-std26-up

* Sun Apr  3 2005 Ilya Evseev <evseev@altlinux.ru> 2.11-alt1
- Updated to version 2.11
- Implemented mkdosfs feature: copy bootloader code from another file
- Specfile fixes:
   + added russian description
   + BuildPreReq: kernel-headers-std replaced to kernel-headers
   + disabled source #1, patch #0: no more needed?

* Tue Jul 20 2004 Anton Farygin <rider@altlinux.ru> 2.10-alt2
- fixed #4844

* Fri Apr 23 2004 Anton Farygin <rider@altlinux.ru> 2.10-alt1
- new version

* Wed Aug 20 2003 Dmitry V. Levin <ldv@altlinux.org> 2.9-alt1
- Updated to 2.9
- Fixed build (mdk).
- Updated build dependencies.

* Fri Oct 04 2002 Rider <rider@altlinux.ru> 2.8-alt2
- rebuild

* Sat Jan 05 2002 Rider <rider@altlinux.ru> 2.8-alt1
- 2.8

* Thu Feb 15 2001 Dmitry V. Levin <ldv@fandra.org> 2.7-ipl1mdk
- 2.7

* Wed Dec 06 2000 Dmitry V. Levin <ldv@fandra.org> 2.6-ipl1mdk
- RE adaptions.

* Wed Nov 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.6-1mdk
- remove ExclusiveArch tag.
- new and shiny source.
- put in correct optimizations.

* Thu Jul 20 2000 François Pons <fpons@mandrakesoft.com> 2.4-3mdk
- further spec cleaning.

* Mon Jul 17 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.4-2mdk
- remove man-pages compression and let spec-helper do the job
- Stefan van der Eijk <s.vandereijk@chello.nl>
	* makeinstall macro
	* macroszifications
	* added %clean

* Fri Mar 31 2000 François Pons <fpons@mandrakesoft.com> 2.4-1mdk
- updated Group.
- 2.4.

* Sun Mar 19 2000 John Buswell <johnb@mandrakesoft.com> 2.2-7mdk
- Added PPC support

* Mon Jan 17 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.2-6mdk
- ExclusiveArch x86.

* Wed Dec 01 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Build release.

* Thu Aug 26 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Stripping again (#60).
- Fix defatttr root,root.

* 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.