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