|
|
|
@ -2,26 +2,36 @@
|
|
|
|
|
|
|
|
|
|
Summary: User-friendly text console file manager and visual shell
|
|
|
|
|
Name: mc
|
|
|
|
|
Version: 4.8.19
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 4.8.26
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
URL: http://www.midnight-commander.org/
|
|
|
|
|
Source0: http://www.midnight-commander.org/downloads/mc-%{version}.tar.xz
|
|
|
|
|
# Downstream-only patch to make mc use /var/tmp for large temporary
|
|
|
|
|
# files. See also: https://bugzilla.redhat.com/show_bug.cgi?id=895444
|
|
|
|
|
Patch0: %{name}-tmpdir.patch
|
|
|
|
|
Patch1: Extends-TMPDIR_DEFAULT-to-mc-wrapper-scripts.patch
|
|
|
|
|
BuildRequires: aspell-devel
|
|
|
|
|
Source0: https://github.com/MidnightCommander/mc/archive/%{version}.tar.gz
|
|
|
|
|
Patch1: %{name}-spec.syntax.patch
|
|
|
|
|
Patch3: %{name}-python3.patch
|
|
|
|
|
Patch4: %{name}-default_setup.patch
|
|
|
|
|
Patch5: %{name}-tmpdir.patch
|
|
|
|
|
# deps for autogen.sh
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
# other build deps
|
|
|
|
|
BuildRequires: e2fsprogs-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: gpm-devel
|
|
|
|
|
BuildRequires: groff-base
|
|
|
|
|
#Disabled for rhel8 (need to be ported to use libssh instead of libssh2)
|
|
|
|
|
# disabled (needs to be ported to use libssh instead of libssh2)
|
|
|
|
|
#BuildRequires: libssh2-devel >= 1.2.5
|
|
|
|
|
# (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: perl-generators
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
Suggests: mc-python
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Midnight Commander is a visual shell much like a file manager, only with
|
|
|
|
@ -29,14 +39,23 @@ many more features. It is a text mode application, but it also includes
|
|
|
|
|
mouse support. Midnight Commander's best features are its ability to FTP,
|
|
|
|
|
view tar and zip files, and to poke into RPMs for specific files.
|
|
|
|
|
|
|
|
|
|
%package python
|
|
|
|
|
Summary: Midnight Commander s3+ and UC1541 EXTFS backend scripts
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: python3-boto
|
|
|
|
|
|
|
|
|
|
%description python
|
|
|
|
|
Midnight Commander s3+ and UC1541 EXTFS backend scripts.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p0
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh
|
|
|
|
|
%configure \
|
|
|
|
|
CFLAGS="%{optflags} -Wno-strict-aliasing" \
|
|
|
|
|
PYTHON=%{__python3} \
|
|
|
|
|
--disable-rpath \
|
|
|
|
|
--enable-aspell \
|
|
|
|
|
--enable-charset \
|
|
|
|
|
--enable-largefile \
|
|
|
|
|
--enable-vfs-cpio \
|
|
|
|
@ -51,19 +70,12 @@ view tar and zip files, and to poke into RPMs for specific files.
|
|
|
|
|
--with-gpm-mouse \
|
|
|
|
|
--with-screen=%{?with_slang:slang}%{!?with_slang:ncurses} \
|
|
|
|
|
%{nil}
|
|
|
|
|
%{make_build}
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
|
|
|
|
|
%{make_install}
|
|
|
|
|
|
|
|
|
|
install contrib/mc.{sh,csh} %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# These scripts do not support Python 3
|
|
|
|
|
%if 0%{?rhel} > 7
|
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
%endif
|
|
|
|
|
%__install contrib/mc.{sh,csh} -Dt %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man
|
|
|
|
|
|
|
|
|
@ -72,10 +84,8 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
%doc doc/FAQ doc/NEWS doc/README
|
|
|
|
|
/etc/profile.d/*
|
|
|
|
|
%dir %{_sysconfdir}/mc
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/mc.ext
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/*edit*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/mc*.keymap
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/mc.menu*
|
|
|
|
|
%{_sysconfdir}/mc/edit*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/mc*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mc/*.ini
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%dir %{_libexecdir}/mc
|
|
|
|
@ -86,14 +96,106 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
%{_libexecdir}/mc/fish
|
|
|
|
|
%{_datadir}/mc
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%exclude %{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
|
|
|
|
|
%files python
|
|
|
|
|
%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 22 2018 Tomáš Mráz <tmraz@redhat.com> - 1:4.8.19-9
|
|
|
|
|
- Avoid shipping extfs scripts requiring Python 2
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.8.26-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.8.26-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Thu Apr 05 2018 Denys Vlasenko <dvlasenk@redhat.com> - 1:4.8.19-8
|
|
|
|
|
* Tue Feb 02 2021 Denys Vlasenko <dvlasenk@redhat.com> - 1:4.8.26-3
|
|
|
|
|
- Avoid usage of libssh2
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.26-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 21 2021 Jindrich Novy <jnovy@redhat.com> - 1:4.8.26-1
|
|
|
|
|
- update to 4.8.26
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.25-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 17 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.25-2
|
|
|
|
|
- update BR
|
|
|
|
|
|
|
|
|
|
* Fri Jul 17 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.25-1
|
|
|
|
|
- update to 4.8.25
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.24-4
|
|
|
|
|
- fix gcc-10 build failure
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.24-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 27 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.24-2
|
|
|
|
|
- be sure to use /var/tmp instead of /tmp (#1795006)
|
|
|
|
|
|
|
|
|
|
* Mon Jan 20 2020 Jindrich Novy <jnovy@redhat.com> - 1:4.8.24-1
|
|
|
|
|
- update to 4.8.24
|
|
|
|
|
- drop merged tmpdir patch
|
|
|
|
|
|
|
|
|
|
* Wed Oct 09 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-7
|
|
|
|
|
- disable aspell support until it is clear how to set up
|
|
|
|
|
aspell dependencies or avoiding annoying error message
|
|
|
|
|
when no dictionary is found every time a file is edited
|
|
|
|
|
|
|
|
|
|
* Mon Oct 07 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-6
|
|
|
|
|
- re-add BR: perl-generators, it is required for generating
|
|
|
|
|
rpm deps from the embedded VFS perl scriptlets
|
|
|
|
|
|
|
|
|
|
* Mon Oct 07 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-5
|
|
|
|
|
- just keep perl-interpreter BR because of man2hlp,
|
|
|
|
|
it is a perl script required by build
|
|
|
|
|
- require aspell-en, otherwise an annoying error prompt
|
|
|
|
|
is displayed while editing any file
|
|
|
|
|
|
|
|
|
|
* Mon Oct 07 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-4
|
|
|
|
|
- drop unneeded BR: perl-generators
|
|
|
|
|
|
|
|
|
|
* Sat Sep 28 2019 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1:4.8.23-3
|
|
|
|
|
- add python3 patch: port to python3
|
|
|
|
|
- added python subpackage with s3+ and uc1541 extfs backend scrips to minimise
|
|
|
|
|
base package dependencies
|
|
|
|
|
- added python3-boto to python subpackage dependencies
|
|
|
|
|
- use -Wno-strict-aliasing in CFLAGS is no longer needed
|
|
|
|
|
- added spec.syntax patch: improve rpm spec files syntax colouring
|
|
|
|
|
- added default_setup patch: enable by default lynx navigate with arrows keys
|
|
|
|
|
and auto save setup
|
|
|
|
|
|
|
|
|
|
* Tue Sep 24 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-2
|
|
|
|
|
- fix rpmlint warnings and simplify filelist
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2019 Jindrich Novy <jnovy@redhat.com> - 1:4.8.23-1
|
|
|
|
|
- update to 4.8.23
|
|
|
|
|
- set the Python path properly as env var, don't sed the configure directly
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.21-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.21-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.21-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 07 2018 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1:4.8.21-1
|
|
|
|
|
- updated to 4.8.21
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:4.8.20-3
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.20-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2018 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1:4.8.20-1
|
|
|
|
|
- updated to 4.8.20
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.8.19-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -1190,7 +1292,7 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
script
|
|
|
|
|
|
|
|
|
|
* Sat Sep 25 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
|
- chkconfig --del in %%preun, not %postun
|
|
|
|
|
- chkconfig --del in %%preun, not %%postun
|
|
|
|
|
|
|
|
|
|
* Wed Sep 22 1999 Michael Fulbright <drmike@redhat.com>
|
|
|
|
|
- updated to 4.5.39-pre9
|
|
|
|
@ -1306,16 +1408,13 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
- Added more documentation files on termcap, terminfo, xterm
|
|
|
|
|
|
|
|
|
|
* Thu Oct 30 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- Added dependency on portmap
|
|
|
|
|
|
|
|
|
|
* Wed Oct 29 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- fixed spec file.
|
|
|
|
|
- Updated to 4.1.8
|
|
|
|
|
|
|
|
|
|
* Sun Oct 26 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- updated to 4.1.6
|
|
|
|
|
- added %%attr macros in %%files,
|
|
|
|
|
- a few simplification in %%install,
|
|
|
|
@ -1323,27 +1422,22 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
- fixed installing %%{_sysconfdir}/X11/wmconfig/tkmc.
|
|
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- updated to 4.1.5
|
|
|
|
|
- added wmconfig
|
|
|
|
|
|
|
|
|
|
* Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
|
|
|
|
|
- chkconfig is for mcserv package, not mc one
|
|
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
|
|
|
|
|
- patched init script for chkconfig
|
|
|
|
|
- don't turn on the service by default
|
|
|
|
|
|
|
|
|
|
* Fri Oct 10 1997 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
|
|
|
|
|
|
- Converted to new PAM conventions.
|
|
|
|
|
- Updated to 4.1.3
|
|
|
|
|
- No longer needs glibc patch.
|
|
|
|
|
|
|
|
|
|
* Thu May 22 1997 Michele Marziani <marziani@fe.infn.it>
|
|
|
|
|
|
|
|
|
|
- added support for mc alias in %%{_sysconfdir}/profile.d/mc.csh (for csh and tcsh)
|
|
|
|
|
- lowered number of SysV init scripts in %%{_sysconfdir}/rc.d/rc[0,1,6].d
|
|
|
|
|
(mcserv needs to be killed before inet)
|
|
|
|
@ -1352,14 +1446,12 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
- minor cleanup of spec file: redundant directives and comments removed
|
|
|
|
|
|
|
|
|
|
* Sun May 18 1997 Michele Marziani <marziani@fe.infn.it>
|
|
|
|
|
|
|
|
|
|
- removed all references to non-existent mc.rpmfs
|
|
|
|
|
- added mcedit.1 to the %%files section
|
|
|
|
|
- reverted to un-gzipped man pages (RedHat style)
|
|
|
|
|
- removed double install line for mcserv.pamd
|
|
|
|
|
|
|
|
|
|
* Tue May 13 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- added new rpmfs script,
|
|
|
|
|
- removed mcfn_install from mc (adding mc() to bash enviroment is in
|
|
|
|
|
%%{_sysconfdir}/profile.d/mc.sh),
|
|
|
|
@ -1368,25 +1460,21 @@ rm -f %{buildroot}%{_libexecdir}/mc/extfs.d/{s3+,uc1541}
|
|
|
|
|
- removed %%{prefix}/lib/mc/term.
|
|
|
|
|
|
|
|
|
|
* Fri May 9 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- changed source url,
|
|
|
|
|
- fixed link mcedit to mc,
|
|
|
|
|
|
|
|
|
|
* Wed May 7 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- new version 3.5.27,
|
|
|
|
|
- %%dir %%{prefix}/lib/mc/icons and icons removed from tkmc,
|
|
|
|
|
- added commented xmc part.
|
|
|
|
|
|
|
|
|
|
* Tue Apr 22 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- FIX spec:
|
|
|
|
|
- added URL field,
|
|
|
|
|
- in mc added missing %%{prefix}/lib/mc/mc.ext, %%{prefix}/lib/mc/mc.hint,
|
|
|
|
|
%%{prefix}/lib/mc/mc.hlp, %%{prefix}/lib/mc/mc.lib, %%{prefix}/lib/mc/mc.menu.
|
|
|
|
|
|
|
|
|
|
* Fri Apr 18 1997 Tomasz Kłoczko <kloczek@rudy.mif.pg.gda.pl>
|
|
|
|
|
|
|
|
|
|
- added making packages: tkmc, mcserv (xmc not work yet),
|
|
|
|
|
- gziped man pages,
|
|
|
|
|
- added %%{_sysconfdir}/pamd.d/mcserv PAM config file.
|
|
|
|
|