]> git.pld-linux.org Git - packages/mc.git/blobdiff - mc.spec
- outdated
[packages/mc.git] / mc.spec
diff --git a/mc.spec b/mc.spec
index 73d1db3d83543e1c4ae511fb3393947ba3baeadb..678a1bddfb9f1582f77d4eef3e9ed45c75ca3924 100644 (file)
--- a/mc.spec
+++ b/mc.spec
@@ -1,19 +1,17 @@
-# TODO: check spec-syntax,mo patches
-# - update ancient X11_WWW (or drop if it's no longer used)
+# TODO:
+# - check spec-syntax,mo patches
 #
 # Conditional build:
 %bcond_with    ext2undel       # with ext2 undelete fs
 %bcond_without perl_vfs        # without perl depending vfs'es -- to avoid perl autoreq
 %bcond_with    samba           # with SAMBA vfs support
 %bcond_without x               # without text edit in X support
-%bcond_without utf8            # utf8
 #
-%define        snap    2007-06-23-14
-%define ssnap  %(echo %{snap} | tr - .)
 Summary:       A user-friendly file manager and visual shell
 Summary(de.UTF-8):     Visuelle Shell Midnight Commander
 Summary(es.UTF-8):     Interpretador de comandos visual Midnight Commander
 Summary(fr.UTF-8):     Un gestionnaire de fichiers puissant et agréable en mode console
+Summary(hu.UTF-8):     Egy felhasználóbarát fájlkezelő és vizuális shell
 Summary(ja.UTF-8):     使いやすいファイルマネージャとビジュアルシェル
 Summary(pl.UTF-8):     Midnight Commander - powłoka wizualna
 Summary(pt_BR.UTF-8):  Interpretador de comandos visual Midnight Commander
@@ -22,71 +20,82 @@ Summary(tr.UTF-8):  Midnight Commander görsel kabuğu
 Summary(uk.UTF-8):     Диспетчер файлів Midnight Commander
 Summary(zh_CN.UTF-8):  一个方便实用的文件管理器和虚拟Shell
 Name:          mc
-Version:       4.6.2
-Release:       0.%{ssnap}.1
+Version:       4.7.5
+Release:       1
+Epoch:         1
 License:       GPL v2+
 Group:         Applications/Shells
-Source0:       http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/snapshots/%{name}-%{snap}.tar.gz
-# Source0-md5: 3d4e56a1152564331abe82e6570898ad
-Source1:       %{name}serv.pamd
-Source2:       %{name}serv.init
+Source0:       http://www.midnight-commander.org/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: 4eb2438b168fb0f93b748889a9294f54
 Source3:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source3-md5: 17d7b574e1b85ad6f8ddceda9e841f19
-Source6:       %{name}serv.sysconfig
 Source7:       %{name}.desktop
 Source8:       %{name}.png
 Patch0:                %{name}-rpmfs.patch
-Patch1:                %{name}-spec-syntax.patch
-Patch2:                %{name}-urar.patch
-Patch3:                %{name}-srpm.patch
+Patch1:                slang-8bit_xterm.patch
 Patch4:                %{name}-home_etc2.patch
 Patch5:                %{name}-pl.patch
-Patch8:                %{name}-mc.ext.patch
-Patch10:       %{name}-localenames.patch
+Patch6:                %{name}-no-ws-visible.patch
 Patch11:       %{name}-noperl-vfs.patch
 # at now syntax highligthing for PLD-update-TODO and CVSROOT/users
 Patch12:       %{name}-pld-developerfriendly.patch
-# http://www.suse.de/~nadvornik/mc.html
-Patch13:       %{name}-utf8.patch
-Patch14:       %{name}-vhdl-syntax.patch
-Patch15:       %{name}-ipv6.patch
-Patch16:       %{name}-refresh.patch
-Patch17:       %{name}-nolibs.patch
-Patch20:       %{name}-uglydir.patch
-Patch21:       %{name}-userhost.patch
-Patch22:       %{name}-utf8-look-and-feel.patch
-Patch23:       %{name}-utf8-8bit-hex.patch
-URL:           http://www.ibiblio.org/mc/
+URL:           http://www.midnight-commander.org/
 BuildRequires: autoconf
 BuildRequires: automake
+%{?with_ext2undel:BuildRequires:       e2fsprogs-devel}
 BuildRequires: gettext-devel
-BuildRequires: glib2-devel
-BuildRequires: indent
-BuildRequires: ncurses-devel >= 5.0
-BuildRequires: pam-devel
-BuildRequires: pkgconfig
-BuildRequires: rpm-perlprov
-BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: sed >= 4.0
-%if %{with utf8}
-BuildRequires: slang-devel >= 1:2.0.0
-%endif
+BuildRequires: glib2-devel >= 2.8
 %ifnarch s390 s390x
 BuildRequires: gpm-devel
 %endif
+BuildRequires: libtool
+BuildRequires: pam-devel
 # Needed? %%{?with_perl_vfs:Requires:  perl-base}
+BuildRequires: pkgconfig
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
+BuildRequires: slang-devel >= 2.2.1
 %{?with_x:BuildRequires:       xorg-lib-libX11-devel}
-%{?with_ext2undel:BuildRequires:       e2fsprogs-devel}
 Requires:      file
 Requires:      pam >= 0.77.3
 Requires:      sed
 Requires:      setup >= 2.4.6-2
+Suggests:      bzip2
+Suggests:      cabextract
+Suggests:      cdrtools-utils
+Suggests:      cpio
+Suggests:      dvi2tty
+Suggests:      enca
+Suggests:      file
+Suggests:      ghostscript
+Suggests:      groff
+Suggests:      gzip
+Suggests:      lha
+Suggests:      links
+Suggests:      lynx
+Suggests:      lzma
+Suggests:      odt2txt
+Suggests:      p7zip-standalone
+Suggests:      perl-tools-pod
+Suggests:      rar
+Suggests:      rpm-utils
+Suggests:      tar
+Suggests:      unarj
+Suggests:      unzip
+Suggests:      xdg-utils
+Suggests:      xpdf-tools
+Suggests:      xz
+Suggests:      zoo
+Obsoletes:     mc46
+Obsoletes:     mc46serv
+Obsoletes:     mcserv
 Obsoletes:     tkmc
 Conflicts:     bash < 2.05b
 Conflicts:     rpm < 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                specflags_ia32   -fomit-frame-pointer
+%define                specflags_ia32  -fomit-frame-pointer
 
 %description
 Midnight Commander is a visual shell much like a file manager, only
@@ -118,12 +127,16 @@ remarquables sont la possibilité de se connecter à un serveur FTP, de
 visualiser des archives tar, de compresser des fichiers avec zip, de
 récupérer des fichiers dans les packages RPM, et tout ceci simplement.
 
+%description -l hu.UTF-8
+Midnight Commander egy vizuális shell, lényegében egy fájlkezelő
+sok-sok lehetőséggel. Szöveges módú, de az egeret is támogatja, ha fut
+a GPM. A legjobb lehetőség az FTP elérése, tar, zip és RPM fájlok
+kezelése.
+
 %description -l ja.UTF-8
 Midnight Commander はいろいろな機能を持ったファイルマネージャ兼
-ビジュアルシェルです。これはテキストモードのアプリケーションですが、
-GPM を使っている場合、マウスが使えます。 Midnight Commander には、 FTP
-に接続できたり、 tar や zip や RPM の中が見えるなど、クールな機能
-があります。
+ビジュアルシェルです。これはテキストモードのアプリケーションですが、 GPM を使っている場合、マウスが使えます。 Midnight
+Commander には、 FTP に接続できたり、 tar や zip や RPM の中が見えるなど、クールな機能 があります。
 
 %description -l pl.UTF-8
 Midnight Commander jest wizualną powłoką podobną do Norton Commandera.
@@ -145,214 +158,39 @@ yetenekli bir görsel kabuktur. Metin ekranda çalışır ve GPM
 çalışıyorsa fare desteği vardır. En hoş özellikleri FTP yapabilmesi,
 tar, zip ve RPM dosyalarının içeriklerini gösterebilmesidir.
 
-%package -n mcserv
-Summary:       Server for the Midnight Commander network file management system
-Summary(de.UTF-8):     Midnight Commander File-Server
-Summary(es.UTF-8):     Servidor de archivos del Midnight Commander
-Summary(fr.UTF-8):     Serveur réseau pour le gestionnaire de fichiers Midnight Commander
-Summary(ja.UTF-8):     Midnight Commander でネットワークファイルマネージメントを行うサーバ
-Summary(pl.UTF-8):     Serwer plików Midnight Commandera
-Summary(pt_BR.UTF-8):  Servidor de arquivos do Midnight Commander
-Summary(ru.UTF-8):     Midnight Commander файл-сервер
-Summary(tr.UTF-8):     Midnight Commander dosya sunucusu
-Summary(uk.UTF-8):     Midnight Commander файл-сервер
-Summary(zh_CN.UTF-8):  mc 网络文件管理系统的服务器。
-Group:         Daemons
-Requires(post,preun):  /sbin/chkconfig
-Requires:      pam >= 0.99.7.1-1
-Requires:      portmap
-Requires:      rc-scripts >= 0.4.1.5
-
-%description -n mcserv
-The Midnight Commander file management system will allow you to
-manipulate the files on a remote machine as if they were local. This
-is only possible if the remote machine is running the mcserv server
-program. Mcserv provides clients running Midnight Commander with
-access to the host's file systems.
-
-%description -n mcserv -l de.UTF-8
-mcserv ist das Server-Programm für das Netzwerkdateisystem Midnight
-Commander. Es ermöglicht den Zugriff auf das Host-Dateisystem für
-Clients, die das Midnight-Dateisystem ausführen (z.Zt. nur Midnight
-Commander file manager).
-
-%description -n mcserv -l es.UTF-8
-Mcserv es un servidor para el sistema de archivos en red del Midnight
-Commander. Permite que clientes usando el mc accedan remotamente al
-sistema de archivos de la máquina en que está ejecutando.
-
-%description -n mcserv -l fr.UTF-8
-Le système de gestion de fichier Midnight Commander vous permet de
-manipuler des fichiers sur une machine distante comme si ils étaient
-sur votre propre machine. Ceci est possible seulement si la machine
-distante possède le programme mcserv et que celui-ci est activé.
-Mcserv apporte aux machines clientes qui font tourner Midnight
-Commander un accès aux fichiers situés sur l'hôte.
-
-%description -n mcserv -l ja.UTF-8
-Midnight Commander
-のファイル管理システムは、リモートマシンにあるファイルを
-ローカルにあるかのように扱うことができます。この機能は mcserv
-プログラムを 実行しているリモートマシンに対してのみ働きます。 Mcserv
-は Midnight Commander
-クライアントに対して、このホストのファイルシステムを提供します。
-
-%description -n mcserv -l pl.UTF-8
-Mcserv jest aplikacją dla sieciowego systemu plików Midnight
-Commandera. Pozwala na dostęp do systemu plików dla klienta
-pracującego pod MC i używającego jego systemu plików.
-
-%description -n mcserv -l pt_BR.UTF-8
-Mcserv é um servidor para o sistema de arquivos em rede do Midnight
-Commander. Ele permite que clientes usando o mc acessem remotamente o
-sistema de arquivos da máquina em que está rodando.
-
-%description -n mcserv -l ru.UTF-8
-mcserv - это серверная программа для сетевой файловой системы Midnight
-Commander. Она обеспечивает доступ к удаленной файловой системе
-клиентам, поддерживающим файловую систему Midnight Commander (в
-настоящее время только собственно Midnight Commander).
-
-%description -n mcserv -l tr.UTF-8
-mcserv, Midnight Commander ağ dosya sisteminin sunucu programıdır.
-Midnight dosya sistemini çalıştıran istemcilerin sunucu dosya
-sistemine erişimini sağlar.
-
-%description -n mcserv -l uk.UTF-8
-mcserv - це серверна програма для мережевої файлової системи Midnight
-Commander. Вона забезпечує доступ до віддаленої файлової системи
-клієнтам, що підтримують файлову систему Midnight Commander (наразі
-тільки власне Midnight Commander).
-
 %prep
-%setup -q -a3 -n %{name}-%{snap}
-%patch0 -p1
+%setup -q -a3
+#rpm wrapper rewritten
+#%patch0 -p1
 %patch1 -p1
-%patch2 -p1
-cp -f vfs/extfs/{rpm,srpm}
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch8 -p1
-%patch10 -p1
+# doesn't apply
+#%patch4 -p1
+# doesn't apply
+#%patch5 -p1
+%patch6 -p1
 %{!?with_perl_vfs:%patch11 -p1}
 %patch12 -p1
-%if %{with utf8}
-%patch13 -p1
-%endif
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch20 -p1
-%patch21 -p1
-%if %{with utf8}
-%patch22 -p1
-%patch23 -p1
-%endif
 
-mv -f po/{no,nb}.po
 rm -f po/stamp-po
 
-%if %{with utf8}
-# convert files in /lib to UTF-8
-cd lib
-for i in mc.hint mc.hint.es mc.hint.it mc.hint.nl; do
-       iconv -f iso-8859-1 -t utf-8 < ${i} > ${i}.tmp
-       mv -f ${i}.tmp ${i}
-done
-
-for i in mc.hint.cs mc.hint.hu mc.hint.pl; do
-       iconv -f iso-8859-2 -t utf-8 < ${i} > ${i}.tmp
-       mv -f ${i}.tmp ${i}
-done
-
-for i in mc.hint.sr mc.menu.sr; do
-       iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
-       mv -f ${i}.tmp ${i}
-done
-
-iconv -f koi8-r -t utf8 < mc.hint.ru > mc.hint.ru.tmp
-mv -f mc.hint.ru.tmp mc.hint.ru
-iconv -f koi8-u -t utf8 < mc.hint.uk > mc.hint.uk.tmp
-mv -f mc.hint.uk.tmp mc.hint.uk
-iconv -f big5 -t utf8 < mc.hint.zh > mc.hint.zh.tmp
-mv -f mc.hint.zh.tmp mc.hint.zh
-cd ..
-
-# convert man pages in /doc to UTF-8
-cd doc
-
-cd ru
-for i in mc.1.in xnc.hlp; do
-       iconv -f koi8-r -t utf-8 < ${i} > ${i}.tmp
-       mv -f ${i}.tmp ${i}
-done
-cd ..
-
-cd sr
-for i in mc.1.in mcserv.8.in xnc.hlp; do
-       iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
-       mv -f ${i}.tmp ${i}
-done
-cd ..
-
-for d in es it; do
-       for i in mc.1.in xnc.hlp; do
-               iconv -f iso-8859-3 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
-               mv -f ${d}/${i}.tmp ${d}/${i}
-       done
-done
-
-for d in hu pl; do
-       for i in mc.1.in xnc.hlp; do
-               iconv -f iso-8859-2 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
-               mv -f ${d}/${i}.tmp ${d}/${i}
-       done
-done
-cd ..
-%endif
-
-rm -f syntax/Syntax.orig
-sed -i 's:|hxx|:|hh|hpp|hxx|:' syntax/Syntax
+sed -i 's:|hxx|:|hh|hpp|hxx|tcc|:' misc/syntax/Syntax
 
 %build
 %{__gettextize}
+%{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
-X11_WWW="
-if [ -f /usr/bin/netscape ]; then
-       netscape;
-else
-       if [ -f /usr/bin/galeon ]; then
-               galeon
-       else
-               if [ -f /usr/bin/mozilla ]; then
-                       mozilla
-               else
-                       xterm -c lynx
-               fi;
-       fi;
-fi"
 
-%if %{with utf8}
-CFLAGS="-DUTF8 %{rpmcflags}"
-export CFLAGS
-%endif
+export X11_WWW="xdg-open"
 %configure \
-       --enable-charset \
-       --with%{!?debug:out}-debug \
-       --with%{!?with_ext2undel:out}-ext2undel \
+       %{?with_ext2undel:--enable-vfs-undelfs} \
+       %{?with_samba:--enable-vfs-smb} \
+       --with-smb-configdir=/etc/samba \
+       --with-smb-codepagedir=/etc/samba/codepages \
        --with%{!?with_x:out}-x \
-       --with-vfs \
-       --with-mcfs \
-       %{?with_samba:--with-samba} \
-       --with-configdir=/etc/samba \
-       --with-codepagedir=/etc/samba/codepages \
        --with-gpm-mouse \
-       --with-screen=%{?!with_utf8:mc}slang \
-       --with-edit
+       --with-screen=slang
 
 %{__make}
 
@@ -365,11 +203,6 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pixmapsdir},%{_desktopdir}} \
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install doc/mcserv.8 $RPM_BUILD_ROOT%{_mandir}/man8
-
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/mcserv
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
-install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/mcserv
 install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE8} $RPM_BUILD_ROOT%{_pixmapsdir}
 
@@ -382,97 +215,85 @@ for a in es pl ; do
        done
 done
 
-install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/shrc.d
+install contrib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/shrc.d
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -n mcserv
-/sbin/chkconfig --add mcserv
-%service mcserv restart "mcserv daemon"
-
-%preun -n mcserv
-if [ "$1" = "0" ]; then
-       %service mcserv stop
-       /sbin/chkconfig --del mcserv
-fi
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc FAQ NEWS README
-%attr(755,root,root) %{_bindir}/mc*
+%doc NEWS README
 %config /etc/shrc.d/*
-%attr(755,root,root) %{_libdir}/mc/cons.saver
+%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 %{_datadir}/mc
 
-%{_datadir}/mc/bin
+%{_datadir}/mc/mc.*
+%{_datadir}/mc/skins
 %{_datadir}/mc/syntax
 
-%{_datadir}/mc/mc.ext
-%{_datadir}/mc/cedit*
-%{_datadir}/mc/edit.*
-%{_datadir}/mc/mc.hlp
-%lang(es) %{_datadir}/mc/mc.hlp.es
-%lang(hu) %{_datadir}/mc/mc.hlp.hu
-%lang(it) %{_datadir}/mc/mc.hlp.it
-%lang(pl) %{_datadir}/mc/mc.hlp.pl
-%lang(ru) %{_datadir}/mc/mc.hlp.ru
-%lang(sr) %{_datadir}/mc/mc.hlp.sr
-%{_datadir}/mc/mc.lib
-%{_datadir}/mc/mc.menu
-%lang(sr) %{_datadir}/mc/mc.menu.sr
-%{_datadir}/mc/mc.hint
-%lang(cs) %{_datadir}/mc/mc.hint.cs
-%lang(es) %{_datadir}/mc/mc.hint.es
-%lang(hu) %{_datadir}/mc/mc.hint.hu
-%lang(it) %{_datadir}/mc/mc.hint.it
-%lang(nl) %{_datadir}/mc/mc.hint.nl
-%lang(pl) %{_datadir}/mc/mc.hint.pl
-%lang(ru) %{_datadir}/mc/mc.hint.ru
-%lang(sr) %{_datadir}/mc/mc.hint.sr
-%lang(uk) %{_datadir}/mc/mc.hint.uk
-%lang(zh) %{_datadir}/mc/mc.hint.zh
-
-%dir %{_datadir}/mc/extfs
-%{_datadir}/mc/extfs/README
-%{_datadir}/mc/extfs/extfs.ini
-%{_datadir}/mc/extfs/sfs.ini
+%dir %{_datadir}/mc/help
+%{_datadir}/mc/help/mc.hlp
+%lang(es) %{_datadir}/mc/help/mc.hlp.es
+%lang(hu) %{_datadir}/mc/help/mc.hlp.hu
+%lang(it) %{_datadir}/mc/help/mc.hlp.it
+%lang(pl) %{_datadir}/mc/help/mc.hlp.pl
+%lang(ru) %{_datadir}/mc/help/mc.hlp.ru
+%lang(sr) %{_datadir}/mc/help/mc.hlp.sr
+%dir %{_datadir}/mc/hints
+%{_datadir}/mc/hints/mc.hint
+%lang(cs) %{_datadir}/mc/hints/mc.hint.cs
+%lang(es) %{_datadir}/mc/hints/mc.hint.es
+%lang(hu) %{_datadir}/mc/hints/mc.hint.hu
+%lang(it) %{_datadir}/mc/hints/mc.hint.it
+%lang(nl) %{_datadir}/mc/hints/mc.hint.nl
+%lang(pl) %{_datadir}/mc/hints/mc.hint.pl
+%lang(ru) %{_datadir}/mc/hints/mc.hint.ru
+%lang(sr) %{_datadir}/mc/hints/mc.hint.sr
+%lang(uk) %{_datadir}/mc/hints/mc.hint.uk
+%lang(zh) %{_datadir}/mc/hints/mc.hint.zh
+
+%dir %{_libdir}/mc/extfs.d
+%{_libdir}/mc/extfs.d/README*
 %if %{with perl_vfs}
-%attr(755,root,root) %{_datadir}/mc/extfs/a
-%attr(755,root,root) %{_datadir}/mc/extfs/apt
-%attr(755,root,root) %{_datadir}/mc/extfs/deb*
-%attr(755,root,root) %{_datadir}/mc/extfs/dpkg
-#%attr(755,root,root) %{_datadir}/mc/extfs/ftplist
-%attr(755,root,root) %{_datadir}/mc/extfs/mailfs
-%attr(755,root,root) %{_datadir}/mc/extfs/patchfs
-%attr(755,root,root) %{_datadir}/mc/extfs/rpms
-#%attr(755,root,root) %{_datadir}/mc/extfs/ucpio
-%attr(755,root,root) %{_datadir}/mc/extfs/uzip
+%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/uzip
 %endif
-%attr(755,root,root) %{_datadir}/mc/extfs/audio
-%attr(755,root,root) %{_datadir}/mc/extfs/bpp
-%attr(755,root,root) %{_datadir}/mc/extfs/hp48
-%attr(755,root,root) %{_datadir}/mc/extfs/iso9660
-%attr(755,root,root) %{_datadir}/mc/extfs/lslR
-%attr(755,root,root) %{_datadir}/mc/extfs/rpm
-%attr(755,root,root) %{_datadir}/mc/extfs/trpm
-%attr(755,root,root) %{_datadir}/mc/extfs/u7z
-%attr(755,root,root) %{_datadir}/mc/extfs/ualz
-%attr(755,root,root) %{_datadir}/mc/extfs/uar*
-%attr(755,root,root) %{_datadir}/mc/extfs/uha
-%attr(755,root,root) %{_datadir}/mc/extfs/ulha
-%attr(755,root,root) %{_datadir}/mc/extfs/urar
-%attr(755,root,root) %{_datadir}/mc/extfs/uzoo
-%attr(755,root,root) %{_datadir}/mc/extfs/srpm
+%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/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/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]*
 %{_desktopdir}/mc.desktop
 %{_pixmapsdir}/mc.png
 
-%{_datadir}/mc/mc.charsets
-
 %{_mandir}/man1/*
 %lang(es) %{_mandir}/es/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
@@ -481,14 +302,5 @@ fi
 %lang(ru) %{_mandir}/ru/man1/*
 %lang(sr) %{_mandir}/sr/man1/*
 
-%files -n mcserv
-%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/*
-
-%attr(754,root,root) /etc/rc.d/init.d/mcserv
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mcserv
-%{_mandir}/man8/mcserv.8*
-%lang(es) %{_mandir}/es/man8/mcserv.8*
-%lang(pl) %{_mandir}/pl/man8/mcserv.8*
-%lang(sr) %{_mandir}/sr/man8/mcserv.8*
-%attr(755,root,root) %{_sbindir}/mcserv
+%dir %{_sysconfdir}/mc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mc/*.*
This page took 0.116975 seconds and 4 git commands to generate.