2 # - merge with AC-branch
4 # - bonobo patches need update
7 %bcond_without static # don't build static version
8 %bcond_without athena # don't build Athena Widgets-based gvim
9 %bcond_without motif # don't build Motif-based gvim
10 %bcond_without gtk # don't build GTK+-based gvim support
11 %bcond_without gnome # don't build GNOME-based gvim support
12 %bcond_without perl # without Perl interp
13 %bcond_without python # with Python interp
14 %bcond_without ruby # with Ruby interp
15 %bcond_without tcl # with Tcl interp
16 %bcond_with bonobo # with bonobo component (breaks other things)
17 %bcond_without selinux # without selinux support
18 %bcond_without home_etc # without home_etc support
21 %define _patchlevel 33
24 # cflags get changed while configuring
25 %undefine configure_cache
27 Summary: Vi IMproved - a Vi clone
28 Summary(de.UTF-8): VIsual editor iMproved
29 Summary(es.UTF-8): Editor visual incrementado
30 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
31 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
32 Summary(pt_BR.UTF-8): Editor visual incrementado
33 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
34 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
35 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
37 Version: %{_ver}.%{_patchlevel}
41 Group: Applications/Editors/Vim
42 Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
43 # Source0-md5: 44c6b4914f38d6f9aa959640b89da329
44 Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-lang.tar.gz
45 # Source1-md5: 144aa049ba70621acf4247f0459f3ee7
46 Source2: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-extra.tar.gz
47 # Source2-md5: 605cc7ae31bcc9d7864bb0bb6025f55d
48 Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
49 # Source3-md5: bc4d1e115ca506ad7751b9bd2b773a7f
50 Source4: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
51 # Source4-md5: ff96284b1c913d55cf0877839b34d490
52 Source10: g%{name}-athena.desktop
53 Source11: g%{name}-motif.desktop
54 Source12: g%{name}-gtk.desktop
55 Source13: g%{name}-gnome.desktop
56 Source14: %{name}.desktop
57 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
58 Source15: zenburn.%{name}
59 Source16: spec.%{name}
60 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.3)
61 Source17: javascript.%{name}
62 Source18: nagios.%{name}
63 Source19: %{name}-ftplugin-spec.vim
64 Patch0: %{name}-sysconfdir.patch
65 Patch1: %{name}-visual.patch
66 Patch2: %{name}-paths.patch
67 Patch3: %{name}-%{name}rc.patch
68 Patch4: %{name}-no_libelf.patch
69 Patch5: %{name}-egrep.patch
70 Patch6: %{name}-awk.patch
71 Patch7: %{name}-filetype_vim-perl_tests.patch
72 Patch8: %{name}-apache.patch
73 Patch9: %{name}-po-syntax.patch
74 Patch10: %{name}-modprobe.patch
75 Patch11: %{name}-doubleparenthesis.patch
76 Patch12: %{name}-syntax-fstab.patch
77 Patch13: 010_all_%{name}-6.3-vixie.patch
78 Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch
79 Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
80 Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch
81 Patch17: 024_all_%{name}-6.3-bash-83565.patch
82 Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch
83 Patch19: %{name}-smarty.patch
84 Patch20: %{name}-tutor-lessdeps.patch
85 Patch21: %{name}-nagios.patch
86 Patch22: %{name}-filetypes.patch
87 Patch23: %{name}-man_installation.patch
88 Patch100: %{name}-bonobo-20050909.patch
89 Patch101: %{name}-bonobo.patch
90 Patch102: %{name}-gtkfilechooser.patch
91 Patch103: %{name}-gtkfilechooser-bonobo.patch
92 Patch104: %{name}-home_etc.patch
93 Patch105: %{name}-selinux.patch
94 Patch106: %{name}-autopaste.patch
95 Patch107: %{name}-ft-cron.patch
96 %patchset_source -f ftp://ftp.vim.org/pub/editors/vim/patches/7.1/7.1.%03g 1 %{_patchlevel}
97 URL: http://www.vim.org/
98 BuildRequires: acl-devel
99 BuildRequires: autoconf
100 BuildRequires: gettext-devel
101 BuildRequires: gpm-devel
102 %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
103 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
104 %{?with_selinux:BuildRequires: libselinux-devel}
105 BuildRequires: ncurses-devel
106 %{?with_motif:BuildRequires: openmotif-devel}
107 %{?with_perl:BuildRequires: perl-devel}
108 %{?with_python:BuildRequires: python-devel >= 2.5}
109 %{?with_ruby:BuildRequires: ruby-devel}
110 %{?with_tcl:BuildRequires: tcl-devel}
111 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
114 BuildRequires: ORBit2-devel
115 BuildRequires: libbonoboui-devel >= 2.2.0
116 BuildRequires: libgnomeui-devel >= 2.2.0.1
117 BuildRequires: nautilus-devel >= 2.2.0
119 BuildRequires: rpmbuild(macros) >= 1.351
121 BuildRequires: acl-static
122 BuildRequires: attr-static
123 BuildRequires: glibc-static
124 %{?with_selinux:BuildRequires: libselinux-static}
125 BuildRequires: ncurses-static
127 Provides: %{name}-static = %{epoch}:%{version}-%{release}
128 Obsoletes: elvis-static
131 Obsoletes: vim-minimal
132 Obsoletes: vim-static
135 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
138 Obsoletes: vim-enhanced
139 Obsoletes: vim-ispell
140 Obsoletes: vim-plugin-multvals
141 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
143 # that's example script
144 %define _noautoreq '/bin/csh'
147 Text editor similar to Vi. Important improvements: multiple windows,
148 multi-level undo, block highliting, folding, and many other.
150 %description -l cs.UTF-8
151 ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
152 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
153 populární. ViM je obohacený funkcemi jako: podpora více oken,
154 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
157 %description -l de.UTF-8
158 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
159 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
160 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
161 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
162 Standard-vi-Programm.
164 %description -l es.UTF-8
165 El editor Visual Mejorado es una versión actualizada y con nuevas
166 características adicionales del mundialmente famoso 'vi' que acompaña
167 prácticamente todos los sistemas UN*X. Posibilita trabajar con
168 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
169 otras muchas características del 'vi'.
171 %description -l fr.UTF-8
172 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
173 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
174 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
175 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
176 blocs et autres caractéristiques au vi de base.
178 %description -l id.UTF-8
179 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
180 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
181 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
182 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
183 windows, multi-level undo, block highlighting, dll.
185 %description -l is.UTF-8
186 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
187 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
188 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
189 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
192 %description -l it.UTF-8
193 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
194 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
195 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
196 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
199 %description -l pl.UTF-8
200 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
201 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
202 folding i wiele innych.
204 %description -l pt.UTF-8
205 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
206 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
207 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
208 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
211 %description -l pt_BR.UTF-8
212 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
213 características do mundialmente famoso 'vi' que acompanha praticamente
214 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
215 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
216 outras características do 'vi'.
218 %description -l ru.UTF-8
219 VIsual editor iMproved - это обновленный и значительно улучшенный клон
220 редактора vi, который поставляется практически со всеми
221 UN*X-системами. В этой версии есть многоуровневый откат, выделение
222 блоков, синтаксическая подсветка и много другого...
224 %description -l sk.UTF-8
225 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
226 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
227 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
228 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
230 %description -l sv.UTF-8
231 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
232 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
233 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
234 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
237 %description -l tr.UTF-8
238 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
239 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
241 %description -l uk.UTF-8
242 VIsual editor iMproved - це оновлений та значно поліпшений клон
243 редактора vi, який поставляється практично зі всіма UN*X-системами. В
244 цій версії є багаторівневий відкат, виділення блоків, синтаксична
245 підсвітка та багато іншого...
248 Summary: Utility to convert files to hexdump or do the reverse
249 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
250 Group: Applications/Editors/Vim
253 xxd creates a hex dump of a given file or standard input. It can also
254 convert a hex dump back to its original binary form. Like uuencode and
255 uudecode it allows the transmission of binary data in a `mail-safe'
256 ASCII representation, but has the advantage of decoding to standard
257 output. Moreover, it can be used to perform binary file patching.
259 %description -n xxd -l pl.UTF-8
260 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
261 Może także przekonwertować taki zapis na oryginalną, binarną postać.
262 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
263 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
264 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
267 Summary: Statically linked Vim
268 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
269 Group: Applications/Editors/Vim
272 Obsoletes: elvis-static
274 Obsoletes: vim-minimal
277 Text editor similar to Vi. This version is built with minimal feature
278 and is installed in /bin as a rescue tool. The installation of this
279 package is STRONGLY recommended.
281 %description static -l pl.UTF-8
282 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
283 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
284 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
285 zalecana, może on pomóc Ci uratować system w czasie awarii.
287 %description static -l ru.UTF-8
288 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
289 удобно для запуска даже когда смонтирована только корневая файловая
292 %description static -l uk.UTF-8
293 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
294 запуску навіть тоді, коли змонтована тільки корньова файлова система.
297 Summary: Vim runtime files
298 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM
299 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
300 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
301 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
302 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
303 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
304 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
305 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
306 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
307 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
308 Summary(pl.UTF-8): Pliki przydatne edytorowi Vim
309 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
310 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
311 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
312 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
313 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
314 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
315 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
316 Group: Applications/Editors/Vim
317 # mktemp is for vimtutor
320 Obsoletes: vim-common
323 This package contains macros, documentation, syntax configuration and
324 manual pages for Vim. If you want to take advantage of Vim more
325 powerful features, you should install this package.
327 %description rt -l cs.UTF-8
328 Tento balíček obsahuje společné soubory pro všechny další balíčky s
331 %description rt -l da.UTF-8
332 The vim-rt package contains files which every VIM binary will need in
335 %description rt -l de.UTF-8
336 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
339 %description rt -l fr.UTF-8
340 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
341 VIM a besoin pour fonctionner.
343 %description rt -l id.UTF-8
344 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
347 %description rt -l is.UTF-8
348 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
351 %description rt -l it.UTF-8
352 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
353 per poter funzionare.
355 %description rt -l pl.UTF-8
356 W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i
357 strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z
358 zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet.
360 %description rt -l pt.UTF-8
361 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
362 irão necessitar para correr.
364 %description rt -l ru.UTF-8
365 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
366 для работы любой программы vim.
368 %description rt -l sk.UTF-8
369 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
370 funkciu každá verzia editoru VIM.
372 %description rt -l sv.UTF-8
373 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
376 %description rt -l uk.UTF-8
377 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
378 для роботи будь-якої програми vim.
381 Summary: English dictionaries for VIMspell
382 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
383 Group: Applications/Editors/Vim
384 Requires: %{name} = %{epoch}:%{version}-%{release}
386 %description spell-en
387 English dictionaries for VIMspell.
389 %description spell-en -l pl.UTF-8
390 Angielskie słowniki dla VIMspella.
392 %package -n gvim-athena
393 Summary: Vim for X Window built with Athena
394 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
395 Group: Applications/Editors/Vim
396 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
402 %description -n gvim-athena
403 The classic Unix text editor now also under X Window System! This
404 version is built with Athena Widget Set.
406 %description -n gvim-athena -l pl.UTF-8
407 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
408 biblioteki Athena Widget Set.
410 %description -n gvim-athena -l ru.UTF-8
411 Этот пакет представляет собой версию VIM, собранную с библиотеками
412 Athena Widget Set, что позволяет запускать VIM как приложение X Window
413 System - с полностью графическим интерфейсом и поддержкой мыши.
415 %description -n gvim-athena -l uk.UTF-8
416 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
417 Set, що дозволяє запускати VIM як прикладну програму X Window System -
418 з повністю графічним інтерфейсом та підтримкою миші.
420 %package -n gvim-motif
421 Summary: Vim for X Window built with Motif
422 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif
423 Group: Applications/Editors/Vim
424 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
430 %description -n gvim-motif
431 The classic Unix text editor now also under X Window System! This
432 version is built with Motif.
434 %description -n gvim-motif -l pl.UTF-8
435 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
438 %description -n gvim-motif -l ru.UTF-8
439 Этот пакет представляет собой версию VIM, собранную с библиотеками
440 Motif, что позволяет запускать VIM как приложение X Window System - с
441 полностью графическим интерфейсом и поддержкой мыши.
443 %description -n gvim-motif -l uk.UTF-8
444 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
445 дозволяє запускати VIM як прикладну програму X Window System - з
446 повністю графічним інтерфейсом та підтримкою миші.
449 Summary: Vim for X Window built with gtk
450 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK
451 Group: Applications/Editors/Vim
452 Requires(post,postun): gtk+2
453 Requires(post,postun): hicolor-icon-theme
454 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
460 %description -n gvim-gtk
461 The classic Unix text editor now also under X Window System! This
462 version is built with GTK.
464 %description -n gvim-gtk -l pl.UTF-8
465 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
468 %description -n gvim-gtk -l ru.UTF-8
469 Этот пакет представляет собой версию VIM, собранную с библиотеками
470 GTK, что позволяет запускать VIM как приложение X Window System - с
471 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
474 %description -n gvim-gtk -l uk.UTF-8
475 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
476 запускати VIM як прикладну програму X Window System - з повністю
477 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
479 %package -n gvim-gnome
480 Summary: Vim for X Window built with GNOME
481 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME
482 Group: Applications/Editors/Vim
483 Requires(post,postun): gtk+2
484 Requires(post,postun): hicolor-icon-theme
485 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
491 %description -n gvim-gnome
492 The classic Unix text editor now also under X Window System! This
493 version is build with GNOME.
495 %description -n gvim-gnome -l pl.UTF-8
496 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
499 %description -n gvim-gnome -l ru.UTF-8
500 Этот пакет представляет собой версию VIM, собранную с библиотеками
501 GNOME, что позволяет запускать VIM как приложение X Window System - с
502 полностью графическим интерфейсом и поддержкой мыши.
504 %description -n gvim-gnome -l uk.UTF-8
505 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
506 дозволяє запускати VIM як прикладну програму X Window System - з
507 повністю графічним інтерфейсом та підтримкою миші.
509 %package -n gvim-bonobo
510 Summary: Vim for X Window built as bonobo component
511 Summary(pl.UTF-8): Vim dla X Window zbudowany jako element bonobo
512 Group: Applications/Editors/Vim
513 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
519 %description -n gvim-bonobo
520 The classic Unix text editor now also under X Window System! This
521 version is build as bonobo component.
523 %description -n gvim-bonobo -l pl.UTF-8
524 Wersja edytora Vim pracująca w środowisku X Window, zbudowana jako
528 %setup -q -n %{name}71 -b1 -b2
531 %patchset_patch 1 %{_patchlevel}
567 %{?with_home_etc:%patch104 -p1}
570 %{?with_selinux:%patch105 -p1}
572 # autopaste patch - automatically switch to paste mode if `really fast typing'
578 install %{SOURCE14} runtime/indent
579 install %{SOURCE15} runtime/colors
580 install %{SOURCE16} runtime/syntax
581 install %{SOURCE17} runtime/syntax
582 install %{SOURCE18} runtime/syntax
583 install %{SOURCE19} runtime/ftplugin/spec.vim
588 # needed to prevent deconfiguring
596 --with-features=huge \
597 --enable-gui=gnome2 \
599 --enable-gtk2-check \
600 --enable-gnome-check \
602 %{!?with_perl:--disable-perlinterp} \
603 %{?with_perl:--enable-perlinterp} \
604 %{!?with_python:--disable-pythoninterp} \
605 %{?with_python:--enable-pythoninterp} \
606 %{!?with_ruby:--disable-rubyinterp} \
607 %{?with_ruby:--enable-rubyinterp} \
608 %{!?with_tcl:--disable-tclinterp} \
609 %{?with_tcl:--enable-tclinterp} \
613 --with-modifiedby="PLD Linux Distribution" \
614 --with-compiledby="PLD Linux Distribution"
616 %{__make} vim-component vim-factory Vim_Control.server
617 mv vim-component vim-factory Vim_Control.server bin/
622 LDFLAGS="%{rpmldflags} -static"
626 --disable-perlinterp \
627 --disable-pythoninterp \
628 --disable-rubyinterp \
629 --disable-tclinterp \
632 --disable-multibyte \
633 %{?with_bonobo:--disable-bonobo} \
634 --with-features=small \
635 --with-tlib="ncurses -ltinfo" \
637 --with-modifiedby="PLD Linux Distribution" \
638 --with-compiledby="PLD Linux Distribution"
642 mv -f vim bin/vim.static
643 LDFLAGS="%{rpmldflags}"
650 %{!?with_perl:--disable-perlinterp} \
651 %{?with_perl:--enable-perlinterp} \
652 %{!?with_python:--disable-pythoninterp} \
653 %{?with_python:--enable-pythoninterp} \
654 %{!?with_ruby:--disable-rubyinterp} \
655 %{?with_ruby:--enable-rubyinterp} \
656 %{!?with_tcl:--disable-tclinterp} \
657 %{?with_tcl:--enable-tclinterp} \
658 %{?with_bonobo:--disable-bonobo} \
661 --with-features=huge \
663 --with-tlib="ncurses -ltinfo" \
665 --with-modifiedby="PLD Linux Distribution" \
666 --with-compiledby="PLD Linux Distribution"
670 mv -f vim bin/vim.ncurses
675 --with-features=huge \
676 --enable-gui=athena \
678 %{!?with_perl:--disable-perlinterp} \
679 %{?with_perl:--enable-perlinterp} \
680 %{!?with_python:--disable-pythoninterp} \
681 %{?with_python:--enable-pythoninterp} \
682 %{!?with_ruby:--disable-rubyinterp} \
683 %{?with_ruby:--enable-rubyinterp} \
684 %{!?with_tcl:--disable-tclinterp} \
685 %{?with_tcl:--enable-tclinterp} \
686 %{?with_bonobo:--disable-bonobo} \
691 --with-tlib="ncurses -ltinfo" \
693 --with-modifiedby="PLD Linux Distribution" \
694 --with-compiledby="PLD Linux Distribution"
697 mv -f vim bin/gvim.athena
704 --with-features=huge \
707 %{!?with_perl:--disable-perlinterp} \
708 %{?with_perl:--enable-perlinterp} \
709 %{!?with_python:--disable-pythoninterp} \
710 %{?with_python:--enable-pythoninterp} \
711 %{!?with_ruby:--disable-rubyinterp} \
712 %{?with_ruby:--enable-rubyinterp} \
713 %{!?with_tcl:--disable-tclinterp} \
714 %{?with_tcl:--enable-tclinterp} \
715 %{?with_bonobo:--disable-bonobo} \
721 --with-tlib="ncurses -ltinfo" \
723 --with-modifiedby="PLD Linux Distribution" \
724 --with-compiledby="PLD Linux Distribution"
727 mv -f vim bin/gvim.motif
733 --with-features=huge \
735 --enable-gtk2-check \
737 %{!?with_perl:--disable-perlinterp} \
738 %{?with_perl:--enable-perlinterp} \
739 %{!?with_python:--disable-pythoninterp} \
740 %{?with_python:--enable-pythoninterp} \
741 %{!?with_ruby:--disable-rubyinterp} \
742 %{?with_ruby:--enable-rubyinterp} \
743 %{!?with_tcl:--disable-tclinterp} \
744 %{?with_tcl:--enable-tclinterp} \
745 %{?with_bonobo:--disable-bonobo} \
748 --with-tlib="ncurses -ltinfo" \
750 --with-modifiedby="PLD Linux Distribution" \
751 --with-compiledby="PLD Linux Distribution"
754 mv -f vim bin/gvim.gtk
760 --with-features=huge \
761 --enable-gui=gnome2 \
762 %{?with_bonobo:--disable-bonobo} \
763 --enable-gtk2-check \
764 --enable-gnome-check \
766 %{!?with_perl:--disable-perlinterp} \
767 %{?with_perl:--enable-perlinterp} \
768 %{!?with_python:--disable-pythoninterp} \
769 %{?with_python:--enable-pythoninterp} \
770 %{!?with_ruby:--disable-rubyinterp} \
771 %{?with_ruby:--enable-rubyinterp} \
772 %{!?with_tcl:--disable-tclinterp} \
773 %{?with_tcl:--enable-tclinterp} \
776 --with-tlib="ncurses -ltinfo" \
778 --with-modifiedby="PLD Linux Distribution" \
779 --with-compiledby="PLD Linux Distribution"
782 mv -f vim bin/gvim.gnome
785 %{__make} xxd/xxd languages
788 rm -rf $RPM_BUILD_ROOT
790 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
791 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
792 $RPM_BUILD_ROOT%{_desktopdir}
794 %{__make} -j1 install \
795 DESTDIR=$RPM_BUILD_ROOT
797 rm -f $RPM_BUILD_ROOT%{_bindir}/*
800 install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
801 install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
803 install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
804 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
806 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
807 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
811 # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
812 # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
813 # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
814 # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
815 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
816 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
817 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
818 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
820 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
821 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
823 # not supported directories
824 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
826 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
827 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
829 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
830 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
831 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
832 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
833 ln -sf vi $RPM_BUILD_ROOT/bin/ex
834 ln -sf vi $RPM_BUILD_ROOT/bin/view
835 ln -sf vi $RPM_BUILD_ROOT/bin/rview
837 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
840 install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
841 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
844 install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
845 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
848 install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
849 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
852 install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
853 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
854 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
855 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
856 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
857 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
858 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
861 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
862 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
863 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
864 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
868 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
869 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
870 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
873 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
875 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE4}
877 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
878 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
881 rm -rf $RPM_BUILD_ROOT
884 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
887 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
890 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
892 %postun -n gvim-athena
893 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
896 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
898 %postun -n gvim-motif
899 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
902 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
903 %update_icon_cache hicolor
906 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
907 %update_icon_cache hicolor
910 %update_desktop_database_post
911 %update_icon_cache hicolor
913 %postun -n gvim-gnome
914 %update_desktop_database_postun
915 %update_icon_cache hicolor
918 %defattr(644,root,root,755)
919 %attr(755,root,root) %{_bindir}/eview
920 %attr(755,root,root) %{_bindir}/evim
921 %attr(755,root,root) %{_bindir}/rvim
922 %attr(755,root,root) %{_bindir}/vim
923 %attr(755,root,root) %{_bindir}/vimdiff
924 %{_mandir}/man1/eview.1*
925 %{_mandir}/man1/evim.1*
926 %{_mandir}/man1/rvim.1*
927 %{_mandir}/man1/vimdiff.1*
928 %lang(fi) %{_mandir}/fi/man1/rvim.1*
929 %lang(fr) %{_mandir}/fr/man1/eview.1*
930 %lang(fr) %{_mandir}/fr/man1/evim.1*
931 %lang(fr) %{_mandir}/fr/man1/rvim.1*
932 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
933 %lang(id) %{_mandir}/id/man1/rvim.1*
934 %lang(it) %{_mandir}/it/man1/eview.1*
935 %lang(it) %{_mandir}/it/man1/evim.1*
936 %lang(it) %{_mandir}/it/man1/rvim.1*
937 %lang(it) %{_mandir}/it/man1/vimdiff.1*
938 %lang(pl) %{_mandir}/pl/man1/eview.1*
939 %lang(pl) %{_mandir}/pl/man1/evim.1*
940 %lang(pl) %{_mandir}/pl/man1/rvim.1*
941 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
942 %lang(ru) %{_mandir}/ru/man1/eview.1*
943 %lang(ru) %{_mandir}/ru/man1/evim.1*
944 %lang(ru) %{_mandir}/ru/man1/rvim.1*
945 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
946 %{_desktopdir}/%{name}.desktop
951 %defattr(644,root,root,755)
952 %attr(755,root,root) /bin/*
953 %{_mandir}/man1/vi.1*
954 %{_mandir}/man1/ex.1*
955 %{_mandir}/man1/view.1*
956 %{_mandir}/man1/rview.1*
957 %lang(fi) %{_mandir}/fi/man1/vi.1*
958 %lang(fi) %{_mandir}/fi/man1/ex.1*
959 %lang(fi) %{_mandir}/fi/man1/view.1*
960 %lang(fi) %{_mandir}/fi/man1/rview.1*
961 %lang(fr) %{_mandir}/fr/man1/vi.1*
962 %lang(fr) %{_mandir}/fr/man1/ex.1*
963 %lang(fr) %{_mandir}/fr/man1/view.1*
964 %lang(fr) %{_mandir}/fr/man1/rview.1*
965 %lang(id) %{_mandir}/id/man1/vi.1*
966 %lang(id) %{_mandir}/id/man1/ex.1*
967 %lang(id) %{_mandir}/id/man1/view.1*
968 %lang(id) %{_mandir}/id/man1/rview.1*
969 #%lang(it) %{_mandir}/it/man1/vi.1*
970 %lang(it) %{_mandir}/it/man1/ex.1*
971 %lang(it) %{_mandir}/it/man1/view.1*
972 %lang(it) %{_mandir}/it/man1/rview.1*
973 %lang(pl) %{_mandir}/pl/man1/vi.1*
974 %lang(pl) %{_mandir}/pl/man1/ex.1*
975 %lang(pl) %{_mandir}/pl/man1/view.1*
976 %lang(pl) %{_mandir}/pl/man1/rview.1*
977 #%lang(ru) %{_mandir}/ru/man1/vi.1*
978 %lang(ru) %{_mandir}/ru/man1/ex.1*
979 %lang(ru) %{_mandir}/ru/man1/view.1*
980 %lang(ru) %{_mandir}/ru/man1/rview.1*
983 %defattr(644,root,root,755)
984 %attr(755,root,root) %{_bindir}/xxd
985 %{_mandir}/man1/xxd.1*
986 %lang(fr) %{_mandir}/fr/man1/xxd.1*
987 %lang(it) %{_mandir}/it/man1/xxd.1*
988 %lang(pl) %{_mandir}/pl/man1/xxd.1*
989 %lang(ru) %{_mandir}/ru/man1/xxd.1*
992 %defattr(644,root,root,755)
993 %attr(755,root,root) %{_bindir}/vimtutor
994 %dir %{_sysconfdir}/vim
995 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
996 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
999 %dir %{_datadir}/vim/v*
1000 %dir %{_datadir}/vim/v*/doc
1001 %doc %{_datadir}/vim/v*/doc/*.txt
1002 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1003 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1004 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
1005 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
1006 %{_datadir}/vim/v*/ftplugin
1007 %{_datadir}/vim/v*/indent
1008 %{_datadir}/vim/v*/keymap
1009 %dir %{_datadir}/vim/v*/lang
1010 %doc %{_datadir}/vim/v*/lang/README*
1012 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
1013 %{_datadir}/vim/vimfiles/after
1014 %{_datadir}/vim/vimfiles/ftdetect
1016 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1017 %lang(af) %{_datadir}/vim/v*/lang/af/
1018 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1019 %lang(ca) %{_datadir}/vim/v*/lang/ca/
1020 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1021 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1022 %lang(cs) %{_datadir}/vim/v*/lang/cs/
1023 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1024 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1025 %lang(de) %{_datadir}/vim/v*/lang/de/
1026 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1027 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1028 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
1029 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1030 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1031 %lang(es) %{_datadir}/vim/v*/lang/es/
1032 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1033 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1034 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1035 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1036 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1037 %lang(it) %{_datadir}/vim/v*/lang/it/
1038 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1039 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1040 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1041 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1042 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1043 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1044 %lang(nb) %{_datadir}/vim/v*/lang/no/
1045 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1046 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1047 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1048 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1049 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1050 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1051 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1052 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1053 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1054 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1055 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1056 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1057 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1058 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1059 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1060 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1061 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1062 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1063 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1064 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1065 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1066 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1067 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1068 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1069 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1070 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1072 %dir %{_datadir}/vim/v*/spell
1073 %{_datadir}/vim/v*/spell/cleanadd.vim
1074 %lang(he) %{_datadir}/vim/v*/spell/he.*
1075 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1077 %{_datadir}/vim/v*/macros
1078 %{_datadir}/vim/v*/plugin
1079 %{_datadir}/vim/v*/print
1080 %{_datadir}/vim/v*/syntax
1081 %{_datadir}/vim/v*/tools
1082 %{_datadir}/vim/v*/tutor
1083 %{_datadir}/vim/v*/colors
1084 %{_datadir}/vim/v*/compiler
1085 %{_datadir}/vim/v*/autoload
1086 %{_datadir}/vim/v*/*.vim
1088 %{_mandir}/man1/rvim.1*
1089 %{_mandir}/man1/vim.1*
1090 %{_mandir}/man1/vimtutor.1*
1091 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1092 %lang(fi) %{_mandir}/fi/man1/vim.1*
1093 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1094 %lang(fr) %{_mandir}/fr/man1/vim.1*
1095 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1096 %lang(id) %{_mandir}/id/man1/vim.1*
1097 %lang(it) %{_mandir}/it/man1/vim.1*
1098 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1099 %lang(pl) %{_mandir}/pl/man1/vim.1*
1100 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1101 %lang(ru) %{_mandir}/ru/man1/vim.1*
1102 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1103 %{_iconsdir}/hicolor/16x16/apps/vim.png
1104 %{_iconsdir}/hicolor/32x32/apps/vim.png
1105 %{_iconsdir}/hicolor/48x48/apps/vim.png
1108 %defattr(644,root,root,755)
1109 %{_datadir}/vim/v*/spell/en.*.*
1112 %files -n gvim-athena
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_bindir}/gvim.athena
1115 %{_desktopdir}/gvim-athena.desktop
1119 %files -n gvim-motif
1120 %defattr(644,root,root,755)
1121 %attr(755,root,root) %{_bindir}/gvim.motif
1122 %{_desktopdir}/gvim-motif.desktop
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_bindir}/gvim.gtk
1129 %attr(755,root,root) %{_bindir}/gvimdiff
1130 %attr(755,root,root) %{_bindir}/rgvim
1131 %attr(755,root,root) %{_bindir}/rgview
1132 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1133 %{_mandir}/man1/gvi*
1134 %{_mandir}/man1/rgv*
1135 %lang(fi) %{_mandir}/fi/man1/gvi*
1136 %lang(fi) %{_mandir}/fi/man1/rgv*
1137 %lang(fr) %{_mandir}/fr/man1/gvi*
1138 %lang(fr) %{_mandir}/fr/man1/rgv*
1139 %lang(id) %{_mandir}/id/man1/gvi*
1140 %lang(id) %{_mandir}/id/man1/rgv*
1141 %lang(it) %{_mandir}/it/man1/gvi*
1142 %lang(it) %{_mandir}/it/man1/rgv*
1143 %lang(pl) %{_mandir}/pl/man1/gvi*
1144 %lang(pl) %{_mandir}/pl/man1/rgv*
1145 %lang(ru) %{_mandir}/ru/man1/gvi*
1146 %lang(ru) %{_mandir}/ru/man1/rgv*
1147 %{_desktopdir}/gvim-gtk.desktop
1151 %files -n gvim-gnome
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_bindir}/gvim.gnome
1154 %{_desktopdir}/gvim-gnome.desktop
1158 %files -n gvim-bonobo
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_bindir}/vim-component
1161 %attr(755,root,root) %{_bindir}/vim-factory
1162 %{_libdir}/bonobo/servers/*