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 gnome # don't build GNOME-based gvim support
8 %bcond_without heavy # don't build heavy (full-featured GNOME-based gvim/vim)
9 %bcond_without gui # don't build any GUI
10 %bcond_with perl # with Perl interp in vim package
11 %bcond_with python # with Python interp in vim package
12 %bcond_with ruby # with Ruby interp in vim package
13 %bcond_with tcl # with Tcl interp
14 %bcond_without selinux # without selinux support
15 %bcond_without home_etc # without home_etc support
24 # Command to check for latest patch:
25 # wget ftp://ftp.vim.org/pub/editors/vim/patches/7.4/MD5SUMS -O sources
26 # tail -n1 sources | awk '{print $2}'
27 # VCS Commits: https://code.google.com/p/vim/source/browse/
30 %define patchlevel 135
32 Summary: Vi IMproved - a Vi clone
33 Summary(de.UTF-8): VIsual editor iMproved
34 Summary(es.UTF-8): Editor visual incrementado
35 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
36 Summary(hu.UTF-8): Vi IMproved - a Vi szerkesztő bővítése
37 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
38 Summary(pt_BR.UTF-8): Editor visual incrementado
39 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
40 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
41 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
43 Version: %{ver}.%{patchlevel}
47 Group: Applications/Editors/Vim
48 Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
49 # Source0-md5: 607e135c559be642f210094ad023dc65
50 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
51 # Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
52 Source2: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
53 # Source2-md5: ff96284b1c913d55cf0877839b34d490
54 Source10: g%{name}-athena.desktop
55 Source11: g%{name}-motif.desktop
56 Source12: g%{name}-gtk.desktop
57 Source13: g%{name}-gnome.desktop
58 Source14: %{name}.desktop
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 %patchset_source -f ftp://ftp.vim.org/pub/editors/vim/patches/%{ver}/%{ver}.%03g 1 %{patchlevel}
75 Patch0: %{name}-sysconfdir.patch
76 Patch1: %{name}-visual.patch
77 Patch2: %{name}-paths.patch
78 Patch3: %{name}-no_libelf.patch
79 Patch4: %{name}-egrep.patch
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 Patch13: 013_all_%{name}-7.0-cron-vars-79981.patch
89 Patch14: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
90 Patch15: 021_all_%{name}-7.0-fstab-bogus-errors.patch
91 Patch16: 024_all_%{name}-6.3-bash-83565.patch
92 Patch17: 027_all_%{name}-7.0-automake-substitutions-93378.patch
93 Patch18: %{name}-smarty.patch
94 Patch19: %{name}-tutor-lessdeps.patch
95 Patch20: %{name}-nagios.patch
96 Patch21: %{name}-filetypes.patch
97 Patch22: %{name}-man_installation.patch
98 Patch23: %{name}-vimrc.patch
99 Patch24: %{name}-syntax-exports.patch
100 Patch25: sudoers-include.patch
101 Patch26: %{name}-home_etc.patch
102 Patch27: %{name}-autopaste.patch
103 Patch28: %{name}-ft-cron.patch
104 Patch29: %{name}-phpscript.patch
105 Patch30: %{name}-pam.patch
106 Patch31: %{name}-ft-bash.patch
107 Patch32: %{name}-localedir.patch
108 Patch33: %{name}-locales.patch
109 Patch34: %{name}-rtdir.patch
110 Patch35: %{name}-ft-mib.patch
111 Patch36: %{name}-ft-lib-udevrules.patch
112 Patch37: %{name}-ft-mysql.patch
113 Patch38: %{name}-ft-gyp.patch
114 URL: http://www.vim.org/
115 BuildRequires: acl-devel
116 BuildRequires: autoconf
117 BuildRequires: gettext-devel
118 BuildRequires: gpm-devel
119 %if "%{pld_release}" == "ac"
120 %{?with_athena:BuildRequires: XFree86-devel}
122 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
124 %if %{with gtk} || %{with heavy}
125 BuildRequires: gtk+2-devel >= 2:2.6.0
127 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
128 %if %{with selinux} || %{with heavy}
129 BuildRequires: libselinux-devel
131 %{?with_motif:BuildRequires: motif-devel}
132 BuildRequires: ncurses-devel
133 BuildRequires: pkgconfig
134 %if %{with perl} || %{with heavy}
135 BuildRequires: perl-devel
137 %if %{with python} || %{with heavy}
138 BuildRequires: python-devel
140 BuildRequires: rpm >= 4.4.9-56
141 BuildRequires: rpmbuild(macros) >= 1.426
142 %if %{with ruby} || %{with heavy}
143 BuildRequires: ruby-devel
145 %if %{with tcl} || %{with heavy}
146 BuildRequires: tcl-devel
150 BuildRequires: acl-static
151 BuildRequires: attr-static
152 BuildRequires: glibc-static
153 %{?with_selinux:BuildRequires: libselinux-static}
154 BuildRequires: ncurses-static
156 Provides: %{name}-static = %{epoch}:%{version}-%{release}
157 Obsoletes: elvis-static
160 Obsoletes: vim-minimal
161 Obsoletes: vim-static
164 Suggests: %{name}-rt = %{epoch}:%{version}-%{release}
167 Provides: vim-editor = %{epoch}:%{version}-%{release}
168 Obsoletes: vim-enhanced
169 Obsoletes: vim-ispell
170 Obsoletes: vim-plugin-multvals
171 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
173 # configure redefines it to =1
174 %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]*
175 %define filterout_c -Wp,-D_FORTIFY_SOURCE=2
177 # that's example script
178 %define _noautoreq '/bin/csh'
180 # cflags get changed while configuring
181 %undefine configure_cache
184 Text editor similar to Vi. Important improvements: multiple windows,
185 multi-level undo, block highliting, folding, and many other.
187 %description -l cs.UTF-8
188 VIM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
189 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
190 populární. VIM je obohacený funkcemi jako: podpora více oken,
191 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
194 %description -l de.UTF-8
195 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
196 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
197 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
198 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
199 Standard-vi-Programm.
201 %description -l es.UTF-8
202 El editor Visual Mejorado es una versión actualizada y con nuevas
203 características adicionales del mundialmente famoso 'vi' que acompaña
204 prácticamente todos los sistemas UN*X. Posibilita trabajar con
205 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
206 otras muchas características del 'vi'.
208 %description -l fr.UTF-8
209 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
210 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
211 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
212 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
213 blocs et autres caractéristiques au vi de base.
215 %description -l hu.UTF-8
216 A Vi-hez hasonló texteditor. Néhány fontos bővítés: ablakkezelés,
217 többszintű undo, blokk kiemelés, kódrészletek összecsukása, és még sok
220 %description -l id.UTF-8
221 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
222 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
223 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
224 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
225 windows, multi-level undo, block highlighting, dll.
227 %description -l is.UTF-8
228 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
229 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
230 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
231 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
234 %description -l it.UTF-8
235 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
236 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
237 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
238 finestre multiple, funzione "annulla" multilivello, evidenziazione dei
241 %description -l pl.UTF-8
242 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
243 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
244 folding i wiele innych.
246 %description -l pt.UTF-8
247 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
248 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
249 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
250 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
253 %description -l pt_BR.UTF-8
254 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
255 características do mundialmente famoso 'vi' que acompanha praticamente
256 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
257 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
258 outras características do 'vi'.
260 %description -l ru.UTF-8
261 VIsual editor iMproved - это обновленный и значительно улучшенный клон
262 редактора vi, который поставляется практически со всеми
263 UN*X-системами. В этой версии есть многоуровневый откат, выделение
264 блоков, синтаксическая подсветка и много другого...
266 %description -l sk.UTF-8
267 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
268 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
269 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
270 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
272 %description -l sv.UTF-8
273 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
274 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
275 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
276 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
279 %description -l tr.UTF-8
280 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
281 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
283 %description -l uk.UTF-8
284 VIsual editor iMproved - це оновлений та значно поліпшений клон
285 редактора vi, який поставляється практично зі всіма UN*X-системами. В
286 цій версії є багаторівневий відкат, виділення блоків, синтаксична
287 підсвітка та багато іншого...
290 Summary: Utility to convert files to hexdump or do the reverse
291 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
292 Group: Applications/Editors/Vim
295 xxd creates a hex dump of a given file or standard input. It can also
296 convert a hex dump back to its original binary form. Like uuencode and
297 uudecode it allows the transmission of binary data in a `mail-safe'
298 ASCII representation, but has the advantage of decoding to standard
299 output. Moreover, it can be used to perform binary file patching.
301 %description -n xxd -l pl.UTF-8
302 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
303 Może także przekonwertować taki zapis na oryginalną, binarną postać.
304 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
305 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
306 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
309 Summary: Full featured build of Vim
310 Summary(hu.UTF-8): A Vim teljeskörű szolgáltatásait nyújtó verzió
311 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima
312 Group: Applications/Editors/Vim
313 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
316 Provides: vim-editor = %{epoch}:%{version}-%{release}
317 Obsoletes: vim-enhanced
318 Obsoletes: vim-ispell
319 Obsoletes: vim-plugin-multvals
322 This package provides full featured version of Vim, which includes
323 support for Perl, Python, Ruby and Tcl scripting.
325 %description heavy -l hu.UTF-8
326 Ez a csomag a Vim teljeskörű szolgáltatásait nyújtó verzióját
327 tartalmazza, amelyben benne van a Perl, Python, Ruby és Tcl támogatás.
329 %description heavy -l pl.UTF-8
330 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
331 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl.
334 Summary: Vi IMproved - a Vi clone
335 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
336 Group: X11/Applications/Editors
337 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
340 Provides: vim-editor = %{epoch}:%{version}-%{release}
341 Obsoletes: vim-enhanced
342 Obsoletes: vim-ispell
343 Obsoletes: vim-plugin-multvals
346 This package provides console version of Vim, with support for basic
347 X11 features like system clipboard.
349 %description -n vimx -l pl.UTF-8
350 Pakiet ten dostarcza konsolową wersję Vima, posiadającą wsparcie dla
351 podstawowych funckcji X11, takich jak systemowy schowek.
354 Summary: Statically linked Vim
355 Summary(hu.UTF-8): A Vim statikus verziója
356 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
357 Group: Applications/Editors/Vim
360 Provides: vim-editor = %{epoch}:%{version}-%{release}
361 Obsoletes: elvis-static
363 Obsoletes: vim-minimal
366 Text editor similar to Vi. This version is built with minimal feature
367 and is installed in /bin as a rescue tool. The installation of this
368 package is STRONGLY recommended.
370 %description static -l hu.UTF-8
371 Vi-hez hasonló text editor. Ez a verzió a legminimálisabb
372 szolgáltatásokat nyújtja, és a /bin könyvtárba települ, mint egy mentő
373 eszköz. Ennek a csomagnak a telepítése ERŐSEN javallott.
375 %description static -l pl.UTF-8
376 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
377 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
378 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
379 zalecana, może on pomóc Ci uratować system w czasie awarii.
381 %description static -l ru.UTF-8
382 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
383 удобно для запуска даже когда смонтирована только корневая файловая
386 %description static -l uk.UTF-8
387 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
388 запуску навіть тоді, коли змонтована тільки корньова файлова система.
391 Summary: Vim runtime files
392 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor VIM
393 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
394 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
395 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
396 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
397 Summary(hu.UTF-8): A Vim futásidejű fájljai
398 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
399 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
400 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
401 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
402 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
403 Summary(pl.UTF-8): Pliki przydatne dla edytora Vim
404 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
405 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
406 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
407 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
408 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
409 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
410 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
411 Group: Applications/Editors/Vim
412 Requires: rpm-whiteout >= 1.3
413 Requires: vim-plugin-securemodelines
414 Obsoletes: gvim-bonobo
415 Obsoletes: vim-common
416 Obsoletes: vim-syntax-upstart
417 %if "%{_rpmversion}" >= "5"
422 This package contains macros, documentation, syntax configuration and
423 manual pages for Vim. If you want to take advantage of Vim more
424 powerful features, you should install this package.
426 %description rt -l cs.UTF-8
427 Tento balíček obsahuje společné soubory pro všechny další balíčky s
430 %description rt -l de.UTF-8
431 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
434 %description rt -l fr.UTF-8
435 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
436 VIM a besoin pour fonctionner.
438 %description rt -l hu.UTF-8
439 Ez a csomag makrókat, dokumentációt, nyelvi konfigurációt és kézikönyv
440 oldalakat tartalmaz Vim-hez. Ha ki akarod használni a Vim
441 lehetőségeit, érdemes telepítened ezt a csomagot.
443 %description rt -l id.UTF-8
444 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
447 %description rt -l is.UTF-8
448 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
451 %description rt -l it.UTF-8
452 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
453 per poter funzionare.
455 %description rt -l pl.UTF-8
456 W tym pakiecie znajdują się makra, pliki konfiguracyjne i strony
457 podręcznika dla edytora Vim. Aby korzystać z zaawansowanych możliwości
458 Vima, należy zainstalować ten pakiet.
460 %description rt -l pt.UTF-8
461 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
462 irão necessitar para correr.
464 %description rt -l ru.UTF-8
465 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
466 для работы любой программы vim.
468 %description rt -l sk.UTF-8
469 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
470 funkciu každá verzia editoru VIM.
472 %description rt -l sv.UTF-8
473 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
476 %description rt -l uk.UTF-8
477 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
478 для роботи будь-якої програми vim.
481 Summary: Vim runtime extra files
482 Summary(pl.UTF-8): Dodatkowe pliki uruchomieniowe Vima
483 Group: Applications/Editors/Vim
484 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
485 %if "%{_rpmversion}" >= "5"
489 %description rt-extras
490 This package contains more runtime extra files, not really useful. If
491 you want to take full advantage of Vim more powerful features, you
492 should install this package.
494 %description rt-extras -l pl.UTF-8
495 Ten pakiet zawiera dodatkowe pliki uruchomieniowe, nie tak bardzo
496 przydatne. Aby korzystać ze wszystkich możliwości Vima, należy
497 zainstalować ten pakiet.
500 Summary: Context Vim documentation
501 Summary(pl.UTF-8): Dokumentacja kontekstowa do Vima
502 Group: Applications/Editors/Vim
503 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
505 %if "%{_rpmversion}" >= "5"
510 This package contains Vim documentation accessible from vim itself
513 %description doc -l pl.UTF-8
514 Ten pakiet zawiera dokumentację do Vima dostępną z poziomu samego vima
515 za pomocą polecenia :help.
518 Summary: English dictionaries for VIMspell
519 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
520 Group: Applications/Editors/Vim
521 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
522 %if "%{_rpmversion}" >= "5"
526 %description spell-en
527 English dictionaries for VIMspell.
529 %description spell-en -l pl.UTF-8
530 Angielskie słowniki dla VIMspella.
533 Summary: Vim tutorial
534 Summary(hu.UTF-8): Vim tutorial
535 Summary(pl.UTF-8): Samouczek do Vima
536 Group: Applications/Editors/Vim
537 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
539 Requires: vim-editor = %{epoch}:%{version}-%{release}
540 %if "%{_rpmversion}" >= "5"
545 This package contains Vim tutorial.
547 %description tutor -l hu.UTF-8
548 Ez a csomag a vimtutor-t tartalmazza, amely egy gyakorlat-orientált
551 %description tutor -l pl.UTF-8
552 Ten pakiet zawiera samouczek do Vima.
554 %package -n gvim-athena
555 Summary: Vim for X Window built with Athena
556 Summary(hu.UTF-8): A Vim X Window verziója, az Athena felhasználásával
557 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
558 Group: Applications/Editors/Vim
559 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
563 Provides: vim-editor = %{epoch}:%{version}-%{release}
566 %description -n gvim-athena
567 The classic Unix text editor now also under X Window System! This
568 version is built with Athena Widget Set.
570 %description -n gvim-athena -l hu.UTF-8
571 A Vim X Window verziója, az Athena Widgetkészlet felhasználásával.
573 %description -n gvim-athena -l pl.UTF-8
574 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
575 biblioteki Athena Widget Set.
577 %description -n gvim-athena -l ru.UTF-8
578 Этот пакет представляет собой версию VIM, собранную с библиотеками
579 Athena Widget Set, что позволяет запускать VIM как приложение X Window
580 System - с полностью графическим интерфейсом и поддержкой мыши.
582 %description -n gvim-athena -l uk.UTF-8
583 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
584 Set, що дозволяє запускати VIM як прикладну програму X Window System -
585 з повністю графічним інтерфейсом та підтримкою миші.
587 %package -n gvim-motif
588 Summary: Vim for X Window System built with Motif
589 Summary(hu.UTF-8): A Vim X Window verziója, a Motif felhasználásával
590 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki Motif
591 Group: Applications/Editors/Vim
592 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
596 Provides: vim-editor = %{epoch}:%{version}-%{release}
599 %description -n gvim-motif
600 The classic Unix text editor now also under X Window System! This
601 version is built with Motif.
603 %description -n gvim-motif -l hu.UTF-8
604 A Vim X Window verziója, a Motif Widgetkészlet felhasználásával.
606 %description -n gvim-motif -l pl.UTF-8
607 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
610 %description -n gvim-motif -l ru.UTF-8
611 Этот пакет представляет собой версию VIM, собранную с библиотеками
612 Motif, что позволяет запускать VIM как приложение X Window System - с
613 полностью графическим интерфейсом и поддержкой мыши.
615 %description -n gvim-motif -l uk.UTF-8
616 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
617 дозволяє запускати VIM як прикладну програму X Window System - з
618 повністю графічним інтерфейсом та підтримкою миші.
621 Summary: Vim for X Window System built with GTK+
622 Summary(hu.UTF-8): A Vim X Window verziója, a GTK+ felhasználásával
623 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GTK+
624 Group: Applications/Editors/Vim
625 Requires(post,postun): gtk-update-icon-cache
626 Requires(post,postun): hicolor-icon-theme
627 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
628 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
632 Provides: vim-editor = %{epoch}:%{version}-%{release}
635 %description -n gvim-gtk
636 The classic Unix text editor now also under X Window System! This
637 version is built with GTK+.
639 %description -n gvim-gtk -l hu.UTF-8
640 A Vim X Window verziója, a GTK+ Widgetkészlet felhasználásával.
642 %description -n gvim-gtk -l pl.UTF-8
643 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
646 %description -n gvim-gtk -l ru.UTF-8
647 Этот пакет представляет собой версию VIM, собранную с библиотеками
648 GTK, что позволяет запускать VIM как приложение X Window System - с
649 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
652 %description -n gvim-gtk -l uk.UTF-8
653 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
654 запускати VIM як прикладну програму X Window System - з повністю
655 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
657 %package -n gvim-gnome
658 Summary: Vim for X Window System built with GNOME
659 Summary(hu.UTF-8): A Vim X Window verziója, a GNOME felhasználásával
660 Summary(pl.UTF-8): Vim dla systemu X Window korzystający z biblioteki GNOME
661 Group: Applications/Editors/Vim
662 Requires(post,postun): gtk-update-icon-cache
663 Requires(post,postun): hicolor-icon-theme
664 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
665 Requires: %{name}-rt-extras = %{epoch}:%{version}-%{release}
669 Provides: vim-editor = %{epoch}:%{version}-%{release}
672 %description -n gvim-gnome
673 The classic Unix text editor now also under X Window System! This
674 version is build with GNOME.
676 %description -n gvim-gnome -l hu.UTF-8
677 A Vim X Window verziója, a GNOME felhasználásával.
679 %description -n gvim-gnome -l pl.UTF-8
680 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
683 %description -n gvim-gnome -l ru.UTF-8
684 Этот пакет представляет собой версию VIM, собранную с библиотеками
685 GNOME, что позволяет запускать VIM как приложение X Window System - с
686 полностью графическим интерфейсом и поддержкой мыши.
688 %description -n gvim-gnome -l uk.UTF-8
689 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
690 дозволяє запускати VIM як прикладну програму X Window System - з
691 повністю графічним інтерфейсом та підтримкою миші.
693 %package -n gvim-heavy
694 Summary: Full featured build of Vim with X Window support
695 Summary(hu.UTF-8): A gvim legteljesebb verziója
696 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vima z interfejsem dla X Window
697 Group: Applications/Editors/Vim
698 Requires(post,postun): gtk+2
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-heavy
708 This package provides full featured version of Vim, which includes
709 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
712 %description -n gvim-heavy -l hu.UTF-8
713 A gvim legteljesebb verziója, Perl, Python, Ruby és Tcl támogatással.
715 %description -n gvim-heavy -l pl.UTF-8
716 Pakiet ten dostarcza w pełni funkcjonalną wersję Vima, czyli
717 zawierającą obsługę skryptów w językach Perl, Python, Ruby oraz Tcl
718 jak również GUI GTK+2.
721 %setup -q -n %{name}74
724 %patchset_patch 1 %{patchlevel}
752 %{?with_home_etc:%patch26 -p1}
754 # autopaste patch - automatically switch to paste mode
755 # when `really fast typing' situation happens
769 cp -p %{SOURCE20} runtime/syntax
770 cp -p %{SOURCE22} runtime/syntax
771 cp -p %{SOURCE30} runtime/colors
772 cp -p %{SOURCE31} runtime/colors
773 cp -p %{SOURCE32} runtime/colors
775 %{__unzip} -qd runtime/doc %{SOURCE2}
777 # remove unsupported locales
778 %{__rm} src/po/zh_{CN,TW}.UTF-8.po
779 %{__rm} runtime/lang/menu_zh_{cn,tw}.utf-8.vim
782 %{__mv} src/po/n{o,b}.po
783 %{__mv} runtime/tutor/tutor.n{o,b}
784 %{__mv} runtime/tutor/tutor.n{o,b}.utf-8
785 %{__mv} runtime/lang/menu_n{o,b}.latin1.vim
786 %{__mv} runtime/lang/menu_n{o,b}.utf-8.vim
787 %{__mv} runtime/lang/menu_n{o,b}_no.latin1.vim
788 %{__mv} runtime/lang/menu_n{o,b}_no.utf-8.vim
793 # needed to prevent deconfiguring
803 %if "%{pld_release}" == "ac"
804 --with-tlib="ncurses -ltinfo"
806 --with-tlib="ncursesw"
810 # add common options, can override (disable) if needed with args
812 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
813 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
814 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
815 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
816 %{!?with_selinux:--disable-selinux} \
821 %if "%{pld_release}" == "ac"
822 --with-tlib="ncurses -ltinfo" \
824 --with-tlib="ncursesw" \
826 --with-modified-by="PLD Linux Distribution" \
827 --with-compiledby="PLD Linux Distribution" \
831 mv -f vim bin/$target
835 LDFLAGS="%{rpmldflags} -static"
839 --with-features=small \
840 --disable-perlinterp \
841 --disable-pythoninterp \
842 --disable-rubyinterp \
843 --disable-tclinterp \
846 --disable-multibyte \
849 LDFLAGS="%{rpmldflags}"
864 --with-features=huge \
865 --enable-gui=athena \
875 --with-features=huge \
887 --with-features=huge \
889 --enable-gtk2-check \
897 --with-features=huge \
898 --enable-gui=gnome2 \
899 --enable-gtk2-check \
900 --enable-gnome-check \
906 # vim.heavy / gvim.heavy
909 --with-features=huge \
912 --enable-perlinterp \
913 --enable-pythoninterp \
914 --enable-rubyinterp \
919 --with-features=huge \
920 --enable-gui=gnome2 \
921 --enable-gtk2-check \
922 --enable-gnome-check \
924 --enable-perlinterp \
925 --enable-pythoninterp \
926 --enable-rubyinterp \
932 %{__make} xxd/xxd languages
935 rm -rf $RPM_BUILD_ROOT
937 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
938 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim/ftdetect} \
939 $RPM_BUILD_ROOT%{_desktopdir}
941 %{__make} -j1 install \
942 DESTDIR=$RPM_BUILD_ROOT
944 # not supported locales added by 7.3.764 or later
945 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cs.cp1250
946 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.sjis
947 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ja.euc-jp
948 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.UTF-8
949 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl.cp1250
950 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ru.cp1251
951 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/sk.cp1250
952 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk.cp1251
953 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/zh_CN.cp936
957 # use compressed docs, see :help gzip-helpfile
958 %{__gzip} -9 $RPM_BUILD_ROOT%{_datadir}/vim/doc/*.txt
959 %{__sed} -i -e 's=\(\t.*\.txt\)\t=\1.gz\t=' $RPM_BUILD_ROOT%{_datadir}/vim/doc/tags
961 %{__gzip} -9 $RPM_BUILD_ROOT%{_datadir}/vim/doc/*.??x
962 %{__sed} -i -e 's=\(\t.*\.plx\)\t=\1.gz\t=' $RPM_BUILD_ROOT%{_datadir}/vim/doc/tags-pl
964 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
967 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
968 install -p src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
970 install -p src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
971 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
973 install -p src/bin/vimx $RPM_BUILD_ROOT%{_bindir}/vimx
974 install -p src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
975 install -p src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
977 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
978 echo ".so man1/vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
980 # not supported directories
981 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/??.*/
983 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/vimrc_example.vim,%{_sysconfdir}/vim/vimrc}
984 mv -f $RPM_BUILD_ROOT{%{_datadir}/vim/gvimrc_example.vim,%{_sysconfdir}/vim/gvimrc}
986 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
987 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
988 ln -sf vi $RPM_BUILD_ROOT/bin/ex
989 ln -sf vi $RPM_BUILD_ROOT/bin/view
990 ln -sf vi $RPM_BUILD_ROOT/bin/rview
992 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
995 install -p src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
996 cp -p %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
999 install -p src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1000 cp -p %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
1003 install -p src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1004 cp -p %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
1007 install -p src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1008 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1009 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/eview
1010 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/evim
1011 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1012 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1013 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1014 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1015 cp -p %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
1018 install -p src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
1019 install -p src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
1022 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
1023 cp -p runtime/vim48x48.png $RPM_BUILD_ROOT%{_pixmapsdir}/vim.png
1025 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1027 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1028 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1031 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/{ftplugin,syntax}/spec.vim
1034 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/vim/tools
1035 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/bugreport.vim
1036 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/check_locales.vim
1037 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/cleanadd.vim
1038 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/spell/fixdup.vim
1039 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/doc/vim2html.pl
1042 rm -rf $RPM_BUILD_ROOT
1045 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1048 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1050 %post -n gvim-athena
1051 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1053 %postun -n gvim-athena
1054 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1057 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1059 %postun -n gvim-motif
1060 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1063 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1064 %update_icon_cache hicolor
1067 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
1068 %update_icon_cache hicolor
1071 %update_desktop_database_post
1072 %update_icon_cache hicolor
1074 %postun -n gvim-gnome
1075 %update_desktop_database_postun
1076 %update_icon_cache hicolor
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{_bindir}/rvim
1081 %attr(755,root,root) %{_bindir}/vim
1082 %attr(755,root,root) %{_bindir}/vimdiff
1083 %{_mandir}/man1/rvim.1*
1084 %{_mandir}/man1/vimdiff.1*
1085 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1086 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1087 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1088 %lang(id) %{_mandir}/id/man1/rvim.1*
1089 %lang(id) %{_mandir}/id/man1/vim.1*
1090 %lang(it) %{_mandir}/it/man1/rvim.1*
1091 %lang(it) %{_mandir}/it/man1/vim.1*
1092 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1093 %lang(ja) %{_mandir}/ja/man1/rvim.1*
1094 %lang(ja) %{_mandir}/ja/man1/vim.1*
1095 %lang(ja) %{_mandir}/ja/man1/vimdiff.1*
1096 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1097 %lang(pl) %{_mandir}/pl/man1/vim.1*
1098 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1099 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1100 %lang(ru) %{_mandir}/ru/man1/vim.1*
1101 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1102 %{_desktopdir}/%{name}.desktop
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) /bin/ex
1109 %attr(755,root,root) /bin/rview
1110 %attr(755,root,root) /bin/vi
1111 %attr(755,root,root) /bin/view
1112 %{_mandir}/man1/vi.1*
1113 %{_mandir}/man1/ex.1*
1114 %{_mandir}/man1/view.1*
1115 %{_mandir}/man1/rview.1*
1116 %lang(fi) %{_mandir}/fi/man1/vi.1*
1117 %lang(fi) %{_mandir}/fi/man1/ex.1*
1118 %lang(fi) %{_mandir}/fi/man1/view.1*
1119 %lang(fi) %{_mandir}/fi/man1/rview.1*
1120 %lang(fr) %{_mandir}/fr/man1/vi.1*
1121 %lang(fr) %{_mandir}/fr/man1/ex.1*
1122 %lang(fr) %{_mandir}/fr/man1/view.1*
1123 %lang(fr) %{_mandir}/fr/man1/rview.1*
1124 %lang(id) %{_mandir}/id/man1/vi.1*
1125 %lang(id) %{_mandir}/id/man1/ex.1*
1126 %lang(id) %{_mandir}/id/man1/view.1*
1127 %lang(id) %{_mandir}/id/man1/rview.1*
1128 #%lang(it) %{_mandir}/it/man1/vi.1*
1129 %lang(it) %{_mandir}/it/man1/ex.1*
1130 %lang(it) %{_mandir}/it/man1/view.1*
1131 %lang(it) %{_mandir}/it/man1/rview.1*
1132 %lang(ja) %{_mandir}/ja/man1/ex.1*
1133 %lang(ja) %{_mandir}/ja/man1/view.1*
1134 %lang(ja) %{_mandir}/ja/man1/rview.1*
1135 %lang(pl) %{_mandir}/pl/man1/vi.1*
1136 %lang(pl) %{_mandir}/pl/man1/ex.1*
1137 %lang(pl) %{_mandir}/pl/man1/view.1*
1138 %lang(pl) %{_mandir}/pl/man1/rview.1*
1139 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1140 %lang(ru) %{_mandir}/ru/man1/ex.1*
1141 %lang(ru) %{_mandir}/ru/man1/view.1*
1142 %lang(ru) %{_mandir}/ru/man1/rview.1*
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_bindir}/xxd
1147 %{_mandir}/man1/xxd.1*
1148 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1149 %lang(it) %{_mandir}/it/man1/xxd.1*
1150 %lang(ja) %{_mandir}/ja/man1/xxd.1*
1151 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1152 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1154 %files rt -f %{name}.lang
1155 %defattr(644,root,root,755)
1156 %dir %{_sysconfdir}/vim
1157 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1158 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1160 %dir %{_datadir}/vim
1161 %dir %{_datadir}/vim/doc
1163 %dir %{_datadir}/vim/vimfiles
1164 %dir %{_datadir}/vim/vimfiles/doc
1165 %dir %{_datadir}/vim/vimfiles/after
1166 %dir %{_datadir}/vim/vimfiles/after/compiler
1167 %dir %{_datadir}/vim/vimfiles/after/ftdetect
1168 %dir %{_datadir}/vim/vimfiles/after/ftplugin
1169 %dir %{_datadir}/vim/vimfiles/after/indent
1170 %dir %{_datadir}/vim/vimfiles/after/plugin
1171 %dir %{_datadir}/vim/vimfiles/after/spell
1172 %dir %{_datadir}/vim/vimfiles/after/syntax
1173 %dir %{_datadir}/vim/vimfiles/compiler
1174 %dir %{_datadir}/vim/vimfiles/ftdetect
1175 %dir %{_datadir}/vim/vimfiles/ftplugin
1176 %dir %{_datadir}/vim/vimfiles/indent
1177 %dir %{_datadir}/vim/vimfiles/plugin
1178 %dir %{_datadir}/vim/vimfiles/spell
1179 %dir %{_datadir}/vim/vimfiles/syntax
1180 %verify(not md5 mtime size) %{_datadir}/vim/vimfiles/doc/tags
1182 %{_datadir}/vim/*.vim
1184 %dir %{_datadir}/vim/autoload
1185 %doc %{_datadir}/vim/autoload/README.txt
1187 %dir %{_datadir}/vim/ftdetect
1189 %dir %{_datadir}/vim/ftplugin
1190 %doc %{_datadir}/vim/ftplugin/README.txt
1191 %{_datadir}/vim/ftplugin/*.vim
1192 %{_datadir}/vim/ftplugin/logtalk.dict
1194 %dir %{_datadir}/vim/indent
1195 %doc %{_datadir}/vim/indent/README.txt
1196 %{_datadir}/vim/indent/*.vim
1198 %dir %{_datadir}/vim/keymap
1199 %doc %{_datadir}/vim/keymap/README.txt
1200 %{_datadir}/vim/keymap/*.vim
1202 %dir %{_datadir}/vim/plugin
1203 %doc %{_datadir}/vim/plugin/README.txt
1205 %dir %{_datadir}/vim/syntax
1206 %doc %{_datadir}/vim/syntax/README.txt
1207 %{_datadir}/vim/syntax/*.vim
1209 %dir %{_datadir}/vim/colors
1210 %doc %{_datadir}/vim/colors/README.txt
1211 %{_datadir}/vim/colors/*.vim
1213 %dir %{_datadir}/vim/lang
1214 %doc %{_datadir}/vim/lang/README*
1216 %lang(af) %{_datadir}/vim/lang/menu_af*
1217 %lang(ca) %{_datadir}/vim/lang/menu_ca*
1218 %lang(cs) %{_datadir}/vim/lang/menu_cs*
1219 %lang(cs) %{_datadir}/vim/lang/menu_*czech*
1220 %lang(de) %{_datadir}/vim/lang/menu_de*
1221 %lang(de) %{_datadir}/vim/lang/menu_*german*
1222 %lang(en_GB) %{_datadir}/vim/lang/menu_en_gb*
1223 %lang(en_GB) %{_datadir}/vim/lang/menu_*english*
1224 %lang(eo) %{_datadir}/vim/lang/menu_eo.utf-8.vim
1225 %lang(eo) %{_datadir}/vim/lang/menu_eo_eo.utf-8.vim
1226 %lang(eo) %{_datadir}/vim/lang/menu_eo_xx.utf-8.vim
1227 %lang(es) %{_datadir}/vim/lang/menu_es*
1228 %lang(es) %{_datadir}/vim/lang/menu_*spanish*
1229 %lang(fi) %{_datadir}/vim/lang/menu_fi.latin1.vim
1230 %lang(fi) %{_datadir}/vim/lang/menu_fi.utf-8.vim
1231 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.latin1.vim
1232 %lang(fi) %{_datadir}/vim/lang/menu_fi_fi.utf-8.vim
1233 %lang(fi) %{_datadir}/vim/lang/menu_finnish_finland.1252.vim
1234 %lang(fr) %{_datadir}/vim/lang/menu_fr*
1235 %lang(hu) %{_datadir}/vim/lang/menu_hu*
1236 %lang(it) %{_datadir}/vim/lang/menu_it*
1237 %lang(ja) %{_datadir}/vim/lang/menu_ja*
1238 %lang(ko) %{_datadir}/vim/lang/menu_ko*
1239 %lang(nl) %{_datadir}/vim/lang/menu_nl*
1240 %lang(nb) %{_datadir}/vim/lang/menu_nb*
1241 %lang(pl) %{_datadir}/vim/lang/menu_pl*
1242 %lang(pl) %{_datadir}/vim/lang/menu_*polish*
1243 %lang(pt) %{_datadir}/vim/lang/menu_pt*
1244 %lang(ru) %{_datadir}/vim/lang/menu_ru*
1245 %lang(sk) %{_datadir}/vim/lang/menu_sk*
1246 %lang(sk) %{_datadir}/vim/lang/menu_*slovak*
1247 %lang(sl) %{_datadir}/vim/lang/menu_sl_si*
1248 %lang(sr) %{_datadir}/vim/lang/menu_sr*
1249 %lang(sv) %{_datadir}/vim/lang/menu_sv*
1250 %lang(uk) %{_datadir}/vim/lang/menu_uk*
1251 %lang(vi) %{_datadir}/vim/lang/menu_vi*
1252 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.cp936*
1253 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh.gb2312*
1254 %lang(zh_CN) %{_datadir}/vim/lang/menu_zh_cn*
1255 %lang(zh_CN) %{_datadir}/vim/lang/menu_*chinese*gb*
1256 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.cp950*
1257 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh.big5*
1258 %lang(zh_TW) %{_datadir}/vim/lang/menu_zh_tw*
1259 %lang(zh_TW) %{_datadir}/vim/lang/menu_*taiwan*
1261 %dir %{_datadir}/vim/spell
1262 %{_datadir}/vim/spell/spell.vim
1263 %lang(he) %{_datadir}/vim/spell/he.*
1264 %lang(yi) %{_datadir}/vim/spell/yi.*
1266 %{_mandir}/man1/vim.1*
1267 %lang(fi) %{_mandir}/fi/man1/vim.1*
1268 %lang(fr) %{_mandir}/fr/man1/vim.1*
1269 %{_pixmapsdir}/vim.png
1271 # plugins in base -rt package
1272 %{_datadir}/vim/autoload/gzip.vim
1273 %{_datadir}/vim/plugin/gzip.vim
1274 %{_datadir}/vim/plugin/matchparen.vim
1277 %defattr(644,root,root,755)
1278 %{_datadir}/vim/plugin/*.vim
1279 %{_datadir}/vim/autoload/*.vim
1280 %{_datadir}/vim/autoload/xml
1281 %{_datadir}/vim/compiler
1282 %{_datadir}/vim/macros
1283 %{_datadir}/vim/print
1285 # plugins in base -rt package
1286 %exclude %{_datadir}/vim/autoload/gzip.vim
1287 %exclude %{_datadir}/vim/plugin/gzip.vim
1288 %exclude %{_datadir}/vim/plugin/matchparen.vim
1291 %defattr(644,root,root,755)
1293 %{_datadir}/vim/doc/*.txt.gz
1294 %verify(not md5 mtime size) %{_datadir}/vim/doc/tags
1297 %lang(pl) %{_datadir}/vim/doc/*.plx.gz
1298 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/doc/tags-pl
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/vimtutor
1303 %dir %{_datadir}/vim/tutor
1304 %dir %{_datadir}/vim/tutor/tutor
1306 %{_datadir}/vim/tutor/README.txt
1307 %{_datadir}/vim/tutor/tutor.vim
1308 %{_datadir}/vim/tutor/tutor.utf-8
1309 %lang(el) %{_datadir}/vim/tutor/README.el.cp737.txt
1310 %lang(el) %{_datadir}/vim/tutor/README.el.txt
1312 %lang(de) %{_datadir}/vim/tutor/tutor.bar
1313 %lang(de) %{_datadir}/vim/tutor/tutor.bar.utf-8
1314 %lang(ca) %{_datadir}/vim/tutor/tutor.ca
1315 %lang(ca) %{_datadir}/vim/tutor/tutor.ca.utf-8
1316 %lang(cs) %{_datadir}/vim/tutor/tutor.cs
1317 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.cp1250
1318 %lang(cs) %{_datadir}/vim/tutor/tutor.cs.utf-8
1319 %lang(de) %{_datadir}/vim/tutor/tutor.de
1320 %lang(de) %{_datadir}/vim/tutor/tutor.de.utf-8
1321 %lang(el) %{_datadir}/vim/tutor/tutor.el
1322 %lang(el) %{_datadir}/vim/tutor/tutor.el.cp737
1323 %lang(el) %{_datadir}/vim/tutor/tutor.el.utf-8
1324 %lang(eo) %{_datadir}/vim/tutor/tutor.eo
1325 %lang(eo) %{_datadir}/vim/tutor/tutor.eo.utf-8
1326 %lang(es) %{_datadir}/vim/tutor/tutor.es
1327 %lang(es) %{_datadir}/vim/tutor/tutor.es.utf-8
1328 %lang(fr) %{_datadir}/vim/tutor/tutor.fr
1329 %lang(fr) %{_datadir}/vim/tutor/tutor.fr.utf-8
1330 %lang(hr) %{_datadir}/vim/tutor/tutor.hr
1331 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.cp1250
1332 %lang(hr) %{_datadir}/vim/tutor/tutor.hr.utf-8
1333 %lang(hu) %{_datadir}/vim/tutor/tutor.hu
1334 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.cp1250
1335 %lang(hu) %{_datadir}/vim/tutor/tutor.hu.utf-8
1336 %lang(it) %{_datadir}/vim/tutor/tutor.it
1337 %lang(it) %{_datadir}/vim/tutor/tutor.it.utf-8
1338 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.euc
1339 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.sjis
1340 %lang(ja) %{_datadir}/vim/tutor/tutor.ja.utf-8
1341 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.euc
1342 %lang(ko) %{_datadir}/vim/tutor/tutor.ko.utf-8
1343 %lang(nl) %{_datadir}/vim/tutor/tutor.nl
1344 %lang(nl) %{_datadir}/vim/tutor/tutor.nl.utf-8
1345 %lang(nb) %{_datadir}/vim/tutor/tutor.nb
1346 %lang(nb) %{_datadir}/vim/tutor/tutor.nb.utf-8
1347 %lang(pl) %{_datadir}/vim/tutor/tutor.pl
1348 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.cp1250
1349 %lang(pl) %{_datadir}/vim/tutor/tutor.pl.utf-8
1350 %lang(pt) %{_datadir}/vim/tutor/tutor.pt
1351 %lang(pt) %{_datadir}/vim/tutor/tutor.pt.utf-8
1352 %lang(ru) %{_datadir}/vim/tutor/tutor.ru
1353 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.cp1251
1354 %lang(ru) %{_datadir}/vim/tutor/tutor.ru.utf-8
1355 %lang(sk) %{_datadir}/vim/tutor/tutor.sk
1356 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.cp1250
1357 %lang(sk) %{_datadir}/vim/tutor/tutor.sk.utf-8
1358 %lang(sv) %{_datadir}/vim/tutor/tutor.sv
1359 %lang(sv) %{_datadir}/vim/tutor/tutor.sv.utf-8
1360 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.iso9
1361 %lang(tr) %{_datadir}/vim/tutor/tutor.tr.utf-8
1362 %lang(vi) %{_datadir}/vim/tutor/tutor.vi.utf-8
1363 %lang(zh_CN) %{_datadir}/vim/tutor/tutor.zh_cn.utf-8
1364 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.big5
1365 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.euc
1366 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh.utf-8
1367 %lang(zh_TW) %{_datadir}/vim/tutor/tutor.zh_tw.utf-8
1369 %{_mandir}/man1/vimtutor.1*
1370 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1371 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1372 %lang(ja) %{_mandir}/ja/man1/vimtutor.1*
1373 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1374 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_bindir}/vimx
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_bindir}/vim.heavy
1387 %defattr(644,root,root,755)
1388 %{_datadir}/vim/spell/en.*.*
1391 %files -n gvim-athena
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_bindir}/gvim.athena
1394 %{_desktopdir}/gvim-athena.desktop
1398 %files -n gvim-motif
1399 %defattr(644,root,root,755)
1400 %attr(755,root,root) %{_bindir}/gvim.motif
1401 %{_desktopdir}/gvim-motif.desktop
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_bindir}/gvim.gtk
1408 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1409 %attr(755,root,root) %{_bindir}/eview
1410 %attr(755,root,root) %{_bindir}/evim
1411 %attr(755,root,root) %{_bindir}/gview
1412 %attr(755,root,root) %{_bindir}/gvimdiff
1413 %attr(755,root,root) %{_bindir}/rgview
1414 %attr(755,root,root) %{_bindir}/rgvim
1415 %{_mandir}/man1/eview.1*
1416 %{_mandir}/man1/evim.1*
1417 %{_mandir}/man1/gvi*
1418 %{_mandir}/man1/rgv*
1419 %lang(fi) %{_mandir}/fi/man1/gvi*
1420 %lang(fi) %{_mandir}/fi/man1/rgv*
1421 %lang(fr) %{_mandir}/fr/man1/eview.1*
1422 %lang(fr) %{_mandir}/fr/man1/evim.1*
1423 %lang(fr) %{_mandir}/fr/man1/gvi*
1424 %lang(fr) %{_mandir}/fr/man1/rgv*
1425 %lang(id) %{_mandir}/id/man1/gvi*
1426 %lang(id) %{_mandir}/id/man1/rgv*
1427 %lang(it) %{_mandir}/it/man1/eview.1*
1428 %lang(it) %{_mandir}/it/man1/evim.1*
1429 %lang(it) %{_mandir}/it/man1/gvi*
1430 %lang(it) %{_mandir}/it/man1/rgv*
1431 %lang(ja) %{_mandir}/ja/man1/eview.1*
1432 %lang(ja) %{_mandir}/ja/man1/evim.1*
1433 %lang(ja) %{_mandir}/ja/man1/gvi*
1434 %lang(ja) %{_mandir}/ja/man1/rgv*
1435 %lang(pl) %{_mandir}/pl/man1/eview.1*
1436 %lang(pl) %{_mandir}/pl/man1/evim.1*
1437 %lang(pl) %{_mandir}/pl/man1/gvi*
1438 %lang(pl) %{_mandir}/pl/man1/rgv*
1439 %lang(ru) %{_mandir}/ru/man1/eview.1*
1440 %lang(ru) %{_mandir}/ru/man1/evim.1*
1441 %lang(ru) %{_mandir}/ru/man1/gvi*
1442 %lang(ru) %{_mandir}/ru/man1/rgv*
1443 %{_desktopdir}/gvim-gtk.desktop
1447 %files -n gvim-gnome
1448 %defattr(644,root,root,755)
1449 %attr(755,root,root) %{_bindir}/gvim.gnome
1450 %{_desktopdir}/gvim-gnome.desktop
1454 %files -n gvim-heavy
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_bindir}/gvim.heavy