123 Star 0 Fork 8

src-openEuler / mc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mc.spec 1.98 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 18:57 . Package init
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
1
https://gitee.com/src-openeuler/mc.git
git@gitee.com:src-openeuler/mc.git
src-openeuler
mc
mc
openEuler-20.03-LTS

搜索帮助