]> git.pld-linux.org Git - packages/mc.git/blame - mc.spec
- drop obsolete files
[packages/mc.git] / mc.spec
CommitLineData
d78cba00 1# TODO:
d78cba00 2# - check spec-syntax,mo patches
5a0ca66d 3# - update ancient X11_WWW (or drop if it's no longer used)
afbb79ff
JB
4#
5# Conditional build:
69d23796 6%bcond_with ext2undel # with ext2 undelete fs
26aa770b 7%bcond_without perl_vfs # without perl depending vfs'es -- to avoid perl autoreq
69d23796 8%bcond_with samba # with SAMBA vfs support
4341efe2 9%bcond_without x # without text edit in X support
703b7291 10%bcond_without utf8 # utf8
afbb79ff 11#
9ef7c013 12Summary: A user-friendly file manager and visual shell
7defc305
ER
13Summary(de.UTF-8): Visuelle Shell Midnight Commander
14Summary(es.UTF-8): Interpretador de comandos visual Midnight Commander
15Summary(fr.UTF-8): Un gestionnaire de fichiers puissant et agréable en mode console
16Summary(ja.UTF-8): 使いやすいファイルマネージャとビジュアルシェル
17Summary(pl.UTF-8): Midnight Commander - powłoka wizualna
18Summary(pt_BR.UTF-8): Interpretador de comandos visual Midnight Commander
19Summary(ru.UTF-8): Диспетчер файлов Midnight Commander
20Summary(tr.UTF-8): Midnight Commander görsel kabuğu
21Summary(uk.UTF-8): Диспетчер файлів Midnight Commander
22Summary(zh_CN.UTF-8): 一个方便实用的文件管理器和虚拟Shell
06df6411 23Name: mc
e18d3c74 24Version: 4.6.2
b0254da2 25Release: 3
5a0ca66d 26License: GPL v2+
51719b27 27Group: Applications/Shells
60c59db8
TP
28Source0: http://www.midnight-commander.org/downloads/%{name}-%{version}.tar.gz
29# Source0-md5: ec92966f4d0c8b50c344fe901859ae2a
51719b27 30Source1: %{name}serv.pamd
31Source2: %{name}serv.init
f187cfbf 32Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
4f279a49 33# Source3-md5: 17d7b574e1b85ad6f8ddceda9e841f19
a825a165 34Source6: %{name}serv.sysconfig
0f5143bd 35Source7: %{name}.desktop
36Source8: %{name}.png
6dabce9f 37Patch0: %{name}-rpmfs.patch
81132514
JB
38Patch1: %{name}-spec-syntax.patch
39Patch2: %{name}-urar.patch
40Patch3: %{name}-srpm.patch
41Patch4: %{name}-home_etc2.patch
42Patch5: %{name}-pl.patch
82a31d0b 43Patch6: %{name}-no-ws-visible.patch
2aba11bc 44Patch7: %{name}-mhl.patch
9db727dc 45Patch8: %{name}-mc.ext.patch
60ec3264
PG
46Patch10: %{name}-localenames.patch
47Patch11: %{name}-noperl-vfs.patch
317fa76e 48# at now syntax highligthing for PLD-update-TODO and CVSROOT/users
60ec3264 49Patch12: %{name}-pld-developerfriendly.patch
60c59db8
TP
50# http://www.midnight-commander.org/downloads/mc-4.6.2-utf8.patch.gz
51Patch13: %{name}-%{version}-utf8.patch
445b50c1 52Patch14: %{name}-vhdl-syntax.patch
1ce28c6f
AM
53Patch15: %{name}-ipv6.patch
54Patch16: %{name}-refresh.patch
60ec3264 55Patch17: %{name}-nolibs.patch
fad26c1d 56Patch21: %{name}-userhost.patch
3b4a4e18 57Patch24: %{name}-find_options.patch
1835a686
PS
58Patch25: %{name}-verilog-syntax.patch
59Patch26: %{name}-awk-syntax.patch
b0254da2 60Patch27: %{name}-term.patch
2a79da2b 61URL: http://www.midnight-commander.org/
2ce65b42
TP
62BuildRequires: autoconf
63BuildRequires: automake
8585e26d 64BuildRequires: gettext-devel
482746f5 65BuildRequires: glib2-devel
2ce65b42
TP
66BuildRequires: indent
67BuildRequires: ncurses-devel >= 5.0
68BuildRequires: pam-devel
07a90788 69BuildRequires: pkgconfig
1b8659cb 70BuildRequires: rpm-perlprov
67463a8b 71BuildRequires: rpmbuild(macros) >= 1.268
27d0a08b 72BuildRequires: sed >= 4.0
4341efe2 73%if %{with utf8}
441fc7d6 74BuildRequires: slang-devel >= 1:2.0.0
4341efe2 75%endif
8585e26d 76%ifnarch s390 s390x
76d8dd60 77BuildRequires: gpm-devel
8585e26d 78%endif
ea305648 79# Needed? %%{?with_perl_vfs:Requires: perl-base}
fa581339 80%{?with_x:BuildRequires: xorg-lib-libX11-devel}
ea305648 81%{?with_ext2undel:BuildRequires: e2fsprogs-devel}
cebe333f 82Requires: file
867710f4 83Requires: pam >= 0.77.3
ec507259 84Requires: sed
189df32c 85Requires: setup >= 2.4.6-2
18364489
PG
86Suggests: bzip2
87Suggests: gzip
88Suggests: lynx
b3305301 89Suggests: p7zip-standalone
3c997af2 90Suggests: rpm-utils
18364489
PG
91Suggests: tar
92Suggests: unzip
a2a8cff1 93Obsoletes: tkmc
1ca427de 94Conflicts: bash < 2.05b
0f5143bd 95Conflicts: rpm < 4.0
67463a8b 96BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
014925d9 97
7c054d29 98%define specflags_ia32 -fomit-frame-pointer
abb760dd 99
b225fe80 100%description
a82605d4 101Midnight Commander is a visual shell much like a file manager, only
102with way more features. It is text mode, but also includes mouse
103support if you are running GPM. Its coolest feature is the ability to
8f20bffe 104FTP, view tar, zip files, and poke into RPMs for specific files. :-)
06df6411 105
b1356c1b
JR
106%description -l de.UTF-8
107Midnight Commander ist ein Visual-Shell, ähnlich einem Dateimanager,
108aber mit zusätzlichen Funktionen. Es läuft im Textmodus, kann jedoch
109eine Maus unterstützen, wenn GPM betrieben wird. Seine coolsten
110Fähigkeiten sind die FTP-Option, das Einsehen von tar- und zip-Dateien
a82605d4 111und das Herausfischen von spezifischen Dateien aus RPMs.
b225fe80 112
b1356c1b
JR
113%description -l es.UTF-8
114Midnight Commander es un interpretador de comandos visual que más
97677aa5 115parece un administrador de archivos, solamente con varias
b1356c1b
JR
116características a más. Es un programa en modo texto, pero incluye
117soporte para ratón, si estuviera ejecutando GPM o en una ventana
118xterm. Su característica más genial es la habilidad de cotillear en
119RPMs buscando archivos específicos. :-)
97677aa5 120
b1356c1b 121%description -l fr.UTF-8
a82605d4 122Midnight Commander est une interface pour la ligne de commande qui
123tient beaucoup du gestionnaire de fichiers, mais est bien plus
b1356c1b
JR
124puissant. Il fonctionne en mode console (texte), mais peut être
125contrôlé à la souris si GPM est présent. Ses caractéristiques les plus
126remarquables sont la possibilité de se connecter à un serveur FTP, de
a82605d4 127visualiser des archives tar, de compresser des fichiers avec zip, de
b1356c1b 128récupérer des fichiers dans les packages RPM, et tout ceci simplement.
b225fe80 129
b1356c1b
JR
130%description -l ja.UTF-8
131Midnight Commander はいろいろな機能を持ったファイルマネージャ兼
132ビジュアルシェルです。これはテキストモードのアプリケーションですが、
133GPM を使っている場合、マウスが使えます。 Midnight Commander には、 FTP
134に接続できたり、 tar や zip や RPM の中が見えるなど、クールな機能
135があります。
97677aa5 136
b1356c1b
JR
137%description -l pl.UTF-8
138Midnight Commander jest wizualną powłoką podobną do Norton Commandera.
139Pracuje w trybie tekstowym, ale ma także obsługę myszki. Jest super ;)
140MC ma wbudowanego klienta FTP, może zaglądać do skompresowanych
141archiwów tar i zip, a także oglądać pliki w pakietach RPM.
dadc2ff7 142
b1356c1b
JR
143%description -l pt_BR.UTF-8
144Midnight Commander é um interpretador de comandos visual que mais
145parece um gerenciador de arquivos, somente com várias características
146a mais. Ele é um programa de modo texto, mas inclui suporte para mouse
147se você estiver rodando GPM ou em uma janela xterm. Sua característica
148mais legal é a habilidade de bisbilhotar em RPMs procurando arquivos
149específicos. :-)
97677aa5 150
b1356c1b
JR
151%description -l tr.UTF-8
152Midnight Commander bir dosya yöneticisine çok benzeyen ancak daha
153yetenekli bir görsel kabuktur. Metin ekranda çalışır ve GPM
154çalışıyorsa fare desteği vardır. En hoş özellikleri FTP yapabilmesi,
155tar, zip ve RPM dosyalarının içeriklerini gösterebilmesidir.
0107cf03 156
a2a8cff1 157%package -n mcserv
9ef7c013 158Summary: Server for the Midnight Commander network file management system
7defc305
ER
159Summary(de.UTF-8): Midnight Commander File-Server
160Summary(es.UTF-8): Servidor de archivos del Midnight Commander
161Summary(fr.UTF-8): Serveur réseau pour le gestionnaire de fichiers Midnight Commander
162Summary(ja.UTF-8): Midnight Commander でネットワークファイルマネージメントを行うサーバ
163Summary(pl.UTF-8): Serwer plików Midnight Commandera
164Summary(pt_BR.UTF-8): Servidor de arquivos do Midnight Commander
165Summary(ru.UTF-8): Midnight Commander файл-сервер
166Summary(tr.UTF-8): Midnight Commander dosya sunucusu
167Summary(uk.UTF-8): Midnight Commander файл-сервер
168Summary(zh_CN.UTF-8): mc 网络文件管理系统的服务器。
e84de3cd 169Group: Daemons
91c76ea7 170Requires(post,preun): /sbin/chkconfig
6f032019 171Requires: pam >= 0.99.7.1-1
d4c2fefe 172Requires: portmap
f1a94985 173Requires: rc-scripts >= 0.4.1.5
b225fe80 174
175%description -n mcserv
a82605d4 176The Midnight Commander file management system will allow you to
177manipulate the files on a remote machine as if they were local. This
178is only possible if the remote machine is running the mcserv server
179program. Mcserv provides clients running Midnight Commander with
180access to the host's file systems.
b225fe80 181
b1356c1b
JR
182%description -n mcserv -l de.UTF-8
183mcserv ist das Server-Programm für das Netzwerkdateisystem Midnight
184Commander. Es ermöglicht den Zugriff auf das Host-Dateisystem für
185Clients, die das Midnight-Dateisystem ausführen (z.Zt. nur Midnight
a82605d4 186Commander file manager).
b225fe80 187
b1356c1b 188%description -n mcserv -l es.UTF-8
97677aa5 189Mcserv es un servidor para el sistema de archivos en red del Midnight
190Commander. Permite que clientes usando el mc accedan remotamente al
b1356c1b 191sistema de archivos de la máquina en que está ejecutando.
97677aa5 192
b1356c1b
JR
193%description -n mcserv -l fr.UTF-8
194Le système de gestion de fichier Midnight Commander vous permet de
195manipuler des fichiers sur une machine distante comme si ils étaient
a82605d4 196sur votre propre machine. Ceci est possible seulement si la machine
b1356c1b 197distante possède le programme mcserv et que celui-ci est activé.
a82605d4 198Mcserv apporte aux machines clientes qui font tourner Midnight
b1356c1b 199Commander un accès aux fichiers situés sur l'hôte.
b225fe80 200
b1356c1b 201%description -n mcserv -l ja.UTF-8
97677aa5 202Midnight Commander
b1356c1b
JR
203のファイル管理システムは、リモートマシンにあるファイルを
204ローカルにあるかのように扱うことができます。この機能は mcserv
205プログラムを 実行しているリモートマシンに対してのみ働きます。 Mcserv
206は Midnight Commander
207クライアントに対して、このホストのファイルシステムを提供します。
97677aa5 208
b1356c1b
JR
209%description -n mcserv -l pl.UTF-8
210Mcserv jest aplikacją dla sieciowego systemu plików Midnight
211Commandera. Pozwala na dostęp do systemu plików dla klienta
212pracującego pod MC i używającego jego systemu plików.
014925d9 213
b1356c1b
JR
214%description -n mcserv -l pt_BR.UTF-8
215Mcserv é um servidor para o sistema de arquivos em rede do Midnight
97677aa5 216Commander. Ele permite que clientes usando o mc acessem remotamente o
b1356c1b 217sistema de arquivos da máquina em que está rodando.
97677aa5 218
b1356c1b
JR
219%description -n mcserv -l ru.UTF-8
220mcserv - это серверная программа для сетевой файловой системы Midnight
221Commander. Она обеспечивает доступ к удаленной файловой системе
222клиентам, поддерживающим файловую систему Midnight Commander (в
223настоящее время только собственно Midnight Commander).
a7c418f5 224
b1356c1b
JR
225%description -n mcserv -l tr.UTF-8
226mcserv, Midnight Commander ağ dosya sisteminin sunucu programıdır.
227Midnight dosya sistemini çalıştıran istemcilerin sunucu dosya
228sistemine erişimini sağlar.
a2a8cff1 229
b1356c1b
JR
230%description -n mcserv -l uk.UTF-8
231mcserv - це серверна програма для мережевої файлової системи Midnight
232Commander. Вона забезпечує доступ до віддаленої файлової системи
233клієнтам, що підтримують файлову систему Midnight Commander (наразі
234тільки власне Midnight Commander).
a7c418f5 235
b225fe80 236%prep
60c59db8 237%setup -q -a3 -n %{name}-%{version}
6dabce9f 238%patch0 -p1
79bd6b53 239%patch1 -p1
66b92d57 240%patch2 -p1
6dabce9f 241cp -f vfs/extfs/{rpm,srpm}
81132514 242%patch3 -p1
79bd6b53
JR
243%patch4 -p1
244%patch5 -p1
82a31d0b 245%patch6 -p1
60c59db8 246%patch7 -p1
7e49120b 247%patch8 -p1
60ec3264
PG
248%patch10 -p1
249%{!?with_perl_vfs:%patch11 -p1}
b800629b 250%patch12 -p1
9db727dc 251%if %{with utf8}
60ec3264 252%patch13 -p1
4341efe2 253%endif
445b50c1 254%patch14 -p1
1ce28c6f
AM
255%patch15 -p1
256%patch16 -p1
60ec3264 257%patch17 -p1
fad26c1d 258%patch21 -p1
3b4a4e18 259%if "%{pld_release}" == "ti"
260%patch24 -p1
261%endif
1835a686
PS
262%patch25 -p1
263%patch26 -p1
b0254da2 264%patch27 -p1
69d23796
JB
265
266mv -f po/{no,nb}.po
5a0ca66d 267rm -f po/stamp-po
b225fe80 268
bf80beca 269%if %{with utf8}
270# convert files in /lib to UTF-8
271cd lib
272for i in mc.hint mc.hint.es mc.hint.it mc.hint.nl; do
67463a8b
ER
273 iconv -f iso-8859-1 -t utf-8 < ${i} > ${i}.tmp
274 mv -f ${i}.tmp ${i}
bf80beca 275done
276
277for i in mc.hint.cs mc.hint.hu mc.hint.pl; do
67463a8b
ER
278 iconv -f iso-8859-2 -t utf-8 < ${i} > ${i}.tmp
279 mv -f ${i}.tmp ${i}
bf80beca 280done
281
282for i in mc.hint.sr mc.menu.sr; do
67463a8b
ER
283 iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
284 mv -f ${i}.tmp ${i}
bf80beca 285done
286
287iconv -f koi8-r -t utf8 < mc.hint.ru > mc.hint.ru.tmp
288mv -f mc.hint.ru.tmp mc.hint.ru
289iconv -f koi8-u -t utf8 < mc.hint.uk > mc.hint.uk.tmp
290mv -f mc.hint.uk.tmp mc.hint.uk
291iconv -f big5 -t utf8 < mc.hint.zh > mc.hint.zh.tmp
292mv -f mc.hint.zh.tmp mc.hint.zh
293cd ..
294
bf80beca 295# convert man pages in /doc to UTF-8
296cd doc
297
298cd ru
299for i in mc.1.in xnc.hlp; do
67463a8b
ER
300 iconv -f koi8-r -t utf-8 < ${i} > ${i}.tmp
301 mv -f ${i}.tmp ${i}
bf80beca 302done
303cd ..
304
305cd sr
306for i in mc.1.in mcserv.8.in xnc.hlp; do
67463a8b
ER
307 iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
308 mv -f ${i}.tmp ${i}
bf80beca 309done
310cd ..
311
312for d in es it; do
67463a8b
ER
313 for i in mc.1.in xnc.hlp; do
314 iconv -f iso-8859-3 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
315 mv -f ${d}/${i}.tmp ${d}/${i}
316 done
bf80beca 317done
318
319for d in hu pl; do
67463a8b
ER
320 for i in mc.1.in xnc.hlp; do
321 iconv -f iso-8859-2 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
322 mv -f ${d}/${i}.tmp ${d}/${i}
323 done
bf80beca 324done
325cd ..
326%endif
327
445b50c1 328rm -f syntax/Syntax.orig
1835a686 329sed -i 's:|hxx|:|hh|hpp|hxx|tcc|:' syntax/Syntax
27d0a08b 330
b225fe80 331%build
ebf0d7d4 332%{__gettextize}
8a749106 333%{__aclocal} -I m4
569ca9b0 334%{__autoconf}
335%{__automake}
6ea21e8b 336X11_WWW="
60c59db8
TP
337if [ -f /usr/bin/iceweasel ]; then
338 iceweasel;
6ea21e8b 339else
e6bd752d 340 if [ -f /usr/bin/galeon ]; then
a7c418f5 341 galeon
342 else
e6bd752d 343 if [ -f /usr/bin/mozilla ]; then
a7c418f5 344 mozilla
345 else
346 xterm -c lynx
347 fi;
348 fi;
6ea21e8b 349fi"
bf80beca 350
351%if %{with utf8}
82b25b19 352CFLAGS="-DUTF8 %{rpmcflags}"
bf80beca 353export CFLAGS
354%endif
014925d9 355%configure \
60c59db8 356 --enable-dependency-tracking \
b0067d79 357 --enable-charset \
e6bd752d 358 --with%{!?debug:out}-debug \
69d23796
JB
359 --with%{!?with_ext2undel:out}-ext2undel \
360 --with%{!?with_x:out}-x \
aa82b622 361 --with-vfs \
e6bd752d 362 --with-mcfs \
69d23796 363 %{?with_samba:--with-samba} \
e6bd752d
AM
364 --with-configdir=/etc/samba \
365 --with-codepagedir=/etc/samba/codepages \
366 --with-gpm-mouse \
4341efe2 367 --with-screen=%{?!with_utf8:mc}slang \
e6bd752d
AM
368 --with-edit
369
370%{__make}
b225fe80 371
b225fe80 372%install
373rm -rf $RPM_BUILD_ROOT
ee7810f9 374install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pixmapsdir},%{_desktopdir}} \
189df32c 375 $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,shrc.d,sysconfig} \
ee7810f9 376 $RPM_BUILD_ROOT%{_mandir}/man8
c2b7cdae 377
aaabaa35 378%{__make} install \
c2b7cdae 379 DESTDIR=$RPM_BUILD_ROOT
06df6411 380
ee7810f9
JK
381install doc/mcserv.8 $RPM_BUILD_ROOT%{_mandir}/man8
382
a2a8cff1 383install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/mcserv
384install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
a825a165 385install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/mcserv
9869577c 386install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}
0f5143bd 387install %{SOURCE8} $RPM_BUILD_ROOT%{_pixmapsdir}
a2a8cff1 388
99de6f42 389for a in es pl ; do
267b57f9 390 for b in man1 man8 ; do
391 install -d $RPM_BUILD_ROOT%{_mandir}/{$a,$a/$b}
392 for c in man/$a/$b/* ; do
393 install $c $RPM_BUILD_ROOT%{_mandir}/$a/$b
99de6f42 394 done
395 done
396done
397
189df32c 398install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/shrc.d
b225fe80 399
875f991f 400%find_lang %{name}
401
a2a8cff1 402%clean
403rm -rf $RPM_BUILD_ROOT
b225fe80 404
06df6411 405%post -n mcserv
767ab68a 406/sbin/chkconfig --add mcserv
67463a8b 407%service mcserv restart "mcserv daemon"
b225fe80 408
06df6411 409%preun -n mcserv
767ab68a 410if [ "$1" = "0" ]; then
67463a8b 411 %service mcserv stop
767ab68a 412 /sbin/chkconfig --del mcserv
413fi
b225fe80 414
875f991f 415%files -f %{name}.lang
06df6411 416%defattr(644,root,root,755)
97677aa5 417%doc FAQ NEWS README
aa82b622 418%attr(755,root,root) %{_bindir}/mc*
f0858a92 419%config /etc/shrc.d/*
8714df24 420%attr(755,root,root) %{_libdir}/mc/cons.saver
421%dir %{_libdir}/mc
06df6411 422
8714df24 423%dir %{_datadir}/mc
e6bd752d 424
8714df24 425%{_datadir}/mc/bin
426%{_datadir}/mc/syntax
8714df24 427
428%{_datadir}/mc/mc.ext
e6bd752d
AM
429%{_datadir}/mc/cedit*
430%{_datadir}/mc/edit.*
e6bd752d 431%{_datadir}/mc/mc.hlp
e6bd752d 432%lang(es) %{_datadir}/mc/mc.hlp.es
f0fc3ecc 433%lang(hu) %{_datadir}/mc/mc.hlp.hu
e6bd752d
AM
434%lang(it) %{_datadir}/mc/mc.hlp.it
435%lang(pl) %{_datadir}/mc/mc.hlp.pl
436%lang(ru) %{_datadir}/mc/mc.hlp.ru
4341efe2 437%lang(sr) %{_datadir}/mc/mc.hlp.sr
e6bd752d
AM
438%{_datadir}/mc/mc.lib
439%{_datadir}/mc/mc.menu
4341efe2 440%lang(sr) %{_datadir}/mc/mc.menu.sr
e6bd752d
AM
441%{_datadir}/mc/mc.hint
442%lang(cs) %{_datadir}/mc/mc.hint.cs
443%lang(es) %{_datadir}/mc/mc.hint.es
444%lang(hu) %{_datadir}/mc/mc.hint.hu
445%lang(it) %{_datadir}/mc/mc.hint.it
446%lang(nl) %{_datadir}/mc/mc.hint.nl
447%lang(pl) %{_datadir}/mc/mc.hint.pl
448%lang(ru) %{_datadir}/mc/mc.hint.ru
4341efe2 449%lang(sr) %{_datadir}/mc/mc.hint.sr
e6bd752d
AM
450%lang(uk) %{_datadir}/mc/mc.hint.uk
451%lang(zh) %{_datadir}/mc/mc.hint.zh
452
8714df24 453%dir %{_datadir}/mc/extfs
e6bd752d 454%{_datadir}/mc/extfs/README
8714df24 455%{_datadir}/mc/extfs/extfs.ini
456%{_datadir}/mc/extfs/sfs.ini
26aa770b 457%if %{with perl_vfs}
e6bd752d
AM
458%attr(755,root,root) %{_datadir}/mc/extfs/a
459%attr(755,root,root) %{_datadir}/mc/extfs/apt
e6bd752d
AM
460%attr(755,root,root) %{_datadir}/mc/extfs/deb*
461%attr(755,root,root) %{_datadir}/mc/extfs/dpkg
462#%attr(755,root,root) %{_datadir}/mc/extfs/ftplist
e6bd752d
AM
463%attr(755,root,root) %{_datadir}/mc/extfs/mailfs
464%attr(755,root,root) %{_datadir}/mc/extfs/patchfs
26aa770b 465%attr(755,root,root) %{_datadir}/mc/extfs/rpms
466#%attr(755,root,root) %{_datadir}/mc/extfs/ucpio
467%attr(755,root,root) %{_datadir}/mc/extfs/uzip
468%endif
469%attr(755,root,root) %{_datadir}/mc/extfs/audio
470%attr(755,root,root) %{_datadir}/mc/extfs/bpp
471%attr(755,root,root) %{_datadir}/mc/extfs/hp48
4341efe2 472%attr(755,root,root) %{_datadir}/mc/extfs/iso9660
26aa770b 473%attr(755,root,root) %{_datadir}/mc/extfs/lslR
474%attr(755,root,root) %{_datadir}/mc/extfs/rpm
e6bd752d 475%attr(755,root,root) %{_datadir}/mc/extfs/trpm
54a28285
AM
476%attr(755,root,root) %{_datadir}/mc/extfs/u7z
477%attr(755,root,root) %{_datadir}/mc/extfs/ualz
e6bd752d 478%attr(755,root,root) %{_datadir}/mc/extfs/uar*
e6bd752d
AM
479%attr(755,root,root) %{_datadir}/mc/extfs/uha
480%attr(755,root,root) %{_datadir}/mc/extfs/ulha
481%attr(755,root,root) %{_datadir}/mc/extfs/urar
e6bd752d
AM
482%attr(755,root,root) %{_datadir}/mc/extfs/uzoo
483%attr(755,root,root) %{_datadir}/mc/extfs/srpm
c3652360 484%{_desktopdir}/mc.desktop
485%{_pixmapsdir}/mc.png
06df6411 486
72902777 487%{_datadir}/mc/mc.charsets
488
fb0aa8ab 489%{_mandir}/man1/*
99de6f42 490%lang(es) %{_mandir}/es/man1/*
e6bd752d
AM
491%lang(hu) %{_mandir}/hu/man1/*
492%lang(it) %{_mandir}/it/man1/*
f0fc3ecc 493%lang(pl) %{_mandir}/pl/man1/*
e6bd752d 494%lang(ru) %{_mandir}/ru/man1/*
4341efe2 495%lang(sr) %{_mandir}/sr/man1/*
3f46a95e 496
b225fe80 497%files -n mcserv
06df6411 498%defattr(644,root,root,755)
ea305648 499%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/*
06df6411 500
a825a165 501%attr(754,root,root) /etc/rc.d/init.d/mcserv
10f51416 502%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mcserv
fb0aa8ab 503%{_mandir}/man8/mcserv.8*
99de6f42 504%lang(es) %{_mandir}/es/man8/mcserv.8*
3f46a95e 505%lang(pl) %{_mandir}/pl/man8/mcserv.8*
4341efe2 506%lang(sr) %{_mandir}/sr/man8/mcserv.8*
c2b7cdae 507%attr(755,root,root) %{_sbindir}/mcserv
This page took 0.153861 seconds and 4 git commands to generate.