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