3 # _without_static - without static version
4 # _without_athena - without Athena Widgets-based gvim
5 # _without_motif - without Motif-based gvim
6 # _without_gtk - without gtk+-based gvim support
7 # _without_gnome - without gnome-based gvim support
8 # _with_gtk1 - use gtk+ 1.2 and GNOME 1.x instead of 2.x
9 # _with_perl - with perl interp
10 # _with_python - with python interp
11 # _with_ruby - with ruby interp
12 # _with_tcl - with tcl interp
15 %define _patchlevel 365
17 Summary: Vi IMproved - a Vi clone
18 Summary(de): VIsual editor iMproved
19 Summary(es): Editor visual incrementado
20 Summary(fr): Editeur VIM : VIsual editor iMproved
21 Summary(pl): Vi IMproved - klon edytora Vi
22 Summary(pt_BR): Editor visual incrementado
23 Summary(ru): Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
24 Summary(tr): Geliþmiþ bir vi sürümü
25 Summary(uk): Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
27 Version: %{_ver}.%{_patchlevel}
31 Group: Applications/Editors/Vim
32 Source0: ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
33 Source1: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
34 Source2: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-extra.tar.gz
35 # packed from ftp://ftp.vim.org/pub/editors/vim/patches/6.1.3*
36 Source3: %{name}-patches-%{_ver}.301-%{_patchlevel}.tar.bz2
37 Source4: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
38 Source10: g%{name}-athena.desktop
39 Source11: g%{name}-motif.desktop
40 Source12: g%{name}-gtk.desktop
41 Source13: g%{name}-gnome.desktop
42 Patch0: http://regexxer.sourceforge.net/vim/vim-gtk2-20030304.patch.gz
43 Patch1: %{name}-sysconfdir.patch
44 Patch2: %{name}-visual.patch
45 Patch3: %{name}-paths.patch
46 Patch4: %{name}-ispell.patch
47 Patch5: %{name}-ispell-axp.patch
48 Patch6: %{name}-ac25x.patch
49 Patch7: %{name}-vimrc.patch
50 Patch8: %{name}-no_libelf.patch
51 Patch9: %{name}-egrep.patch
52 Patch10: %{name}-ocaml.patch
53 Patch100: ftp://ftp.vim.org/pub/editors/vim/patches/6.1.1-100.gz
54 Patch101: ftp://ftp.vim.org/pub/editors/vim/patches/6.1.101-200.gz
55 Patch102: ftp://ftp.vim.org/pub/editors/vim/patches/6.1.201-300.gz
56 URL: http://www.vim.org/
57 BuildRequires: acl-devel
58 BuildRequires: autoconf
59 BuildRequires: gettext-devel
60 BuildRequires: gpm-devel
61 BuildRequires: ncurses-devel
63 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
64 %{!?_without_gtk:BuildRequires: gtk+-devel}
66 %{!?_without_gtk:BuildRequires: gtk+2-devel >= 2.2.1}
67 %{!?_without_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
69 %{!?_without_motif:BuildRequires: motif-devel}
70 %{!?_without_static:BuildRequires: glibc-static}
71 %{!?_without_static:BuildRequires: ncurses-static}
72 %{?_with_perl:BuildRequires: perl-devel}
73 %{?_with_python:BuildRequires: python-devel}
74 %{?_with_ruby:BuildRequires: ruby}
75 %{?_with_tcl:BuildRequires: tcl-devel}
76 Requires: %{name}-rt = %{version}
77 %{?_without_static:Requires: %{name}-static = %{version}}
78 Obsoletes: vim-enhanced
79 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82 Text editor similar to Vi. Important improvements: multiple windows,
83 multi-level undo, block highliting, folding, and many other.
86 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
87 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
88 populární. ViM je obohacený funkcemi jako: podpora více oken,
89 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
93 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
94 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
95 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
96 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
100 El editor Visual Mejorado es una versión actualizada y con nuevas
101 características adicionales del mundialmente famoso 'vi' que acompaña
102 prácticamente todos los sistemas UN*X. Posibilita trabajar con
103 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
104 otras muchas características del 'vi'.
107 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
108 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
109 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
110 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
111 blocs et autres caractéristiques au vi de base.
114 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
115 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
116 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
117 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
118 windows, multi-level undo, block highlighting, dll.
121 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
122 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
123 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
124 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
128 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
129 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
130 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
131 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
135 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
136 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
137 folding i wiele innych.
140 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
141 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
142 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
143 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
146 %description -l pt_BR
147 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
148 características do mundialmente famoso 'vi' que acompanha praticamente
149 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
150 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
151 outras características do 'vi'.
154 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
155 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
156 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
157 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
160 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
161 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
162 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
163 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
166 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
167 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
168 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
169 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
173 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
174 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
177 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
178 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
179 Ã¦Ê ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉÊ ×¦ÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
180 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
183 Summary: Utility to convert files to hexdump or do the reverse
184 Summary(pl): Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
185 Group: Applications/Editors/Vim
188 xxd creates a hex dump of a given file or standard input. It can also
189 convert a hex dump back to its original binary form. Like uuencode and
190 uudecode it allows the transmission of binary data in a `mail-safe'
191 ASCII representation, but has the advantage of decoding to standard
192 output. Moreover, it can be used to perform binary file patching.
194 %description -n xxd -l pl
195 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
196 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
197 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
198 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
199 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
202 Summary: Statically linked Vim
203 Summary(pl): Statycznie skonsolidowany Vim
204 Group: Applications/Editors/Vim
207 Obsoletes: elvis-static
209 Obsoletes: vim-minimal
212 Text editor similar to Vi. This version is built with minimal feature
213 and is installed in /bin as a rescue tool. The installation of this
214 package is STRONGLY recommended.
216 %description static -l pl
217 Edytor tekstu podobny do Vi. Ta wersja zosta³a zlinkowana statycznie i
218 posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin jako
219 narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
220 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
222 %description static -l ru
223 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
224 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
227 %description static -l uk
228 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
229 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
232 Summary: Vim with ispell support
233 Summary(pl): Vim z wsparciem dla ispella
234 Group: Applications/Editors/Vim
235 Requires: %{name}-rt = %{version}
236 Conflicts: ispell < 3.2.06
237 Conflicts: ispell-pl < 20021127-2
240 Text editor similar to Vi. This version is built with ispell support.
242 %description ispell -l pl
243 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
244 wsparciem dla ispella.
247 Summary: Vim runtime files
248 Summary(cs): Soubory nezbytné pro libovolný editor ViM
249 Summary(da): Fælles filer som er nødvendige for enhver version af VIM editoren
250 Summary(de): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
251 Summary(es): Ficheros comunes a todas las versiones de VIM
252 Summary(fr): Fichiers communs indispensables pour toute version de l'éditeur VIM
253 Summary(id): File umum yang dibutuhkan oleh semua versi editor VIM
254 Summary(is): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
255 Summary(it): File comuni necessari per tutte le versioni dell'editor VIM
256 Summary(ja): ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
257 Summary(no): Felles filer som er nødvendige for enhver versjon av VIM editoren
258 Summary(pl): Pliki przydatne edytorowi Vim
259 Summary(pt): Os ficheiros comuns necessários para qualquer versão do editor VIM
260 Summary(ru): æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
261 Summary(sk): Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
262 Summary(sl): Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
263 Summary(sv): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
264 Summary(uk): æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
265 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
266 Group: Applications/Editors/Vim
269 Obsoletes: vim-common
272 This package contains macros, documentation, syntax configuration and
273 manual pages for Vim. If you want to take advantage of Vim more
274 powerful features, you should install this package.
276 %description rt -l cs
277 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
280 %description rt -l da
281 The vim-rt package contains files which every VIM binary will need in
284 %description rt -l de
285 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
288 %description rt -l es
289 The vim-rt package contains files which every VIM binary will need in
292 %description rt -l fr
293 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
294 VIM a besoin pour fonctionner.
296 %description rt -l id
297 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
300 %description rt -l is
301 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
304 %description rt -l it
305 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
306 per poter funzionare.
308 %description rt -l pl
309 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
310 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
311 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
313 %description rt -l pt
314 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
315 irão necessitar para correr.
317 %description rt -l ru
318 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
319 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
321 %description rt -l sk
322 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
323 funkciu ka¾dá verzia editoru VIM.
325 %description rt -l sv
326 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
329 %description rt -l uk
330 ðÁËÅÔ vim-rt ͦÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
331 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
333 %package -n gvim-athena
334 Summary: Vim for X Window built with Athena
335 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Athena
336 Group: Applications/Editors/Vim
337 Requires: %{name}-rt = %{version}
341 %description -n gvim-athena
342 The classic Unix text editor now also under X Window System! This
343 version is built with Athena Widget Set.
345 %description -n gvim-athena -l pl
346 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
347 biblioteki Athena Widget Set.
349 %description -n gvim-athena -l ru
350 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
351 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
352 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
354 %description -n gvim-athena -l uk
355 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Athena Widget
356 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
357 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
359 %package -n gvim-motif
360 Summary: Vim for X Window built with Motif
361 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Motif
362 Group: Applications/Editors/Vim
363 Requires: %{name}-rt = %{version}
367 %description -n gvim-motif
368 The classic Unix text editor now also under X Window System! This
369 version is built with Motif.
371 %description -n gvim-motif -l pl
372 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
375 %description -n gvim-motif -l ru
376 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
377 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
378 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
380 %description -n gvim-motif -l uk
381 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
382 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
383 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
386 Summary: Vim for X Window built with gtk
387 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GTK
388 Group: Applications/Editors/Vim
389 Requires: %{name}-rt = %{version}
393 %description -n gvim-gtk
394 The classic Unix text editor now also under X Window System! This
395 version is built with GTK.
397 %description -n gvim-gtk -l pl
398 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
401 %description -n gvim-gtk -l ru
402 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
403 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
404 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
407 %description -n gvim-gtk -l uk
408 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
409 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
410 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
412 %package -n gvim-gnome
413 Summary: Vim for X Window built with gnome
414 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GNOME
415 Group: Applications/Editors/Vim
416 Requires: %{name}-rt = %{version}
420 %description -n gvim-gnome
421 The classic Unix text editor now also under X Window System! This
422 version is build with GNOME.
424 %description -n gvim-gnome -l pl
425 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
428 %description -n gvim-gnome -l ru
429 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
430 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
431 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
433 %description -n gvim-gnome -l uk
434 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
435 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
436 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
439 ## setup -q -b1 -b2 -n %{name}%(echo %{version} | sed -e "s#\.##g")
440 %setup -q -b1 -b2 -a3 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
445 # skiping patches that are for "extra" package and apply the rest of official patches
446 for f in patches/6.1.* ; do
447 echo "Applying official patch `basename $f` ..."
468 # needed to prevent deconfiguring
471 %if %{!?_without_static:1}%{?_without_static:0}
473 LDFLAGS="%{rpmldflags} -static"
477 --disable-perlinterp \
478 --disable-pythoninterp \
479 --disable-rubyinterp \
480 --disable-tclinterp \
483 --disable-multibyte \
484 --with-features=small \
488 %{__make} SPELL_OBJ= vim
490 LDFLAGS="%{rpmldflags}"
496 %{!?_with_perl:--disable-perlinterp} \
497 %{?_with_perl:--enable-perlinterp} \
498 %{!?_with_python:--disable-pythoninterp} \
499 %{?_with_python:--enable-pythoninterp} \
500 %{!?_with_ruby:--disable-rubyinterp} \
501 %{?_with_ruby:--enable-rubyinterp} \
502 %{!?_with_tcl:--disable-tclinterp} \
503 %{?_with_tcl:--enable-tclinterp} \
506 --with-features=huge \
508 --with-tlib=ncurses \
511 %{__make} SPELL_OBJ= vim
512 mv -f vim vim.ncurses
516 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
519 %{!?_with_perl:--disable-perlinterp} \
520 %{?_with_perl:--enable-perlinterp} \
521 %{!?_with_python:--disable-pythoninterp} \
522 %{?_with_python:--enable-pythoninterp} \
523 %{!?_with_ruby:--disable-rubyinterp} \
524 %{?_with_ruby:--enable-rubyinterp} \
525 %{!?_with_tcl:--disable-tclinterp} \
526 %{?_with_tcl:--enable-tclinterp} \
529 --with-features=huge \
531 --with-tlib=ncurses \
537 %if %{!?_without_athena:1}%{?_without_athena:0}
539 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
540 --with-features=huge \
541 --enable-gui=athena \
543 %{!?_with_perl:--disable-perlinterp} \
544 %{?_with_perl:--enable-perlinterp} \
545 %{!?_with_python:--disable-pythoninterp} \
546 %{?_with_python:--enable-pythoninterp} \
547 %{!?_with_ruby:--disable-rubyinterp} \
548 %{?_with_ruby:--enable-rubyinterp} \
549 %{!?_with_tcl:--disable-tclinterp} \
550 %{?_with_tcl:--enable-tclinterp} \
557 mv -f vim gvim.athena
560 %if %{!?_without_motif:1}%{?_without_motif:0}
562 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
563 --with-features=huge \
566 %{!?_with_perl:--disable-perlinterp} \
567 %{?_with_perl:--enable-perlinterp} \
568 %{!?_with_python:--disable-pythoninterp} \
569 %{?_with_python:--enable-pythoninterp} \
570 %{!?_with_ruby:--disable-rubyinterp} \
571 %{?_with_ruby:--enable-rubyinterp} \
572 %{!?_with_tcl:--disable-tclinterp} \
573 %{?_with_tcl:--enable-tclinterp} \
584 %if %{!?_without_gtk:1}%{?_without_gtk:0}
586 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
587 --with-features=huge \
588 --enable-gui=gtk%{!?_with_gtk1:2} \
589 %{!?_with_gtk1:--enable-gtk2-check} \
591 %{!?_with_perl:--disable-perlinterp} \
592 %{?_with_perl:--enable-perlinterp} \
593 %{!?_with_python:--disable-pythoninterp} \
594 %{?_with_python:--enable-pythoninterp} \
595 %{!?_with_ruby:--disable-rubyinterp} \
596 %{?_with_ruby:--enable-rubyinterp} \
597 %{!?_with_tcl:--disable-tclinterp} \
598 %{?_with_tcl:--enable-tclinterp} \
601 %{?_with_gtk1:--enable-fontset} \
607 %if %{!?_without_gnome:1}%{?_without_gnome:0}
609 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
610 --with-features=huge \
611 --enable-gui=gnome%{!?_with_gtk1:2} \
612 %{!?_with_gtk1:--enable-gtk2-check} \
613 %{!?_with_gtk1:--enable-gnome-check} \
615 %{!?_with_perl:--disable-perlinterp} \
616 %{?_with_perl:--enable-perlinterp} \
617 %{!?_with_python:--disable-pythoninterp} \
618 %{?_with_python:--enable-pythoninterp} \
619 %{!?_with_ruby:--disable-rubyinterp} \
620 %{?_with_ruby:--enable-rubyinterp} \
621 %{!?_with_tcl:--disable-tclinterp} \
622 %{?_with_tcl:--enable-tclinterp} \
625 %{?_with_gtk1:--enable-fontset} \
632 rm -rf $RPM_BUILD_ROOT
633 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
634 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
635 $RPM_BUILD_ROOT%{_applnkdir}/Editors \
636 $RPM_BUILD_ROOT%{_datadir}/applications \
638 %{__make} install DESTDIR=$RPM_BUILD_ROOT
639 rm -f $RPM_BUILD_ROOT%{_bindir}/*
641 %{!?_without_static:install src/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim}
642 %{?_without_static:install src/vim.ncurses $RPM_BUILD_ROOT/bin/vi}
643 %{!?_without_static:install src/vim.static $RPM_BUILD_ROOT/bin/vi}
644 %{?_without_static:ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim}
645 install src/vim.ispell $RPM_BUILD_ROOT%{_bindir}/vim.ispell
646 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
647 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
649 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
651 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
652 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
654 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
656 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
657 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
658 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
659 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
660 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
663 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
664 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
666 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
667 ln -sf vi $RPM_BUILD_ROOT/bin/ex
668 ln -sf vi $RPM_BUILD_ROOT/bin/view
669 ln -sf vi $RPM_BUILD_ROOT/bin/rview
671 %{!?_without_athena:install src/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena}
672 %{!?_without_motif: install src/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif}
673 %{!?_without_gtk: install src/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk}
674 %{!?_without_gnome: install src/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome}
676 %{!?_without_gtk:ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim}
677 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim}
678 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview}
679 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview}
681 %{!?_without_athena:install %{SOURCE10} $RPM_BUILD_ROOT%{_applnkdir}/Editors}
682 %{!?_without_motif: install %{SOURCE11} $RPM_BUILD_ROOT%{_applnkdir}/Editors}
683 %{!?_without_gtk: install %{SOURCE12} $RPM_BUILD_ROOT%{_applnkdir}/Editors}
684 %{!?_without_gnome: install %{SOURCE13} $RPM_BUILD_ROOT%{_datadir}/applications}
686 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
689 rm -rf $RPM_BUILD_ROOT
692 %defattr(644,root,root,755)
693 %attr(755,root,root) %{_bindir}/vim
694 %attr(755,root,root) %{_bindir}/rvim
697 %defattr(644,root,root,755)
698 %attr(755,root,root) %{_bindir}/vim.ispell
701 %defattr(644,root,root,755)
702 %attr(755,root,root) %{_bindir}/xxd
703 %{_mandir}/man1/xxd.1*
706 %defattr(644,root,root,755)
707 %attr(755,root,root) /bin/*
709 %{_mandir}/man1/vi.1*
710 %{_mandir}/man1/ex.1*
711 %{_mandir}/man1/view.1*
712 %{_mandir}/man1/rview.1*
713 %lang(fi) %{_mandir}/fi/man1/vi.1*
714 %lang(fi) %{_mandir}/fi/man1/ex.1*
715 %lang(fi) %{_mandir}/fi/man1/view.1*
716 %lang(fi) %{_mandir}/fi/man1/rview.1*
717 %lang(fr) %{_mandir}/fr/man1/vi.1*
718 %lang(fr) %{_mandir}/fr/man1/ex.1*
719 %lang(fr) %{_mandir}/fr/man1/view.1*
720 %lang(fr) %{_mandir}/fr/man1/rview.1*
721 %lang(id) %{_mandir}/id/man1/vi.1*
722 %lang(id) %{_mandir}/id/man1/ex.1*
723 %lang(id) %{_mandir}/id/man1/view.1*
724 %lang(id) %{_mandir}/id/man1/rview.1*
725 %lang(pl) %{_mandir}/pl/man1/vi.1*
726 %lang(pl) %{_mandir}/pl/man1/ex.1*
727 %lang(pl) %{_mandir}/pl/man1/view.1*
728 %lang(pl) %{_mandir}/pl/man1/rview.1*
731 %defattr(644,root,root,755)
732 %attr(755,root,root) %{_bindir}/vimtutor
733 %dir %{_sysconfdir}/vim
734 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
735 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
738 %dir %{_datadir}/vim/v*
739 %dir %{_datadir}/vim/v*/doc
740 %{_datadir}/vim/v*/doc/*.txt
741 %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags
742 %{_datadir}/vim/v*/ftplugin
743 %{_datadir}/vim/v*/indent
744 %{_datadir}/vim/v*/keymap
745 %dir %{_datadir}/vim/v*/lang
746 %{_datadir}/vim/v*/lang/README*
748 %lang(af) %{_datadir}/vim/v*/lang/af
749 %lang(cs) %{_datadir}/vim/v*/lang/cs
750 %lang(de) %{_datadir}/vim/v*/lang/de
751 %lang(es) %{_datadir}/vim/v*/lang/es
752 %lang(fr) %{_datadir}/vim/v*/lang/fr
753 %lang(it) %{_datadir}/vim/v*/lang/it
754 %lang(ja) %{_datadir}/vim/v*/lang/ja*
755 %lang(ko) %{_datadir}/vim/v*/lang/ko
756 %lang(pl) %{_datadir}/vim/v*/lang/pl
757 %lang(sk) %{_datadir}/vim/v*/lang/sk
758 #%lang(tr) %{_datadir}/vim/v*/lang/tr
759 %lang(uk) %{_datadir}/vim/v*/lang/uk
760 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
761 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
763 %lang(af) %{_datadir}/vim/v*/lang/menu_af_af*
764 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs_cz*
765 %lang(de) %{_datadir}/vim/v*/lang/menu_de_de*
766 %lang(es) %{_datadir}/vim/v*/lang/menu_es_es*
767 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr_fr*
768 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu_hu*
769 %lang(it) %{_datadir}/vim/v*/lang/menu_it_it*
770 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja_jp*
771 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko_kr*
772 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl_nl*
773 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl_pl*
774 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk_sk*
775 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
776 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
778 %{_datadir}/vim/v*/macros
779 %{_datadir}/vim/v*/plugin
780 %{_datadir}/vim/v*/syntax
781 %{_datadir}/vim/v*/tutor
782 %{_datadir}/vim/v*/colors
783 %{_datadir}/vim/v*/compiler
784 %{_datadir}/vim/v*/*.vim
785 %{_datadir}/vim/v*/*.ps
788 %{_mandir}/man1/rvim.*
789 %lang(fi) %{_mandir}/fi/man1/vim*
790 %lang(fi) %{_mandir}/fi/man1/rvim.*
791 %lang(fi) %{_mandir}/fi/man1/gvi*
792 %lang(fi) %{_mandir}/fi/man1/rgv*
793 %lang(fr) %{_mandir}/fr/man1/vim*
794 %lang(fr) %{_mandir}/fr/man1/rvim.*
795 %lang(fr) %{_mandir}/fr/man1/gvi*
796 %lang(fr) %{_mandir}/fr/man1/rgv*
797 %lang(id) %{_mandir}/id/man1/vim*
798 %lang(id) %{_mandir}/id/man1/rvim.*
799 %lang(id) %{_mandir}/id/man1/gvi*
800 %lang(id) %{_mandir}/id/man1/rgv*
801 %lang(it) %{_mandir}/it/man1/vim*
802 %lang(pl) %{_mandir}/pl/man1/vim*
803 %lang(pl) %{_mandir}/pl/man1/rvim.*
804 %lang(pl) %{_mandir}/pl/man1/gvi*
805 %lang(pl) %{_mandir}/pl/man1/rgv*
807 %if %{!?_without_athena:1}%{?_without_athena:0}
808 %files -n gvim-athena
809 %defattr(644,root,root,755)
810 %attr(755,root,root) %{_bindir}/gvim.athena
811 %{_applnkdir}/Editors/gvim-athena.desktop
814 %if %{!?_without_motif:1}%{?_without_motif:0}
816 %defattr(644,root,root,755)
817 %attr(755,root,root) %{_bindir}/gvim.motif
818 %{_applnkdir}/Editors/gvim-motif.desktop
821 %if %{!?_without_gtk:1}%{?_without_gtk:0}
823 %defattr(644,root,root,755)
824 %attr(755,root,root) %{_bindir}/gvim.gtk
825 %attr(755,root,root) %{_bindir}/rgvim
826 %attr(755,root,root) %{_bindir}/rgview
827 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
828 %{_applnkdir}/Editors/gvim-gtk.desktop
831 %if %{!?_without_gnome:1}%{?_without_gnome:0}
833 %defattr(644,root,root,755)
834 %attr(755,root,root) %{_bindir}/gvim.gnome
835 %{_datadir}/applications/gvim-gnome.desktop