blob: c0579c9ebd4e813961e1111e55d241ac0f03907e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Name: mtools
Version: 4.0.18
Release: 0
License: GPL-3.0+
Summary: Access Files on an MS-DOS File System
Url: http://mtools.linux.lu/
Group: System/File Systems
Source: %{name}-%{version}.tar.bz2
Source1001: mtools.manifest
BuildRequires: autoconf
BuildRequires: makeinfo
%description
Mtools allows uncomplicated access to an MS-DOS file system on disk
without mounting it. It includes commands for working with MS-DOS
files: mdir, mcd, mcopy, and mformat.
XDF support for OS/2 is also provided.
%package doc
License: GPL-3.0+ and GFDL-1.3
Summary: Access Files on an MS-DOS File System
Group: System/File Systems
Requires: %{name} = %{version}
%description doc
Mtools allows uncomplicated access to an MS-DOS file system on disk
without mounting it. It includes commands for working with MS-DOS
files: mdir, mcd, mcopy, and mformat.
XDF support for OS/2 is also provided.
%prep
%setup -q
cp %{SOURCE1001} .
%build
autoconf --force
export CC=gcc
export INSTALL_PROGRAM="install"
%configure \
--includedir=/usr/src/linux/include
%install
install -d -m 755 %{buildroot}%{_sysconfdir}
%make_install
cp -p mtools.conf %{buildroot}%{_sysconfdir}
rm -rf %{buildroot}%{_mandir}/man?*/f*
rm -rf %{buildroot}%{_bindir}/f*
%docs_package
%files
%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
%config %{_sysconfdir}/mtools.conf
%{_bindir}/*
|