2007-01-16 00:25:55 +01:00
|
|
|
#
|
2011-03-22 17:55:38 +01:00
|
|
|
# spec file for package mtools
|
2007-01-16 00:25:55 +01:00
|
|
|
#
|
2023-03-27 09:33:15 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:25:55 +01:00
|
|
|
#
|
2008-10-23 04:40:23 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-12 08:11:26 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:25:55 +01:00
|
|
|
#
|
|
|
|
|
2008-10-23 04:40:23 +02:00
|
|
|
|
2007-04-22 22:50:58 +02:00
|
|
|
Name: mtools
|
2023-03-27 09:33:15 +02:00
|
|
|
Version: 4.0.43
|
2011-12-22 13:41:43 +01:00
|
|
|
Release: 0
|
2018-12-12 08:11:26 +01:00
|
|
|
Summary: Tools to access MS-DOS filesystems without kernel drivers
|
2018-07-16 15:33:01 +02:00
|
|
|
License: GPL-3.0-or-later
|
2011-12-22 13:41:43 +01:00
|
|
|
Group: System/Filesystems
|
2021-11-29 09:23:55 +01:00
|
|
|
URL: https://www.gnu.org/software/mtools/
|
2020-11-30 09:59:21 +01:00
|
|
|
Source0: https://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: https://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2.sig
|
2021-04-19 13:49:27 +02:00
|
|
|
# https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=mtools
|
|
|
|
Source2: %{name}.keyring
|
2018-10-31 07:55:23 +01:00
|
|
|
Patch0: %{name}-conf.diff
|
2015-02-26 17:52:59 +01:00
|
|
|
BuildRequires: makeinfo
|
|
|
|
BuildRequires: texinfo
|
2020-03-30 09:48:21 +02:00
|
|
|
Requires: glibc-locale-base
|
2008-10-23 04:40:23 +02:00
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%description
|
2018-12-12 08:11:26 +01:00
|
|
|
Mtools allows 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.
|
2007-01-16 00:25:55 +01:00
|
|
|
|
|
|
|
XDF support for OS/2 is also provided.
|
|
|
|
|
2009-03-17 20:35:10 +01:00
|
|
|
%package doc
|
2018-12-12 08:11:26 +01:00
|
|
|
Summary: Documentation for mtools, a toolset for MS-DOS filesystem access
|
2021-04-19 13:49:27 +02:00
|
|
|
License: GFDL-1.3-only AND GPL-3.0-or-later
|
2018-12-28 19:06:07 +01:00
|
|
|
Group: Documentation/Other
|
2009-03-17 20:35:10 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
2018-12-12 08:11:26 +01:00
|
|
|
Mtools allows access to an MS-DOS file system on disk without
|
|
|
|
mounting it. This subpackage contains the documentation for it.
|
2009-03-17 20:35:10 +01:00
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
%build
|
2007-06-05 16:35:16 +02:00
|
|
|
%configure \
|
2018-04-30 07:38:13 +02:00
|
|
|
--includedir=%{_prefix}/src/linux/include \
|
|
|
|
--disable-floppyd
|
2015-02-26 17:52:59 +01:00
|
|
|
|
2020-03-30 09:48:21 +02:00
|
|
|
%make_build -j1 all info pdf
|
2007-01-16 00:25:55 +01:00
|
|
|
|
|
|
|
%install
|
2015-02-26 17:52:59 +01:00
|
|
|
install -d -m 755 %{buildroot}%{_sysconfdir}
|
|
|
|
make DESTDIR=%{buildroot} install --jobs 1
|
|
|
|
cp -p mtools.conf %{buildroot}%{_sysconfdir}
|
2007-01-16 00:25:55 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%config %{_sysconfdir}/mtools.conf
|
2018-07-16 15:33:01 +02:00
|
|
|
%doc Release.notes NEWS README*
|
|
|
|
%license COPYING
|
2020-03-30 09:48:21 +02:00
|
|
|
%{_mandir}/man?*/*
|
2009-01-21 18:10:44 +01:00
|
|
|
%exclude %{_mandir}/man?*/f*
|
2020-03-30 09:48:21 +02:00
|
|
|
%{_infodir}/mtools.info%{?ext_info}
|
2009-01-21 18:10:44 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%exclude %{_bindir}/f*
|
2007-01-16 00:25:55 +01:00
|
|
|
|
2009-03-17 20:35:10 +01:00
|
|
|
%files doc
|
2021-04-19 13:49:27 +02:00
|
|
|
%license COPYING
|
2015-02-26 17:52:59 +01:00
|
|
|
%doc *.pdf
|
2009-03-17 20:35:10 +01:00
|
|
|
|
2007-04-22 22:50:58 +02:00
|
|
|
%changelog
|