4e8dae
Summary: Programs for accessing MS-DOS disks without mounting the disks
4e8dae
Name: mtools
4e8dae
Version: 4.0.18
c47e3e
Release: 5%{?dist}
4e8dae
License: GPLv3+
4e8dae
Group: Applications/System
4e8dae
Source0: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.bz2
4e8dae
Url: http://mtools.linux.lu/
4e8dae
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4e8dae
Patch0: mtools-3.9.6-config.patch
4e8dae
Requires: info
4e8dae
4e8dae
BuildRequires: texinfo, autoconf
4e8dae
4e8dae
%description
4e8dae
Mtools is a collection of utilities for accessing MS-DOS files.
4e8dae
Mtools allow you to read, write and move around MS-DOS filesystem
4e8dae
files (normally on MS-DOS floppy disks).  Mtools supports Windows95
4e8dae
style long file names, OS/2 XDF disks, and 2m disks
4e8dae
4e8dae
Mtools should be installed if you need to use MS-DOS disks
4e8dae
4e8dae
%prep
4e8dae
%setup -q -n %{name}-%{version}
4e8dae
%patch0 -p1 -b .conf
4e8dae
4e8dae
%build
4e8dae
autoreconf -fiv
4e8dae
%configure --disable-floppyd
4e8dae
make %{?_smp_mflags}
4e8dae
4e8dae
%install
4e8dae
rm -rf $RPM_BUILD_ROOT
4e8dae
mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir}
4e8dae
%makeinstall
4e8dae
install -m644 mtools.conf $RPM_BUILD_ROOT/etc
4e8dae
gzip -9f $RPM_BUILD_ROOT/%{_infodir}/*
4e8dae
4e8dae
# We aren't shipping this.
4e8dae
find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \;
4e8dae
4e8dae
# dir.gz is handled in %%post and %%preun sections
4e8dae
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir.gz
4e8dae
4e8dae
ln -s mtools.5.gz %{buildroot}%{_mandir}/man5/mtools.conf.5.gz
4e8dae
4e8dae
%clean
4e8dae
rm -rf $RPM_BUILD_ROOT
4e8dae
4e8dae
%post
4e8dae
if [ -f %{_infodir}/mtools.info ]; then
4e8dae
    /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :;
4e8dae
fi
4e8dae
4e8dae
%preun
4e8dae
if [ "$1" -eq 0 ]; then
4e8dae
    if [ -f %{_infodir}/mtools.info ]; then
4e8dae
        /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :;
4e8dae
    fi
4e8dae
fi
4e8dae
4e8dae
%files
4e8dae
%defattr(-,root,root)
4e8dae
%config(noreplace) /etc/mtools.conf
4e8dae
%doc COPYING README Release.notes
4e8dae
%{_bindir}/*
4e8dae
%{_mandir}/*/*
4e8dae
%{_infodir}/mtools.info*
4e8dae
4e8dae
%changelog
c47e3e
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.0.18-5
c47e3e
- Mass rebuild 2014-01-24
c47e3e
c47e3e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.0.18-4
c47e3e
- Mass rebuild 2013-12-27
c47e3e
4e8dae
* Tue Mar 26 2013 Adam Tkac <atkac redhat com> - 4.0.18-3
4e8dae
- use bz2 compressed source instead of lz
4e8dae
4e8dae
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.18-2
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4e8dae
4e8dae
* Thu Jan 10 2013 Adam Tkac <atkac redhat com> - 4.0.18-1
4e8dae
- update to 4.0.18
4e8dae
4e8dae
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.17-3
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4e8dae
4e8dae
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.17-2
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4e8dae
4e8dae
* Wed Jun 29 2011 Adam Tkac <atkac redhat com> 4.0.17-1
4e8dae
- update to 4.0.17
4e8dae
4e8dae
* Tue Apr 19 2011 Adam Tkac <atkac redhat com> 4.0.16-1
4e8dae
- update to 4.0.16
4e8dae
4e8dae
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.15-2
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
4e8dae
4e8dae
* Wed Oct 20 2010 Adam Tkac <atkac redhat com> 4.0.15-1
4e8dae
- update to 4.0.15
4e8dae
4e8dae
* Thu Mar 11 2010 Jan Görig <jgorig redhat com> 4.0.13-2
4e8dae
- added symlink to config manpage
4e8dae
4e8dae
* Mon Mar 01 2010 Adam Tkac <atkac redhat com> 4.0.13-1
4e8dae
- update to 4.0.13
4e8dae
4e8dae
* Tue Feb 23 2010 Adam Tkac <atkac redhat com> 4.0.12-2
4e8dae
- change license to GPLv3+
4e8dae
4e8dae
* Tue Nov 10 2009 Adam Tkac <atkac redhat com> 4.0.12-1
4e8dae
- update to 4.0.12
4e8dae
4e8dae
* Tue Sep 01 2009 Adam Tkac <atkac redhat com> 4.0.11-1
4e8dae
- update to 4.0.11
4e8dae
4e8dae
* Tue Aug 11 2009 Adam Tkac <atkac redhat com> 4.0.10-4
4e8dae
- fix installation with --excludedocs (#515932)
4e8dae
4e8dae
* Tue Aug 11 2009 Adam Tkac <atkac redhat com> 4.0.10-3
4e8dae
- correct source URL
4e8dae
4e8dae
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.10-2
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4e8dae
4e8dae
* Tue Apr 04 2009 Adam Tkac <atkac redhat com> 4.0.10-1
4e8dae
- update to 4.0.10
4e8dae
4e8dae
* Mon Mar 09 2009 Adam Tkac <atkac redhat com> 4.0.9-1
4e8dae
- updated to 4.0.9
4e8dae
- merged mtools-3.9.7-bigdisk.patch to config patch
4e8dae
- mtools400-rh480112.patch merged to upstream
4e8dae
4e8dae
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-4
4e8dae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4e8dae
4e8dae
* Wed Jan 21 2009 Adam Tkac <atkac redhat com> 4.0.0-3
4e8dae
- fixed off-by-two error in unix_name function (#480112)
4e8dae
4e8dae
* Mon Jan 12 2009 Adam Tkac <atkac redhat com> 4.0.0-2
4e8dae
- don't ship infodir/dir.gz (#478322)
4e8dae
4e8dae
* Mon Dec 01 2008 Adam Tkac <atkac redhat com> 4.0.0-1
4e8dae
- updated to 4.0.0
4e8dae
4e8dae
* Wed Nov 19 2008 Adam Tkac <atkac redhat com> 4.0.0-0.1.pre2
4e8dae
- updated to 4.0.0_pre2
4e8dae
4e8dae
* Tue Nov 11 2008 Adam Tkac <atkac redhat com> 4.0.0-0.1.pre1
4e8dae
- updated to 4.0.0_pre1
4e8dae
4e8dae
* Fri Oct 03 2008 Adam Tkac <atkac redhat com> 3.9.11-5
4e8dae
- mtools-3.9.9-noargs.patch and mtools-3.9.6-paths.patch are not needed
4e8dae
- rebuild (#465040)
4e8dae
4e8dae
* Tue Feb 19 2008 Adam Tkac <atkac redhat com> 3.9.11-4
4e8dae
- fixed building on x86_64 (build with --disable-floppyd)
4e8dae
4e8dae
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.9.11-3.1
4e8dae
- Autorebuild for GCC 4.3
4e8dae
4e8dae
* Mon Jan 14 2008 Adam Tkac <atkac redhat com> 3.9.11-2.1
4e8dae
- corrected post and preun sections (#428478)
4e8dae
- fix rpmlint errors
4e8dae
- start use autoreconf
4e8dae
4e8dae
* Wed Aug 22 2007 Adam Tkac <atkac redhat com> 3.9.11-2
4e8dae
- rebuild (BuildID feature)
4e8dae
- change license to GPLv2+
4e8dae
4e8dae
* Wed May 31 2007 Adam Tkac <atkac redhat com> 3.9.11-1
4e8dae
- updated to latest upstream (3.9.11)
4e8dae
4e8dae
* Fri May 11 2007 Adam Tkac <atkac redhat com> 3.9.10-7
4e8dae
- in the end script has been completely rewriten by <skasal@redhat.com>
4e8dae
4e8dae
* Fri May 11 2007 Adam Tkac <atkac redhat com> 3.9.10-6
4e8dae
- some minor changes in sh patch (changed sh to bash)
4e8dae
4e8dae
* Fri May 11 2007 Adam Tkac <atkac redhat com> 3.9.10-5
4e8dae
- patch to #239741 by Matej Cepl <mcepl@redhat.com>
4e8dae
  (rewrites /usr/bin/amuFormat.sh to /bin/sh)
4e8dae
4e8dae
* Tue Feb 05 2007 Adam Tkac <atkac redhat com> 3.9.10-4
4e8dae
- fixed some unstandard statements in spec file (#226162)
4e8dae
4e8dae
* Mon Jan 22 2007 Adam Tkac <atkac redhat com> 3.9.10-3
4e8dae
- Resolves: #223712
4e8dae
- applied Ville Skytta's (ville.skytta "antispam" iki.fi) patch
4e8dae
  (install-info scriptlet failures)
4e8dae
4e8dae
* Wed Aug 09 2006 Jitka Kudrnacova <jkudrnac@redhat.com> - 3.9.10-2
4e8dae
- rebuilt to prevent corruption on the 13th character (#195528)
4e8dae
4e8dae
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.9.10-1.2.2
4e8dae
- rebuild
4e8dae
4e8dae
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.9.10-1.2.1
4e8dae
- bump again for double-long bug on ppc(64)
4e8dae
4e8dae
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.9.10-1.2
4e8dae
- rebuilt for new gcc4.1 snapshot and glibc changes
4e8dae
4e8dae
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
4e8dae
- rebuilt
4e8dae
4e8dae
* Wed Oct 19 2005 Tim Waugh <twaugh@redhat.com> 3.9.10-1
4e8dae
- 3.9.10.
4e8dae
4e8dae
* Mon Mar 21 2005 Tim Waugh <twaugh@redhat.com> 3.9.9-13
4e8dae
- Fixed memset() usage bug.
4e8dae
4e8dae
* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.9.9-12
4e8dae
- Fix build (bug #151135).
4e8dae
4e8dae
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 3.9.9-11
4e8dae
- Rebuild for new GCC.
4e8dae
4e8dae
* Fri Dec 10 2004 Tim Waugh <twaugh@redhat.com> 3.9.9-10
4e8dae
- Fixed mpartition --help output (bug #65293).
4e8dae
4e8dae
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
4e8dae
- rebuilt
4e8dae
4e8dae
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
4e8dae
- rebuilt
4e8dae
4e8dae
* Thu Jan  8 2004 Tim Waugh <twaugh@redhat.com> 3.9.9-7
4e8dae
- Fix mistaken use of '&' instead of '&&'.
4e8dae
4e8dae
* Tue Dec  9 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-6
4e8dae
- Remove last (incorrect) change.
4e8dae
4e8dae
* Tue Dec  9 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-5
4e8dae
- Fix mistaken variable assignment in comparison (bug #110823).
4e8dae
4e8dae
* Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com>
4e8dae
- Build requires texinfo (bug #111000).
4e8dae
4e8dae
* Sat Oct 25 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-4
4e8dae
- Rebuilt.
4e8dae
4e8dae
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
4e8dae
- rebuilt
4e8dae
4e8dae
* Thu May 22 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-2
4e8dae
- Fix mcomp with no arguments (bug #91372).
4e8dae
4e8dae
* Tue Mar 18 2003 Tim Waugh <twaugh@redhat.com> 3.9.9-1
4e8dae
- 3.9.9.
4e8dae
- Add config lines for hpoj photo-card access on drive P:.
4e8dae
4e8dae
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
4e8dae
- rebuilt
4e8dae
4e8dae
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
4e8dae
- rebuilt in current collinst
4e8dae
4e8dae
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
4e8dae
- automated rebuild
4e8dae
4e8dae
* Thu May 23 2002 Tim Powers <timp@redhat.com>
4e8dae
- automated rebuild
4e8dae
4e8dae
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
4e8dae
- automated rebuild
4e8dae
4e8dae
* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.8-2
4e8dae
- Add patch from maintainer
4e8dae
4e8dae
* Mon May 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.8-1
4e8dae
- 3.9.8 final
4e8dae
4e8dae
* Mon May 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.8-0.pre1.0
4e8dae
- 3.9.8pre1
4e8dae
4e8dae
* Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-6
4e8dae
- Fix support for disks > 1.44 MB (#40857)
4e8dae
4e8dae
* Tue May  8 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.9.7-5
4e8dae
- Update to 20010507
4e8dae
4e8dae
* Wed Jan 10 2001 Bernhard Rosenkraenzer <bero@redhat.com>
4e8dae
- Apply the author's current patches, fixes among other things
4e8dae
  ZIP drive support and doesn't crash when trying to access a BSD disk
4e8dae
4e8dae
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
4e8dae
- automatic rebuild
4e8dae
4e8dae
* Sat Jun 17 2000 Trond Eivind Glomsrod <teg@redhat.com>
4e8dae
- specify ownership
4e8dae
4e8dae
* Wed Jun 07 2000 Trond Eivind Glomsrod <teg@redhat.com>
4e8dae
- Version 3.9.7
4e8dae
- use %%{_mandir}, %%{_makeinstall}, %%configure, %%makeinstall
4e8dae
  and %%{_tmppath}
4e8dae
4e8dae
* Wed Feb 09 2000 Cristian Gafton <gafton@redhat.com>
4e8dae
- get rid of mtools.texi as a doc file (we have the info file)
4e8dae
- fix config file so mtools work (#9264)
4e8dae
- fix references to the config file to be /etc/mtools.conf
4e8dae
4e8dae
* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
4e8dae
- expunge floppyd
4e8dae
4e8dae
* Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
4e8dae
- man pages are compressed
4e8dae
- fix description
4e8dae
- version 3.9.6
4e8dae
4e8dae
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
4e8dae
- auto rebuild in the new build environment (release 5)
4e8dae
4e8dae
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
4e8dae
- patch to make the texi sources compile
4e8dae
- fix the spec file group and description
4e8dae
- fixed floppy drive sizes
4e8dae
4e8dae
* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
4e8dae
- build for 6.0
4e8dae
- fixed invalid SAMPLE_FILE configuration file
4e8dae
4e8dae
* Wed Sep 02 1998 Michael Maher <mike@redhat.com>
4e8dae
- Built package for 5.2.
4e8dae
- Updated Source to 3.9.1.
4e8dae
- Cleaned up spec file.
4e8dae
4e8dae
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
4e8dae
- translations modified for de, fr, tr
4e8dae
4e8dae
* Fri Apr 10 1998 Cristian Gafton <gafton@redhat.com>
4e8dae
- updated to 3.8
4e8dae
4e8dae
* Tue Oct 21 1997 Otto Hammersmith
4e8dae
- changed buildroot to /var/tmp, rather than /tmp
4e8dae
- use install-info
4e8dae
4e8dae
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
4e8dae
- built against glibc
4e8dae
4e8dae
* Thu Apr 17 1997 Erik Troan <ewt@redhat.com>
4e8dae
- Changed sysconfdir to be /etc
4e8dae
4e8dae
* Mon Apr 14 1997 Michael Fulbright <msf@redhat.com>
4e8dae
- Updated to 3.6