2 %bcond_without static # don't build static version
3 %bcond_without athena # don't build Athena Widgets-based gvim
4 %bcond_without motif # don't build Motif-based gvim
5 %bcond_without gtk # don't build GTK+-based gvim support
6 %bcond_without gnome # don't build GNOME-based gvim support
7 %bcond_without heavy # don't build heavy (full-featured GNOME-based gvim/vim)
8 %bcond_with perl # with Perl interp in vim package
9 %bcond_with python # with Python interp in vim package
10 %bcond_with ruby # with Ruby interp in vim package
11 %bcond_with tcl # with Tcl interp
12 %bcond_without selinux # without selinux support
13 %bcond_without home_etc # without home_etc support
16 %define patchlevel 330
18 # cflags get changed while configuring
19 %undefine configure_cache
21 Summary: Vi IMproved - a Vi clone
22 Summary(de.UTF-8): VIsual editor iMproved
23 Summary(es.UTF-8): Editor visual incrementado
24 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
25 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
26 Summary(pt_BR.UTF-8): Editor visual incrementado
27 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
28 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
29 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
31 Version: %{ver}.%{patchlevel}
35 Group: Applications/Editors/Vim
36 Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
37 # Source0-md5: 44c6b4914f38d6f9aa959640b89da329
38 Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{ver}-lang.tar.gz
39 # Source1-md5: 144aa049ba70621acf4247f0459f3ee7
40 Source2: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{ver}-extra.tar.gz
41 # Source2-md5: 605cc7ae31bcc9d7864bb0bb6025f55d
42 Source3: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
43 # Source3-md5: bc4d1e115ca506ad7751b9bd2b773a7f
44 Source4: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
45 # Source4-md5: ff96284b1c913d55cf0877839b34d490
46 Source10: g%{name}-athena.desktop
47 Source11: g%{name}-motif.desktop
48 Source12: g%{name}-gtk.desktop
49 Source13: g%{name}-gnome.desktop
50 Source14: %{name}.desktop
52 # http://www.vim.org/scripts/script.php?script_id=1491 (0.7.5)
53 Source20: javascript.vim
55 # http://www.vim.org/scripts/script.php?script_id=447 (20040206)
57 # http://www.vim.org/scripts/script.php?script_id=1571 (0.9.7)
60 # http://www.vim.org/scripts/script.php?script_id=415 (1.15)
62 # http://www.vim.org/scripts/script.php?script_id=92 (1.0)
64 # http://www.vim.org/scripts/script.php?script_id=368 (1.2.5)
65 Source32: oceandeep.vim
66 # http://www.vim.org/scripts/script.php?script_id=1464 (2.6.3)
68 Patch0: %{name}-sysconfdir.patch
69 Patch1: %{name}-visual.patch
70 Patch2: %{name}-paths.patch
71 Patch3: %{name}-%{name}rc.patch
72 Patch4: %{name}-no_libelf.patch
73 Patch5: %{name}-egrep.patch
74 Patch6: %{name}-awk.patch
75 Patch7: %{name}-filetype_vim-perl_tests.patch
76 Patch8: %{name}-apache.patch
77 Patch9: %{name}-po-syntax.patch
78 Patch10: %{name}-modprobe.patch
79 Patch11: %{name}-doubleparenthesis.patch
80 Patch12: %{name}-syntax-fstab.patch
81 Patch13: 010_all_%{name}-6.3-vixie.patch
82 Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch
83 Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
84 Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch
85 Patch17: 024_all_%{name}-6.3-bash-83565.patch
86 Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch
87 Patch19: %{name}-smarty.patch
88 Patch20: %{name}-tutor-lessdeps.patch
89 Patch21: %{name}-nagios.patch
90 Patch22: %{name}-filetypes.patch
91 Patch23: %{name}-man_installation.patch
92 Patch102: %{name}-gtkfilechooser.patch
93 Patch104: %{name}-home_etc.patch
94 Patch105: %{name}-autopaste.patch
95 Patch106: %{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 %if "%{pld_release}" == "ac"
103 %{?with_athena:BuildRequires: XFree86-devel}
105 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
107 %if %{with gtk} || %{with heavy}
108 BuildRequires: gtk+2-devel >= 2:2.6.0
110 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
111 %if %{with selinux} || %{with heavy}
112 BuildRequires: libselinux-devel
114 BuildRequires: ncurses-devel
115 %{?with_motif:BuildRequires: openmotif-devel}
116 %if %{with perl} || %{with heavy}
117 BuildRequires: perl-devel
119 %if %{with python} || %{with heavy}
120 BuildRequires: python-devel
122 BuildRequires: rpm >= 4.4.9-56
123 BuildRequires: rpmbuild(macros) >= 1.426
124 %if %{with ruby} || %{with heavy}
125 BuildRequires: ruby-devel
127 %if %{with tcl} || %{with heavy}
128 BuildRequires: tcl-devel
132 BuildRequires: acl-static
133 BuildRequires: attr-static
134 BuildRequires: glibc-static
135 %{?with_selinux:BuildRequires: libselinux-static}
136 BuildRequires: ncurses-static
138 Provides: %{name}-static = %{epoch}:%{version}-%{release}
139 Obsoletes: elvis-static
142 Obsoletes: vim-minimal
143 Obsoletes: vim-static
146 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
149 Provides: vim-editor = %{epoch}:%{version}-%{release}
150 Obsoletes: vim-enhanced
151 Obsoletes: vim-ispell
152 Obsoletes: vim-plugin-multvals
153 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
155 # that's example script
156 %define _noautoreq '/bin/csh'
159 Text editor similar to Vi. Important improvements: multiple windows,
160 multi-level undo, block highliting, folding, and many other.
162 %description -l cs.UTF-8
163 ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
164 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
165 populární. ViM je obohacený funkcemi jako: podpora více oken,
166 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
169 %description -l de.UTF-8
170 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
171 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
172 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
173 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
174 Standard-vi-Programm.
176 %description -l es.UTF-8
177 El editor Visual Mejorado es una versión actualizada y con nuevas
178 características adicionales del mundialmente famoso 'vi' que acompaña
179 prácticamente todos los sistemas UN*X. Posibilita trabajar con
180 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
181 otras muchas características del 'vi'.
183 %description -l fr.UTF-8
184 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
185 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
186 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
187 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
188 blocs et autres caractéristiques au vi de base.
190 %description -l id.UTF-8
191 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
192 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
193 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
194 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
195 windows, multi-level undo, block highlighting, dll.
197 %description -l is.UTF-8
198 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
199 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
200 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
201 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
204 %description -l it.UTF-8
205 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
206 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
207 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
208 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
211 %description -l pl.UTF-8
212 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
213 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
214 folding i wiele innych.
216 %description -l pt.UTF-8
217 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
218 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
219 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
220 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
223 %description -l pt_BR.UTF-8
224 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
225 características do mundialmente famoso 'vi' que acompanha praticamente
226 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
227 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
228 outras características do 'vi'.
230 %description -l ru.UTF-8
231 VIsual editor iMproved - это обновленный и значительно улучшенный клон
232 редактора vi, который поставляется практически со всеми
233 UN*X-системами. В этой версии есть многоуровневый откат, выделение
234 блоков, синтаксическая подсветка и много другого...
236 %description -l sk.UTF-8
237 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
238 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
239 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
240 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
242 %description -l sv.UTF-8
243 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
244 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
245 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
246 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
249 %description -l tr.UTF-8
250 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
251 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
253 %description -l uk.UTF-8
254 VIsual editor iMproved - це оновлений та значно поліпшений клон
255 редактора vi, який поставляється практично зі всіма UN*X-системами. В
256 цій версії є багаторівневий відкат, виділення блоків, синтаксична
257 підсвітка та багато іншого...
260 Summary: Utility to convert files to hexdump or do the reverse
261 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
262 Group: Applications/Editors/Vim
265 xxd creates a hex dump of a given file or standard input. It can also
266 convert a hex dump back to its original binary form. Like uuencode and
267 uudecode it allows the transmission of binary data in a `mail-safe'
268 ASCII representation, but has the advantage of decoding to standard
269 output. Moreover, it can be used to perform binary file patching.
271 %description -n xxd -l pl.UTF-8
272 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
273 Może także przekonwertować taki zapis na oryginalną, binarną postać.
274 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
275 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
276 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
279 Summary: Full featured build of Vim
280 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vim-a
281 Group: Applications/Editors/Vim
282 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
285 Provides: vim-editor = %{epoch}:%{version}-%{release}
286 Obsoletes: vim-enhanced
287 Obsoletes: vim-ispell
288 Obsoletes: vim-plugin-multvals
291 This package provides full featured version of Vim, which includes
292 support for Perl, Python, Ruby and Tcl scripting.
294 %description heavy -l pl.UTF-8
295 Pakiet ten dostarcza w pełni funkcjonalną wersję Vim-a, czyli
296 zawierającą wsparcie dla skryptowania w językach Perl, Python, Ruby
300 Summary: Statically linked Vim
301 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
302 Group: Applications/Editors/Vim
305 Provides: vim-editor = %{epoch}:%{version}-%{release}
306 Obsoletes: elvis-static
308 Obsoletes: vim-minimal
311 Text editor similar to Vi. This version is built with minimal feature
312 and is installed in /bin as a rescue tool. The installation of this
313 package is STRONGLY recommended.
315 %description static -l pl.UTF-8
316 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
317 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
318 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
319 zalecana, może on pomóc Ci uratować system w czasie awarii.
321 %description static -l ru.UTF-8
322 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
323 удобно для запуска даже когда смонтирована только корневая файловая
326 %description static -l uk.UTF-8
327 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
328 запуску навіть тоді, коли змонтована тільки корньова файлова система.
331 Summary: Vim runtime files
332 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM
333 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
334 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
335 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
336 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
337 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
338 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
339 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
340 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
341 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
342 Summary(pl.UTF-8): Pliki przydatne edytorowi Vim
343 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
344 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
345 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
346 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
347 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
348 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
349 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
350 Group: Applications/Editors/Vim
352 Requires: hicolor-icon-theme
353 Requires: vim-plugin-securemodelines
354 Requires: vim-syntax-spec
355 Obsoletes: gvim-bonobo
356 Obsoletes: vim-common
359 This package contains macros, documentation, syntax configuration and
360 manual pages for Vim. If you want to take advantage of Vim more
361 powerful features, you should install this package.
363 %description rt -l cs.UTF-8
364 Tento balíček obsahuje společné soubory pro všechny další balíčky s
367 %description rt -l da.UTF-8
368 The vim-rt package contains files which every VIM binary will need in
371 %description rt -l de.UTF-8
372 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
375 %description rt -l fr.UTF-8
376 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
377 VIM a besoin pour fonctionner.
379 %description rt -l id.UTF-8
380 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
383 %description rt -l is.UTF-8
384 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
387 %description rt -l it.UTF-8
388 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
389 per poter funzionare.
391 %description rt -l pl.UTF-8
392 W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i
393 strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z
394 zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet.
396 %description rt -l pt.UTF-8
397 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
398 irão necessitar para correr.
400 %description rt -l ru.UTF-8
401 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
402 для работы любой программы vim.
404 %description rt -l sk.UTF-8
405 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
406 funkciu každá verzia editoru VIM.
408 %description rt -l sv.UTF-8
409 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
412 %description rt -l uk.UTF-8
413 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
414 для роботи будь-якої програми vim.
417 Summary: English dictionaries for VIMspell
418 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
419 Group: Applications/Editors/Vim
420 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
422 %description spell-en
423 English dictionaries for VIMspell.
425 %description spell-en -l pl.UTF-8
426 Angielskie słowniki dla VIMspella.
429 Summary: Vim tutorial
430 Group: Applications/Editors/Vim
431 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
433 Requires: vim-editor = %{epoch}:%{version}-%{release}
436 This package contains Vim tutorial
438 %package -n gvim-athena
439 Summary: Vim for X Window built with Athena
440 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
441 Group: Applications/Editors/Vim
442 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
446 Provides: vim-editor = %{epoch}:%{version}-%{release}
449 %description -n gvim-athena
450 The classic Unix text editor now also under X Window System! This
451 version is built with Athena Widget Set.
453 %description -n gvim-athena -l pl.UTF-8
454 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
455 biblioteki Athena Widget Set.
457 %description -n gvim-athena -l ru.UTF-8
458 Этот пакет представляет собой версию VIM, собранную с библиотеками
459 Athena Widget Set, что позволяет запускать VIM как приложение X Window
460 System - с полностью графическим интерфейсом и поддержкой мыши.
462 %description -n gvim-athena -l uk.UTF-8
463 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
464 Set, що дозволяє запускати VIM як прикладну програму X Window System -
465 з повністю графічним інтерфейсом та підтримкою миші.
467 %package -n gvim-motif
468 Summary: Vim for X Window built with Motif
469 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif
470 Group: Applications/Editors/Vim
471 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
475 Provides: vim-editor = %{epoch}:%{version}-%{release}
478 %description -n gvim-motif
479 The classic Unix text editor now also under X Window System! This
480 version is built with Motif.
482 %description -n gvim-motif -l pl.UTF-8
483 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
486 %description -n gvim-motif -l ru.UTF-8
487 Этот пакет представляет собой версию VIM, собранную с библиотеками
488 Motif, что позволяет запускать VIM как приложение X Window System - с
489 полностью графическим интерфейсом и поддержкой мыши.
491 %description -n gvim-motif -l uk.UTF-8
492 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
493 дозволяє запускати VIM як прикладну програму X Window System - з
494 повністю графічним інтерфейсом та підтримкою миші.
497 Summary: Vim for X Window built with gtk
498 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK
499 Group: Applications/Editors/Vim
500 Requires(post,postun): gtk+2
501 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
505 Provides: vim-editor = %{epoch}:%{version}-%{release}
508 %description -n gvim-gtk
509 The classic Unix text editor now also under X Window System! This
510 version is built with GTK.
512 %description -n gvim-gtk -l pl.UTF-8
513 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
516 %description -n gvim-gtk -l ru.UTF-8
517 Этот пакет представляет собой версию VIM, собранную с библиотеками
518 GTK, что позволяет запускать VIM как приложение X Window System - с
519 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
522 %description -n gvim-gtk -l uk.UTF-8
523 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
524 запускати VIM як прикладну програму X Window System - з повністю
525 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
527 %package -n gvim-gnome
528 Summary: Vim for X Window built with GNOME
529 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME
530 Group: Applications/Editors/Vim
531 Requires(post,postun): gtk+2
532 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
536 Provides: vim-editor = %{epoch}:%{version}-%{release}
539 %description -n gvim-gnome
540 The classic Unix text editor now also under X Window System! This
541 version is build with GNOME.
543 %description -n gvim-gnome -l pl.UTF-8
544 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
547 %description -n gvim-gnome -l ru.UTF-8
548 Этот пакет представляет собой версию VIM, собранную с библиотеками
549 GNOME, что позволяет запускать VIM как приложение X Window System - с
550 полностью графическим интерфейсом и поддержкой мыши.
552 %description -n gvim-gnome -l uk.UTF-8
553 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
554 дозволяє запускати VIM як прикладну програму X Window System - з
555 повністю графічним інтерфейсом та підтримкою миші.
557 %package -n gvim-heavy
558 Summary: Full featured build of Vim with X-window support
559 Summary(pl.UTF-8): W pełni funkcjonalna wersja Vim-a ze wsparciem dla X-window
560 Group: Applications/Editors/Vim
561 Requires(post,postun): gtk+2
562 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
566 Provides: vim-editor = %{epoch}:%{version}-%{release}
569 %description -n gvim-heavy
570 This package provides full featured version of Vim, which includes
571 support for Perl, Python, Ruby and Tcl scripting, as well as GTK+2
574 %description heavy -l pl.UTF-8
575 Pakiet ten dostarcza w pełni funkcjonalną wersję Vim-a, czyli
576 zawierającą wsparcie dla skryptowania w językach Perl, Python, Ruby
577 oraz Tcl jak również GUI GTK+2.
580 %setup -q -n %{name}71 -b1 -b2
583 %patchset_patch 1 %{patchlevel}
611 %{?with_home_etc:%patch104 -p1}
613 # autopaste patch - automatically switch to paste mode
614 # when`really fast typing' situation happens
619 install %{SOURCE20} runtime/syntax
620 install %{SOURCE21} runtime/syntax
621 install %{SOURCE22} runtime/syntax
622 install %{SOURCE23} runtime/syntax
623 install %{SOURCE30} runtime/colors
624 install %{SOURCE31} runtime/colors
625 install %{SOURCE32} runtime/colors
630 # needed to prevent deconfiguring
640 # add common options, can override (disable) if needed with args
642 --%{!?with_perl:dis}%{?with_perl:en}able-perlinterp \
643 --%{!?with_python:dis}%{?with_python:en}able-pythoninterp \
644 --%{!?with_ruby:dis}%{?with_ruby:en}able-rubyinterp \
645 --%{!?with_tcl:dis}%{?with_tcl:en}able-tclinterp \
646 %{!?with_selinux:--disable-selinux} \
651 --with-tlib="ncurses -ltinfo" \
652 --with-modifiedby="PLD Linux Distribution" \
653 --with-compiledby="PLD Linux Distribution" \
657 mv -f vim bin/$target
661 LDFLAGS="%{rpmldflags} -static"
665 --with-features=small \
666 --disable-perlinterp \
667 --disable-pythoninterp \
668 --disable-rubyinterp \
669 --disable-tclinterp \
672 --disable-multibyte \
675 LDFLAGS="%{rpmldflags}"
685 --with-features=huge \
686 --enable-gui=athena \
696 --with-features=huge \
708 --with-features=huge \
710 --enable-gtk2-check \
718 --with-features=huge \
719 --enable-gui=gnome2 \
720 --enable-gtk2-check \
721 --enable-gnome-check \
727 # vim.heavy / gvim.heavy
730 --with-features=huge \
733 --enable-perlinterp \
734 --enable-pythoninterp \
735 --enable-rubyinterp \
740 --with-features=huge \
741 --enable-gui=gnome2 \
742 --enable-gtk2-check \
743 --enable-gnome-check \
745 --enable-perlinterp \
746 --enable-pythoninterp \
747 --enable-rubyinterp \
753 %{__make} xxd/xxd languages
756 rm -rf $RPM_BUILD_ROOT
758 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
759 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
760 $RPM_BUILD_ROOT%{_desktopdir}
762 %{__make} -j1 install \
763 DESTDIR=$RPM_BUILD_ROOT
765 rm -f $RPM_BUILD_ROOT%{_bindir}/*
768 install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
769 install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
771 install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
772 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
774 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
775 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
779 # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
780 # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
781 # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
782 # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
783 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
784 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
785 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
786 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
788 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
789 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
791 # not supported directories
792 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
794 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
795 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
797 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
798 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
799 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
800 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
801 ln -sf vi $RPM_BUILD_ROOT/bin/ex
802 ln -sf vi $RPM_BUILD_ROOT/bin/view
803 ln -sf vi $RPM_BUILD_ROOT/bin/rview
805 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
808 install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
809 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
812 install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
813 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
816 install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
817 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
820 install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
821 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
822 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
823 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
824 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
825 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
826 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
829 install src/bin/vim.heavy $RPM_BUILD_ROOT%{_bindir}
830 install src/bin/gvim.heavy $RPM_BUILD_ROOT%{_bindir}
833 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
834 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
835 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
836 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
838 bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
840 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE4}
842 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
843 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
846 %{__rm} $RPM_BUILD_ROOT%{_datadir}/vim/vim71/{ftplugin,syntax}/spec.vim
849 chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/doc/vim2html.pl
850 chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/shtags.pl
851 chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/pltags.pl
852 chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/efm_perl.pl
853 chmod a-x $RPM_BUILD_ROOT%{_datadir}/vim/vim71/tools/efm_filter.pl
856 rm -rf $RPM_BUILD_ROOT
859 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
862 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
865 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
867 %postun -n gvim-athena
868 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
871 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
873 %postun -n gvim-motif
874 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
877 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
878 %update_icon_cache hicolor
881 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database
882 %update_icon_cache hicolor
885 %update_desktop_database_post
886 %update_icon_cache hicolor
888 %postun -n gvim-gnome
889 %update_desktop_database_postun
890 %update_icon_cache hicolor
893 %defattr(644,root,root,755)
894 %attr(755,root,root) %{_bindir}/eview
895 %attr(755,root,root) %{_bindir}/evim
896 %attr(755,root,root) %{_bindir}/rvim
897 %attr(755,root,root) %{_bindir}/vim
898 %attr(755,root,root) %{_bindir}/vimdiff
899 %{_mandir}/man1/eview.1*
900 %{_mandir}/man1/evim.1*
901 %{_mandir}/man1/rvim.1*
902 %{_mandir}/man1/vimdiff.1*
903 %lang(fi) %{_mandir}/fi/man1/rvim.1*
904 %lang(fr) %{_mandir}/fr/man1/eview.1*
905 %lang(fr) %{_mandir}/fr/man1/evim.1*
906 %lang(fr) %{_mandir}/fr/man1/rvim.1*
907 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
908 %lang(id) %{_mandir}/id/man1/rvim.1*
909 %lang(it) %{_mandir}/it/man1/eview.1*
910 %lang(it) %{_mandir}/it/man1/evim.1*
911 %lang(it) %{_mandir}/it/man1/rvim.1*
912 %lang(it) %{_mandir}/it/man1/vimdiff.1*
913 %lang(pl) %{_mandir}/pl/man1/eview.1*
914 %lang(pl) %{_mandir}/pl/man1/evim.1*
915 %lang(pl) %{_mandir}/pl/man1/rvim.1*
916 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
917 %lang(ru) %{_mandir}/ru/man1/eview.1*
918 %lang(ru) %{_mandir}/ru/man1/evim.1*
919 %lang(ru) %{_mandir}/ru/man1/rvim.1*
920 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
921 %{_desktopdir}/%{name}.desktop
926 %defattr(644,root,root,755)
927 %attr(755,root,root) /bin/*
928 %{_mandir}/man1/vi.1*
929 %{_mandir}/man1/ex.1*
930 %{_mandir}/man1/view.1*
931 %{_mandir}/man1/rview.1*
932 %lang(fi) %{_mandir}/fi/man1/vi.1*
933 %lang(fi) %{_mandir}/fi/man1/ex.1*
934 %lang(fi) %{_mandir}/fi/man1/view.1*
935 %lang(fi) %{_mandir}/fi/man1/rview.1*
936 %lang(fr) %{_mandir}/fr/man1/vi.1*
937 %lang(fr) %{_mandir}/fr/man1/ex.1*
938 %lang(fr) %{_mandir}/fr/man1/view.1*
939 %lang(fr) %{_mandir}/fr/man1/rview.1*
940 %lang(id) %{_mandir}/id/man1/vi.1*
941 %lang(id) %{_mandir}/id/man1/ex.1*
942 %lang(id) %{_mandir}/id/man1/view.1*
943 %lang(id) %{_mandir}/id/man1/rview.1*
944 #%lang(it) %{_mandir}/it/man1/vi.1*
945 %lang(it) %{_mandir}/it/man1/ex.1*
946 %lang(it) %{_mandir}/it/man1/view.1*
947 %lang(it) %{_mandir}/it/man1/rview.1*
948 %lang(pl) %{_mandir}/pl/man1/vi.1*
949 %lang(pl) %{_mandir}/pl/man1/ex.1*
950 %lang(pl) %{_mandir}/pl/man1/view.1*
951 %lang(pl) %{_mandir}/pl/man1/rview.1*
952 #%lang(ru) %{_mandir}/ru/man1/vi.1*
953 %lang(ru) %{_mandir}/ru/man1/ex.1*
954 %lang(ru) %{_mandir}/ru/man1/view.1*
955 %lang(ru) %{_mandir}/ru/man1/rview.1*
958 %defattr(644,root,root,755)
959 %attr(755,root,root) %{_bindir}/xxd
960 %{_mandir}/man1/xxd.1*
961 %lang(fr) %{_mandir}/fr/man1/xxd.1*
962 %lang(it) %{_mandir}/it/man1/xxd.1*
963 %lang(pl) %{_mandir}/pl/man1/xxd.1*
964 %lang(ru) %{_mandir}/ru/man1/xxd.1*
967 %defattr(644,root,root,755)
968 %dir %{_sysconfdir}/vim
969 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
973 %dir %{_datadir}/vim/v*
974 %dir %{_datadir}/vim/v*/doc
975 %doc %{_datadir}/vim/v*/doc/*.txt
976 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
977 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
978 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
979 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
980 %{_datadir}/vim/v*/ftplugin
981 %{_datadir}/vim/v*/indent
982 %{_datadir}/vim/v*/keymap
983 %dir %{_datadir}/vim/v*/lang
984 %doc %{_datadir}/vim/v*/lang/README*
986 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
987 %{_datadir}/vim/vimfiles/after
988 %{_datadir}/vim/vimfiles/ftdetect
990 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
991 %lang(af) %{_datadir}/vim/v*/lang/af/
992 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
993 %lang(ca) %{_datadir}/vim/v*/lang/ca/
994 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
995 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
996 %lang(cs) %{_datadir}/vim/v*/lang/cs/
997 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
998 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
999 %lang(de) %{_datadir}/vim/v*/lang/de/
1000 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1001 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1002 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
1003 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1004 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1005 %lang(es) %{_datadir}/vim/v*/lang/es/
1006 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1007 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1008 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1009 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1010 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1011 %lang(it) %{_datadir}/vim/v*/lang/it/
1012 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1013 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1014 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1015 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1016 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1017 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1018 %lang(nb) %{_datadir}/vim/v*/lang/no/
1019 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1020 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1021 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1022 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1023 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1024 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1025 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1026 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1027 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1028 %lang(sl) %{_datadir}/vim/v*/lang/menu_sl_si*
1029 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1030 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1031 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1032 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1033 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1034 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1035 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1036 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1037 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1038 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1039 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1040 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1041 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN.UTF-8/
1042 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1043 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1044 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1045 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1046 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1047 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW.UTF-8/
1049 %dir %{_datadir}/vim/v*/spell
1050 %{_datadir}/vim/v*/spell/cleanadd.vim
1051 %lang(he) %{_datadir}/vim/v*/spell/he.*
1052 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1054 %{_datadir}/vim/v*/macros
1055 %{_datadir}/vim/v*/plugin
1056 %{_datadir}/vim/v*/print
1057 %{_datadir}/vim/v*/syntax
1058 %{_datadir}/vim/v*/tools
1059 %{_datadir}/vim/v*/colors
1060 %{_datadir}/vim/v*/compiler
1061 %{_datadir}/vim/v*/autoload
1062 %{_datadir}/vim/v*/*.vim
1064 %{_mandir}/man1/rvim.1*
1065 %{_mandir}/man1/vim.1*
1066 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1067 %lang(fi) %{_mandir}/fi/man1/vim.1*
1068 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1069 %lang(fr) %{_mandir}/fr/man1/vim.1*
1070 %{_iconsdir}/hicolor/16x16/apps/vim.png
1071 %{_iconsdir}/hicolor/32x32/apps/vim.png
1072 %{_iconsdir}/hicolor/48x48/apps/vim.png
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_bindir}/vimtutor
1077 %{_datadir}/vim/v*/tutor
1078 %{_mandir}/man1/vimtutor.1*
1079 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1080 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1081 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1082 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1086 %defattr(644,root,root,755)
1087 %attr(755,root,root) %{_bindir}/vim.heavy
1091 %defattr(644,root,root,755)
1092 %{_datadir}/vim/v*/spell/en.*.*
1095 %files -n gvim-athena
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_bindir}/gvim.athena
1098 %{_desktopdir}/gvim-athena.desktop
1102 %files -n gvim-motif
1103 %defattr(644,root,root,755)
1104 %attr(755,root,root) %{_bindir}/gvim.motif
1105 %{_desktopdir}/gvim-motif.desktop
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_bindir}/gvim.gtk
1112 %attr(755,root,root) %{_bindir}/gvimdiff
1113 %attr(755,root,root) %{_bindir}/gview
1114 %attr(755,root,root) %{_bindir}/rgvim
1115 %attr(755,root,root) %{_bindir}/rgview
1116 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1117 %{_mandir}/man1/gvi*
1118 %{_mandir}/man1/rgv*
1119 %lang(fi) %{_mandir}/fi/man1/gvi*
1120 %lang(fi) %{_mandir}/fi/man1/rgv*
1121 %lang(fr) %{_mandir}/fr/man1/gvi*
1122 %lang(fr) %{_mandir}/fr/man1/rgv*
1123 %lang(id) %{_mandir}/id/man1/gvi*
1124 %lang(id) %{_mandir}/id/man1/rgv*
1125 %lang(it) %{_mandir}/it/man1/gvi*
1126 %lang(it) %{_mandir}/it/man1/rgv*
1127 %lang(pl) %{_mandir}/pl/man1/gvi*
1128 %lang(pl) %{_mandir}/pl/man1/rgv*
1129 %lang(ru) %{_mandir}/ru/man1/gvi*
1130 %lang(ru) %{_mandir}/ru/man1/rgv*
1131 %{_desktopdir}/gvim-gtk.desktop
1135 %files -n gvim-gnome
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) %{_bindir}/gvim.gnome
1138 %{_desktopdir}/gvim-gnome.desktop
1142 %files -n gvim-heavy
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_bindir}/gvim.heavy