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