]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
d72f8ae0ef617d31f06d38d2446b3a1077828a18
[packages/vim.git] / vim.spec
1 #
2 # Conditional build:
3 %bcond_without  static          # don't build static version
4 %bcond_without  athena          # don't build Athena Widgets-based gvim
5 %bcond_without  motif           # don't build Motif-based gvim
6 %bcond_without  gtk             # don't build GTK+-based gvim support
7 %bcond_without  gtk3            # use GTK+ 2.x instead of 3.x
8 %bcond_without  gnome           # don't build GNOME-based gvim support
9 %bcond_without  heavy           # don't build heavy (full-featured GNOME-based gvim/vim)
10 %bcond_without  gui             # don't build any GUI
11 %bcond_without  light           # don't build light (minimal, ncurses, but not static)
12 %bcond_without  x11             # don't build vimx (non-GUI with X11 clipboard support)
13 %bcond_with     lua             # with Lua interp in vim package
14 %bcond_with     perl            # with Perl interp in vim package
15 %bcond_with     python          # with Python 2 interp in vim package
16 %bcond_with     python3         # with Python 3 interp in vim package
17 %bcond_with     ruby            # with Ruby interp in vim package
18 %bcond_with     tcl             # with Tcl interp
19 %bcond_with     x               # with X11 support
20 %bcond_without  selinux         # without selinux support
21 %bcond_without  home_etc        # without home_etc support
22
23 %if %{without gui}
24 %undefine       with_athena
25 %undefine       with_motif
26 %undefine       with_gtk
27 %undefine       with_gnome
28 %endif
29
30 # Command to check for latest patch:
31 # wget ftp://ftp.vim.org/pub/editors/vim/patches/8.0/MD5SUMS -O - | tail -n1 | awk '{print $2}'
32 # VCS Commits: https://github.com/vim/vim/commits/master
33
34 %define         ver             8.2.0011
35 %define         rel             1
36 Summary:        Vi IMproved - a Vi clone
37 Summary(de.UTF-8):      VIsual editor iMproved
38 Summary(es.UTF-8):      Editor visual incrementado
39 Summary(fr.UTF-8):      Editeur VIM : VIsual editor iMproved
40 Summary(hu.UTF-8):      Vi IMproved - a Vi szerkesztő bővítése
41 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
42 Summary(pt_BR.UTF-8):   Editor visual incrementado
43 Summary(ru.UTF-8):      Visual editor IMproved - Единственно Правильный Редактор :)
44 Summary(tr.UTF-8):      Gelişmiş bir vi sürümü
45 Summary(uk.UTF-8):      Visual editor IMproved - Єдино Вірний Редактор :)
46 Name:           vim
47 Version:        %{ver}
48 # keep macro for release, otherwise people tend to increment Epoch instead
49 Release:        %{rel}
50 Epoch:          4
51 License:        Charityware
52 Group:          Applications/Editors/Vim
53 #Source0:       ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
54 Source0:        https://github.com/vim/vim/archive/v%{ver}.tar.gz
55 # Source0-md5:  9ff52728337b4053fcf11f2a65a19296
56 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
57 # Source1-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
58 Source2:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
59 # Source2-md5:  ff96284b1c913d55cf0877839b34d490
60 Source15:       update-source.sh
61 # syntax files
62 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
63 Source20:       javascript.vim
64 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
65 Source22:       exim.vim
66 # color schemes
67 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
68 Source30:       zenburn.vim
69 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
70 Source31:       borland.vim
71 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
72 Source32:       oceandeep.vim
73 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
74 Source33:       moria.vim
75 Patch0:         %{name}-sysconfdir.patch
76
77 Patch2:         %{name}-paths.patch
78 Patch3:         %{name}-no_libelf.patch
79
80 Patch5:         %{name}-awk.patch
81 Patch6:         %{name}-filetype_vim-perl_tests.patch
82 Patch7:         %{name}-apache.patch
83 Patch8:         %{name}-po-syntax.patch
84 Patch9:         %{name}-modprobe.patch
85 Patch10:        %{name}-doubleparenthesis.patch
86 Patch11:        %{name}-syntax-fstab.patch
87 Patch12:        010_all_%{name}-6.3-vixie.patch
88 Patch14:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
89 Patch15:        021_all_%{name}-7.0-fstab-bogus-errors.patch
90 Patch17:        027_all_%{name}-7.0-automake-substitutions-93378.patch
91 Patch18:        %{name}-smarty.patch
92 Patch19:        %{name}-tutor-lessdeps.patch
93 Patch20:        %{name}-nagios.patch
94 Patch21:        %{name}-filetypes.patch
95 Patch22:        %{name}-man_installation.patch
96 Patch23:        %{name}-vimrc.patch
97 Patch24:        %{name}-syntax-exports.patch
98 Patch25:        sudoers-include.patch
99 Patch26:        %{name}-home_etc.patch
100 Patch27:        %{name}-autopaste.patch
101 Patch28:        %{name}-ft-cron.patch
102 Patch29:        %{name}-phpscript.patch
103 Patch30:        %{name}-pam.patch
104 Patch32:        %{name}-localedir.patch
105
106 Patch34:        %{name}-rtdir.patch
107 Patch35:        %{name}-ft-mib.patch
108 Patch36:        %{name}-ft-lib-udevrules.patch
109 Patch37:        %{name}-ft-mysql.patch
110 Patch38:        %{name}-ft-gyp.patch
111 Patch39:        %{name}-revert-7.4.165-noundo.patch
112 Patch40:        desktop.patch
113 Patch41:        %{name}-lua.patch
114 URL:            http://www.vim.org/
115 BuildRequires:  acl-devel
116 BuildRequires:  attr-devel
117 BuildRequires:  autoconf >= 2.12
118 BuildRequires:  gpm-devel
119 %if "%{pld_release}" == "ac"
120 %if %{with athena} || %{with x11} || %{with x}
121 BuildRequires:  XFree86-devel
122 %endif
123 BuildRequires:  gettext-devel
124 %else
125 BuildRequires:  gettext-tools
126 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
127 %if %{with x11} || %{with gui} || %{with x}
128 BuildRequires:  xorg-lib-libICE-devel
129 BuildRequires:  xorg-lib-libSM-devel
130 BuildRequires:  xorg-lib-libX11-devel
131 BuildRequires:  xorg-lib-libXt-devel
132 %endif
133 %endif
134 BuildRequires:  grep
135 %if %{with gtk} || %{with heavy}
136 %if %{with gtk3}
137 BuildRequires:  gtk+3-devel >= 3.0
138 %else
139 BuildRequires:  gtk+2-devel >= 2:2.6.0
140 %endif
141 %endif
142 BuildRequires:  libcanberra-devel
143 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
144 %if %{with selinux} || %{with heavy}
145 BuildRequires:  libselinux-devel
146 %endif
147 %if %{with lua} || %{with heavy}
148 BuildRequires:  lua52-devel >= 5.2
149 %endif
150 %{?with_motif:BuildRequires:    motif-devel}
151 BuildRequires:  ncurses-devel
152 BuildRequires:  pkgconfig
153 %if %{with perl} || %{with heavy}
154 BuildRequires:  perl-devel
155 %endif
156 %if %{with python} || %{with heavy}
157 BuildRequires:  python-devel >= 2.3
158 %endif
159 %if %{with python3} || %{with heavy}
160 BuildRequires:  python3-devel
161 %endif
162 %if %{with python} || %{with python3} || %{with heavy}
163 BuildRequires:  rpm-pythonprov
164 %endif
165 BuildRequires:  rpm >= 4.4.9-56
166 BuildRequires:  rpmbuild(macros) >= 1.718
167 %if %{with ruby} || %{with heavy}
168 BuildRequires:  ruby-devel >= 1.6.0
169 %endif
170 %if %{with tcl} || %{with heavy}
171 BuildRequires:  tcl-devel >= 8.0
172 %endif
173 Obsoletes:      kvim
174 %if %{with static}
175 BuildRequires:  acl-static
176 BuildRequires:  attr-static
177 BuildRequires:  glibc-static
178 %{?with_selinux:BuildRequires:  libselinux-static}
179 BuildRequires:  ncurses-static
180 %else
181 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
182 Obsoletes:      elvis-static
183 Obsoletes:      nvi
184 Obsoletes:      vi
185 Obsoletes:      vim-minimal
186 Obsoletes:      vim-static
187 %endif
188 BuildRequires:  unzip
189 Suggests:       %{name}-rt = %{epoch}:%{version}-%{release}
190 Provides:       vi-editor
191 Provides:       vi
192 Provides:       vim-editor = %{epoch}:%{version}-%{release}
193 Obsoletes:      vim-enhanced
194 Obsoletes:      vim-ispell
195 Obsoletes:      vim-plugin-multvals
196 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
197
198 # configure redefines it to =1
199 %define         filterout_cpp   -D_FORTIFY_SOURCE=[0-9]*
200 %define         filterout_c             -Wp,-D_FORTIFY_SOURCE=2
201
202 # that's example script
203 %define         _noautoreq      '/bin/csh'
204
205 # cflags get changed while configuring
206 %undefine       configure_cache
207
208 %description
209 Text editor similar to Vi. Important improvements: multiple windows,
210 multi-level undo, block highliting, folding, and many other.
211
212 %description -l cs.UTF-8
213 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
214 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
215 populární. VIM je obohacený funkcemi jako: podpora více oken,
216 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
217 funkcí.
218
219 %description -l de.UTF-8
220 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
221 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
222 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
223 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
224 Standard-vi-Programm.
225
226 %description -l es.UTF-8
227 El editor Visual Mejorado es una versión actualizada y con nuevas
228 características adicionales del mundialmente famoso 'vi' que acompaña
229 prácticamente todos los sistemas UN*X. Posibilita trabajar con
230 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
231 otras muchas características del 'vi'.
232
233 %description -l fr.UTF-8
234 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
235 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
236 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
237 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
238 blocs et autres caractéristiques au vi de base.
239
240 %description -l hu.UTF-8
241 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
242 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
243 más...
244
245 %description -l id.UTF-8
246 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
247 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
248 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
249 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
250 windows, multi-level undo, block highlighting, dll.
251
252 %description -l is.UTF-8
253 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
254 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
255 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
256 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
257 fleira.
258
259 %description -l it.UTF-8
260 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
261 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
262 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
263 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
264 blocchi e altro.
265
266 %description -l pl.UTF-8
267 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
268 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
269 folding i wiele innych.
270
271 %description -l pt.UTF-8
272 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
273 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
274 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
275 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
276 de blocos e mais.
277
278 %description -l pt_BR.UTF-8
279 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
280 características do mundialmente famoso 'vi' que acompanha praticamente
281 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
282 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
283 outras características do 'vi'.
284
285 %description -l ru.UTF-8
286 VIsual editor iMproved - это обновленный и значительно улучшенный клон
287 редактора vi, который поставляется практически со всеми
288 UN*X-системами. В этой версии есть многоуровневый откат, выделение
289 блоков, синтаксическая подсветка и много другого...
290
291 %description -l sk.UTF-8
292 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
293 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
294 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
295 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
296
297 %description -l sv.UTF-8
298 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
299 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
300 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
301 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
302 ändå.
303
304 %description -l tr.UTF-8
305 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
306 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
307
308 %description -l uk.UTF-8
309 VIsual editor iMproved - це оновлений та значно поліпшений клон
310 редактора vi, який поставляється практично зі всіма UN*X-системами. В
311 цій версії є багаторівневий відкат, виділення блоків, синтаксична
312 підсвітка та багато іншого...
313
314 %package -n xxd
315 Summary:        Utility to convert files to hexdump or do the reverse
316 Summary(pl.UTF-8):      Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
317 Group:          Applications/Editors/Vim
318
319 %description -n xxd
320 xxd creates a hex dump of a given file or standard input. It can also
321 convert a hex dump back to its original binary form. Like uuencode and
322 uudecode it allows the transmission of binary data in a `mail-safe'
323 ASCII representation, but has the advantage of decoding to standard
324 output. Moreover, it can be used to perform binary file patching.
325
326 %description -n xxd -l pl.UTF-8
327 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
328 Może także przekonwertować taki zapis na oryginalną, binarną postać.
329 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
330 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
331 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
332
333 %package heavy
334 Summary:        Full featured build of Vim
335 Summary(hu.UTF-8):      A Vim teljeskörű szolgáltatásait nyújtó verzió
336 Summary(pl.UTF-8):      W pełni funkcjonalna wersja Vima
337 Group:          Applications/Editors/Vim
338 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
339 Provides:       vi-editor
340 Provides:       vi
341 Provides:       vim-editor = %{epoch}:%{version}-%{release}
342 Obsoletes:      vim-enhanced
343 Obsoletes:      vim-ispell
344 Obsoletes:      vim-plugin-multvals
345
346 %description heavy
347 This package provides full featured version of Vim, which includes
348 support for Perl, Python, Ruby and Tcl scripting.
349
350 %description heavy -l hu.UTF-8
351 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
352 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
353
354 %description heavy -l pl.UTF-8
355 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
356 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
357
358 %package light
359 Summary:        Minimal build of Vim
360 Summary(pl.UTF-8):      Minimalna wersja vima
361 Group:          Applications/Editors/Vim
362 Provides:       vi-editor
363 Provides:       vi
364 Provides:       vim-editor = %{epoch}:%{version}-%{release}
365
366 %description light
367 This package provides light featured version of Vim.
368
369 %description light -l pl.UTF-8
370 Pakiet ten dostarcza minimalną wersję Vima.
371
372 %package -n vimx
373 Summary:        Vi IMproved - a Vi clone
374 Summary(pl.UTF-8):      Vi IMproved - klon edytora Vi
375 Group:          X11/Applications/Editors
376 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
377 Provides:       vi-editor
378 Provides:       vi
379 Provides:       vim-editor = %{epoch}:%{version}-%{release}
380 Obsoletes:      vim-enhanced
381 Obsoletes:      vim-ispell
382 Obsoletes:      vim-plugin-multvals
383
384 %description -n vimx
385 This package provides console version of Vim, with support for basic
386 X11 features like system clipboard.
387
388 %description -n vimx -l pl.UTF-8
389 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
390 podstawowych funckcji X11, takich jak systemowy schowek.
391
392 %package static
393 Summary:        Statically linked Vim
394 Summary(hu.UTF-8):      A Vim statikus verziója
395 Summary(pl.UTF-8):      Statycznie skonsolidowany Vim
396 Group:          Applications/Editors/Vim
397 Provides:       vi-editor
398 Provides:       vi
399 Provides:       vim-editor = %{epoch}:%{version}-%{release}
400 Obsoletes:      elvis-static
401 Obsoletes:      nvi
402 Obsoletes:      vim-minimal
403
404 %description static
405 Text editor similar to Vi. This version is built with minimal feature
406 and is installed in /bin as a rescue tool. The installation of this
407 package is STRONGLY recommended.
408
409 %description static -l hu.UTF-8
410 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
411 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
412 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
413
414 %description static -l pl.UTF-8
415 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
416 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
417 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
418 zalecana, może on pomóc Ci uratować system w czasie awarii.
419
420 %description static -l ru.UTF-8
421 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
422 удобно для запуска даже когда смонтирована только корневая файловая
423 система.
424
425 %description static -l uk.UTF-8
426 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
427 запуску навіть тоді, коли змонтована тільки корньова файлова система.
428
429 %package rt
430 Summary:        Vim runtime files
431 Summary(cs.UTF-8):      Soubory nezbytné pro libovolný editor VIM
432 Summary(da.UTF-8):      Fælles filer som er nødvendige for enhver version af VIM editoren
433 Summary(de.UTF-8):      Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
434 Summary(es.UTF-8):      Ficheros comunes a todas las versiones de VIM
435 Summary(fr.UTF-8):      Fichiers communs indispensables pour toute version de l'éditeur VIM
436 Summary(hu.UTF-8):      A Vim futásidejű fájljai
437 Summary(id.UTF-8):      File umum yang dibutuhkan oleh semua versi editor VIM
438 Summary(is.UTF-8):      Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
439 Summary(it.UTF-8):      File comuni necessari per tutte le versioni dell'editor VIM
440 Summary(ja.UTF-8):      すべてのバージョンの VIM エディタで必要とされる共通ファイル
441 Summary(nb.UTF-8):      Felles filer som er nødvendige for enhver versjon av VIM editoren
442 Summary(pl.UTF-8):      Pliki przydatne dla edytora Vim
443 Summary(pt.UTF-8):      Os ficheiros comuns necessários para qualquer versão do editor VIM
444 Summary(ru.UTF-8):      Файлы, требуемые для любой версии редактора vim
445 Summary(sk.UTF-8):      Spoločné súbory potrebné pre všetky verzie editoru VIM
446 Summary(sl.UTF-8):      Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
447 Summary(sv.UTF-8):      De gemensamma filerna som behövs av alla versioner av redigeraren VIM
448 Summary(uk.UTF-8):      Файли, потрібні для будь-якої версії редактору vim
449 Summary(zh_CN.UTF-8):   任何版本的 VIM 编辑器所需的公用文件。
450 Group:          Applications/Editors/Vim
451 Requires:       rpm-whiteout >= 1.3
452 Requires:       vim-plugin-securemodelines
453 Obsoletes:      gvim-bonobo
454 Obsoletes:      vim-common
455 Obsoletes:      vim-syntax-docker < 1.10.1
456 Obsoletes:      vim-syntax-gitcommit
457 Obsoletes:      vim-syntax-golang <= 1.3.3-1
458 Obsoletes:      vim-syntax-lxc-docker <= 0.9.0-1
459 Obsoletes:      vim-syntax-upstart
460 %if "%{_rpmversion}" >= "5"
461 BuildArch:      noarch
462 %endif
463
464 %description rt
465 This package contains macros, documentation, syntax configuration and
466 manual pages for Vim. If you want to take advantage of Vim more
467 powerful features, you should install this package.
468
469 %description rt -l cs.UTF-8
470 Tento balíček obsahuje společné soubory pro všechny další balíčky s
471 vim.
472
473 %description rt -l de.UTF-8
474 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
475 Ausführung benötigt.
476
477 %description rt -l fr.UTF-8
478 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
479 VIM a besoin pour fonctionner.
480
481 %description rt -l hu.UTF-8
482 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
483 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
484 lehetőségeit, érdemes telepítened ezt a csomagot.
485
486 %description rt -l id.UTF-8
487 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
488 berjalan.
489
490 %description rt -l is.UTF-8
491 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
492 til að keyra.
493
494 %description rt -l it.UTF-8
495 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
496 per poter funzionare.
497
498 %description rt -l pl.UTF-8
499 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
500 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
501 Vima, należy zainstalować ten pakiet.
502
503 %description rt -l pt.UTF-8
504 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
505 irão necessitar para correr.
506
507 %description rt -l ru.UTF-8
508 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
509 для работы любой программы vim.
510
511 %description rt -l sk.UTF-8
512 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
513 funkciu každá verzia editoru VIM.
514
515 %description rt -l sv.UTF-8
516 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
517 köra.
518
519 %description rt -l uk.UTF-8
520 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
521 для роботи будь-якої програми vim.
522
523 %package rt-extras
524 Summary:        Vim runtime extra files
525 Summary(pl.UTF-8):      Dodatkowe pliki uruchomieniowe Vima
526 Group:          Applications/Editors/Vim
527 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
528 %if "%{_rpmversion}" >= "5"
529 BuildArch:      noarch
530 %endif
531
532 %description rt-extras
533 This package contains more runtime extra files, not really useful. If
534 you want to take full advantage of Vim more powerful features, you
535 should install this package.
536
537 %description rt-extras -l pl.UTF-8
538 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
539 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
540 zainstalować ten pakiet.
541
542 %package doc
543 Summary:        Context Vim documentation
544 Summary(pl.UTF-8):      Dokumentacja kontekstowa do Vima
545 Group:          Applications/Editors/Vim
546 Requires(post,postun):  /usr/bin/vim
547 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
548 %if "%{_rpmversion}" >= "5"
549 BuildArch:      noarch
550 %endif
551
552 %description doc
553 This package contains Vim documentation accessible from vim itself
554 using :help command.
555
556 %description doc -l pl.UTF-8
557 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
558 za pomocą polecenia :help.
559
560 %package spell-en
561 Summary:        English dictionaries for VIMspell
562 Summary(pl.UTF-8):      Angielskie słowniki dla VIMspella
563 Group:          Applications/Editors/Vim
564 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
565 %if "%{_rpmversion}" >= "5"
566 BuildArch:      noarch
567 %endif
568
569 %description spell-en
570 English dictionaries for VIMspell.
571
572 %description spell-en -l pl.UTF-8
573 Angielskie słowniki dla VIMspella.
574
575 %package tutor
576 Summary:        Vim tutorial
577 Summary(hu.UTF-8):      Vim tutorial
578 Summary(pl.UTF-8):      Samouczek do Vima
579 Group:          Applications/Editors/Vim
580 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
581 Requires:       mktemp
582 Requires:       vim-editor = %{epoch}:%{version}-%{release}
583 %if "%{_rpmversion}" >= "5"
584 BuildArch:      noarch
585 %endif
586
587 %description tutor
588 This package contains Vim tutorial.
589
590 %description tutor -l hu.UTF-8
591 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
592 bevezető a Vim-hez.
593
594 %description tutor -l pl.UTF-8
595 Ten pakiet zawiera samouczek do Vima.
596
597 %package -n gvim-athena
598 Summary:        Vim for X Window built with Athena
599 Summary(hu.UTF-8):      A Vim X Window verziója, az Athena felhasználásával
600 Summary(pl.UTF-8):      Vim dla X Window korzystający z biblioteki Athena
601 Group:          Applications/Editors/Vim
602 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
603 Requires:       iconv
604 Provides:       gvim
605 Provides:       vi-editor
606 Provides:       vim-editor = %{epoch}:%{version}-%{release}
607 Obsoletes:      vim-X11
608
609 %description -n gvim-athena
610 The classic Unix text editor now also under X Window System! This
611 version is built with Athena Widget Set.
612
613 %description -n gvim-athena -l hu.UTF-8
614 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
615
616 %description -n gvim-athena -l pl.UTF-8
617 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
618 biblioteki Athena Widget Set.
619
620 %description -n gvim-athena -l ru.UTF-8
621 Этот пакет представляет собой версию VIM, собранную с библиотеками
622 Athena Widget Set, что позволяет запускать VIM как приложение X Window
623 System - с полностью графическим интерфейсом и поддержкой мыши.
624
625 %description -n gvim-athena -l uk.UTF-8
626 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
627 Set, що дозволяє запускати VIM як прикладну програму X Window System -
628 з повністю графічним інтерфейсом та підтримкою миші.
629
630 %package -n gvim-motif
631 Summary:        Vim for X Window System built with Motif
632 Summary(hu.UTF-8):      A Vim X Window verziója, a Motif felhasználásával
633 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki Motif
634 Group:          Applications/Editors/Vim
635 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
636 Requires:       iconv
637 Provides:       gvim
638 Provides:       vi-editor
639 Provides:       vim-editor = %{epoch}:%{version}-%{release}
640 Obsoletes:      vim-X11
641
642 %description -n gvim-motif
643 The classic Unix text editor now also under X Window System! This
644 version is built with Motif.
645
646 %description -n gvim-motif -l hu.UTF-8
647 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
648
649 %description -n gvim-motif -l pl.UTF-8
650 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
651 biblioteki Motif.
652
653 %description -n gvim-motif -l ru.UTF-8
654 Этот пакет представляет собой версию VIM, собранную с библиотеками
655 Motif, что позволяет запускать VIM как приложение X Window System - с
656 полностью графическим интерфейсом и поддержкой мыши.
657
658 %description -n gvim-motif -l uk.UTF-8
659 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
660 дозволяє запускати VIM як прикладну програму X Window System - з
661 повністю графічним інтерфейсом та підтримкою миші.
662
663 %package -n gvim-gtk
664 Summary:        Vim for X Window System built with GTK+
665 Summary(hu.UTF-8):      A Vim X Window verziója, a GTK+ felhasználásával
666 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GTK+
667 Group:          Applications/Editors/Vim
668 Requires(post,postun):  gtk-update-icon-cache
669 Requires(post,postun):  hicolor-icon-theme
670 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
671 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
672 Requires:       iconv
673 Provides:       gvim
674 Provides:       vi-editor
675 Provides:       vim-editor = %{epoch}:%{version}-%{release}
676 Obsoletes:      vim-X11
677
678 %description -n gvim-gtk
679 The classic Unix text editor now also under X Window System! This
680 version is built with GTK+.
681
682 %description -n gvim-gtk -l hu.UTF-8
683 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
684
685 %description -n gvim-gtk -l pl.UTF-8
686 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
687 biblioteki GTK+.
688
689 %description -n gvim-gtk -l ru.UTF-8
690 Этот пакет представляет собой версию VIM, собранную с библиотеками
691 GTK, что позволяет запускать VIM как приложение X Window System - с
692 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
693 'gvim'...
694
695 %description -n gvim-gtk -l uk.UTF-8
696 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
697 запускати VIM як прикладну програму X Window System - з повністю
698 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
699
700 %package -n gvim-gnome
701 Summary:        Vim for X Window System built with GNOME
702 Summary(hu.UTF-8):      A Vim X Window verziója, a GNOME felhasználásával
703 Summary(pl.UTF-8):      Vim dla systemu X Window korzystający z biblioteki GNOME
704 Group:          Applications/Editors/Vim
705 Requires(post,postun):  gtk-update-icon-cache
706 Requires(post,postun):  hicolor-icon-theme
707 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
708 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
709 Requires:       iconv
710 Provides:       gvim
711 Provides:       vi-editor
712 Provides:       vim-editor = %{epoch}:%{version}-%{release}
713 Obsoletes:      vim-X11
714
715 %description -n gvim-gnome
716 The classic Unix text editor now also under X Window System! This
717 version is build with GNOME.
718
719 %description -n gvim-gnome -l hu.UTF-8
720 A Vim X Window verziója, a GNOME felhasználásával.
721
722 %description -n gvim-gnome -l pl.UTF-8
723 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
724 bibliotek GNOME.
725
726 %description -n gvim-gnome -l ru.UTF-8
727 Этот пакет представляет собой версию VIM, собранную с библиотеками
728 GNOME, что позволяет запускать VIM как приложение X Window System - с
729 полностью графическим интерфейсом и поддержкой мыши.
730
731 %description -n gvim-gnome -l uk.UTF-8
732 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
733 дозволяє запускати VIM як прикладну програму X Window System - з
734 повністю графічним інтерфейсом та підтримкою миші.
735
736 %package -n gvim-heavy
737 Summary:        Full featured build of Vim with X Window support
738 Summary(hu.UTF-8):      A gvim legteljesebb verziója
739 Summary(pl.UTF-8):      W pełni funkcjonalna wersja Vima z interfejsem dla X Window
740 Group:          Applications/Editors/Vim
741 Requires(post,postun):  gtk-update-icon-cache
742 Requires(post,postun):  hicolor-icon-theme
743 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
744 Requires:       %{name}-rt-extras = %{epoch}:%{version}-%{release}
745 Requires:       iconv
746 Provides:       gvim
747 Provides:       vi-editor
748 Provides:       vim-editor = %{epoch}:%{version}-%{release}
749 Obsoletes:      vim-X11
750
751 %description -n gvim-heavy
752 This package provides full featured version of Vim, which includes
753 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
754 GUI.
755
756 %description -n gvim-heavy -l hu.UTF-8
757 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
758
759 %description -n gvim-heavy -l pl.UTF-8
760 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
761 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
762 jak również GUI GTK+2.
763
764 %prep
765 %setup -q
766
767 cp -p runtime/gvim.desktop gvim-athena.desktop
768 cp -p runtime/gvim.desktop gvim-gnome.desktop
769 cp -p runtime/gvim.desktop gvim-gtk.desktop
770 cp -p runtime/gvim.desktop gvim-motif.desktop
771
772 %patch0 -p1
773
774 %patch2 -p1
775 %patch3 -p1
776
777 %patch5 -p1
778 %patch6 -p1
779 %patch7 -p1
780 %patch8 -p1
781 %patch9 -p0
782 %patch10 -p1
783 %patch11 -p1
784 %patch12 -p1
785 %patch14 -p1
786 %patch15 -p1
787 %patch17 -p0
788 %patch18 -p1
789 %patch19 -p1
790 %patch20 -p1
791 %patch21 -p1
792 %patch22 -p1
793 %patch23 -p1
794 %patch24 -p1
795 %patch25 -p1
796 %{?with_home_etc:%patch26 -p1}
797
798 # autopaste patch - automatically switch to paste mode
799 # when `really fast typing' situation happens
800 %patch27 -p1
801 %patch28 -p1
802 %patch29 -p1
803 %patch30 -p1
804 %patch32 -p1
805
806 %patch34 -p1
807 %patch35 -p1
808 %patch36 -p1
809 %patch37 -p1
810 %patch38 -p1
811 %patch39 -p1
812 %patch40 -p1
813 %patch41 -p1
814
815 cp -p %{SOURCE20} runtime/syntax
816 cp -p %{SOURCE22} runtime/syntax
817 cp -p %{SOURCE30} runtime/colors
818 cp -p %{SOURCE31} runtime/colors
819 cp -p %{SOURCE32} runtime/colors
820
821 %{__unzip} -qd runtime/doc %{SOURCE2}
822
823 # not info files but some binary files for Amiga:
824 # Amiga Workbench drawer icon
825 # Amiga Workbench project icon
826 # Amiga Workbench tool icon
827 find -name '*.info' | xargs rm -v
828
829 %build
830 cd src
831 %{__autoconf}
832 # needed to prevent deconfiguring
833 cp -f configure auto
834 install -d bin
835
836 build() {
837         set -x
838         local target=$1
839         shift
840
841         %configure \
842 %if "%{pld_release}" == "ac"
843                 --with-tlib="ncurses -ltinfo"
844 %else
845                 --with-tlib="ncursesw"
846 %endif
847
848         %{__make} -j1 distclean
849         # add common options, can override (disable) if needed with args
850         %configure \
851                 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
852                 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
853                 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
854                 --%{!?with_python3:dis}%{?with_python3:en}able-python3interp \
855                 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
856                 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
857                 %{!?with_selinux:--disable-selinux} \
858                 --enable-cscope \
859                 --enable-gpm \
860                 --enable-multibyte \
861                 --enable-nls \
862 %if "%{pld_release}" == "ac"
863                 --with-tlib="ncurses -ltinfo" \
864 %else
865                 --with-tlib="ncursesw" \
866 %endif
867                 --with-modified-by="PLD Linux Distribution" \
868                 --with-compiledby="PLD Linux Distribution" \
869                 "$@"
870
871         %{__make} vim
872         mv -f vim bin/$target
873 }
874
875 %if %{with static}
876 LDFLAGS="%{rpmldflags} -static"
877 build vim.static \
878         --disable-gui \
879         --without-x \
880         --with-features=small \
881         --disable-canberra \
882         --disable-luainterp \
883         --disable-perlinterp \
884         --disable-pythoninterp \
885         --disable-rubyinterp \
886         --disable-tclinterp \
887         --disable-cscope \
888         --disable-gpm \
889         --enable-multibyte \
890         --disable-nls
891
892 LDFLAGS="%{rpmldflags}"
893 %endif
894
895 %if %{with light}
896 build vim.light \
897         --disable-gui \
898         --without-x \
899         --with-features=small \
900         --disable-canberra \
901         --disable-luainterp \
902         --disable-perlinterp \
903         --disable-pythoninterp \
904         --disable-rubyinterp \
905         --disable-tclinterp \
906         --disable-cscope \
907         --disable-gpm \
908         --disable-nls
909 %endif
910
911 build vim.ncurses \
912         --disable-gui \
913         %{__with_without x} \
914         --disable-canberra \
915         --with-features=huge
916
917 %if %{with x11}
918 build vimx \
919         --disable-gui \
920         --with-x \
921         --disable-canberra \
922         --with-features=huge
923 %endif
924
925 %if %{with athena}
926 build gvim.athena \
927         --with-features=huge \
928         --enable-gui=athena \
929         --with-x \
930         --enable-fontset \
931         --disable-canberra \
932         --disable-gpm \
933         --without-gnome
934
935 %endif
936
937 %if %{with motif}
938 build gvim.motif \
939         --with-features=huge \
940         --enable-gui=motif \
941         --with-x \
942         --enable-multibyte \
943         --enable-fontset \
944         --disable-canberra \
945         --disable-gpm \
946         --without-gnome
947
948 %endif
949
950 %if %{with gtk}
951 build gvim.gtk \
952         --with-features=huge \
953 %if %{with gtk3}
954         --enable-gui=gtk3 \
955         --enable-gtk3-check \
956 %else
957         --enable-gui=gtk2 \
958         --enable-gtk2-check \
959 %endif
960         --with-x \
961         --disable-canberra \
962         --disable-gpm
963
964 %endif
965
966 %if %{with gnome}
967 build gvim.gnome \
968         --with-features=huge \
969         --enable-gui=gnome2 \
970         --enable-gtk2-check \
971         --enable-gnome-check \
972         --with-x \
973         --disable-gpm
974
975 %endif
976
977 # vim.heavy / gvim.heavy
978 %if %{with heavy}
979 build vim.heavy \
980         --with-features=huge \
981         --disable-gui \
982         --without-x \
983         --enable-luainterp \
984         --enable-perlinterp \
985         --enable-pythoninterp \
986         --enable-python3interp \
987         --enable-rubyinterp \
988         --enable-tclinterp \
989         --disable-canberra \
990         --disable-gpm
991
992 build gvim.heavy \
993         --with-features=huge \
994         --enable-gui=gnome2 \
995         --enable-gtk2-check \
996         --enable-gnome-check \
997         --with-x \
998         --enable-luainterp \
999         --enable-perlinterp \
1000         --enable-pythoninterp \
1001         --enable-python3interp \
1002         --enable-rubyinterp \
1003         --enable-tclinterp \
1004         --disable-gpm
1005 %endif
1006
1007 %{__make} xxd/xxd languages
1008
1009 %install
1010 rm -rf $RPM_BUILD_ROOT
1011
1012 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1013         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1014         $RPM_BUILD_ROOT%{_desktopdir}
1015
1016 %{__make} -j1 install \
1017         DESTDIR=$RPM_BUILD_ROOT
1018
1019 # generic gvim from upstream, but we have bunch of subpackages
1020 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1021
1022 # fix nb/no
1023 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}
1024 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/tutor/tutor.n{o,b}.utf-8
1025 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.latin1.vim
1026 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}.utf-8.vim
1027 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.latin1.vim
1028 %{__mv} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_n{o,b}_no.utf-8.vim
1029
1030 # remove unsupported locales
1031 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ko.UTF-8
1032 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
1033 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.UTF-8
1034 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_TW.UTF-8
1035 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1036 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1037 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1038 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1039 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1040 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1041 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1042 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1043 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1044 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/lang/menu_zh_{cn,tw}.utf-8.vim
1045
1046 %find_lang %{name}
1047
1048 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1049
1050 %if %{with static}
1051 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT%{_bindir}/vim
1052 install -p src/bin/vim.static   $RPM_BUILD_ROOT/bin/vi
1053 %else
1054 install -p src/bin/vim.ncurses  $RPM_BUILD_ROOT/bin/vi
1055 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
1056 %endif
1057 %if %{with x11}
1058 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1059 %endif
1060 install -p src/xxd/xxd  $RPM_BUILD_ROOT%{_bindir}/xxd
1061 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1062
1063 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1064 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1065
1066 # not supported directories
1067 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1068
1069 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1070 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1071
1072 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1073 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1074 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
1075 ln -sf vi  $RPM_BUILD_ROOT/bin/view
1076 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
1077
1078 %if %{with athena}
1079 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1080 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1081 %endif
1082 %if %{with motif}
1083 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1084 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1085 %endif
1086 %if %{with gnome}
1087 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1088 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1089 %endif
1090 %if %{with gtk}
1091 install -p src/bin/gvim.gtk     $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1092 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1093 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
1094 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/eview
1095 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/evim
1096 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
1097 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1098 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
1099 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
1100 %endif
1101 %if %{with heavy}
1102 install -p src/bin/vim.heavy    $RPM_BUILD_ROOT%{_bindir}
1103 install -p src/bin/gvim.heavy   $RPM_BUILD_ROOT%{_bindir}
1104 %endif
1105 %if %{with light}
1106 install -p src/bin/vim.light    $RPM_BUILD_ROOT%{_bindir}
1107 %endif
1108
1109 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1110 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1111
1112 # locolor scheme no longer supported
1113 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1114
1115 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1116
1117 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1118 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1119
1120 # separate package
1121 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1122
1123 # unuseful
1124 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1125 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1126 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1127 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1128 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1129 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1130
1131 %clean
1132 rm -rf $RPM_BUILD_ROOT
1133
1134 %post
1135 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1136
1137 %postun
1138 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1139
1140 %post doc
1141 %vim_doc_helptags
1142
1143 %postun doc
1144 %vim_doc_helptags
1145
1146 %post -n gvim-athena
1147 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1148
1149 %postun -n gvim-athena
1150 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1151
1152 %post -n gvim-motif
1153 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1154
1155 %postun -n gvim-motif
1156 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1157
1158 %post -n gvim-gtk
1159 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1160 %update_icon_cache hicolor
1161
1162 %postun -n gvim-gtk
1163 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1164 %update_icon_cache hicolor
1165
1166 %post -n gvim-gnome
1167 %update_desktop_database_post
1168 %update_icon_cache hicolor
1169
1170 %postun -n gvim-gnome
1171 %update_desktop_database_postun
1172 %update_icon_cache hicolor
1173
1174 %post -n gvim-heavy
1175 %update_icon_cache hicolor
1176
1177 %postun -n gvim-heavy
1178 %update_icon_cache hicolor
1179
1180 %files
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_bindir}/rvim
1183 %attr(755,root,root) %{_bindir}/vim
1184 %attr(755,root,root) %{_bindir}/vimdiff
1185 %{_mandir}/man1/rvim.1*
1186 %{_mandir}/man1/vimdiff.1*
1187 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1188 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1189 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1190 %lang(id) %{_mandir}/id/man1/rvim.1*
1191 %lang(id) %{_mandir}/id/man1/vim.1*
1192 %lang(it) %{_mandir}/it/man1/rvim.1*
1193 %lang(it) %{_mandir}/it/man1/vim.1*
1194 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1195 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1196 %lang(ja) %{_mandir}/ja/man1/vim.1*
1197 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1198 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1199 %lang(pl) %{_mandir}/pl/man1/vim.1*
1200 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1201 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1202 %lang(ru) %{_mandir}/ru/man1/vim.1*
1203 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1204 %{_desktopdir}/vim.desktop
1205
1206 %if %{with static}
1207 %files static
1208 %endif
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) /bin/ex
1211 %attr(755,root,root) /bin/rview
1212 %attr(755,root,root) /bin/vi
1213 %attr(755,root,root) /bin/view
1214 %{_mandir}/man1/vi.1*
1215 %{_mandir}/man1/ex.1*
1216 %{_mandir}/man1/view.1*
1217 %{_mandir}/man1/rview.1*
1218 %lang(fi) %{_mandir}/fi/man1/vi.1*
1219 %lang(fi) %{_mandir}/fi/man1/ex.1*
1220 %lang(fi) %{_mandir}/fi/man1/view.1*
1221 %lang(fi) %{_mandir}/fi/man1/rview.1*
1222 %lang(fr) %{_mandir}/fr/man1/vi.1*
1223 %lang(fr) %{_mandir}/fr/man1/ex.1*
1224 %lang(fr) %{_mandir}/fr/man1/view.1*
1225 %lang(fr) %{_mandir}/fr/man1/rview.1*
1226 %lang(id) %{_mandir}/id/man1/vi.1*
1227 %lang(id) %{_mandir}/id/man1/ex.1*
1228 %lang(id) %{_mandir}/id/man1/view.1*
1229 %lang(id) %{_mandir}/id/man1/rview.1*
1230 #%lang(it) %{_mandir}/it/man1/vi.1*
1231 %lang(it) %{_mandir}/it/man1/ex.1*
1232 %lang(it) %{_mandir}/it/man1/view.1*
1233 %lang(it) %{_mandir}/it/man1/rview.1*
1234 %lang(ja) %{_mandir}/ja/man1/ex.1*
1235 %lang(ja) %{_mandir}/ja/man1/view.1*
1236 %lang(ja) %{_mandir}/ja/man1/rview.1*
1237 %lang(pl) %{_mandir}/pl/man1/vi.1*
1238 %lang(pl) %{_mandir}/pl/man1/ex.1*
1239 %lang(pl) %{_mandir}/pl/man1/view.1*
1240 %lang(pl) %{_mandir}/pl/man1/rview.1*
1241 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1242 %lang(ru) %{_mandir}/ru/man1/ex.1*
1243 %lang(ru) %{_mandir}/ru/man1/view.1*
1244 %lang(ru) %{_mandir}/ru/man1/rview.1*
1245
1246 %files -n xxd
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_bindir}/xxd
1249 %{_mandir}/man1/xxd.1*
1250 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1251 %lang(it) %{_mandir}/it/man1/xxd.1*
1252 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1253 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1254 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1255
1256 %files rt -f %{name}.lang
1257 %defattr(644,root,root,755)
1258 %dir %{_sysconfdir}/vim
1259 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1261
1262 %dir %{_datadir}/vim
1263 %dir %{_datadir}/vim/doc
1264 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1265 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1266 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1267 # X11 colours definition for colour name lookup
1268 %{_datadir}/vim/rgb.txt
1269
1270 %dir %{_datadir}/vim/vimfiles
1271 %dir %{_datadir}/vim/vimfiles/doc
1272 %dir %{_datadir}/vim/vimfiles/after
1273 %dir %{_datadir}/vim/vimfiles/after/compiler
1274 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1275 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1276 %dir %{_datadir}/vim/vimfiles/after/indent
1277 %dir %{_datadir}/vim/vimfiles/after/plugin
1278 %dir %{_datadir}/vim/vimfiles/after/spell
1279 %dir %{_datadir}/vim/vimfiles/after/syntax
1280 %dir %{_datadir}/vim/vimfiles/compiler
1281 %dir %{_datadir}/vim/vimfiles/ftdetect
1282 %dir %{_datadir}/vim/vimfiles/ftplugin
1283 %dir %{_datadir}/vim/vimfiles/indent
1284 %dir %{_datadir}/vim/vimfiles/plugin
1285 %dir %{_datadir}/vim/vimfiles/spell
1286 %dir %{_datadir}/vim/vimfiles/syntax
1287
1288 %{_datadir}/vim/*.vim
1289
1290 %dir %{_datadir}/vim/autoload
1291 %{_datadir}/vim/autoload/*complete.vim
1292 %doc %{_datadir}/vim/autoload/README.txt
1293 %dir %{_datadir}/vim/autoload/dist
1294 %{_datadir}/vim/autoload/dist/ft.vim
1295
1296 %dir %{_datadir}/vim/ftdetect
1297
1298 %dir %{_datadir}/vim/ftplugin
1299 %doc %{_datadir}/vim/ftplugin/README.txt
1300 %{_datadir}/vim/ftplugin/*.vim
1301 %{_datadir}/vim/ftplugin/logtalk.dict
1302
1303 %dir %{_datadir}/vim/indent
1304 %doc %{_datadir}/vim/indent/README.txt
1305 %{_datadir}/vim/indent/*.vim
1306
1307 %dir %{_datadir}/vim/keymap
1308 %doc %{_datadir}/vim/keymap/README.txt
1309 %{_datadir}/vim/keymap/*.vim
1310
1311 %{_datadir}/vim/pack
1312
1313 %dir %{_datadir}/vim/plugin
1314 %doc %{_datadir}/vim/plugin/README.txt
1315
1316 %dir %{_datadir}/vim/syntax
1317 %doc %{_datadir}/vim/syntax/README.txt
1318 %{_datadir}/vim/syntax/*.vim
1319
1320 %dir %{_datadir}/vim/colors
1321 %doc %{_datadir}/vim/colors/README.txt
1322 %{_datadir}/vim/colors/*.vim
1323 %dir %{_datadir}/vim/colors/tools
1324 %{_datadir}/vim/colors/tools/check_colors.vim
1325
1326 %dir %{_datadir}/vim/lang
1327 %doc %{_datadir}/vim/lang/README*
1328
1329 %lang(af) %{_datadir}/vim/lang/menu_af*
1330 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1331 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1332 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1333 %lang(de) %{_datadir}/vim/lang/menu_de*
1334 %lang(de) %{_datadir}/vim/lang/menu_*german*
1335 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1336 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1337 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1338 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1339 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1340 %lang(es) %{_datadir}/vim/lang/menu_es*
1341 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1342 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1343 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1344 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1345 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1346 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1347 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1348 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1349 %lang(it) %{_datadir}/vim/lang/menu_it*
1350 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1351 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1352 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1353 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1354 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1355 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1356 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1357 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1358 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1359 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1360 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1361 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1362 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1363 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1364 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1365 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1366 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1367 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1368 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1369 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1370 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1371 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1372 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1373
1374 %dir %{_datadir}/vim/spell
1375 %{_datadir}/vim/spell/spell.vim
1376 %lang(he) %{_datadir}/vim/spell/he.*
1377 %lang(yi) %{_datadir}/vim/spell/yi.*
1378
1379 %{_mandir}/man1/vim.1*
1380 %lang(fi) %{_mandir}/fi/man1/vim.1*
1381 %lang(fr) %{_mandir}/fr/man1/vim.1*
1382 %{_pixmapsdir}/gvim.png
1383
1384 # plugins in base -rt package
1385 %{_datadir}/vim/autoload/gzip.vim
1386 %{_datadir}/vim/plugin/gzip.vim
1387 %{_datadir}/vim/plugin/matchparen.vim
1388
1389 %files rt-extras
1390 %defattr(644,root,root,755)
1391 %{_datadir}/vim/plugin/*.vim
1392 %{_datadir}/vim/autoload/*.vim
1393 %exclude %{_datadir}/vim/autoload/*complete.vim
1394 %{_datadir}/vim/autoload/xml
1395 %{_datadir}/vim/compiler
1396 %{_datadir}/vim/macros
1397 %{_datadir}/vim/print
1398
1399 # plugins in base -rt package
1400 %exclude %{_datadir}/vim/autoload/gzip.vim
1401 %exclude %{_datadir}/vim/plugin/gzip.vim
1402 %exclude %{_datadir}/vim/plugin/matchparen.vim
1403
1404 %files doc
1405 %defattr(644,root,root,755)
1406 # English
1407 %{_datadir}/vim/doc/*.txt
1408
1409 # Polish
1410 %lang(pl) %{_datadir}/vim/doc/*.plx
1411
1412 %files tutor
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_bindir}/vimtutor
1415 %dir %{_datadir}/vim/tutor
1416 %dir %{_datadir}/vim/tutor/tutor
1417
1418 %{_datadir}/vim/tutor/README.txt
1419 %{_datadir}/vim/tutor/tutor.vim
1420 %{_datadir}/vim/tutor/tutor.utf-8
1421 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1422 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1423
1424 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1425 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1426 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1427 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1428 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1429 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1430 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1431 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1432 %lang(de) %{_datadir}/vim/tutor/tutor.de
1433 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1434 %lang(el) %{_datadir}/vim/tutor/tutor.el
1435 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1436 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1437 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1438 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1439 %lang(es) %{_datadir}/vim/tutor/tutor.es
1440 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1441 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1442 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1443 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1444 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1445 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1446 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1447 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1448 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1449 %lang(it) %{_datadir}/vim/tutor/tutor.it
1450 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1451 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1452 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1453 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1454 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1455 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1456 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1457 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1458 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1459 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1460 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1461 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1462 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1463 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1464 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1465 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1466 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1467 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1468 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1469 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1470 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1471 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1472 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1473 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1474 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1475 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1476 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1477 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1478 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1479 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1480 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1481 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1482 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1483 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1484
1485 %{_mandir}/man1/vimtutor.1*
1486 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1487 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1488 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1489 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1490 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1491
1492 %if %{with x11}
1493 %files -n vimx
1494 %defattr(644,root,root,755)
1495 %attr(755,root,root) %{_bindir}/vimx
1496 %endif
1497
1498 %if %{with heavy}
1499 %files heavy
1500 %defattr(644,root,root,755)
1501 %attr(755,root,root) %{_bindir}/vim.heavy
1502 %endif
1503
1504 %if %{with light}
1505 %files light
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_bindir}/vim.light
1508 %endif
1509
1510 %files spell-en
1511 %defattr(644,root,root,755)
1512 %{_datadir}/vim/spell/en.*.*
1513
1514 %if %{with athena}
1515 %files -n gvim-athena
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) %{_bindir}/gvim.athena
1518 %{_desktopdir}/gvim-athena.desktop
1519 %endif
1520
1521 %if %{with motif}
1522 %files -n gvim-motif
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_bindir}/gvim.motif
1525 %{_desktopdir}/gvim-motif.desktop
1526 %endif
1527
1528 %if %{with gtk}
1529 %files -n gvim-gtk
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_bindir}/gvim.gtk
1532 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1533 %attr(755,root,root) %{_bindir}/eview
1534 %attr(755,root,root) %{_bindir}/evim
1535 %attr(755,root,root) %{_bindir}/gview
1536 %attr(755,root,root) %{_bindir}/gvimdiff
1537 %attr(755,root,root) %{_bindir}/rgview
1538 %attr(755,root,root) %{_bindir}/rgvim
1539 %{_mandir}/man1/eview.1*
1540 %{_mandir}/man1/evim.1*
1541 %{_mandir}/man1/gvi*
1542 %{_mandir}/man1/rgv*
1543 %lang(fi) %{_mandir}/fi/man1/gvi*
1544 %lang(fi) %{_mandir}/fi/man1/rgv*
1545 %lang(fr) %{_mandir}/fr/man1/eview.1*
1546 %lang(fr) %{_mandir}/fr/man1/evim.1*
1547 %lang(fr) %{_mandir}/fr/man1/gvi*
1548 %lang(fr) %{_mandir}/fr/man1/rgv*
1549 %lang(id) %{_mandir}/id/man1/gvi*
1550 %lang(id) %{_mandir}/id/man1/rgv*
1551 %lang(it) %{_mandir}/it/man1/eview.1*
1552 %lang(it) %{_mandir}/it/man1/evim.1*
1553 %lang(it) %{_mandir}/it/man1/gvi*
1554 %lang(it) %{_mandir}/it/man1/rgv*
1555 %lang(ja) %{_mandir}/ja/man1/eview.1*
1556 %lang(ja) %{_mandir}/ja/man1/evim.1*
1557 %lang(ja) %{_mandir}/ja/man1/gvi*
1558 %lang(ja) %{_mandir}/ja/man1/rgv*
1559 %lang(pl) %{_mandir}/pl/man1/eview.1*
1560 %lang(pl) %{_mandir}/pl/man1/evim.1*
1561 %lang(pl) %{_mandir}/pl/man1/gvi*
1562 %lang(pl) %{_mandir}/pl/man1/rgv*
1563 %lang(ru) %{_mandir}/ru/man1/eview.1*
1564 %lang(ru) %{_mandir}/ru/man1/evim.1*
1565 %lang(ru) %{_mandir}/ru/man1/gvi*
1566 %lang(ru) %{_mandir}/ru/man1/rgv*
1567 %{_desktopdir}/gvim-gtk.desktop
1568 %endif
1569
1570 %if %{with gnome}
1571 %files -n gvim-gnome
1572 %defattr(644,root,root,755)
1573 %attr(755,root,root) %{_bindir}/gvim.gnome
1574 %{_desktopdir}/gvim-gnome.desktop
1575 %endif
1576
1577 %if %{with heavy}
1578 %files -n gvim-heavy
1579 %defattr(644,root,root,755)
1580 %attr(755,root,root) %{_bindir}/gvim.heavy
1581 %endif
This page took 0.311195 seconds and 2 git commands to generate.