diff --git a/mtools-4.0.43.tar.bz2 b/mtools-4.0.43.tar.bz2 deleted file mode 100644 index 67746f091780a065be3e3c31f6fb29c61252d08f..0000000000000000000000000000000000000000 Binary files a/mtools-4.0.43.tar.bz2 and /dev/null differ diff --git a/mtools-4.0.44.tar.bz2 b/mtools-4.0.44.tar.bz2 deleted file mode 100644 index 353ed85fcb0bf29c7d48ba689f47aa66374e3630..0000000000000000000000000000000000000000 Binary files a/mtools-4.0.44.tar.bz2 and /dev/null differ diff --git a/mtools-4.0.49.tar.bz2 b/mtools-4.0.49.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..e31806064502c39a285cab36ea3d033c26ac641d Binary files /dev/null and b/mtools-4.0.49.tar.bz2 differ diff --git a/mtools.spec b/mtools.spec index 2f8c74fd74ec28cef8cb1314238bf0ab6fb9a19a..871aef2cd578aa6596ebcca5dcbbda05bd41ac60 100644 --- a/mtools.spec +++ b/mtools.spec @@ -1,13 +1,14 @@ Name: mtools -Version: 4.0.44 +Version: 4.0.49 Release: 1 Summary: Collection of utilities to access MS-DOS disks -License: GPLv3+ -URL: http://www.gnu.org/software/mtools/ +License: GPL-3.0-or-later +URL: https://www.gnu.org/software/mtools -Source0: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.bz2 +Source0: https://ftp.gnu.org/gnu/mtools/%{name}-%{version}.tar.bz2 -BuildRequires: gcc texinfo autoconf automake +BuildRequires: gcc make +BuildRequires: /usr/sbin/install-info Patch1: 0001-comment-invalid-info-in-conf-file.patch @@ -20,34 +21,26 @@ labels, FAT-specific file attributes (hidden, system, ...), "bad block" map maintenance, access to remote floppy drives, Iomega ZIP disk protection, "secure" erase, display of file's on-disk layout, etc -%package help -Summary: Including man files for mtools -Requires: man - -%description help -This contains man files for the using of mtools. +%package_help %prep %autosetup -n %{name}-%{version} -p1 %build -autoreconf -fiv %configure --disable-floppyd %make_build %install -mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/%{_infodir} -%makeinstall -install -m 644 mtools.conf $RPM_BUILD_ROOT/etc -gzip -9f $RPM_BUILD_ROOT/%{_infodir}/* -rm -rf ${RPM_BUILD_ROOT}/%{_mandir}/man1/floppyd* -rm -f $RPM_BUILD_ROOT/%{_infodir}/dir.gz -ln -s mtools.5.gz %{buildroot}%{_mandir}/man5/mtools.conf.5.gz +%make_install +install -D -m 644 mtools.conf %{buildroot}%{_sysconfdir}/mtools.conf +rm -rf %{buildroot}%{_mandir}/man1/floppyd* +rm -f %{buildroot}%{_infodir}/dir +ln -s mtools.5 %{buildroot}%{_mandir}/man5/mtools.conf.5 %files %doc README Release.notes %license COPYING -%config(noreplace) /etc/mtools.conf +%config(noreplace) %{_sysconfdir}/mtools.conf %{_bindir}/* %files help @@ -55,6 +48,9 @@ ln -s mtools.5.gz %{buildroot}%{_mandir}/man5/mtools.conf.5.gz %{_infodir}/mtools.info* %changelog +* Sun Jun 15 2025 Funda Wang - 4.0.49-1 +- update to 4.0.49 + * Fri Sep 20 2024 Wangmian - 4.0.44-1 - update mtools version to 4.0.44