1 Summary: mtools, read/write/list/format DOS disks under Unix
5 Group: Utilities/System
6 URL: http://mtools.linux.lu
7 Source0: mtools-%{version}.tar.gz
8 #Patch1: mtools-%{version}-20071226.diff.gz
9 Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
12 Mtools is a collection of utilities to access MS-DOS disks from GNU
13 and Unix without mounting them. It supports long file names, OS/2 Xdf
14 disks, ZIP/JAZ disks and 2m disks (store up to 1992k on a high density
21 ./configure --prefix=%{buildroot}%{_prefix} --sysconfdir=/etc --infodir=%{buildroot}%{_infodir} --mandir=%{buildroot}%{_mandir} --enable-floppyd
27 [ X%{buildroot} != X ] && [ X%{buildroot} != X/ ] && rm -r %{buildroot}
32 strip %{buildroot}%{_bindir}/mtools %{buildroot}%{_bindir}/mkmanifest %{buildroot}%{_bindir}/floppyd
33 rm %{buildroot}%{_infodir}/dir
37 %{_infodir}/mtools.info*
38 %{_mandir}/man1/floppyd.1*
39 %{_mandir}/man1/floppyd_installtest.1.gz
40 %{_mandir}/man1/mattrib.1*
41 %{_mandir}/man1/mbadblocks.1*
42 %{_mandir}/man1/mcat.1*
43 %{_mandir}/man1/mcd.1*
44 %{_mandir}/man1/mclasserase.1*
45 %{_mandir}/man1/mcopy.1*
46 %{_mandir}/man1/mdel.1*
47 %{_mandir}/man1/mdeltree.1*
48 %{_mandir}/man1/mdir.1*
49 %{_mandir}/man1/mdu.1*
50 %{_mandir}/man1/mformat.1*
51 %{_mandir}/man1/minfo.1*
52 %{_mandir}/man1/mkmanifest.1*
53 %{_mandir}/man1/mlabel.1*
54 %{_mandir}/man1/mmd.1*
55 %{_mandir}/man1/mmount.1*
56 %{_mandir}/man1/mmove.1*
57 %{_mandir}/man1/mpartition.1*
58 %{_mandir}/man1/mrd.1*
59 %{_mandir}/man1/mren.1*
60 %{_mandir}/man1/mshowfat.1*
61 %{_mandir}/man1/mtools.1*
62 %{_mandir}/man5/mtools.5*
63 %{_mandir}/man1/mtoolstest.1*
64 %{_mandir}/man1/mtype.1*
65 %{_mandir}/man1/mzip.1*
66 %{_bindir}/amuFormat.sh
71 %{_bindir}/mclasserase
93 %{_bindir}/floppyd_installtest
102 groupadd floppy 2>/dev/null || echo -n ""
105 if [ -f %{_bindir}/install-info ] ; then
106 if [ -f %{_infodir}/dir ] ; then
107 %{_bindir}/install-info %{_infodir}/mtools.info %{_infodir}/dir
109 if [ -f %{_infodir}/dir.info ] ; then
110 %{_bindir}/install-info %{_infodir}/mtools.info %{_infodir}/dir.info
116 install-info --delete %{_infodir}/mtools.info %{_infodir}/dir.info
117 if [ -f %{_bindir}/install-info ] ; then
118 if [ -f %{_infodir}/dir ] ; then
119 %{_bindir}/install-info --delete %{_infodir}/mtools.info %{_infodir}/dir
121 if [ -f %{_infodir}/dir.info ] ; then
122 %{_bindir}/install-info --delete %{_infodir}/mtools.info %{_infodir}/dir.info
127 * Tue Nov 03 2009 Alain Knaff <alain@knaff.lu>
128 - Mingw compatibility fixes