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
|
|
|
#
|
2018-03-23 09:00:41 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-04-22 22:50:58 +02:00
|
|
|
# Please submit bugfixes or comments via http://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
|
2013-03-26 15:08:56 +01:00
|
|
|
Version: 4.0.18
|
2011-12-22 13:41:43 +01:00
|
|
|
Release: 0
|
2007-04-22 22:50:58 +02:00
|
|
|
Summary: Access Files on an MS-DOS File System
|
2012-07-02 14:26:09 +02:00
|
|
|
License: GPL-3.0+
|
2011-12-22 13:41:43 +01:00
|
|
|
Group: System/Filesystems
|
2015-02-26 17:52:59 +01:00
|
|
|
Url: http://mtools.linux.lu/
|
|
|
|
Source0: http://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: http://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2.sig
|
|
|
|
Source2: %{name}.keyring
|
2007-04-22 22:50:58 +02:00
|
|
|
Patch0: %{name}-%{version}-conf.diff
|
|
|
|
Patch1: %{name}-%{version}-autoconf.diff
|
|
|
|
Patch3: %{name}-%{version}-aliasing.diff
|
|
|
|
Patch4: %{name}-%{version}-fat-bits.diff
|
|
|
|
Patch5: %{name}-%{version}-prototypes.diff
|
2015-02-26 17:52:59 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2018-03-23 09:00:41 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xau)
|
2015-02-26 17:52:59 +01:00
|
|
|
Requires(pre): %{install_info_prereq}
|
2015-11-30 09:10:13 +01:00
|
|
|
Requires: glibc-locale
|
2007-04-22 22:50:58 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-02-26 17:52:59 +01:00
|
|
|
%if 0%{?suse_version} > 1220
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
BuildRequires: texinfo
|
|
|
|
%else
|
|
|
|
BuildRequires: texlive-latex
|
|
|
|
%endif
|
2008-10-23 04:40:23 +02:00
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%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.
|
|
|
|
|
2009-03-17 20:35:10 +01:00
|
|
|
%package floppyd
|
2009-12-16 10:55:01 +01:00
|
|
|
Summary: Floppy daemon for remote access to floppy drive
|
2012-07-02 14:26:09 +02:00
|
|
|
License: GPL-3.0+
|
2012-07-23 14:22:32 +02:00
|
|
|
Group: System/Filesystems
|
2009-03-17 20:35:10 +01:00
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%description floppyd
|
|
|
|
Floppyd is used as a server to grant access to the floppy drive to
|
|
|
|
clients running on a remote machine, just as an X server grants access
|
|
|
|
to the display to remote clients.
|
|
|
|
|
2009-03-17 20:35:10 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Access Files on an MS-DOS File System
|
2012-07-02 14:26:09 +02:00
|
|
|
License: GPL-3.0+ and GFDL-1.3
|
2012-07-23 14:22:32 +02:00
|
|
|
Group: System/Filesystems
|
2009-03-17 20:35:10 +01:00
|
|
|
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.
|
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
%patch3
|
|
|
|
%patch4
|
|
|
|
%patch5
|
|
|
|
|
|
|
|
%build
|
2015-02-26 17:52:59 +01:00
|
|
|
autoreconf -fi
|
2007-06-05 16:35:16 +02:00
|
|
|
%configure \
|
2015-02-26 17:52:59 +01:00
|
|
|
--includedir=%{_prefix}/src/linux/include
|
|
|
|
|
|
|
|
make %{?_smp_mflags} 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
|
|
|
|
2009-01-14 01:50:04 +01:00
|
|
|
%post
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/mtools.info.gz
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mtools.info.gz
|
|
|
|
|
2007-01-16 00:25:55 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config %{_sysconfdir}/mtools.conf
|
2009-03-17 20:35:10 +01:00
|
|
|
%doc Release.notes NEWS COPYING README*
|
2009-01-21 18:10:44 +01:00
|
|
|
%doc %{_mandir}/man?*/*
|
|
|
|
%exclude %{_mandir}/man?*/f*
|
2007-01-16 00:25:55 +01:00
|
|
|
%doc %{_infodir}/mtools.info*
|
2009-01-21 18:10:44 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%exclude %{_bindir}/f*
|
2007-01-16 00:25:55 +01:00
|
|
|
|
|
|
|
%files floppyd
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man?*/f*
|
|
|
|
%{_bindir}/f*
|
|
|
|
|
2009-03-17 20:35:10 +01:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
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
|