|
|
@ -1,36 +1,36 @@
|
|
|
|
%bcond_without slang
|
|
|
|
# NOTE: disabled sftp (needs to be ported to use libssh instead of libssh2)
|
|
|
|
|
|
|
|
%bcond gpm %[!(0%{?rhel} >= 10)]
|
|
|
|
|
|
|
|
%bcond slang 1
|
|
|
|
|
|
|
|
|
|
|
|
Summary: User-friendly text console file manager and visual shell
|
|
|
|
Summary: User-friendly text console file manager and visual shell
|
|
|
|
Name: mc
|
|
|
|
Name: mc
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 4.8.26
|
|
|
|
Version: 4.8.31
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: GPLv3+
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: http://www.midnight-commander.org/
|
|
|
|
URL: https://midnight-commander.org/
|
|
|
|
Source0: https://github.com/MidnightCommander/mc/archive/%{version}.tar.gz
|
|
|
|
VCS: https://github.com/MidnightCommander/mc/
|
|
|
|
Patch1: %{name}-spec.syntax.patch
|
|
|
|
Source: %{VCS}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Patch3: %{name}-python3.patch
|
|
|
|
Patch: %{name}-spec.syntax.patch
|
|
|
|
Patch4: %{name}-default_setup.patch
|
|
|
|
Patch: %{name}-default_setup.patch
|
|
|
|
Patch5: %{name}-tmpdir.patch
|
|
|
|
Patch: %{name}-tmpdir.patch
|
|
|
|
# deps for autogen.sh
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
# other build deps
|
|
|
|
|
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
|
|
|
%if %{with gpm}
|
|
|
|
BuildRequires: gpm-devel
|
|
|
|
BuildRequires: gpm-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: groff-base
|
|
|
|
BuildRequires: groff-base
|
|
|
|
# disabled (needs to be ported to use libssh instead of libssh2)
|
|
|
|
BuildRequires: libtool
|
|
|
|
#BuildRequires: libssh2-devel >= 1.2.5
|
|
|
|
BuildRequires: make
|
|
|
|
# (configure line was also changed from --enable-vfs-sftp to --disable-vfs-sftp
|
|
|
|
|
|
|
|
# - this is the only part of mc which uses libssh2)
|
|
|
|
|
|
|
|
BuildRequires: %{?with_slang:slang-devel}%{!?with_slang:ncurses-devel}
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(ext2fs)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0) >= 2.30
|
|
|
|
|
|
|
|
#BuildRequires: pkgconfig(libssh2) >= 1.2.8
|
|
|
|
|
|
|
|
BuildRequires: %[%{?with_slang}?"pkgconfig(slang) >= 2.0":"ncurses-devel"]
|
|
|
|
Suggests: mc-python
|
|
|
|
Suggests: mc-python
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -52,23 +52,23 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts.
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
%__sed -i "s,PREV_MC_VERSION=\"unknown\",PREV_MC_VERSION=\"%{version}\"," version.sh
|
|
|
|
./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
PYTHON=%{__python3} \
|
|
|
|
PYTHON=%__python3 \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-rpath \
|
|
|
|
|
|
|
|
--disable-vfs-sftp \
|
|
|
|
--enable-charset \
|
|
|
|
--enable-charset \
|
|
|
|
--enable-largefile \
|
|
|
|
--enable-largefile \
|
|
|
|
--enable-vfs-cpio \
|
|
|
|
--enable-vfs-cpio \
|
|
|
|
--enable-vfs-extfs \
|
|
|
|
--enable-vfs-extfs \
|
|
|
|
--enable-vfs-fish \
|
|
|
|
--enable-vfs-shell \
|
|
|
|
--enable-vfs-ftp \
|
|
|
|
--enable-vfs-ftp \
|
|
|
|
--enable-vfs-sfs \
|
|
|
|
--enable-vfs-sfs \
|
|
|
|
--disable-vfs-sftp \
|
|
|
|
|
|
|
|
--enable-vfs-smb \
|
|
|
|
|
|
|
|
--enable-vfs-tar \
|
|
|
|
--enable-vfs-tar \
|
|
|
|
|
|
|
|
--with%{!?with_gpm:out}-gpm-mouse \
|
|
|
|
|
|
|
|
--with-screen=%[%{?with_slang}?"slang":"ncurses"] \
|
|
|
|
--with-x \
|
|
|
|
--with-x \
|
|
|
|
--with-gpm-mouse \
|
|
|
|
|
|
|
|
--with-screen=%{?with_slang:slang}%{!?with_slang:ncurses} \
|
|
|
|
|
|
|
|
%{nil}
|
|
|
|
%{nil}
|
|
|
|
%make_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
@ -93,7 +93,7 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts.
|
|
|
|
%{_libexecdir}/mc/mc*
|
|
|
|
%{_libexecdir}/mc/mc*
|
|
|
|
%{_libexecdir}/mc/extfs.d
|
|
|
|
%{_libexecdir}/mc/extfs.d
|
|
|
|
%{_libexecdir}/mc/ext.d
|
|
|
|
%{_libexecdir}/mc/ext.d
|
|
|
|
%{_libexecdir}/mc/fish
|
|
|
|
%{_libexecdir}/mc/shell
|
|
|
|
%{_datadir}/mc
|
|
|
|
%{_datadir}/mc
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%exclude %{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
%exclude %{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
@ -102,12 +102,68 @@ Midnight Commander s3+ and UC1541 EXTFS backend scripts.
|
|
|
|
%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.8.26-5
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:4.8.31-3
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:4.8.31-2
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 12 2024 Jindrich Novy <jnovy@redhat.com> - 1:4.8.31-1
|
|
|
|
|
|
|
|
- update to 4.8.31
|
|
|
|
|
|
|
|
- drop upstreamed python3 patch
|
|
|
|
|
|
|
|
- rename fish -> shell
|
|
|
|
|
|
|
|
- drop obsolete smb option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 06 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 1:4.8.30-4
|
|
|
|
|
|
|
|
- Disable gpm on ELN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.30-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.30-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 28 2023 Jindrich Novy <jnovy@redhat.com> - 1:4.8.30-1
|
|
|
|
|
|
|
|
- update to 4.8.30
|
|
|
|
|
|
|
|
- remove upstreamed mc-configure-c99.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.29-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 04 2023 Jindrich Novy <jnovy@redhat.com> - 1:4.8.29-1
|
|
|
|
|
|
|
|
- update to 4.8.29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 05 2023 Florian Weimer <fweimer@redhat.com> - 1:4.8.28-5
|
|
|
|
|
|
|
|
- Port configure script to C99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.28-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.28-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jindrich Novy <jnovy@redhat.com> - 1:4.8.28-2
|
|
|
|
|
|
|
|
- fix file sort by version
|
|
|
|
|
|
|
|
- Resolves: #2091504
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 29 2022 Jindrich Novy <jnovy@redhat.com> - 1:4.8.28-1
|
|
|
|
|
|
|
|
- update to https://github.com/MidnightCommander/mc/releases/tag/v4.8.28
|
|
|
|
|
|
|
|
- Related: #1993686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.27-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 10 2021 Jindrich Novy <jnovy@redhat.com> - 1:4.8.27-2
|
|
|
|
|
|
|
|
- disable samba VFS
|
|
|
|
|
|
|
|
- Related: #2002331
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 16 2021 Jindrich Novy <jnovy@redhat.com> - 1:4.8.27-1
|
|
|
|
|
|
|
|
- update to https://github.com/MidnightCommander/mc/releases/tag/v4.8.27
|
|
|
|
|
|
|
|
- fix mc --version (#1858573)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.8.26-4
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.26-4
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 02 2021 Denys Vlasenko <dvlasenk@redhat.com> - 1:4.8.26-3
|
|
|
|
* Tue Feb 02 2021 Denys Vlasenko <dvlasenk@redhat.com> - 1:4.8.26-3
|
|
|
|
- Avoid usage of libssh2
|
|
|
|
- Avoid usage of libssh2
|
|
|
|