Name: dosfstools Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux. Summary(ja): LinuxでMS-DOS FAT filesystemsを作成/チェックするユーティリティ Version: 2.11 Release: 6%{?_dist_release} License: GPL Group: Applications/System Source: ftp://ibiblio.org/pub/Linux/system/filesystems/dosfs/dosfstools-%{version}.src.tar.gz Patch1: dosfstools-2.7-argfix.patch Patch2: dosfstools-2.11-assumeKernel26.patch Patch4: dosfstools-2.11-fortify.patch BuildRoot: %{_tmppath}/%{name}-root Obsoletes: mkdosfs-ygg %description The dosfstools package includes the mkdosfs and dosfsck utilities, which respectively make and check MS-DOS FAT filesystems on hard drives or on floppies. %description -l ja dosfstools パッケージには mkdosfs と dosfsck のユーティリティが含まれ、 それぞれハードドライブやフロッピーにおける MS-DOS FAT ファイルシステムの 作成とチェックを行います。 %prep %setup -q %patch1 -p1 -b .argfix %patch2 -p1 -b .assumeKernel26 %patch4 -p1 -b .fortify %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_syssbindir} mkdir -p %{buildroot}/%{_mandir}/man8 install -m755 -s mkdosfs/mkdosfs %{buildroot}%{_syssbindir}/mkdosfs ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.msdos ln %{buildroot}%{_syssbindir}/mkdosfs %{buildroot}%{_syssbindir}/mkfs.vfat install -m755 -s dosfsck/dosfsck %{buildroot}%{_syssbindir}/dosfsck ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.msdos ln %{buildroot}%{_syssbindir}/dosfsck %{buildroot}%{_syssbindir}/fsck.vfat install -m 644 mkdosfs/mkdosfs.8 %{buildroot}%{_mandir}/man8 ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.msdos.8.gz ln -sf mkdosfs.8.gz %{buildroot}%{_mandir}/man8/mkfs.vfat.8.gz install -m 644 dosfsck/dosfsck.8 %{buildroot}%{_mandir}/man8 ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.msdos.8.gz ln -sf dosfsck.8.gz %{buildroot}%{_mandir}/man8/fsck.vfat.8.gz # Prepare for packed documents cp -p dosfsck/CHANGES CHANGES.dosfsck cp -p dosfsck/COPYING COPYING.dosfsck cp -p dosfsck/README README.dosfsck cp -p mkdosfs/ANNOUNCE ANNOUNCE.mkdosfs cp -p mkdosfs/COPYING COPYING.mkdosfs cp -p mkdosfs/ChangeLog ChangeLog.mkdosfs cp -p mkdosfs/README README.mkdosfs %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc *.dosfsck *.mkdosfs %{_syssbindir}/* %{_mandir}/man8/* %changelog * Sat Jul 26 2008 Shu KONNO 2.11-6vl5 - applied new versioning policy and spec in utf-8 * Wed Jun 7 2006 Ryoichi INAGAKI 2.11-5vl1 - updated to 2.11 based on Fedora development * Thu May 11 2006 Peter Vrabec 2.11-5 - fix work with disk image files > 4GB (#191198) * Wed Oct 12 2005 Peter Vrabec 2.11-1 - upgrade - fixed %doc section * Sun Feb 9 2003 Daisuke SUZUKI 2.8-4vl1 - merged with Vine Linux package based on rawhide package. - rebuild on new environment. * Sun Mar 31 2002 MATSUBAYASHI Kohji 2.8-0vl3 - fixed typo (s/dosfcsk/dosfsck/) * Tue Feb 05 2002 Toru Sagami 2.8-0vl2 - added fsck.msdos.8 symlink * Thu Aug 02 2001 Toru Sagami - 2.8-0vl1 * Sat Feb 17 2001 Toru Sagami - 2.7-0vl1 * Sun Jan 21 2001 MATSUBAYASHI 'Shaolin' Kohji - 2.6-0vl2 - use better macros (%%{_syssbidir}) - fixed incorrect symlink to dosfsck :-) * Sun Jan 14 2001 Toru Sagami - 2.6-0vl1 - based on 2.2-4 in RedHat 6.2 - added Japanese summary and description - use macros and add some docs * Thu Dec 12 2002 Elliot Lee 2.8-4 - Patch2 for errno * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Thu Mar 07 2002 Florian La Roche - update to version 2.8 * Fri Jul 6 2001 Preston Brown - major upgrade to v2.7. - forward port old ia64 patch (now incorporated) s390 additions * Tue Mar 20 2001 Oliver Paukstadt - ported to zSeries (64 bit) * Wed Jul 12 2000 Prospector - automatic rebuild * Fri Jun 17 2000 Bill Nottingham - hard link mkdosfs * Thu Jun 15 2000 Matt Wilson - FHS - patch to build against 2.4 kernel headers (patch3) * Fri Apr 28 2000 Bill Nottingham - fix for ia64 * Thu Feb 3 2000 Matt Wilson - remove mkdosfs.8 symlink, symlink mkdosfs.8.gz to mkfs.msdos.8.gz * Wed Feb 02 2000 Cristian Gafton - fix descriptions and summary - man pages are compressed * Thu Dec 16 1999 Cristian Gafton - fix the 2.88MB drives (patch from hjl) * Mon Aug 16 1999 Matt Wilson - updated to 2.2 * Sun Jun 27 1999 Matt Wilson - changed to new maintainer, renamed to dosfstools * Sat Apr 17 1999 Jeff Johnson - fix mkdosfs on sparc (#1746) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 10) * Thu Jan 21 1999 Bill Nottingham - build for RH 6.0 * Tue Oct 13 1998 Cristian Gafton - avoid using unsinged long on alphas * Sun Aug 16 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Thu Jul 10 1997 Erik Troan - built against glibc