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