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_perl - with perl interp
9 # _with_python - with python interp
10 # _with_ruby - with ruby interp
11 # _with_tcl - with tcl interp
14 %define _patchlevel 063
16 Summary: Vi IMproved - a Vi clone
17 Summary(de): VIsual editor iMproved
18 Summary(es): Editor visual incrementado
19 Summary(fr): Editeur VIM : VIsual editor iMproved
20 Summary(pl): Vi IMproved - klon edytora Vi
21 Summary(pt_BR): Editor visual incrementado
22 Summary(ru): Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
23 Summary(tr): Geliþmiþ bir vi sürümü
24 Summary(uk): Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
26 Version: %{_ver}.%{_patchlevel}
30 Group: Applications/Editors/Vim
31 Source0: ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
32 Source1: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
33 Source2: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-extra.tar.gz
34 # packed from ftp://ftp.vim.org/pub/editors/vim/patches/6.1.*
35 Source3: %{name}-patches-%{_ver}.%{_patchlevel}.tar.bz2
36 Source4: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
37 Source10: g%{name}-athena.desktop
38 Source11: g%{name}-motif.desktop
39 Source12: g%{name}-gtk.desktop
40 Source13: g%{name}-gnome.desktop
41 Patch0: %{name}-sysconfdir.patch
42 Patch1: %{name}-visual.patch
43 Patch2: %{name}-paths.patch
44 Patch3: %{name}-ispell.patch
45 Patch4: %{name}-ispell-axp.patch
46 Patch5: %{name}-ac25x.patch
47 Patch6: %{name}-vimrc.patch
48 Patch7: %{name}-libacl_fix.patch
49 URL: http://www.vim.org/
50 BuildRequires: autoconf
51 BuildRequires: gettext-devel
52 BuildRequires: gpm-devel
53 BuildRequires: ncurses-devel
54 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
55 %{!?_without_gtk:BuildRequires: gtk+-devel}
56 %{!?_without_motif:BuildRequires: motif-devel}
57 %{!?_without_static:BuildRequires: glibc-static}
58 %{!?_without_static:BuildRequires: ncurses-static}
59 %{?_with_perl:BuildRequires: perl-devel}
60 %{?_with_python:BuildRequires: python-devel}
61 %{?_with_ruby:BuildRequires: ruby}
62 %{?_with_tcl:BuildRequires: tcl-devel}
63 Requires: %{name}-rt = %{version}
64 %{?_without_static:Requires: %{name}-static = %{version}}
65 Obsoletes: vim-enhanced
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69 Text editor similar to Vi. Important improvements: multiple windows,
70 multi-level undo, block highliting, folding, and many other.
73 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
74 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
75 populární. ViM je obohacený funkcemi jako: podpora více oken,
76 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
80 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
81 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
82 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
83 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
87 El editor Visual Mejorado es una versión actualizada y con nuevas
88 características adicionales del mundialmente famoso 'vi' que acompaña
89 prácticamente todos los sistemas UN*X. Posibilita trabajar con
90 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
91 otras muchas características del 'vi'.
94 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
95 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
96 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
97 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
98 blocs et autres caractéristiques au vi de base.
101 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
102 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
103 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
104 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
105 windows, multi-level undo, block highlighting, dll.
108 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
109 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
110 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
111 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
115 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
116 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
117 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
118 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
122 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
123 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
124 folding i wiele innych.
127 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
128 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
129 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
130 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
133 %description -l pt_BR
134 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
135 características do mundialmente famoso 'vi' que acompanha praticamente
136 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
137 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
138 outras características do 'vi'.
141 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
142 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
143 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
144 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
147 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
148 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
149 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
150 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
153 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
154 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
155 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
156 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
160 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
161 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
164 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
165 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
166 Ã¦Ê ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉÊ ×¦ÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
167 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
170 Summary: Utility to convert files to hexdump or do the reverse
171 Summary(pl): Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
172 Group: Applications/Editors/Vim
175 xxd creates a hex dump of a given file or standard input. It can also
176 convert a hex dump back to its original binary form. Like uuencode and
177 uudecode it allows the transmission of binary data in a `mail-safe'
178 ASCII representation, but has the advantage of decoding to standard
179 output. Moreover, it can be used to perform binary file patching.
181 %description -n xxd -l pl
182 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
183 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
184 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
185 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
186 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
189 Summary: Statically linked Vim
190 Summary(pl): Statycznie skonsolidowany Vim
191 Group: Applications/Editors/Vim
194 Obsoletes: elvis-static
196 Obsoletes: vim-minimal
199 Text editor similar to Vi. This version is built with minimal feature
200 and is installed in /bin as a rescue tool. The installation of this
201 package is STRONGLY recommended.
203 %description static -l pl
204 Edytor tekstu podobny do Vi. Ta wersja zosta³a zlinkowana statycznie i
205 posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin jako
206 narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
207 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
209 %description static -l ru
210 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
211 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
214 %description static -l uk
215 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
216 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
219 Summary: Vim with ispell support
220 Summary(pl): Vim z wsparciem dla ispella
221 Group: Applications/Editors/Vim
222 Requires: %{name}-rt = %{version}
225 Text editor similar to Vi. This version is built with ispell support.
227 %description ispell -l pl
228 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
229 wsparciem dla ispella.
232 Summary: Vim runtime files
233 Summary(cs): Soubory nezbytné pro libovolný editor ViM
234 Summary(da): Fælles filer som er nødvendige for enhver version af VIM editoren
235 Summary(de): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
236 Summary(es): Ficheros comunes a todas las versiones de VIM
237 Summary(fr): Fichiers communs indispensables pour toute version de l'éditeur VIM
238 Summary(id): File umum yang dibutuhkan oleh semua versi editor VIM
239 Summary(is): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
240 Summary(it): File comuni necessari per tutte le versioni dell'editor VIM
241 Summary(ja): ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
242 Summary(no): Felles filer som er nødvendige for enhver versjon av VIM editoren
243 Summary(pl): Pliki przydatne edytorowi Vim
244 Summary(pt): Os ficheiros comuns necessários para qualquer versão do editor VIM
245 Summary(ru): æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
246 Summary(sk): Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
247 Summary(sl): Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
248 Summary(sv): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
249 Summary(uk): æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
250 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
251 Group: Applications/Editors/Vim
254 Obsoletes: vim-common
257 This package contains macros, documentation, syntax configuration and
258 manual pages for Vim. If you want to take advantage of Vim more
259 powerful features, you should install this package.
261 %description rt -l cs
262 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
265 %description rt -l da
266 The vim-rt package contains files which every VIM binary will need in
269 %description rt -l de
270 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
273 %description rt -l es
274 The vim-rt package contains files which every VIM binary will need in
277 %description rt -l fr
278 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
279 VIM a besoin pour fonctionner.
281 %description rt -l id
282 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
285 %description rt -l is
286 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
289 %description rt -l it
290 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
291 per poter funzionare.
293 %description rt -l pl
294 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
295 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
296 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
298 %description rt -l pt
299 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
300 irão necessitar para correr.
302 %description rt -l ru
303 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
304 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
306 %description rt -l sk
307 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
308 funkciu ka¾dá verzia editoru VIM.
310 %description rt -l sv
311 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
314 %description rt -l uk
315 ðÁËÅÔ vim-rt ͦÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
316 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
318 %package -n gvim-athena
319 Summary: Vim for X Window built with Athena
320 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Athena
321 Group: Applications/Editors/Vim
322 Requires: %{name}-rt = %{version}
326 %description -n gvim-athena
327 The classic Unix text editor now also under X Window System! This
328 version is built with Athena Widget Set.
330 %description -n gvim-athena -l pl
331 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
332 biblioteki Athena Widget Set.
334 %description -n gvim-athena -l ru
335 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
336 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
337 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
339 %description -n gvim-athena -l uk
340 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Athena Widget
341 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
342 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
344 %package -n gvim-motif
345 Summary: Vim for X Window built with Motif
346 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Motif
347 Group: Applications/Editors/Vim
348 Requires: %{name}-rt = %{version}
352 %description -n gvim-motif
353 The classic Unix text editor now also under X Window System! This
354 version is built with Motif.
356 %description -n gvim-motif -l pl
357 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
360 %description -n gvim-motif -l ru
361 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
362 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
363 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
365 %description -n gvim-motif -l uk
366 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
367 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
368 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
371 Summary: Vim for X Window built with gtk
372 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GTK
373 Group: Applications/Editors/Vim
374 Requires: %{name}-rt = %{version}
378 %description -n gvim-gtk
379 The classic Unix text editor now also under X Window System! This
380 version is built with GTK.
382 %description -n gvim-gtk -l pl
383 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
386 %description -n gvim-gtk -l ru
387 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
388 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
389 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
392 %description -n gvim-gtk -l uk
393 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
394 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
395 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
397 %package -n gvim-gnome
398 Summary: Vim for X Window built with gnome
399 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GNOME
400 Group: Applications/Editors/Vim
401 Requires: %{name}-rt = %{version}
405 %description -n gvim-gnome
406 The classic Unix text editor now also under X Window System! This
407 version is build with GNOME.
409 %description -n gvim-gnome -l pl
410 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
413 %description -n gvim-gnome -l ru
414 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
415 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
416 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
418 %description -n gvim-gnome -l uk
419 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
420 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
421 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
424 ## setup -q -b1 -b2 -n %{name}%(echo %{version} | sed -e "s#\.##g")
425 %setup -q -b1 -b2 -a3 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
427 # skiping patches that are for "extra" package and apply the rest of official patches
428 for f in patches/6.1.* ; do
429 echo "Applying official patch `basename $f` ..."
447 # needed to prevent deconfiguring
450 %if %{!?_without_static:1}%{?_without_static:0}
452 LDFLAGS="%{rpmldflags} -static"
456 --disable-perlinterp \
457 --disable-pythoninterp \
458 --disable-rubyinterp \
459 --disable-tclinterp \
462 --disable-multibyte \
463 --with-features=small \
467 %{__make} SPELL_OBJ= vim
469 LDFLAGS="%{rpmldflags}"
475 %{!?_with_perl:--disable-perlinterp} \
476 %{?_with_perl:--enable-perlinterp} \
477 %{!?_with_python:--disable-pythoninterp} \
478 %{?_with_python:--enable-pythoninterp} \
479 %{!?_with_ruby:--disable-rubyinterp} \
480 %{?_with_ruby:--enable-rubyinterp} \
481 %{!?_with_tcl:--disable-tclinterp} \
482 %{?_with_tcl:--enable-tclinterp} \
485 --with-features=huge \
487 --with-tlib=ncurses \
490 %{__make} SPELL_OBJ= vim
491 mv -f vim vim.ncurses
495 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
498 %{!?_with_perl:--disable-perlinterp} \
499 %{?_with_perl:--enable-perlinterp} \
500 %{!?_with_python:--disable-pythoninterp} \
501 %{?_with_python:--enable-pythoninterp} \
502 %{!?_with_ruby:--disable-rubyinterp} \
503 %{?_with_ruby:--enable-rubyinterp} \
504 %{!?_with_tcl:--disable-tclinterp} \
505 %{?_with_tcl:--enable-tclinterp} \
508 --with-features=huge \
510 --with-tlib=ncurses \
516 %if %{!?_without_athena:1}%{?_without_athena:0}
518 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
519 --with-features=huge \
520 --enable-gui=athena \
522 %{!?_with_perl:--disable-perlinterp} \
523 %{?_with_perl:--enable-perlinterp} \
524 %{!?_with_python:--disable-pythoninterp} \
525 %{?_with_python:--enable-pythoninterp} \
526 %{!?_with_ruby:--disable-rubyinterp} \
527 %{?_with_ruby:--enable-rubyinterp} \
528 %{!?_with_tcl:--disable-tclinterp} \
529 %{?_with_tcl:--enable-tclinterp} \
536 mv -f vim gvim.athena
539 %if %{!?_without_motif:1}%{?_without_motif:0}
541 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
542 --with-features=huge \
545 %{!?_with_perl:--disable-perlinterp} \
546 %{?_with_perl:--enable-perlinterp} \
547 %{!?_with_python:--disable-pythoninterp} \
548 %{?_with_python:--enable-pythoninterp} \
549 %{!?_with_ruby:--disable-rubyinterp} \
550 %{?_with_ruby:--enable-rubyinterp} \
551 %{!?_with_tcl:--disable-tclinterp} \
552 %{?_with_tcl:--enable-tclinterp} \
563 %if %{!?_without_gtk:1}%{?_without_gtk:0}
565 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
566 --with-features=huge \
569 %{!?_with_perl:--disable-perlinterp} \
570 %{?_with_perl:--enable-perlinterp} \
571 %{!?_with_python:--disable-pythoninterp} \
572 %{?_with_python:--enable-pythoninterp} \
573 %{!?_with_ruby:--disable-rubyinterp} \
574 %{?_with_ruby:--enable-rubyinterp} \
575 %{!?_with_tcl:--disable-tclinterp} \
576 %{?_with_tcl:--enable-tclinterp} \
585 %if %{!?_without_gnome:1}%{?_without_gnome:0}
587 %configure CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
588 --with-features=huge \
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} \
608 rm -rf $RPM_BUILD_ROOT
609 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
610 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
611 $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_applnkdir}/Development/Editors}
613 %{__make} install DESTDIR=$RPM_BUILD_ROOT
614 rm -f $RPM_BUILD_ROOT%{_bindir}/*
616 %{!?_without_static:install src/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim}
617 %{?_without_static:install src/vim.ncurses $RPM_BUILD_ROOT/bin/vi}
618 %{!?_without_static:install src/vim.static $RPM_BUILD_ROOT/bin/vi}
619 %{?_without_static:ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim}
620 install src/vim.ispell $RPM_BUILD_ROOT%{_bindir}/vim.ispell
621 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
622 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
624 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
626 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
627 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
629 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
631 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
632 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
633 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
634 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
635 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
638 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
639 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
641 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
642 ln -sf vi $RPM_BUILD_ROOT/bin/ex
643 ln -sf vi $RPM_BUILD_ROOT/bin/view
644 ln -sf vi $RPM_BUILD_ROOT/bin/rview
646 %{!?_without_athena:install src/gvim.athena $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.athena}
647 %{!?_without_motif: install src/gvim.motif $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.motif}
648 %{!?_without_gtk: install src/gvim.gtk $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gtk}
649 %{!?_without_gnome: install src/gvim.gnome $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gnome}
651 %{!?_without_gtk:ln -sf gvim.gtk $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim}
652 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgvim}
653 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gview}
654 %{!?_without_gtk:ln -sf gvim $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgview}
656 %{!?_without_athena:install %{SOURCE10} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
657 %{!?_without_motif: install %{SOURCE11} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
658 %{!?_without_gtk: install %{SOURCE12} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
659 %{!?_without_gnome: install %{SOURCE13} $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
661 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
664 rm -rf $RPM_BUILD_ROOT
667 %defattr(644,root,root,755)
668 %attr(755,root,root) %{_bindir}/vim
669 %attr(755,root,root) %{_bindir}/rvim
672 %defattr(644,root,root,755)
673 %attr(755,root,root) %{_bindir}/vim.ispell
676 %defattr(644,root,root,755)
677 %attr(755,root,root) %{_bindir}/xxd
678 %{_mandir}/man1/xxd.1*
681 %defattr(644,root,root,755)
682 %attr(755,root,root) /bin/*
684 %{_mandir}/man1/vi.1*
685 %{_mandir}/man1/ex.1*
686 %{_mandir}/man1/view.1*
687 %{_mandir}/man1/rview.1*
688 %lang(fi) %{_mandir}/fi/man1/vi.1*
689 %lang(fi) %{_mandir}/fi/man1/ex.1*
690 %lang(fi) %{_mandir}/fi/man1/view.1*
691 %lang(fi) %{_mandir}/fi/man1/rview.1*
692 %lang(fr) %{_mandir}/fr/man1/vi.1*
693 %lang(fr) %{_mandir}/fr/man1/ex.1*
694 %lang(fr) %{_mandir}/fr/man1/view.1*
695 %lang(fr) %{_mandir}/fr/man1/rview.1*
696 %lang(id) %{_mandir}/id/man1/vi.1*
697 %lang(id) %{_mandir}/id/man1/ex.1*
698 %lang(id) %{_mandir}/id/man1/view.1*
699 %lang(id) %{_mandir}/id/man1/rview.1*
700 %lang(pl) %{_mandir}/pl/man1/vi.1*
701 %lang(pl) %{_mandir}/pl/man1/ex.1*
702 %lang(pl) %{_mandir}/pl/man1/view.1*
703 %lang(pl) %{_mandir}/pl/man1/rview.1*
706 %defattr(644,root,root,755)
707 %attr(755,root,root) %{_bindir}/vimtutor
708 %dir %{_sysconfdir}/vim
709 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
710 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
713 %dir %{_datadir}/vim/v*
714 %dir %{_datadir}/vim/v*/doc
715 %{_datadir}/vim/v*/doc/*.txt
716 %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags
717 %{_datadir}/vim/v*/ftplugin
718 %{_datadir}/vim/v*/indent
719 %{_datadir}/vim/v*/keymap
720 %dir %{_datadir}/vim/v*/lang
721 %{_datadir}/vim/v*/lang/README*
723 %lang(af) %{_datadir}/vim/v*/lang/af
724 %lang(de) %{_datadir}/vim/v*/lang/de
725 %lang(es) %{_datadir}/vim/v*/lang/es
726 %lang(fr) %{_datadir}/vim/v*/lang/fr
727 %lang(it) %{_datadir}/vim/v*/lang/it
728 %lang(ja) %{_datadir}/vim/v*/lang/ja*
729 %lang(ko) %{_datadir}/vim/v*/lang/ko
730 %lang(pl) %{_datadir}/vim/v*/lang/pl
731 %lang(sk) %{_datadir}/vim/v*/lang/sk
732 #%lang(tr) %{_datadir}/vim/v*/lang/tr
733 %lang(uk) %{_datadir}/vim/v*/lang/uk
734 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
735 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
737 %lang(af) %{_datadir}/vim/v*/lang/menu_af_af*
738 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs_cz*
739 %lang(de) %{_datadir}/vim/v*/lang/menu_de_de*
740 %lang(es) %{_datadir}/vim/v*/lang/menu_es_es*
741 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr_fr*
742 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu_hu*
743 %lang(it) %{_datadir}/vim/v*/lang/menu_it_it*
744 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja_jp*
745 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko_kr*
746 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl_nl*
747 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl_pl*
748 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk_sk*
749 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
750 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
752 %{_datadir}/vim/v*/macros
753 %{_datadir}/vim/v*/plugin
754 %{_datadir}/vim/v*/syntax
755 %{_datadir}/vim/v*/tutor
756 %{_datadir}/vim/v*/colors
757 %{_datadir}/vim/v*/compiler
758 %{_datadir}/vim/v*/*.vim
759 %{_datadir}/vim/v*/*.ps
762 %{_mandir}/man1/rvim.*
763 %lang(fi) %{_mandir}/fi/man1/vim*
764 %lang(fi) %{_mandir}/fi/man1/rvim.*
765 %lang(fr) %{_mandir}/fr/man1/vim*
766 %lang(fr) %{_mandir}/fr/man1/rvim.*
767 %lang(id) %{_mandir}/id/man1/vim*
768 %lang(id) %{_mandir}/id/man1/rvim.*
769 %lang(it) %{_mandir}/it/man1/vim*
770 %lang(pl) %{_mandir}/pl/man1/vim*
771 %lang(pl) %{_mandir}/pl/man1/rvim.*
773 %if %{!?_without_athena:1}%{?_without_athena:0}
774 %files -n gvim-athena
775 %defattr(644,root,root,755)
776 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.athena
777 %{_applnkdir}/Development/Editors/gvim-athena.desktop
780 %if %{!?_without_motif:1}%{?_without_motif:0}
782 %defattr(644,root,root,755)
783 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.motif
784 %{_applnkdir}/Development/Editors/gvim-motif.desktop
787 %if %{!?_without_gtk:1}%{?_without_gtk:0}
789 %defattr(644,root,root,755)
790 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gtk
791 %attr(755,root,root) %{_prefix}/X11R6/bin/rgvim
792 %attr(755,root,root) %{_prefix}/X11R6/bin/rgview
793 %attr(755,root,root) %verify(not link) %{_prefix}/X11R6/bin/gvim
794 %{_applnkdir}/Development/Editors/gvim-gtk.desktop
797 %if %{!?_without_gnome:1}%{?_without_gnome:0}
799 %defattr(644,root,root,755)
800 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gnome
801 %{_applnkdir}/Development/Editors/gvim-gnome.desktop