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