1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Applications/System
11 url = https://midnight-commander.org
13 summary = User-friendly text console file manager and visual shell.
16 Midnight Commander is a visual shell much like a file manager, only
17 with many more features. It is a text mode application, but it also
18 includes mouse support. Midnight Commander's best features are its
19 ability to FTP, view tar and zip files, and to poke into RPMs for
23 source_dl = https://www.midnight-commander.org/downloads/
24 sources = %{thisapp}.tar.xz
35 configure_options += \
36 --libexecdir=/usr/lib \
44 # Add some additional CFLAGS to the consaver Makefile to proper
46 sed -i '/^CFLAGS =/ s/$/ -fno-builtin-exit -D__noreturn__=/' \
52 chmod 1755 %{BUILDROOT}/usr/lib/mc/cons.saver
54 # Remove python2 based helper script for amazon S3.
55 rm -rvf %{BUILDROOT}/usr/lib/mc/extfs.d/s3+
61 # This awkward dependency is found and cannot be resolved
62 filter_requires = perl\(pieces\)
65 package %{name}-debuginfo