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_with gtk3 # use GTK+ 3.x instead of 2.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 interp in vim package
16 %bcond_with ruby # with Ruby interp in vim package
17 %bcond_with tcl # with Tcl interp
18 %bcond_without selinux # without selinux support
19 %bcond_without home_etc # without home_etc support
28 # Command to check for latest patch:
29 # wget ftp://ftp.vim.org/pub/editors/vim/patches/7.4/MD5SUMS -O sources
30 # tail -n1 sources | awk '{print $2}'
31 # VCS Commits: https://github.com/vim/vim/commits/master
35 Summary: Vi IMproved - a Vi clone
36 Summary(de.UTF-8): VIsual editor iMproved
37 Summary(es.UTF-8): Editor visual incrementado
38 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
39 Summary(hu.UTF-8): Vi IMproved - a Vi szerkesztő bővítése
40 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
41 Summary(pt_BR.UTF-8): Editor visual incrementado
42 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
43 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
44 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
47 # keep macro for release, otherwise people tend to increment Epoch instead
51 Group: Applications/Editors/Vim
52 #Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
53 Source0: https://github.com/vim/vim/archive/v%{ver}.tar.gz
54 # Source0-md5: d59dcdd985dfe4fffc6be6c20dd45ef1
55 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
56 # Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
57 Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
58 # Source2-md5: ff96284b1c913d55cf0877839b34d490
59 Source15: update-source.sh
61 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
62 Source20: javascript.vim
63 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
66 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
68 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
70 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
71 Source32: oceandeep.vim
72 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
74 Patch0: %{name}-sysconfdir.patch
76 Patch2: %{name}-paths.patch
77 Patch3: %{name}-no_libelf.patch
78 Patch4: %{name}-egrep.patch
79 Patch5: %{name}-awk.patch
80 Patch6: %{name}-filetype_vim-perl_tests.patch
81 Patch7: %{name}-apache.patch
82 Patch8: %{name}-po-syntax.patch
83 Patch9: %{name}-modprobe.patch
84 Patch10: %{name}-doubleparenthesis.patch
85 Patch11: %{name}-syntax-fstab.patch
86 Patch12: 010_all_%{name}-6.3-vixie.patch
87 Patch14: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
88 Patch15: 021_all_%{name}-7.0-fstab-bogus-errors.patch
89 Patch17: 027_all_%{name}-7.0-automake-substitutions-93378.patch
90 Patch18: %{name}-smarty.patch
91 Patch19: %{name}-tutor-lessdeps.patch
92 Patch20: %{name}-nagios.patch
93 Patch21: %{name}-filetypes.patch
94 Patch22: %{name}-man_installation.patch
95 Patch23: %{name}-vimrc.patch
96 Patch24: %{name}-syntax-exports.patch
97 Patch25: sudoers-include.patch
98 Patch26: %{name}-home_etc.patch
99 Patch27: %{name}-autopaste.patch
100 Patch28: %{name}-ft-cron.patch
101 Patch29: %{name}-phpscript.patch
102 Patch30: %{name}-pam.patch
103 Patch32: %{name}-localedir.patch
104 Patch33: %{name}-locales.patch
105 Patch34: %{name}-rtdir.patch
106 Patch35: %{name}-ft-mib.patch
107 Patch36: %{name}-ft-lib-udevrules.patch
108 Patch37: %{name}-ft-mysql.patch
109 Patch38: %{name}-ft-gyp.patch
110 Patch39: %{name}-revert-7.4.165-noundo.patch
111 Patch40: desktop.patch
112 Patch41: %{name}-lua.patch
113 URL: http://www.vim.org/
114 BuildRequires: acl-devel
115 BuildRequires: attr-devel
116 BuildRequires: autoconf >= 2.12
117 BuildRequires: gpm-devel
118 %if "%{pld_release}" == "ac"
119 %if %{with athena} || %{with x11}
120 BuildRequires: XFree86-devel
122 BuildRequires: gettext-devel
124 BuildRequires: gettext-tools
125 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
126 %if %{with x11} || %{with gui}
127 BuildRequires: xorg-lib-libICE-devel
128 BuildRequires: xorg-lib-libSM-devel
129 BuildRequires: xorg-lib-libX11-devel
130 BuildRequires: xorg-lib-libXt-devel
133 %if %{with gtk} || %{with heavy}
135 BuildRequires: gtk+3-devel >= 3.0
137 BuildRequires: gtk+2-devel >= 2:2.6.0
140 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
141 %if %{with selinux} || %{with heavy}
142 BuildRequires: libselinux-devel
144 %if %{with lua} || %{with heavy}
145 BuildRequires: lua52-devel >= 5.2
147 %{?with_motif:BuildRequires: motif-devel}
148 BuildRequires: ncurses-devel
149 BuildRequires: pkgconfig
150 %if %{with perl} || %{with heavy}
151 BuildRequires: perl-devel
153 %if %{with python} || %{with heavy}
154 BuildRequires: python-devel >= 2.3
155 BuildRequires: rpm-pythonprov
157 BuildRequires: rpm >= 4.4.9-56
158 BuildRequires: rpmbuild(macros) >= 1.718
159 %if %{with ruby} || %{with heavy}
160 BuildRequires: ruby-devel >= 1.6.0
162 %if %{with tcl} || %{with heavy}
163 BuildRequires: tcl-devel >= 8.0
167 BuildRequires: acl-static
168 BuildRequires: attr-static
169 BuildRequires: glibc-static
170 %{?with_selinux:BuildRequires: libselinux-static}
171 BuildRequires: ncurses-static
173 Provides: %{name}-static = %{epoch}:%{version}-%{release}
174 Obsoletes: elvis-static
177 Obsoletes: vim-minimal
178 Obsoletes: vim-static
181 Suggests: %{name}-rt = %{epoch}:%{version}-%{release}
184 Provides: vim-editor = %{epoch}:%{version}-%{release}
185 Obsoletes: vim-enhanced
186 Obsoletes: vim-ispell
187 Obsoletes: vim-plugin-multvals
188 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
190 # configure redefines it to =1
191 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]*
192 %define filterout_c -Wp,-D_FORTIFY_SOURCE=2
194 # that's example script
195 %define _noautoreq '/bin/csh'
197 # cflags get changed while configuring
198 %undefine configure_cache
201 Text editor similar to Vi. Important improvements: multiple windows,
202 multi-level undo, block highliting, folding, and many other.
204 %description -l cs.UTF-8
205 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
206 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
207 populární. VIM je obohacený funkcemi jako: podpora více oken,
208 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
211 %description -l de.UTF-8
212 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
213 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
214 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
215 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
216 Standard-vi-Programm.
218 %description -l es.UTF-8
219 El editor Visual Mejorado es una versión actualizada y con nuevas
220 características adicionales del mundialmente famoso 'vi' que acompaña
221 prácticamente todos los sistemas UN*X. Posibilita trabajar con
222 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
223 otras muchas características del 'vi'.
225 %description -l fr.UTF-8
226 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
227 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
228 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
229 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
230 blocs et autres caractéristiques au vi de base.
232 %description -l hu.UTF-8
233 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
234 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
237 %description -l id.UTF-8
238 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
239 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
240 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
241 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
242 windows, multi-level undo, block highlighting, dll.
244 %description -l is.UTF-8
245 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
246 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
247 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
248 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
251 %description -l it.UTF-8
252 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
253 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
254 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
255 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
258 %description -l pl.UTF-8
259 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
260 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
261 folding i wiele innych.
263 %description -l pt.UTF-8
264 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
265 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
266 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
267 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
270 %description -l pt_BR.UTF-8
271 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
272 características do mundialmente famoso 'vi' que acompanha praticamente
273 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
274 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
275 outras características do 'vi'.
277 %description -l ru.UTF-8
278 VIsual editor iMproved - это обновленный и значительно улучшенный клон
279 редактора vi, который поставляется практически со всеми
280 UN*X-системами. В этой версии есть многоуровневый откат, выделение
281 блоков, синтаксическая подсветка и много другого...
283 %description -l sk.UTF-8
284 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
285 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
286 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
287 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
289 %description -l sv.UTF-8
290 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
291 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
292 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
293 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
296 %description -l tr.UTF-8
297 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
298 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
300 %description -l uk.UTF-8
301 VIsual editor iMproved - це оновлений та значно поліпшений клон
302 редактора vi, який поставляється практично зі всіма UN*X-системами. В
303 цій версії є багаторівневий відкат, виділення блоків, синтаксична
304 підсвітка та багато іншого...
307 Summary: Utility to convert files to hexdump or do the reverse
308 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
309 Group: Applications/Editors/Vim
312 xxd creates a hex dump of a given file or standard input. It can also
313 convert a hex dump back to its original binary form. Like uuencode and
314 uudecode it allows the transmission of binary data in a `mail-safe'
315 ASCII representation, but has the advantage of decoding to standard
316 output. Moreover, it can be used to perform binary file patching.
318 %description -n xxd -l pl.UTF-8
319 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
320 Może także przekonwertować taki zapis na oryginalną, binarną postać.
321 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
322 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
323 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
326 Summary: Full featured build of Vim
327 Summary(hu.UTF-8): A Vim teljeskörű szolgáltatásait nyújtó verzió
328 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima
329 Group: Applications/Editors/Vim
330 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
333 Provides: vim-editor = %{epoch}:%{version}-%{release}
334 Obsoletes: vim-enhanced
335 Obsoletes: vim-ispell
336 Obsoletes: vim-plugin-multvals
339 This package provides full featured version of Vim, which includes
340 support for Perl, Python, Ruby and Tcl scripting.
342 %description heavy -l hu.UTF-8
343 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
344 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
346 %description heavy -l pl.UTF-8
347 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
348 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
351 Summary: Minimal build of Vim
352 Summary(pl.UTF-8): Minimalna wersja vima
353 Group: Applications/Editors/Vim
356 Provides: vim-editor = %{epoch}:%{version}-%{release}
359 This package provides light featured version of Vim.
361 %description light -l pl.UTF-8
362 Pakiet ten dostarcza minimalną wersję Vima.
365 Summary: Vi IMproved - a Vi clone
366 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
367 Group: X11/Applications/Editors
368 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
371 Provides: vim-editor = %{epoch}:%{version}-%{release}
372 Obsoletes: vim-enhanced
373 Obsoletes: vim-ispell
374 Obsoletes: vim-plugin-multvals
377 This package provides console version of Vim, with support for basic
378 X11 features like system clipboard.
380 %description -n vimx -l pl.UTF-8
381 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
382 podstawowych funckcji X11, takich jak systemowy schowek.
385 Summary: Statically linked Vim
386 Summary(hu.UTF-8): A Vim statikus verziója
387 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
388 Group: Applications/Editors/Vim
391 Provides: vim-editor = %{epoch}:%{version}-%{release}
392 Obsoletes: elvis-static
394 Obsoletes: vim-minimal
397 Text editor similar to Vi. This version is built with minimal feature
398 and is installed in /bin as a rescue tool. The installation of this
399 package is STRONGLY recommended.
401 %description static -l hu.UTF-8
402 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
403 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
404 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
406 %description static -l pl.UTF-8
407 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
408 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
409 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
410 zalecana, może on pomóc Ci uratować system w czasie awarii.
412 %description static -l ru.UTF-8
413 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
414 удобно для запуска даже когда смонтирована только корневая файловая
417 %description static -l uk.UTF-8
418 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
419 запуску навіть тоді, коли змонтована тільки корньова файлова система.
422 Summary: Vim runtime files
423 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor VIM
424 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
425 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
426 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
427 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
428 Summary(hu.UTF-8): A Vim futásidejű fájljai
429 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
430 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
431 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
432 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
433 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
434 Summary(pl.UTF-8): Pliki przydatne dla edytora Vim
435 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
436 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
437 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
438 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
439 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
440 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
441 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
442 Group: Applications/Editors/Vim
443 Requires: rpm-whiteout >= 1.3
444 Requires: vim-plugin-securemodelines
445 Obsoletes: gvim-bonobo
446 Obsoletes: vim-common
447 Obsoletes: vim-syntax-gitcommit
448 Obsoletes: vim-syntax-golang <= 1.3.3-1
449 Obsoletes: vim-syntax-lxc-docker <= 0.9.0-1
450 Obsoletes: vim-syntax-docker < 1.10.1
451 Obsoletes: vim-syntax-upstart
452 %if "%{_rpmversion}" >= "5"
457 This package contains macros, documentation, syntax configuration and
458 manual pages for Vim. If you want to take advantage of Vim more
459 powerful features, you should install this package.
461 %description rt -l cs.UTF-8
462 Tento balíček obsahuje společné soubory pro všechny další balíčky s
465 %description rt -l de.UTF-8
466 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
469 %description rt -l fr.UTF-8
470 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
471 VIM a besoin pour fonctionner.
473 %description rt -l hu.UTF-8
474 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
475 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
476 lehetőségeit, érdemes telepítened ezt a csomagot.
478 %description rt -l id.UTF-8
479 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
482 %description rt -l is.UTF-8
483 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
486 %description rt -l it.UTF-8
487 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
488 per poter funzionare.
490 %description rt -l pl.UTF-8
491 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
492 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
493 Vima, należy zainstalować ten pakiet.
495 %description rt -l pt.UTF-8
496 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
497 irão necessitar para correr.
499 %description rt -l ru.UTF-8
500 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
501 для работы любой программы vim.
503 %description rt -l sk.UTF-8
504 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
505 funkciu každá verzia editoru VIM.
507 %description rt -l sv.UTF-8
508 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
511 %description rt -l uk.UTF-8
512 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
513 для роботи будь-якої програми vim.
516 Summary: Vim runtime extra files
517 Summary(pl.UTF-8): Dodatkowe pliki uruchomieniowe Vima
518 Group: Applications/Editors/Vim
519 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
520 %if "%{_rpmversion}" >= "5"
524 %description rt-extras
525 This package contains more runtime extra files, not really useful. If
526 you want to take full advantage of Vim more powerful features, you
527 should install this package.
529 %description rt-extras -l pl.UTF-8
530 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
531 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
532 zainstalować ten pakiet.
535 Summary: Context Vim documentation
536 Summary(pl.UTF-8): Dokumentacja kontekstowa do Vima
537 Group: Applications/Editors/Vim
538 Requires(post,postun): /usr/bin/vim
539 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
540 %if "%{_rpmversion}" >= "5"
545 This package contains Vim documentation accessible from vim itself
548 %description doc -l pl.UTF-8
549 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
550 za pomocą polecenia :help.
553 Summary: English dictionaries for VIMspell
554 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
555 Group: Applications/Editors/Vim
556 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
557 %if "%{_rpmversion}" >= "5"
561 %description spell-en
562 English dictionaries for VIMspell.
564 %description spell-en -l pl.UTF-8
565 Angielskie słowniki dla VIMspella.
568 Summary: Vim tutorial
569 Summary(hu.UTF-8): Vim tutorial
570 Summary(pl.UTF-8): Samouczek do Vima
571 Group: Applications/Editors/Vim
572 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
574 Requires: vim-editor = %{epoch}:%{version}-%{release}
575 %if "%{_rpmversion}" >= "5"
580 This package contains Vim tutorial.
582 %description tutor -l hu.UTF-8
583 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
586 %description tutor -l pl.UTF-8
587 Ten pakiet zawiera samouczek do Vima.
589 %package -n gvim-athena
590 Summary: Vim for X Window built with Athena
591 Summary(hu.UTF-8): A Vim X Window verziója, az Athena felhasználásával
592 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
593 Group: Applications/Editors/Vim
594 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
598 Provides: vim-editor = %{epoch}:%{version}-%{release}
601 %description -n gvim-athena
602 The classic Unix text editor now also under X Window System! This
603 version is built with Athena Widget Set.
605 %description -n gvim-athena -l hu.UTF-8
606 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
608 %description -n gvim-athena -l pl.UTF-8
609 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
610 biblioteki Athena Widget Set.
612 %description -n gvim-athena -l ru.UTF-8
613 Этот пакет представляет собой версию VIM, собранную с библиотеками
614 Athena Widget Set, что позволяет запускать VIM как приложение X Window
615 System - с полностью графическим интерфейсом и поддержкой мыши.
617 %description -n gvim-athena -l uk.UTF-8
618 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
619 Set, що дозволяє запускати VIM як прикладну програму X Window System -
620 з повністю графічним інтерфейсом та підтримкою миші.
622 %package -n gvim-motif
623 Summary: Vim for X Window System built with Motif
624 Summary(hu.UTF-8): A Vim X Window verziója, a Motif felhasználásával
625 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki Motif
626 Group: Applications/Editors/Vim
627 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
631 Provides: vim-editor = %{epoch}:%{version}-%{release}
634 %description -n gvim-motif
635 The classic Unix text editor now also under X Window System! This
636 version is built with Motif.
638 %description -n gvim-motif -l hu.UTF-8
639 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
641 %description -n gvim-motif -l pl.UTF-8
642 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
645 %description -n gvim-motif -l ru.UTF-8
646 Этот пакет представляет собой версию VIM, собранную с библиотеками
647 Motif, что позволяет запускать VIM как приложение X Window System - с
648 полностью графическим интерфейсом и поддержкой мыши.
650 %description -n gvim-motif -l uk.UTF-8
651 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
652 дозволяє запускати VIM як прикладну програму X Window System - з
653 повністю графічним інтерфейсом та підтримкою миші.
656 Summary: Vim for X Window System built with GTK+
657 Summary(hu.UTF-8): A Vim X Window verziója, a GTK+ felhasználásával
658 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GTK+
659 Group: Applications/Editors/Vim
660 Requires(post,postun): gtk-update-icon-cache
661 Requires(post,postun): hicolor-icon-theme
662 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
663 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
667 Provides: vim-editor = %{epoch}:%{version}-%{release}
670 %description -n gvim-gtk
671 The classic Unix text editor now also under X Window System! This
672 version is built with GTK+.
674 %description -n gvim-gtk -l hu.UTF-8
675 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
677 %description -n gvim-gtk -l pl.UTF-8
678 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
681 %description -n gvim-gtk -l ru.UTF-8
682 Этот пакет представляет собой версию VIM, собранную с библиотеками
683 GTK, что позволяет запускать VIM как приложение X Window System - с
684 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
687 %description -n gvim-gtk -l uk.UTF-8
688 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
689 запускати VIM як прикладну програму X Window System - з повністю
690 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
692 %package -n gvim-gnome
693 Summary: Vim for X Window System built with GNOME
694 Summary(hu.UTF-8): A Vim X Window verziója, a GNOME felhasználásával
695 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GNOME
696 Group: Applications/Editors/Vim
697 Requires(post,postun): gtk-update-icon-cache
698 Requires(post,postun): hicolor-icon-theme
699 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
700 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
704 Provides: vim-editor = %{epoch}:%{version}-%{release}
707 %description -n gvim-gnome
708 The classic Unix text editor now also under X Window System! This
709 version is build with GNOME.
711 %description -n gvim-gnome -l hu.UTF-8
712 A Vim X Window verziója, a GNOME felhasználásával.
714 %description -n gvim-gnome -l pl.UTF-8
715 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
718 %description -n gvim-gnome -l ru.UTF-8
719 Этот пакет представляет собой версию VIM, собранную с библиотеками
720 GNOME, что позволяет запускать VIM как приложение X Window System - с
721 полностью графическим интерфейсом и поддержкой мыши.
723 %description -n gvim-gnome -l uk.UTF-8
724 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
725 дозволяє запускати VIM як прикладну програму X Window System - з
726 повністю графічним інтерфейсом та підтримкою миші.
728 %package -n gvim-heavy
729 Summary: Full featured build of Vim with X Window support
730 Summary(hu.UTF-8): A gvim legteljesebb verziója
731 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima z interfejsem dla X Window
732 Group: Applications/Editors/Vim
733 Requires(post,postun): gtk-update-icon-cache
734 Requires(post,postun): hicolor-icon-theme
735 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
736 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
740 Provides: vim-editor = %{epoch}:%{version}-%{release}
743 %description -n gvim-heavy
744 This package provides full featured version of Vim, which includes
745 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
748 %description -n gvim-heavy -l hu.UTF-8
749 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
751 %description -n gvim-heavy -l pl.UTF-8
752 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
753 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
754 jak również GUI GTK+2.
759 cp -p runtime/gvim.desktop gvim-athena.desktop
760 cp -p runtime/gvim.desktop gvim-gnome.desktop
761 cp -p runtime/gvim.desktop gvim-gtk.desktop
762 cp -p runtime/gvim.desktop gvim-motif.desktop
788 %{?with_home_etc:%patch26 -p1}
790 # autopaste patch - automatically switch to paste mode
791 # when `really fast typing' situation happens
807 cp -p %{SOURCE20} runtime/syntax
808 cp -p %{SOURCE22} runtime/syntax
809 cp -p %{SOURCE30} runtime/colors
810 cp -p %{SOURCE31} runtime/colors
811 cp -p %{SOURCE32} runtime/colors
813 %{__unzip} -qd runtime/doc %{SOURCE2}
815 # remove unsupported locales
816 %{__rm} src/po/zh_{CN,TW}.UTF-8.po
817 %{__rm} runtime/lang/menu_zh_{cn,tw}.utf-8.vim
820 %{__mv} src/po/n{o,b}.po
821 %{__mv} runtime/tutor/tutor.n{o,b}
822 %{__mv} runtime/tutor/tutor.n{o,b}.utf-8
823 %{__mv} runtime/lang/menu_n{o,b}.latin1.vim
824 %{__mv} runtime/lang/menu_n{o,b}.utf-8.vim
825 %{__mv} runtime/lang/menu_n{o,b}_no.latin1.vim
826 %{__mv} runtime/lang/menu_n{o,b}_no.utf-8.vim
828 # not info files but some binary files for Amiga:
829 # Amiga Workbench drawer icon
830 # Amiga Workbench project icon
831 # Amiga Workbench tool icon
832 find -name '*.info' | xargs rm -v
837 # needed to prevent deconfiguring
847 %if "%{pld_release}" == "ac"
848 --with-tlib="ncurses -ltinfo"
850 --with-tlib="ncursesw"
853 %{__make} -j1 distclean
854 # add common options, can override (disable) if needed with args
856 --%{!?with_lua:dis}%{?with_lua:en}able-luainterp \
857 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
858 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
859 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
860 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
861 %{!?with_selinux:--disable-selinux} \
866 %if "%{pld_release}" == "ac"
867 --with-tlib="ncurses -ltinfo" \
869 --with-tlib="ncursesw" \
871 --with-modified-by="PLD Linux Distribution" \
872 --with-compiledby="PLD Linux Distribution" \
876 mv -f vim bin/$target
880 LDFLAGS="%{rpmldflags} -static"
884 --with-features=small \
885 --disable-luainterp \
886 --disable-perlinterp \
887 --disable-pythoninterp \
888 --disable-rubyinterp \
889 --disable-tclinterp \
892 --disable-multibyte \
895 LDFLAGS="%{rpmldflags}"
902 --with-features=small \
903 --disable-luainterp \
904 --disable-perlinterp \
905 --disable-pythoninterp \
906 --disable-rubyinterp \
907 --disable-tclinterp \
927 --with-features=huge \
928 --enable-gui=athena \
938 --with-features=huge \
950 --with-features=huge \
953 --enable-gtk3-check \
956 --enable-gtk2-check \
965 --with-features=huge \
966 --enable-gui=gnome2 \
967 --enable-gtk2-check \
968 --enable-gnome-check \
974 # vim.heavy / gvim.heavy
977 --with-features=huge \
981 --enable-perlinterp \
982 --enable-pythoninterp \
983 --enable-rubyinterp \
988 --with-features=huge \
989 --enable-gui=gnome2 \
990 --enable-gtk2-check \
991 --enable-gnome-check \
994 --enable-perlinterp \
995 --enable-pythoninterp \
996 --enable-rubyinterp \
1001 %{__make} xxd/xxd languages
1004 rm -rf $RPM_BUILD_ROOT
1006 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1007 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
1008 $RPM_BUILD_ROOT%{_desktopdir}
1010 %{__make} -j1 install \
1011 DESTDIR=$RPM_BUILD_ROOT
1013 # generic gvim from upstream, but we have bunch of subpackages
1014 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/gvim.desktop
1016 # not supported locales added by 7.3.764 or later
1017 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
1018 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
1019 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
1020 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
1021 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
1022 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
1023 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
1024 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
1025 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
1029 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
1032 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1033 install -p src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1035 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1036 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1039 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
1041 install -p src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1042 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1044 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1045 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1047 # not supported directories
1048 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
1050 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
1051 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
1053 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1054 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1055 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1056 ln -sf vi $RPM_BUILD_ROOT/bin/view
1057 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1060 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1061 cp -p gvim-athena.desktop $RPM_BUILD_ROOT%{_desktopdir}
1064 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1065 cp -p gvim-motif.desktop $RPM_BUILD_ROOT%{_desktopdir}
1068 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1069 cp -p gvim-gnome.desktop $RPM_BUILD_ROOT%{_desktopdir}
1072 install -p src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1073 cp -p gvim-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}
1074 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1075 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/eview
1076 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/evim
1077 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1078 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1079 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1080 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1083 install -p src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
1084 install -p src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
1087 install -p src/bin/vim.light $RPM_BUILD_ROOT%{_bindir}
1090 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1091 mv $RPM_BUILD_ROOT{%{_iconsdir}/hicolor/48x48/apps,%{_pixmapsdir}}/gvim.png
1093 # locolor scheme no longer supported
1094 %{__rm} -r $RPM_BUILD_ROOT%{_iconsdir}/locolor
1096 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1098 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1099 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1102 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1105 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1106 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1107 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1108 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1109 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1110 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1113 rm -rf $RPM_BUILD_ROOT
1116 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1119 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1127 %post -n gvim-athena
1128 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1130 %postun -n gvim-athena
1131 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1134 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1136 %postun -n gvim-motif
1137 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1140 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1141 %update_icon_cache hicolor
1144 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1145 %update_icon_cache hicolor
1148 %update_desktop_database_post
1149 %update_icon_cache hicolor
1151 %postun -n gvim-gnome
1152 %update_desktop_database_postun
1153 %update_icon_cache hicolor
1156 %update_icon_cache hicolor
1158 %postun -n gvim-heavy
1159 %update_icon_cache hicolor
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_bindir}/rvim
1164 %attr(755,root,root) %{_bindir}/vim
1165 %attr(755,root,root) %{_bindir}/vimdiff
1166 %{_mandir}/man1/rvim.1*
1167 %{_mandir}/man1/vimdiff.1*
1168 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1169 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1170 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1171 %lang(id) %{_mandir}/id/man1/rvim.1*
1172 %lang(id) %{_mandir}/id/man1/vim.1*
1173 %lang(it) %{_mandir}/it/man1/rvim.1*
1174 %lang(it) %{_mandir}/it/man1/vim.1*
1175 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1176 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1177 %lang(ja) %{_mandir}/ja/man1/vim.1*
1178 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1179 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1180 %lang(pl) %{_mandir}/pl/man1/vim.1*
1181 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1182 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1183 %lang(ru) %{_mandir}/ru/man1/vim.1*
1184 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1185 %{_desktopdir}/vim.desktop
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) /bin/ex
1192 %attr(755,root,root) /bin/rview
1193 %attr(755,root,root) /bin/vi
1194 %attr(755,root,root) /bin/view
1195 %{_mandir}/man1/vi.1*
1196 %{_mandir}/man1/ex.1*
1197 %{_mandir}/man1/view.1*
1198 %{_mandir}/man1/rview.1*
1199 %lang(fi) %{_mandir}/fi/man1/vi.1*
1200 %lang(fi) %{_mandir}/fi/man1/ex.1*
1201 %lang(fi) %{_mandir}/fi/man1/view.1*
1202 %lang(fi) %{_mandir}/fi/man1/rview.1*
1203 %lang(fr) %{_mandir}/fr/man1/vi.1*
1204 %lang(fr) %{_mandir}/fr/man1/ex.1*
1205 %lang(fr) %{_mandir}/fr/man1/view.1*
1206 %lang(fr) %{_mandir}/fr/man1/rview.1*
1207 %lang(id) %{_mandir}/id/man1/vi.1*
1208 %lang(id) %{_mandir}/id/man1/ex.1*
1209 %lang(id) %{_mandir}/id/man1/view.1*
1210 %lang(id) %{_mandir}/id/man1/rview.1*
1211 #%lang(it) %{_mandir}/it/man1/vi.1*
1212 %lang(it) %{_mandir}/it/man1/ex.1*
1213 %lang(it) %{_mandir}/it/man1/view.1*
1214 %lang(it) %{_mandir}/it/man1/rview.1*
1215 %lang(ja) %{_mandir}/ja/man1/ex.1*
1216 %lang(ja) %{_mandir}/ja/man1/view.1*
1217 %lang(ja) %{_mandir}/ja/man1/rview.1*
1218 %lang(pl) %{_mandir}/pl/man1/vi.1*
1219 %lang(pl) %{_mandir}/pl/man1/ex.1*
1220 %lang(pl) %{_mandir}/pl/man1/view.1*
1221 %lang(pl) %{_mandir}/pl/man1/rview.1*
1222 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1223 %lang(ru) %{_mandir}/ru/man1/ex.1*
1224 %lang(ru) %{_mandir}/ru/man1/view.1*
1225 %lang(ru) %{_mandir}/ru/man1/rview.1*
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_bindir}/xxd
1230 %{_mandir}/man1/xxd.1*
1231 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1232 %lang(it) %{_mandir}/it/man1/xxd.1*
1233 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1234 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1235 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1237 %files rt -f %{name}.lang
1238 %defattr(644,root,root,755)
1239 %dir %{_sysconfdir}/vim
1240 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1243 %dir %{_datadir}/vim
1244 %dir %{_datadir}/vim/doc
1245 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1246 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1247 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1248 # X11 colours definition for colour name lookup
1249 %{_datadir}/vim/rgb.txt
1251 %dir %{_datadir}/vim/vimfiles
1252 %dir %{_datadir}/vim/vimfiles/doc
1253 %dir %{_datadir}/vim/vimfiles/after
1254 %dir %{_datadir}/vim/vimfiles/after/compiler
1255 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1256 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1257 %dir %{_datadir}/vim/vimfiles/after/indent
1258 %dir %{_datadir}/vim/vimfiles/after/plugin
1259 %dir %{_datadir}/vim/vimfiles/after/spell
1260 %dir %{_datadir}/vim/vimfiles/after/syntax
1261 %dir %{_datadir}/vim/vimfiles/compiler
1262 %dir %{_datadir}/vim/vimfiles/ftdetect
1263 %dir %{_datadir}/vim/vimfiles/ftplugin
1264 %dir %{_datadir}/vim/vimfiles/indent
1265 %dir %{_datadir}/vim/vimfiles/plugin
1266 %dir %{_datadir}/vim/vimfiles/spell
1267 %dir %{_datadir}/vim/vimfiles/syntax
1269 %{_datadir}/vim/*.vim
1271 %dir %{_datadir}/vim/autoload
1272 %{_datadir}/vim/autoload/*complete.vim
1273 %doc %{_datadir}/vim/autoload/README.txt
1275 %dir %{_datadir}/vim/ftdetect
1277 %dir %{_datadir}/vim/ftplugin
1278 %doc %{_datadir}/vim/ftplugin/README.txt
1279 %{_datadir}/vim/ftplugin/*.vim
1280 %{_datadir}/vim/ftplugin/logtalk.dict
1282 %dir %{_datadir}/vim/indent
1283 %doc %{_datadir}/vim/indent/README.txt
1284 %{_datadir}/vim/indent/*.vim
1286 %dir %{_datadir}/vim/keymap
1287 %doc %{_datadir}/vim/keymap/README.txt
1288 %{_datadir}/vim/keymap/*.vim
1290 %{_datadir}/vim/pack
1292 %dir %{_datadir}/vim/plugin
1293 %doc %{_datadir}/vim/plugin/README.txt
1295 %dir %{_datadir}/vim/syntax
1296 %doc %{_datadir}/vim/syntax/README.txt
1297 %{_datadir}/vim/syntax/*.vim
1299 %dir %{_datadir}/vim/colors
1300 %doc %{_datadir}/vim/colors/README.txt
1301 %{_datadir}/vim/colors/*.vim
1303 %dir %{_datadir}/vim/lang
1304 %doc %{_datadir}/vim/lang/README*
1306 %lang(af) %{_datadir}/vim/lang/menu_af*
1307 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1308 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1309 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1310 %lang(de) %{_datadir}/vim/lang/menu_de*
1311 %lang(de) %{_datadir}/vim/lang/menu_*german*
1312 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1313 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1314 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1315 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1316 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1317 %lang(es) %{_datadir}/vim/lang/menu_es*
1318 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1319 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1320 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1321 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1322 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1323 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1324 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1325 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1326 %lang(it) %{_datadir}/vim/lang/menu_it*
1327 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1328 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1329 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1330 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1331 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1332 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1333 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1334 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1335 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1336 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1337 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1338 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1339 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1340 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1341 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1342 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1343 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1344 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1345 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1346 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1347 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1348 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1349 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1351 %dir %{_datadir}/vim/spell
1352 %{_datadir}/vim/spell/spell.vim
1353 %lang(he) %{_datadir}/vim/spell/he.*
1354 %lang(yi) %{_datadir}/vim/spell/yi.*
1356 %{_mandir}/man1/vim.1*
1357 %lang(fi) %{_mandir}/fi/man1/vim.1*
1358 %lang(fr) %{_mandir}/fr/man1/vim.1*
1359 %{_pixmapsdir}/gvim.png
1361 # plugins in base -rt package
1362 %{_datadir}/vim/autoload/gzip.vim
1363 %{_datadir}/vim/plugin/gzip.vim
1364 %{_datadir}/vim/plugin/matchparen.vim
1367 %defattr(644,root,root,755)
1368 %{_datadir}/vim/plugin/*.vim
1369 %{_datadir}/vim/autoload/*.vim
1370 %exclude %{_datadir}/vim/autoload/*complete.vim
1371 %{_datadir}/vim/autoload/xml
1372 %{_datadir}/vim/compiler
1373 %{_datadir}/vim/macros
1374 %{_datadir}/vim/print
1376 # plugins in base -rt package
1377 %exclude %{_datadir}/vim/autoload/gzip.vim
1378 %exclude %{_datadir}/vim/plugin/gzip.vim
1379 %exclude %{_datadir}/vim/plugin/matchparen.vim
1382 %defattr(644,root,root,755)
1384 %{_datadir}/vim/doc/*.txt
1387 %lang(pl) %{_datadir}/vim/doc/*.plx
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_bindir}/vimtutor
1392 %dir %{_datadir}/vim/tutor
1393 %dir %{_datadir}/vim/tutor/tutor
1395 %{_datadir}/vim/tutor/README.txt
1396 %{_datadir}/vim/tutor/tutor.vim
1397 %{_datadir}/vim/tutor/tutor.utf-8
1398 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1399 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1401 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1402 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1403 %lang(bg) %{_datadir}/vim/tutor/tutor.bg.utf-8
1404 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1405 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1406 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1407 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1408 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1409 %lang(de) %{_datadir}/vim/tutor/tutor.de
1410 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1411 %lang(el) %{_datadir}/vim/tutor/tutor.el
1412 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1413 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1414 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1415 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1416 %lang(es) %{_datadir}/vim/tutor/tutor.es
1417 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1418 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1419 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1420 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1421 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1422 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1423 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1424 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1425 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1426 %lang(it) %{_datadir}/vim/tutor/tutor.it
1427 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1428 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1429 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1430 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1431 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1432 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1433 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1434 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1435 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1436 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1437 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1438 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1439 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1440 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1441 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1442 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1443 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1444 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1445 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1446 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1447 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1448 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.cp1250
1449 %lang(sr) %{_datadir}/vim/tutor/tutor.sr.utf-8
1450 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1451 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1452 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1453 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1454 %lang(uk) %{_datadir}/vim/tutor/tutor.uk.utf-8
1455 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1456 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1457 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1458 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1459 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1460 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1462 %{_mandir}/man1/vimtutor.1*
1463 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1464 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1465 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1466 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1467 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_bindir}/vimx
1477 %defattr(644,root,root,755)
1478 %attr(755,root,root) %{_bindir}/vim.heavy
1483 %defattr(644,root,root,755)
1484 %attr(755,root,root) %{_bindir}/vim.light
1488 %defattr(644,root,root,755)
1489 %{_datadir}/vim/spell/en.*.*
1492 %files -n gvim-athena
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) %{_bindir}/gvim.athena
1495 %{_desktopdir}/gvim-athena.desktop
1499 %files -n gvim-motif
1500 %defattr(644,root,root,755)
1501 %attr(755,root,root) %{_bindir}/gvim.motif
1502 %{_desktopdir}/gvim-motif.desktop
1507 %defattr(644,root,root,755)
1508 %attr(755,root,root) %{_bindir}/gvim.gtk
1509 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1510 %attr(755,root,root) %{_bindir}/eview
1511 %attr(755,root,root) %{_bindir}/evim
1512 %attr(755,root,root) %{_bindir}/gview
1513 %attr(755,root,root) %{_bindir}/gvimdiff
1514 %attr(755,root,root) %{_bindir}/rgview
1515 %attr(755,root,root) %{_bindir}/rgvim
1516 %{_mandir}/man1/eview.1*
1517 %{_mandir}/man1/evim.1*
1518 %{_mandir}/man1/gvi*
1519 %{_mandir}/man1/rgv*
1520 %lang(fi) %{_mandir}/fi/man1/gvi*
1521 %lang(fi) %{_mandir}/fi/man1/rgv*
1522 %lang(fr) %{_mandir}/fr/man1/eview.1*
1523 %lang(fr) %{_mandir}/fr/man1/evim.1*
1524 %lang(fr) %{_mandir}/fr/man1/gvi*
1525 %lang(fr) %{_mandir}/fr/man1/rgv*
1526 %lang(id) %{_mandir}/id/man1/gvi*
1527 %lang(id) %{_mandir}/id/man1/rgv*
1528 %lang(it) %{_mandir}/it/man1/eview.1*
1529 %lang(it) %{_mandir}/it/man1/evim.1*
1530 %lang(it) %{_mandir}/it/man1/gvi*
1531 %lang(it) %{_mandir}/it/man1/rgv*
1532 %lang(ja) %{_mandir}/ja/man1/eview.1*
1533 %lang(ja) %{_mandir}/ja/man1/evim.1*
1534 %lang(ja) %{_mandir}/ja/man1/gvi*
1535 %lang(ja) %{_mandir}/ja/man1/rgv*
1536 %lang(pl) %{_mandir}/pl/man1/eview.1*
1537 %lang(pl) %{_mandir}/pl/man1/evim.1*
1538 %lang(pl) %{_mandir}/pl/man1/gvi*
1539 %lang(pl) %{_mandir}/pl/man1/rgv*
1540 %lang(ru) %{_mandir}/ru/man1/eview.1*
1541 %lang(ru) %{_mandir}/ru/man1/evim.1*
1542 %lang(ru) %{_mandir}/ru/man1/gvi*
1543 %lang(ru) %{_mandir}/ru/man1/rgv*
1544 %{_desktopdir}/gvim-gtk.desktop
1548 %files -n gvim-gnome
1549 %defattr(644,root,root,755)
1550 %attr(755,root,root) %{_bindir}/gvim.gnome
1551 %{_desktopdir}/gvim-gnome.desktop
1555 %files -n gvim-heavy
1556 %defattr(644,root,root,755)
1557 %attr(755,root,root) %{_bindir}/gvim.heavy