c556d8
Name: dosfstools
c556d8
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
c556d8
Version: 4.1
c556d8
Release: 6%{?dist}
c556d8
License: GPLv3+
c556d8
Group: Applications/System
c556d8
Source0: http://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
c556d8
URL: http://github.com/dosfstools/dosfstools
c556d8
Patch0: dosfstools-4.1-fix-cluster-size-auto-detect-for-4k-disks.patch
c556d8
c556d8
%description
c556d8
The dosfstools package includes the mkdosfs and dosfsck utilities,
c556d8
which respectively make and check MS-DOS FAT filesystems on hard
c556d8
drives or on floppies.
c556d8
c556d8
%prep
c556d8
%setup -q
c556d8
%patch0 -p1 -b .fix-cluster-size-auto-detect-for-4k-disks
c556d8
c556d8
%build
c556d8
%configure --enable-compat-symlinks
c556d8
make %{?_smp_mflags} CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
c556d8
c556d8
%install
c556d8
make DESTDIR=%{buildroot} install PREFIX=%{_prefix}
c556d8
c556d8
%files
c556d8
%doc ChangeLog COPYING doc/*
c556d8
%{_sbindir}/*
c556d8
%{_mandir}/man8/*
c556d8
c556d8
c556d8
%changelog
c556d8
* Fri Feb 22 2019 Jaroslav Škarvada <jskarvad@redhat.com> - 4.1-6
c556d8
- Fixed mkfs.fat cluster size calculation for disks with 4k sectors
c556d8
  Resolves: rhbz#1651496
c556d8
c556d8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-5
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c556d8
c556d8
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-4
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c556d8
c556d8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-3
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c556d8
c556d8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c556d8
c556d8
* Wed Jan 25 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 4.1-1
c556d8
- New version
c556d8
  Resolves: rhbz#1416392
c556d8
c556d8
* Fri May  6 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 4.0-1
c556d8
- New version
c556d8
  Resolves: rhbz#1333781
c556d8
- Switched to autotools
c556d8
- Various spec file cosmetic fixes (e.g. used optflags)
c556d8
c556d8
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.28-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c556d8
c556d8
* Fri Sep 18 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.28-1
c556d8
- New version
c556d8
  Resolves: rhbz#1263818
c556d8
c556d8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.27-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c556d8
c556d8
* Fri Nov 14 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.27-1
c556d8
- New version
c556d8
  Resolves: rhbz#1078057
c556d8
  Resolves: rhbz#1158101
c556d8
- Updated URL to point to new upstream
c556d8
- Removed RPM artefacts from SPEC
c556d8
c556d8
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.26-3
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c556d8
c556d8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.26-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c556d8
c556d8
* Mon Mar 10 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.26-1
c556d8
- New version
c556d8
  Resolves: rhbz#1074172
c556d8
c556d8
* Mon Feb 17 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.25-1
c556d8
- New version
c556d8
  Resolves: rhbz#1055259
c556d8
c556d8
* Mon Nov 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.24-1
c556d8
- New version
c556d8
  Resolves: rhbz#1034058
c556d8
- Dropped fix-big-endian patch (upstreamed)
c556d8
c556d8
* Fri Nov 22 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.23-3
c556d8
- Used /usr/sbin directory instead of /sbin
c556d8
c556d8
* Fri Nov 22 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.23-2
c556d8
- Fixed dosfsck on big endian platforms
c556d8
  Resolves: rhbz#1029695
c556d8
c556d8
* Tue Oct 15 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.23-1
c556d8
- New version
c556d8
  Resolves: rhbz#1019081
c556d8
- Fixed bogus dates in changelog (best effort)
c556d8
c556d8
* Thu Aug  8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.22-4
c556d8
- Fixed sources URL
c556d8
c556d8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.22-3
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c556d8
c556d8
* Wed Jul 24 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.22-2
c556d8
- Fixed ownership of man directories
c556d8
  Resolves: rhbz#987735
c556d8
c556d8
* Tue Jul 23 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.22-1
c556d8
- New version
c556d8
  Resolves: rhbz#987337
c556d8
c556d8
* Wed Jul 17 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.21-1
c556d8
- New version
c556d8
  Resolves: rhbz#985279
c556d8
- Dropped manpage-fix patch (upstreamed)
c556d8
c556d8
* Tue Jun 25 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.20-3
c556d8
- Fixed fsck.vfat manpage to be consistent with the tool options
c556d8
c556d8
* Fri Jun 14 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.20-2
c556d8
- Installed compatibility symlinks
c556d8
c556d8
* Thu Jun 13 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.20-1
c556d8
- New version
c556d8
  Resolves: rhbz#973937
c556d8
c556d8
* Wed Jun 12 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.19-1
c556d8
- New version
c556d8
  Resolves: rhbz#971686
c556d8
c556d8
* Tue Jun  4 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.17-1
c556d8
- New version
c556d8
  Resolves: rhbz#968400
c556d8
- Dropped fix-label patch (upstreamed)
c556d8
c556d8
* Thu May  2 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.16-3
c556d8
- Fixed dosfslabel (by fix-label patch)
c556d8
  Resolves: rhbz#948055
c556d8
c556d8
* Mon Mar 11 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.16-2
c556d8
- Source0 URL synced with upstream
c556d8
c556d8
* Wed Mar  6 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.16-1
c556d8
- New version
c556d8
  Resolves: rhbz#916913
c556d8
c556d8
* Fri Feb 22 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.15-1
c556d8
- New version
c556d8
  Resolves: rhbz#913884
c556d8
- Dropped patches: fix-alloc-rootdir-entry, dev-detect-fix (all upstreamed)
c556d8
c556d8
* Thu Jan 24 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.14-1
c556d8
- New version
c556d8
  Resolves: rhbz#903581
c556d8
- Switched to xz compressed sources
c556d8
- Dropped dosfslabel-fat32 patch (upstreamed)
c556d8
c556d8
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.12-3
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c556d8
c556d8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.12-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c556d8
c556d8
* Sat Oct 29 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.12-1
c556d8
- New version, all patches were rebased
c556d8
  Resolves: rhbz#749969
c556d8
c556d8
* Fri Jun 03 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-5
c556d8
- Fixed device partitions detection
c556d8
  Resolves: rhbz#710480
c556d8
c556d8
* Tue Apr 05 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-4
c556d8
- Fixed dosfslabel on FAT32 (#693662)
c556d8
c556d8
* Mon Feb 14 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-3
c556d8
- Fixed buffer overflow in alloc_rootdir_entry (#674095)
c556d8
- Dropped fix-reclaim-file patch, obsoleted by fix-alloc-rootdir-entry patch
c556d8
c556d8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-2
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c556d8
c556d8
* Thu Jan 06 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.11-1
c556d8
- New version
c556d8
- Fixed buffer overflow in reclaim file (#660154)
c556d8
c556d8
* Fri Oct 08 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.10-2
c556d8
- Fixed dosfsck and dosfslabel on s390x (#624596)
c556d8
c556d8
* Wed Oct 06 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.10-1
c556d8
- Bump to newer release
c556d8
c556d8
* Mon May 31 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.9-3
c556d8
- Rebuilt with -fno-strict-aliasing
c556d8
c556d8
* Fri Feb 26 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.9-2
c556d8
- Used bz2 compresed sources
c556d8
c556d8
* Fri Feb 26 2010 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.9-1
c556d8
- Bump to newer release
c556d8
- Removed mkdosfs-ygg from Obsoletes/Provides tag as it looks really deprecated
c556d8
- Drop bounds patch - fixed upstream
c556d8
c556d8
* Sun Dec 06 2009 Lubomir Rintel <lkundrak@v3.sk> - 3.0.6-1
c556d8
- Bump to newer release
c556d8
- Fix numerous out-of-bound writes
c556d8
c556d8
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 3.0.1-6
c556d8
- Use bzipped upstream tarball.
c556d8
c556d8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-5
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c556d8
c556d8
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-4
c556d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c556d8
c556d8
* Fri Jan 30 2009 Stepan Kasal <skasal@redhat.com> - 3.0.1-3
c556d8
- fix the previous commit
c556d8
- omit the most obsolete documents
c556d8
- after writing the label, exit with exit code 0 (#468050)
c556d8
c556d8
* Fri Jan 30 2009 Stepan Kasal <skasal@redhat.com> - 3.0.1-2
c556d8
- install all the documentation to the usual docdir (#225707)
c556d8
c556d8
* Mon Jan 19 2009 Peter Vrabec <pvrabec@redhat.com> - 3.0.1-1
c556d8
- upgrade
c556d8
- include ChangeLog and COPYING (#225707)
c556d8
c556d8
* Mon Nov 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.0.0-2
c556d8
- apply vfat timing fix (bz 448247)
c556d8
c556d8
* Tue Sep 30 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.0.0-1
c556d8
- update to 3.0.0
c556d8
c556d8
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11-10
c556d8
- fix license tag
c556d8
- fix patch to apply with fuzz=0
c556d8
c556d8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.11-9
c556d8
- Autorebuild for GCC 4.3
c556d8
c556d8
* Tue Apr  3 2007 Jeremy Katz <katzj@redhat.com> - 2.11-8
c556d8
- add dosfslabel (originally by Peter Jones)
c556d8
c556d8
* Wed Feb 21 2007 Peter Vrabec <pvrabec@redhat.com> 2.11-7
c556d8
- fix debuginfo package (#225707)
c556d8
c556d8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.11-6.1
c556d8
- rebuild
c556d8
c556d8
* Fri Jun 30 2006 Peter Vrabec <pvrabec@redhat.com> 2.11-6
c556d8
- fix upgrade path (#197231)
c556d8
c556d8
* Thu May 11 2006 Peter Vrabec <pvrabec@redhat.com> 2.11-5
c556d8
- fix work with disk image files > 4GB (#191198)
c556d8
c556d8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.11-4.2
c556d8
- bump again for double-long bug on ppc(64)
c556d8
c556d8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.11-4.1
c556d8
- rebuilt for new gcc4.1 snapshot and glibc changes
c556d8
c556d8
* Fri Dec 16 2005 Jakub Jelinek <jakub@redhat.com> 2.11-4
c556d8
- rebuilt with GCC 4.1
c556d8
- make it build with -D_FORTIFY_SOURCE=2
c556d8
c556d8
* Sun Nov 06 2005 Peter Vrabec <pvrabec@redhat.com> 2.11-3
c556d8
- fix LFS (#172369)
c556d8
c556d8
* Fri Nov 04 2005 Peter Vrabec <pvrabec@redhat.com> 2.11-2
c556d8
- fix LFS
c556d8
c556d8
* Wed Oct 12 2005 Peter Vrabec <pvrabec@redhat.com> 2.11-1
c556d8
- upgrade
c556d8
c556d8
* Thu Apr 28 2005 Peter Vrabec <pvrabec@redhat.com> 2.10-3
c556d8
- if HDIO_GETGEO fails, print a warning and default to H=255,S=63 (#155950)
c556d8
c556d8
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 2.10-2
c556d8
- rebuild
c556d8
c556d8
* Thu Dec 09 2004 Peter Vrabec <pvrabec@redhat.com>  2.10-1
c556d8
- updated to 2.10
c556d8
c556d8
* Wed Nov 10 2004 Martin Stransky <stransky@redhat.com> 2.8-16
c556d8
- add check for minimum count of clusters in FAT16 and FAT32
c556d8
c556d8
* Wed Oct 13 2004 Peter Vrabec <pvrabec@redhat.com> 2.8-15
c556d8
- fix fat_length type in boot.c. (same problem like in RHEL bug #135293)
c556d8
c556d8
* Wed Oct  6 2004 Jeremy Katz <katzj@redhat.com> - 2.8-14
c556d8
- fix rebuilding (#134834)
c556d8
c556d8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c556d8
- rebuilt
c556d8
c556d8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c556d8
- rebuilt
c556d8
c556d8
* Wed Sep  3 2003 Bill Nottingham <notting@redhat.com> 2.8-11
c556d8
- rebuild
c556d8
c556d8
* Wed Sep  3 2003 Bill Nottingham <notting@redhat.com> 2.8-10
c556d8
- don't rely on <linux/msdos_fs.h> including <asm/byteorder.h>
c556d8
c556d8
* Tue Jun 24 2003 Jeremy Katz <katzj@redhat.com> 2.8-9
c556d8
- rebuild
c556d8
c556d8
* Tue Jun 24 2003 Jeremy Katz <katzj@redhat.com> 2.8-8
c556d8
- add patch from Vince Busam (http://www.sixpak.org/dosfstools/) to do auto 
c556d8
  creation of FAT32 on large devices (#97308)
c556d8
c556d8
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
c556d8
- rebuilt
c556d8
c556d8
* Wed Feb 19 2003 Jeremy Katz <katzj@redhat.com> 2.8-6
c556d8
- handle getting the size of loop devices properly (part of #84351)
c556d8
c556d8
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
c556d8
- rebuilt
c556d8
c556d8
* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.8-4
c556d8
- Patch2 for errno
c556d8
c556d8
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
c556d8
- automated rebuild
c556d8
c556d8
* Thu May 23 2002 Tim Powers <timp@redhat.com>
c556d8
- automated rebuild
c556d8
c556d8
* Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
c556d8
- update to version 2.8
c556d8
c556d8
* Fri Jul  6 2001 Preston Brown <pbrown@redhat.com>
c556d8
- major upgrade to v2.7.
c556d8
- forward port old ia64 patch (now incorporated) s390 additions
c556d8
c556d8
* Tue Mar 20 2001 Oliver Paukstadt <oliver.paukstadt@millenux.com>
c556d8
- ported to zSeries (64 bit)
c556d8
c556d8
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
c556d8
- automatic rebuild
c556d8
c556d8
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
c556d8
- hard link mkdosfs
c556d8
c556d8
* Thu Jun 15 2000 Matt Wilson <msw@redhat.com>
c556d8
- FHS
c556d8
- patch to build against 2.4 kernel headers (patch3)
c556d8
c556d8
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
c556d8
- fix for ia64
c556d8
c556d8
* Thu Feb  3 2000 Matt Wilson <msw@redhat.com>
c556d8
- remove mkdosfs.8 symlink, symlink mkdosfs.8.gz to mkfs.msdos.8.gz
c556d8
c556d8
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
c556d8
- fix descriptions and summary
c556d8
- man pages are compressed
c556d8
c556d8
* Thu Dec 16 1999 Cristian Gafton <gafton@redhat.com>
c556d8
- fix the 2.88MB drives (patch from hjl)
c556d8
c556d8
* Mon Aug 16 1999 Matt Wilson <msw@redhat.com>
c556d8
- updated to 2.2
c556d8
c556d8
* Sun Jun 27 1999 Matt Wilson <msw@redhat.com>
c556d8
- changed to new maintainer, renamed to dosfstools
c556d8
c556d8
* Sat Apr 17 1999 Jeff Johnson <jbj@redhat.com>
c556d8
- fix mkdosfs on sparc (#1746)
c556d8
c556d8
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
c556d8
- auto rebuild in the new build environment (release 10)
c556d8
c556d8
* Thu Jan 21 1999 Bill Nottingham <notting@redhat.com>
c556d8
- build for RH 6.0
c556d8
c556d8
* Tue Oct 13 1998 Cristian Gafton <gafton@redhat.com>
c556d8
- avoid using unsinged long on alphas 
c556d8
c556d8
* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
c556d8
- build root
c556d8
c556d8
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
c556d8
- translations modified for de, fr, tr
c556d8
c556d8
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
c556d8
- built against glibc