代码拉取完成,页面将自动刷新
Name: mc
Summary: a feature rich full-screen text mode application
Version: 4.8.21
Release: 3
Epoch: 1
License: GPLv3+
URL: http://www.midnight-commander.org/
Source0: http://www.midnight-commander.org/downloads/mc-%{version}.tar.xz
Patch0: mc-tmpdir.patch
BuildRequires: gcc aspell-devel e2fsprogs-devel glib2-devel gpm-devel groff-base
BuildRequires: libssh2-devel >= 1.2.5 perl-generators pkgconfig slang-devel
%description
GNU Midnight Commander is a visual file manager, licensed under GNU General Public
License and therefore qualifies as Free Software. It's a feature rich full-screen
text mode application that allows you to copy, move and delete files and whole
directory trees, search for files and run commands in the subshell. Internal viewer
and editor are included.
Midnight Commander is based on versatile text interfaces, such as Ncurses or S-Lang,
which allows it to work on a regular console, inside an X Window terminal, over SSH
connections and all kinds of remote shells.
%package_help
%prep
%autosetup -p1
%build
%configure \
CFLAGS="%{optflags} -Wno-strict-aliasing" \
--enable-aspell \
--enable-vfs-sfs \
--enable-vfs-sftp \
--enable-vfs-smb \
--enable-vfs-ftp \
--enable-charset \
--enable-largefile \
--enable-vfs-cpio \
--enable-vfs-extfs \
--enable-vfs-fish \
--enable-vfs-tar \
--disable-rpath \
--with-x \
--with-gpm-mouse \
--with-screen=slang \
%{nil}
%make_build
%install
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d
%make_install
install contrib/mc.{sh,csh} ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d
%find_lang %{name} --with-man
%files -f %{name}.lang
/etc/profile.d/*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_bindir}/*
%dir %{_libexecdir}/%{name}
%attr(755,root,root) %{_libexecdir}/%{name}/cons.saver
%{_libexecdir}/%{name}/*
%{_datadir}/%{name}
%files help
%{_mandir}/man1/*
%license doc/COPYING
%doc doc/FAQ doc/NEWS doc/README
%changelog
* Tue Nov 19 2019 caomeng<caomeng5@huawei.com> - 1:4.8.21-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。