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