1 Summary: Programs for accessing MS-DOS disks without mounting the disks
6 Group: Applications/System
7 Source: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.bz2
8 Url: http://mtools.linux.lu/
9 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 Patch0: mtools-3.9.6-config.patch
11 Patch1: mtools-3.9.7-bigdisk.patch
12 Patch2: fix_mlabel_initialisation.patch
14 BuildRequires: texinfo, autoconf
17 Mtools is a collection of utilities for accessing MS-DOS files.
18 Mtools allow you to read, write and move around MS-DOS filesystem
19 files (normally on MS-DOS floppy disks). Mtools supports Windows95
20 style long file names, OS/2 XDF disks, and 2m disks
22 Mtools should be installed if you need to use MS-DOS disks
25 %setup -q -n %{name}-%{version}
32 %configure --disable-floppyd
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir}
39 install -m644 mtools.conf $RPM_BUILD_ROOT/etc
41 # We aren't shipping this.
42 find $RPM_BUILD_ROOT -name "floppyd*" -exec rm {} \;
48 %config(noreplace) /etc/mtools.conf
49 %doc COPYING README Release.notes