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