Summary(uk.UTF-8): Диспетчер файлів Midnight Commander
Summary(zh_CN.UTF-8): 一个方便实用的文件管理器和虚拟Shell
Name: mc
-Version: 4.8.18
+Version: 4.8.20
Release: 1
Epoch: 1
License: GPL v3+
Group: Applications/Shells
Source0: http://ftp.midnight-commander.org/%{name}-%{version}.tar.xz
-# Source0-md5: 85ff9279f912c5482fe9f110f8892c96
+# Source0-md5: 7f808b01f3f7d9aa52152a9efb86dbca
Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source3-md5: 17d7b574e1b85ad6f8ddceda9e841f19
Source7: %{name}.desktop
%ifnarch s390 s390x
BuildRequires: gpm-devel
%endif
+BuildRequires: libssh2-devel >= 1.2.5
BuildRequires: libtool
BuildRequires: pam-devel
BuildRequires: pcre-devel
%{__rm} po/stamp-po
-%{__sed} -i 's:|hxx|:|hh|hpp|hxx|tcc|:' misc/syntax/Syntax.in
+%{__sed} -i 's:|hxx|:|hxx|tcc|:' misc/syntax/Syntax.in
%build
%{__gettextize}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc NEWS README doc/keybind-migration.txt
+%doc NEWS README
%config /etc/shrc.d/*
%attr(755,root,root) %{_bindir}/mc*
-%dir %{_libdir}/mc
-%attr(755,root,root) %{_libdir}/mc/cons.saver
-%attr(755,root,root) %{_libdir}/mc/*.sh
-%attr(755,root,root) %{_libdir}/mc/*.csh
+%dir %{_libexecdir}/mc
+%attr(755,root,root) %{_libexecdir}/mc/cons.saver
+%attr(755,root,root) %{_libexecdir}/mc/*.sh
+%attr(755,root,root) %{_libexecdir}/mc/*.csh
%dir %{_datadir}/mc
%{_datadir}/mc/mc.*
%{_datadir}/mc/skins
%{_datadir}/mc/syntax
+%dir %{_datadir}/mc/examples
+%dir %{_datadir}/mc/examples/macros.d
+%{_datadir}/mc/examples/macros.d/*
+
%dir %{_datadir}/mc/help
%{_datadir}/mc/help/mc.hlp
%lang(es) %{_datadir}/mc/help/mc.hlp.es
%lang(sr) %{_datadir}/mc/help/mc.hlp.sr
%dir %{_datadir}/mc/hints
%{_datadir}/mc/hints/mc.hint
-# only English messages inside (as for 4.8.13)
+# disabled hint files contain only English messages (as for 4.8.18)
+#%lang(af) %{_datadir}/mc/hints/mc.hint.af
+#%lang(ar) %{_datadir}/mc/hints/mc.hint.ar
#%lang(az) %{_datadir}/mc/hints/mc.hint.az
%lang(be) %{_datadir}/mc/hints/mc.hint.be
-# only English messages inside (as for 4.8.13)
-#%lang(bg) %{_datadir}/mc/hints/mc.hint.bg
+%lang(bg) %{_datadir}/mc/hints/mc.hint.bg
#%lang(ca) %{_datadir}/mc/hints/mc.hint.ca
%lang(cs) %{_datadir}/mc/hints/mc.hint.cs
-# only English messages inside (as for 4.8.13)
#%lang(da) %{_datadir}/mc/hints/mc.hint.da
-#%lang(de) %{_datadir}/mc/hints/mc.hint.de
+%lang(de) %{_datadir}/mc/hints/mc.hint.de
#%lang(de_CH) %{_datadir}/mc/hints/mc.hint.de_CH
%lang(el) %{_datadir}/mc/hints/mc.hint.el
%lang(en_GB) %{_datadir}/mc/hints/mc.hint.en_GB
%lang(et) %{_datadir}/mc/hints/mc.hint.et
%lang(eu) %{_datadir}/mc/hints/mc.hint.eu
%lang(fa) %{_datadir}/mc/hints/mc.hint.fa
-# only English messages inside (as for 4.8.13)
#%lang(fi) %{_datadir}/mc/hints/mc.hint.fi
%lang(fr) %{_datadir}/mc/hints/mc.hint.fr
-# only English messages inside (as for 4.8.13)
#%lang(fr_CA) %{_datadir}/mc/hints/mc.hint.fr_CA
%lang(gl) %{_datadir}/mc/hints/mc.hint.gl
-# only English messages inside (as for 4.8.12)
#%lang(hr) %{_datadir}/mc/hints/mc.hint.hr
%lang(hu) %{_datadir}/mc/hints/mc.hint.hu
-# only English messages inside (as for 4.8.12)
#%lang(ia) %{_datadir}/mc/hints/mc.hint.ia
%lang(id) %{_datadir}/mc/hints/mc.hint.id
%lang(it) %{_datadir}/mc/hints/mc.hint.it
-# only English messages inside (as for 4.8.13)
#%lang(ja) %{_datadir}/mc/hints/mc.hint.ja
#%lang(ka) %{_datadir}/mc/hints/mc.hint.ka
#%lang(kk) %{_datadir}/mc/hints/mc.hint.kk
%lang(pt_BR) %{_datadir}/mc/hints/mc.hint.pt_BR
%lang(ro) %{_datadir}/mc/hints/mc.hint.ro
%lang(ru) %{_datadir}/mc/hints/mc.hint.ru
-# only English messages inside (as for 4.8.13)
-#%lang(sk) %{_datadir}/mc/hints/mc.hint.sk
+%lang(sk) %{_datadir}/mc/hints/mc.hint.sk
#%lang(sl) %{_datadir}/mc/hints/mc.hint.sl
-#%lang(sr) %{_datadir}/mc/hints/mc.hint.sr
+%lang(sr) %{_datadir}/mc/hints/mc.hint.sr
#%lang(sv) %{_datadir}/mc/hints/mc.hint.sv
#%lang(szl) %{_datadir}/mc/hints/mc.hint.szl
#%lang(te) %{_datadir}/mc/hints/mc.hint.te
-#%lang(tr) %{_datadir}/mc/hints/mc.hint.tr
+%lang(tr) %{_datadir}/mc/hints/mc.hint.tr
%lang(uk) %{_datadir}/mc/hints/mc.hint.uk
+#%lang(uz) %{_datadir}/mc/hints/mc.hint.uz
%lang(zh_CN) %{_datadir}/mc/hints/mc.hint.zh_CN
-%dir %{_libdir}/mc/ext.d
-%attr(755,root,root) %{_libdir}/mc/ext.d/archive.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/doc.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/image.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/misc.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/package.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/sound.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/text.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/video.sh
-%attr(755,root,root) %{_libdir}/mc/ext.d/web.sh
-
-%dir %{_libdir}/mc/extfs.d
-%{_libdir}/mc/extfs.d/README*
+%dir %{_libexecdir}/mc/ext.d
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/archive.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/doc.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/image.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/misc.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/package.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/sound.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/text.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/video.sh
+%attr(755,root,root) %{_libexecdir}/mc/ext.d/web.sh
+
+%dir %{_libexecdir}/mc/extfs.d
+%{_libexecdir}/mc/extfs.d/README*
%if %{with perl_vfs}
-%attr(755,root,root) %{_libdir}/mc/extfs.d/a+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/apt+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/deb*
-%attr(755,root,root) %{_libdir}/mc/extfs.d/dpkg+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/mailfs
-%attr(755,root,root) %{_libdir}/mc/extfs.d/patchfs
-%attr(755,root,root) %{_libdir}/mc/extfs.d/rpms+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/ulib
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uzip
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/a+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/apt+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/deb*
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/dpkg+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/mailfs
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/patchfs
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/rpms+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/ulib
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uzip
%endif
-%attr(755,root,root) %{_libdir}/mc/extfs.d/audio
-%attr(755,root,root) %{_libdir}/mc/extfs.d/bpp
-%attr(755,root,root) %{_libdir}/mc/extfs.d/changesetfs
-%attr(755,root,root) %{_libdir}/mc/extfs.d/gitfs+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/hp48+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/iso9660
-%attr(755,root,root) %{_libdir}/mc/extfs.d/lslR
-%attr(755,root,root) %{_libdir}/mc/extfs.d/patchsetfs
-%attr(755,root,root) %{_libdir}/mc/extfs.d/rpm
-%attr(755,root,root) %{_libdir}/mc/extfs.d/s3+
-%attr(755,root,root) %{_libdir}/mc/extfs.d/trpm
-%attr(755,root,root) %{_libdir}/mc/extfs.d/u7z
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uace
-%attr(755,root,root) %{_libdir}/mc/extfs.d/ualz
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uar*
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uc1541
-%attr(755,root,root) %{_libdir}/mc/extfs.d/ucab
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uha
-%attr(755,root,root) %{_libdir}/mc/extfs.d/ulha
-%attr(755,root,root) %{_libdir}/mc/extfs.d/urar
-%attr(755,root,root) %{_libdir}/mc/extfs.d/uzoo
-%dir %{_libdir}/mc/fish
-%{_libdir}/mc/fish/README.fish
-%attr(755,root,root) %{_libdir}/mc/fish/[a-z]*
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/audio
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/bpp
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/changesetfs
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/gitfs+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/hp48+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/iso9660
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/lslR
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/patchsetfs
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/rpm
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/s3+
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/trpm
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/u7z
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uace
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/ualz
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uar*
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uc1541
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/ucab
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uha
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/ulha
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/urar
+%attr(755,root,root) %{_libexecdir}/mc/extfs.d/uzoo
+%dir %{_libexecdir}/mc/fish
+%{_libexecdir}/mc/fish/README.fish
+%attr(755,root,root) %{_libexecdir}/mc/fish/[a-z]*
%{_desktopdir}/mc.desktop
%{_pixmapsdir}/mc.png