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