Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37280394
en ru br
ALT Linux repos
S:4.2-alt2
5.0: 2.11-alt5
4.1: 2.11-alt4
4.0: 2.11-alt4
3.0: 2.11-alt3

Group :: File tools
RPM: dosfstools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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 at 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin