]> git.pld-linux.org Git - packages/mc.git/blob - mc.spec
- R: sed (mc-wrapper.sh needs it)
[packages/mc.git] / mc.spec
1 #
2 # Conditional build:
3 %bcond_with     ext2undel       # with ext2 undelete fs
4 %bcond_without  perl_vfs        # without perl depending vfs'es -- to avoid perl autoreq
5 %bcond_with     samba           # with SAMBA vfs support
6 %bcond_without  x               # without text edit in X support
7 %bcond_with     utf8            # utf8
8 #
9 %define snap    2006-05-10-21
10 %define ssnap   %(echo %{snap} | tr - .)
11 Summary:        A user-friendly file manager and visual shell
12 Summary(de):    Visuelle Shell Midnight Commander
13 Summary(es):    Interpretador de comandos visual Midnight Commander
14 Summary(fr):    Un gestionnaire de fichiers puissant et agréable en mode console
15 Summary(ja):    »È¤¤¤ä¤¹¤¤¥Õ¥¡¥¤¥ë¥Þ¥Í¡¼¥¸¥ã¤È¥Ó¥¸¥å¥¢¥ë¥·¥§¥ë
16 Summary(pl):    Midnight Commander - pow³oka wizualna
17 Summary(pt_BR): Interpretador de comandos visual Midnight Commander
18 Summary(ru):    äÉÓÐÅÔÞÅÒ ÆÁÊÌÏ× Midnight Commander
19 Summary(tr):    Midnight Commander görsel kabuðu
20 Summary(uk):    äÉÓÐÅÔÞÅÒ ÆÁÊ̦נMidnight Commander
21 Summary(zh_CN): Ò»¸ö·½±ãʵÓõÄÎļþ¹ÜÀíÆ÷ºÍÐéÄâShell
22 Name:           mc
23 Version:        4.6.2
24 Release:        0.%{ssnap}.2
25 License:        GPL
26 Group:          Applications/Shells
27 Source0:        http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/snapshots/%{name}-%{snap}.tar.gz
28 # Source0-md5:  b480bbd7cea8ee04bb789e8fabf54923
29 Source1:        %{name}serv.pamd
30 Source2:        %{name}serv.init
31 Source3:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
32 # Source3-md5:  17d7b574e1b85ad6f8ddceda9e841f19
33 # Changelogs for Advanced Midnight Commander patches
34 Source4:        http://www1.mplayerhq.hu/~arpi/amc/a%{name}-1.txt
35 # NoSource4-md5:        bcf001d40a63f15848a3763cf5e29f6d
36 Source5:        http://www1.mplayerhq.hu/~arpi/amc/a%{name}-2.txt
37 # NoSource5-md5:        4f69a9856931d562fb5f942a8093e577
38 Source6:        %{name}serv.sysconfig
39 Source7:        %{name}.desktop
40 Source8:        %{name}.png
41 Patch0:         %{name}-rpmfs.patch
42 Patch1:         %{name}-spec-syntax.patch
43 Patch2:         %{name}-urar.patch
44 Patch3:         %{name}-srpm.patch
45 Patch4:         %{name}-home_etc2.patch
46 Patch5:         %{name}-pl.patch
47 # Advanced Midnight Commander patches
48 #changed from:  http://www1.mplayerhq.hu/~arpi/amc/amc-1.diff
49 Patch6:         a%{name}-1.diff
50 #changed from:  http://www1.mplayerhq.hu/~arpi/amc/amc-2.diff
51 Patch7:         a%{name}-2.diff
52 Patch8:         %{name}-mc.ext.patch
53 Patch9:         %{name}-mo.patch
54 Patch10:        %{name}-localenames.patch
55 Patch11:        %{name}-noperl-vfs.patch
56 # at now syntax highligthing for PLD-update-TODO and CVSROOT/users
57 Patch12:        %{name}-pld-developerfriendly.patch
58 # http://www.suse.de/~nadvornik/mc.html
59 Patch13:        %{name}-utf8.patch
60 Patch14:        %{name}-vhdl-syntax.patch
61
62 Patch17:        %{name}-nolibs.patch
63 Patch20:        %{name}-uglydir.patch
64 Patch21:        %{name}-userhost.patch
65 Patch22:        %{name}-utf8-look-and-feel.patch
66 URL:            http://www.ibiblio.org/mc/
67 BuildRequires:  autoconf
68 BuildRequires:  automake
69 BuildRequires:  gettext-devel
70 BuildRequires:  glib2-devel
71 BuildRequires:  indent
72 BuildRequires:  ncurses-devel >= 5.0
73 BuildRequires:  pam-devel
74 BuildRequires:  pkgconfig
75 BuildRequires:  rpm-perlprov
76 BuildRequires:  rpmbuild(macros) >= 1.268
77 BuildRequires:  sed >= 4.0
78 %if %{with utf8}
79 BuildRequires:  slang-devel >= 1:2.0.0
80 %endif
81 %ifnarch s390 s390x
82 BuildRequires:  gpm-devel
83 %endif
84 # Needed? %%{?with_perl_vfs:Requires:   perl-base}
85 %{?with_x:BuildRequires:        xorg-lib-libX11-devel}
86 %{?with_ext2undel:BuildRequires:        e2fsprogs-devel}
87 Requires:       file
88 Requires:       pam >= 0.77.3
89 Requires:       sed
90 Requires:       setup >= 2.4.6-2
91 Obsoletes:      tkmc
92 Conflicts:      rpm < 4.0
93 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
94
95 %define         specflags_ia32   -fomit-frame-pointer
96
97 %description
98 Midnight Commander is a visual shell much like a file manager, only
99 with way more features. It is text mode, but also includes mouse
100 support if you are running GPM. Its coolest feature is the ability to
101 FTP, view tar, zip files, and poke into RPMs for specific files. :-)
102
103 %description -l de
104 Midnight Commander ist ein Visual-Shell, ähnlich einem Dateimanager,
105 aber mit zusätzlichen Funktionen. Es läuft im Textmodus, kann jedoch
106 eine Maus unterstützen, wenn GPM betrieben wird. Seine coolsten
107 Fähigkeiten sind die FTP-Option, das Einsehen von tar- und zip-Dateien
108 und das Herausfischen von spezifischen Dateien aus RPMs.
109
110 %description -l es
111 Midnight Commander es un interpretador de comandos visual que más
112 parece un administrador de archivos, solamente con varias
113 características a más. Es un programa en modo texto, pero incluye
114 soporte para ratón, si estuviera ejecutando GPM o en una ventana
115 xterm. Su característica más genial es la habilidad de cotillear en
116 RPMs buscando archivos específicos. :-)
117
118 %description -l fr
119 Midnight Commander est une interface pour la ligne de commande qui
120 tient beaucoup du gestionnaire de fichiers, mais est bien plus
121 puissant. Il fonctionne en mode console (texte), mais peut être
122 contrôlé à la souris si GPM est présent. Ses caractéristiques les plus
123 remarquables sont la possibilité de se connecter à un serveur FTP, de
124 visualiser des archives tar, de compresser des fichiers avec zip, de
125 récupérer des fichiers dans les packages RPM, et tout ceci simplement.
126
127 %description -l ja
128 Midnight Commander ¤Ï¤¤¤í¤¤¤í¤Êµ¡Ç½¤ò»ý¤Ã¤¿¥Õ¥¡¥¤¥ë¥Þ¥Í¡¼¥¸¥ã·ó
129 ¥Ó¥¸¥å¥¢¥ë¥·¥§¥ë¤Ç¤¹¡£¤³¤ì¤Ï¥Æ¥­¥¹¥È¥â¡¼¥É¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤¹¤¬¡¢
130 GPM ¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢¥Þ¥¦¥¹¤¬»È¤¨¤Þ¤¹¡£ Midnight Commander ¤Ë¤Ï¡¢ FTP
131 ¤ËÀܳ¤Ç¤­¤¿¤ê¡¢ tar ¤ä zip ¤ä RPM ¤ÎÃ椬¸«¤¨¤ë¤Ê¤É¡¢¥¯¡¼¥ë¤Êµ¡Ç½
132 ¤¬¤¢¤ê¤Þ¤¹¡£
133
134 %description -l pl
135 Midnight Commander jest wizualn± pow³ok± podobn± do Norton Commandera.
136 Pracuje w trybie tekstowym, ale ma tak¿e wspomaganie dla myszki. Jest
137 super ;) MC ma wbudowanego klienta FTP, mo¿e zagl±daæ do
138 skompresowanego archiwum tarowego, do *.zip oraz *.rpm. Teraz równie¿
139 pracuje z urz±dzeniami /dev/pts/{0-2048} - standard Unix98.
140
141 %description -l pt_BR
142 Midnight Commander é um interpretador de comandos visual que mais
143 parece um gerenciador de arquivos, somente com várias características
144 a mais. Ele é um programa de modo texto, mas inclui suporte para mouse
145 se você estiver rodando GPM ou em uma janela xterm. Sua característica
146 mais legal é a habilidade de bisbilhotar em RPMs procurando arquivos
147 específicos. :-)
148
149 %description -l tr
150 Midnight Commander bir dosya yöneticisine çok benzeyen ancak daha
151 yetenekli bir görsel kabuktur. Metin ekranda çalýþýr ve GPM
152 çalýþýyorsa fare desteði vardýr. En hoþ özellikleri FTP yapabilmesi,
153 tar, zip ve RPM dosyalarýnýn içeriklerini gösterebilmesidir.
154
155 %package -n mcserv
156 Summary:        Server for the Midnight Commander network file management system
157 Summary(de):    Midnight Commander File-Server
158 Summary(es):    Servidor de archivos del Midnight Commander
159 Summary(fr):    Serveur réseau pour le gestionnaire de fichiers Midnight Commander
160 Summary(ja):    Midnight Commander ¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¥Õ¥¡¥¤¥ë¥Þ¥Í¡¼¥¸¥á¥ó¥È¤ò¹Ô¤¦¥µ¡¼¥Ð
161 Summary(pl):    Serwer plików Midnight Commandera
162 Summary(pt_BR): Servidor de arquivos do Midnight Commander
163 Summary(ru):    Midnight Commander ÆÁÊÌ-ÓÅÒ×ÅÒ
164 Summary(tr):    Midnight Commander dosya sunucusu
165 Summary(uk):    Midnight Commander ÆÁÊÌ-ÓÅÒ×ÅÒ
166 Summary(zh_CN): mc ÍøÂçÎļþ¹ÜÀíϵͳµÄ·þÎñÆ÷¡£
167 Group:          Daemons
168 Requires(post,preun):   /sbin/chkconfig
169 Requires:       pam >= 0.66
170 Requires:       portmap
171 Requires:       rc-scripts
172
173 %description -n mcserv
174 The Midnight Commander file management system will allow you to
175 manipulate the files on a remote machine as if they were local. This
176 is only possible if the remote machine is running the mcserv server
177 program. Mcserv provides clients running Midnight Commander with
178 access to the host's file systems.
179
180 %description -n mcserv -l de
181 mcserv ist das Server-Programm für das Netzwerkdateisystem Midnight
182 Commander. Es ermöglicht den Zugriff auf das Host-Dateisystem für
183 Clients, die das Midnight-Dateisystem ausführen (z.Zt. nur Midnight
184 Commander file manager).
185
186 %description -n mcserv -l es
187 Mcserv es un servidor para el sistema de archivos en red del Midnight
188 Commander. Permite que clientes usando el mc accedan remotamente al
189 sistema de archivos de la máquina en que está ejecutando.
190
191 %description -n mcserv -l fr
192 Le système de gestion de fichier Midnight Commander vous permet de
193 manipuler des fichiers sur une machine distante comme si ils étaient
194 sur votre propre machine. Ceci est possible seulement si la machine
195 distante possède le programme mcserv et que celui-ci est activé.
196 Mcserv apporte aux machines clientes qui font tourner Midnight
197 Commander un accès aux fichiers situés sur l'hôte.
198
199 %description -n mcserv -l ja
200 Midnight Commander
201 ¤Î¥Õ¥¡¥¤¥ë´ÉÍý¥·¥¹¥Æ¥à¤Ï¡¢¥ê¥â¡¼¥È¥Þ¥·¥ó¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤ò
202 ¥í¡¼¥«¥ë¤Ë¤¢¤ë¤«¤Î¤è¤¦¤Ë°·¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Îµ¡Ç½¤Ï mcserv
203 ¥×¥í¥°¥é¥à¤ò ¼Â¹Ô¤·¤Æ¤¤¤ë¥ê¥â¡¼¥È¥Þ¥·¥ó¤ËÂФ·¤Æ¤Î¤ßƯ¤­¤Þ¤¹¡£ Mcserv
204 ¤Ï Midnight Commander
205 ¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ¡¢¤³¤Î¥Û¥¹¥È¤Î¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÄ󶡤·¤Þ¤¹¡£
206
207 %description -n mcserv -l pl
208 Mcserv jest aplikacj± dla sieciowego systemu plików Midnight
209 Commandera. Pozwala na dostêp do systemu plików dla klienta
210 pracuj±cego pod MC i u¿ywaj±cego jego systemu plików.
211
212 %description -n mcserv -l pt_BR
213 Mcserv é um servidor para o sistema de arquivos em rede do Midnight
214 Commander. Ele permite que clientes usando o mc acessem remotamente o
215 sistema de arquivos da máquina em que está rodando.
216
217 %description -n mcserv -l ru
218 mcserv - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÓÅÔÅ×ÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÙ Midnight
219 Commander. ïÎÁ ÏÂÅÓÐÅÞÉ×ÁÅÔ ÄÏÓÔÕРˠÕÄÁÌÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÅ
220 ËÌÉÅÎÔÁÍ, ÐÏÄÄÅÒÖÉ×ÁÀÝÉÍ ÆÁÊÌÏ×ÕÀ ÓÉÓÔÅÍÕ Midnight Commander (×
221 ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÔÏÌØËÏ ÓÏÂÓÔ×ÅÎÎÏ Midnight Commander).
222
223 %description -n mcserv -l tr
224 mcserv, Midnight Commander að dosya sisteminin sunucu programýdýr.
225 Midnight dosya sistemini çalýþtýran istemcilerin sunucu dosya
226 sistemine eriþimini saðlar.
227
228 %description -n mcserv -l uk
229 mcserv - ÃÅ ÓÅÒ×ÅÒÎÁ ÐÒÏÇÒÁÍÁ ÄÌÑ ÍÅÒÅÖÅ×ϧ ÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ Midnight
230 Commander. ÷ÏÎÁ ÚÁÂÅÚÐÅÞÕ¤ ÄÏÓÔÕРÄϠצÄÄÁÌÅÎϧ ÆÁÊÌÏ×ϧ ÓÉÓÔÅÍÉ
231 Ë̦¤ÎÔÁÍ, ÝϠЦÄÔÒÉÍÕÀÔØ ÆÁÊÌÏ×Õ ÓÉÓÔÅÍÕ Midnight Commander (ÎÁÒÁÚ¦
232 Ô¦ÌØËÉ ×ÌÁÓÎÅ Midnight Commander).
233
234 %prep
235 %setup -q -a3 -n %{name}-%{snap}
236 %patch0 -p1
237 %patch1 -p1
238 %patch2 -p1
239 cp -f vfs/extfs/{rpm,srpm}
240 %patch3 -p1
241 # UPDATE ME (home-etc)
242 #%patch4 -p1
243 # UPDATE ME (translation)
244 # %patch5 -p1
245 # UPDATED AMC PATCHES available on mc list
246 #%patch6 -p1
247 #%patch7 -p1
248 %patch8 -p1
249 # M-o patch
250 #%patch9 -p1
251 %patch10 -p1
252 %{!?with_perl_vfs:%patch11 -p1}
253 %patch12 -p1
254 %if %{with utf8}
255 %patch13 -p1
256 %endif
257 %patch14 -p1
258
259 %patch17 -p1
260 %patch20 -p1
261 %patch21 -p1
262 %{?with_utf8:%patch22 -p1}
263
264 mv -f po/{no,nb}.po
265
266 %if %{with utf8}
267 # convert files in /lib to UTF-8
268 cd lib
269 for i in mc.hint mc.hint.es mc.hint.it mc.hint.nl; do
270         iconv -f iso-8859-1 -t utf-8 < ${i} > ${i}.tmp
271         mv -f ${i}.tmp ${i}
272 done
273
274 for i in mc.hint.cs mc.hint.hu mc.hint.pl; do
275         iconv -f iso-8859-2 -t utf-8 < ${i} > ${i}.tmp
276         mv -f ${i}.tmp ${i}
277 done
278
279 for i in mc.hint.sr mc.menu.sr; do
280         iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
281         mv -f ${i}.tmp ${i}
282 done
283
284 iconv -f koi8-r -t utf8 < mc.hint.ru > mc.hint.ru.tmp
285 mv -f mc.hint.ru.tmp mc.hint.ru
286 iconv -f koi8-u -t utf8 < mc.hint.uk > mc.hint.uk.tmp
287 mv -f mc.hint.uk.tmp mc.hint.uk
288 iconv -f big5 -t utf8 < mc.hint.zh > mc.hint.zh.tmp
289 mv -f mc.hint.zh.tmp mc.hint.zh
290 cd ..
291
292
293 # convert man pages in /doc to UTF-8
294 cd doc
295
296 cd ru
297 for i in mc.1.in xnc.hlp; do
298         iconv -f koi8-r -t utf-8 < ${i} > ${i}.tmp
299         mv -f ${i}.tmp ${i}
300 done
301 cd ..
302
303 cd sr
304 for i in mc.1.in mcserv.8.in xnc.hlp; do
305         iconv -f iso-8859-5 -t utf-8 < ${i} > ${i}.tmp
306         mv -f ${i}.tmp ${i}
307 done
308 cd ..
309
310 for d in es it; do
311         for i in mc.1.in xnc.hlp; do
312                 iconv -f iso-8859-3 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
313                 mv -f ${d}/${i}.tmp ${d}/${i}
314         done
315 done
316
317 for d in hu pl; do
318         for i in mc.1.in xnc.hlp; do
319                 iconv -f iso-8859-2 -t utf-8 < ${d}/${i} > ${d}/${i}.tmp
320                 mv -f ${d}/${i}.tmp ${d}/${i}
321         done
322 done
323 cd ..
324 %endif
325
326 rm -f syntax/Syntax.orig
327 sed -i 's:|hxx|:|hh|hpp|hxx|:' syntax/Syntax
328
329 %build
330 %{__gettextize}
331 %{__aclocal} -I m4
332 %{__autoconf}
333 %{__automake}
334 X11_WWW="
335 if [ -f /usr/bin/netscape ]; then
336         netscape;
337 else
338         if [ -f /usr/bin/galeon ]; then
339                 galeon
340         else
341                 if [ -f /usr/bin/mozilla ]; then
342                         mozilla
343                 else
344                         xterm -c lynx
345                 fi;
346         fi;
347 fi"
348
349 %if %{with utf8}
350 CFLAGS="-DUTF8 %{rpmcflags}"
351 export CFLAGS
352 %endif
353 %configure \
354         --enable-charset \
355         --with%{!?debug:out}-debug \
356         --with%{!?with_ext2undel:out}-ext2undel \
357         --with%{!?with_x:out}-x \
358         --with-vfs \
359         --with-mcfs \
360         %{?with_samba:--with-samba} \
361         --with-configdir=/etc/samba \
362         --with-codepagedir=/etc/samba/codepages \
363         --with-gpm-mouse \
364         --with-screen=%{?!with_utf8:mc}slang \
365         --with-edit
366
367 %{__make}
368
369 %install
370 rm -rf $RPM_BUILD_ROOT
371 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pixmapsdir},%{_desktopdir}} \
372         $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,shrc.d,sysconfig} \
373         $RPM_BUILD_ROOT%{_mandir}/man8
374
375 %{__make} install \
376         DESTDIR=$RPM_BUILD_ROOT
377
378 install doc/mcserv.8 $RPM_BUILD_ROOT%{_mandir}/man8
379
380 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/mcserv
381 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mcserv
382 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/mcserv
383 install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}
384 install %{SOURCE8} $RPM_BUILD_ROOT%{_pixmapsdir}
385
386 for a in es pl ; do
387         for b in man1 man8 ; do
388                 install -d $RPM_BUILD_ROOT%{_mandir}/{$a,$a/$b}
389                 for c in man/$a/$b/* ; do
390                         install $c $RPM_BUILD_ROOT%{_mandir}/$a/$b
391                 done
392         done
393 done
394
395 install lib/{mc.sh,mc.csh} $RPM_BUILD_ROOT/etc/shrc.d
396
397 %find_lang %{name}
398
399 %clean
400 rm -rf $RPM_BUILD_ROOT
401
402 %post -n mcserv
403 /sbin/chkconfig --add mcserv
404 %service mcserv restart "mcserv daemon"
405
406 %preun -n mcserv
407 if [ "$1" = "0" ]; then
408         %service mcserv stop
409         /sbin/chkconfig --del mcserv
410 fi
411
412 %files -f %{name}.lang
413 %defattr(644,root,root,755)
414 %doc FAQ NEWS README
415 %attr(755,root,root) %{_bindir}/mc*
416 %config /etc/shrc.d/*
417 %attr(755,root,root) %{_libdir}/mc/cons.saver
418 %dir %{_libdir}/mc
419
420 %dir %{_datadir}/mc
421
422 %{_datadir}/mc/bin
423 %{_datadir}/mc/syntax
424
425 %{_datadir}/mc/mc.ext
426 %{_datadir}/mc/cedit*
427 %{_datadir}/mc/edit.*
428 %{_datadir}/mc/mc.hlp
429 %lang(es) %{_datadir}/mc/mc.hlp.es
430 %lang(hu) %{_datadir}/mc/mc.hlp.hu
431 %lang(it) %{_datadir}/mc/mc.hlp.it
432 %lang(pl) %{_datadir}/mc/mc.hlp.pl
433 %lang(ru) %{_datadir}/mc/mc.hlp.ru
434 %lang(sr) %{_datadir}/mc/mc.hlp.sr
435 %{_datadir}/mc/mc.lib
436 %{_datadir}/mc/mc.menu
437 %lang(sr) %{_datadir}/mc/mc.menu.sr
438 %{_datadir}/mc/mc.hint
439 %lang(cs) %{_datadir}/mc/mc.hint.cs
440 %lang(es) %{_datadir}/mc/mc.hint.es
441 %lang(hu) %{_datadir}/mc/mc.hint.hu
442 %lang(it) %{_datadir}/mc/mc.hint.it
443 %lang(nl) %{_datadir}/mc/mc.hint.nl
444 %lang(pl) %{_datadir}/mc/mc.hint.pl
445 %lang(ru) %{_datadir}/mc/mc.hint.ru
446 %lang(sr) %{_datadir}/mc/mc.hint.sr
447 %lang(uk) %{_datadir}/mc/mc.hint.uk
448 %lang(zh) %{_datadir}/mc/mc.hint.zh
449
450 %dir %{_datadir}/mc/extfs
451 %{_datadir}/mc/extfs/README
452 %{_datadir}/mc/extfs/extfs.ini
453 %{_datadir}/mc/extfs/sfs.ini
454 %if %{with perl_vfs}
455 %attr(755,root,root) %{_datadir}/mc/extfs/a
456 %attr(755,root,root) %{_datadir}/mc/extfs/apt
457 %attr(755,root,root) %{_datadir}/mc/extfs/deb*
458 %attr(755,root,root) %{_datadir}/mc/extfs/dpkg
459 #%attr(755,root,root) %{_datadir}/mc/extfs/ftplist
460 %attr(755,root,root) %{_datadir}/mc/extfs/mailfs
461 %attr(755,root,root) %{_datadir}/mc/extfs/patchfs
462 %attr(755,root,root) %{_datadir}/mc/extfs/rpms
463 #%attr(755,root,root) %{_datadir}/mc/extfs/ucpio
464 %attr(755,root,root) %{_datadir}/mc/extfs/uzip
465 %endif
466 %attr(755,root,root) %{_datadir}/mc/extfs/audio
467 %attr(755,root,root) %{_datadir}/mc/extfs/bpp
468 %attr(755,root,root) %{_datadir}/mc/extfs/hp48
469 %attr(755,root,root) %{_datadir}/mc/extfs/iso9660
470 %attr(755,root,root) %{_datadir}/mc/extfs/lslR
471 %attr(755,root,root) %{_datadir}/mc/extfs/rpm
472 %attr(755,root,root) %{_datadir}/mc/extfs/trpm
473 %attr(755,root,root) %{_datadir}/mc/extfs/u7z
474 %attr(755,root,root) %{_datadir}/mc/extfs/ualz
475 %attr(755,root,root) %{_datadir}/mc/extfs/uar*
476 %attr(755,root,root) %{_datadir}/mc/extfs/uha
477 %attr(755,root,root) %{_datadir}/mc/extfs/ulha
478 %attr(755,root,root) %{_datadir}/mc/extfs/urar
479 %attr(755,root,root) %{_datadir}/mc/extfs/uzoo
480 %attr(755,root,root) %{_datadir}/mc/extfs/srpm
481 %{_desktopdir}/mc.desktop
482 %{_pixmapsdir}/mc.png
483
484 %{_datadir}/mc/mc.charsets
485
486 %{_mandir}/man1/*
487 %lang(es) %{_mandir}/es/man1/*
488 %lang(hu) %{_mandir}/hu/man1/*
489 %lang(it) %{_mandir}/it/man1/*
490 %lang(pl) %{_mandir}/pl/man1/*
491 %lang(ru) %{_mandir}/ru/man1/*
492 %lang(sr) %{_mandir}/sr/man1/*
493
494 %files -n mcserv
495 %defattr(644,root,root,755)
496 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/*
497
498 %attr(754,root,root) /etc/rc.d/init.d/mcserv
499 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mcserv
500 %{_mandir}/man8/mcserv.8*
501 %lang(es) %{_mandir}/es/man8/mcserv.8*
502 %lang(pl) %{_mandir}/pl/man8/mcserv.8*
503 %lang(sr) %{_mandir}/sr/man8/mcserv.8*
504 %attr(755,root,root) %{_sbindir}/mcserv
This page took 0.059321 seconds and 4 git commands to generate.