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