3 %bcond_without static # don't build static version
4 %bcond_without athena # don't build Athena Widgets-based gvim
5 %bcond_without motif # don't build Motif-based gvim
6 %bcond_without gtk # don't build GTK+-based gvim support
7 %bcond_without gnome # don't build GNOME-based gvim support
8 %bcond_without kde # don't build kvim
9 %bcond_without perl # without Perl interp
10 %bcond_without python # with Python interp
11 %bcond_with ruby # with Ruby interp
12 %bcond_with tcl # with Tcl interp
13 %bcond_with bonobo # with bonobo component (breaks other things)
14 %bcond_without selinux # without selinux support
15 %bcond_without ispell # don't build vim.ispell
16 %bcond_without home_etc # without home_etc support
19 %define _patchlevel 071
21 Summary: Vi IMproved - a Vi clone
22 Summary(de): VIsual editor iMproved
23 Summary(es): Editor visual incrementado
24 Summary(fr): Editeur VIM : VIsual editor iMproved
25 Summary(pl): Vi IMproved - klon edytora Vi
26 Summary(pt_BR): Editor visual incrementado
27 Summary(ru): Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
28 Summary(tr): Geliþmiþ bir vi sürümü
29 Summary(uk): Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
31 Version: %{_ver}.%{_patchlevel}
35 Group: Applications/Editors/Vim
36 Source0: ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
37 # Source0-md5: 821fda8f14d674346b87e3ef9cb96389
38 Source1: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
39 # Source1-md5: 5395c4dacbf1c5008b22c4b86794e8a7
40 Source2: ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-extra.tar.gz
41 # Source2-md5: 6e4bd6c8122bcb9dc576514bdb52484e
42 Source4: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
43 # Source4-md5: bc4d1e115ca506ad7751b9bd2b773a7f
44 Source5: http://freenux.org/kvim/kvim-runtime-6.2.14.tar.bz2
45 # Source5-md5: 6f633e79bcf5f35918bb0bff6850a971
46 Source6: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
47 # Source6-md5: ff96284b1c913d55cf0877839b34d490
48 Source10: g%{name}-athena.desktop
49 Source11: g%{name}-motif.desktop
50 Source12: g%{name}-gtk.desktop
51 Source13: g%{name}-gnome.desktop
52 Source14: %{name}.desktop
53 # http://www.vim.org/scripts/script.php?script_id=1120
55 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
58 Patch0: %{name}-sysconfdir.patch
59 Patch1: %{name}-visual.patch
60 Patch2: %{name}-paths.patch
61 Patch3: %{name}-ispell.patch
62 Patch4: %{name}-ispell-axp.patch
63 Patch5: %{name}-%{name}rc.patch
64 Patch6: %{name}-no_libelf.patch
65 Patch7: %{name}-egrep.patch
66 Patch8: k%{name}-desktop.patch
67 Patch11: %{name}-bonobo.patch
68 Patch12: %{name}-home_etc.patch
69 Patch13: %{name}-selinux.patch
70 Patch15: %{name}-po.patch
71 Patch16: %{name}-filetype_vim-perl_tests.patch
72 Patch17: %{name}-pl.po.patch
73 Patch18: %{name}-po-syntax.patch
74 Patch19: %{name}-modprobe.patch
75 Patch20: %{name}-CAN-2005-0069.patch
76 Patch21: %{name}-gtkfilechooser.patch
77 Patch22: %{name}-doubleparenthesis.patch
79 Patch99: http://www.opensky.ca/gnome-vim/vim-patches/%{name}-bonobo-20040115.patch
80 Patch101: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.001
81 Patch102: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.002
82 Patch103: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.003
83 Patch104: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.004
84 Patch105: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.005
85 Patch106: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.006
86 Patch107: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.007
87 Patch108: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.008
88 Patch109: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.009
89 Patch110: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.010
90 Patch111: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.011
91 Patch112: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.012
92 Patch113: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.013
93 Patch114: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.014
94 Patch115: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.015
95 Patch116: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.016
96 Patch117: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.017
97 Patch118: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.018
98 Patch119: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.019
99 Patch120: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.020
100 Patch121: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.021
101 Patch122: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.022
102 Patch123: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.023
103 Patch124: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.024
104 Patch125: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.025
105 Patch126: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.026
106 Patch127: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.027
107 Patch128: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.028
108 Patch129: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.029
109 Patch130: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.030
110 Patch131: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.031
111 Patch132: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.032
112 Patch133: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.033
113 Patch134: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.034
114 Patch135: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.035
115 Patch136: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.036
116 Patch137: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.037
117 Patch138: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.038
118 Patch139: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.039
119 Patch140: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.040
120 Patch141: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.041
121 Patch142: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.042
122 Patch143: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.043
123 Patch144: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.044
124 Patch145: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.045
125 Patch146: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.046
126 Patch147: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.047
127 Patch148: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.048
128 Patch149: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.049
129 Patch150: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.050
130 Patch151: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.051
131 Patch152: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.052
132 Patch153: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.053
133 Patch154: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.054
134 Patch155: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.055
135 Patch156: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.056
136 Patch157: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.057
137 Patch158: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.058
138 Patch159: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.059
139 Patch160: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.060
140 Patch161: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.061
141 Patch162: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.062
142 Patch163: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.063
143 Patch164: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.064
144 Patch165: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.065
145 Patch166: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.066
146 Patch167: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.067
147 Patch168: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.068
148 Patch169: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.069
149 Patch170: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.070
150 Patch171: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.071
151 Patch999: http://freenux.org/vim/%{name}2kvim-6.3b.diff.bz2
152 URL: http://www.vim.org/
153 %{?with_athena:BuildRequires: XFree86-devel}
154 BuildRequires: acl-devel
155 BuildRequires: autoconf
156 BuildRequires: gettext-devel
157 BuildRequires: gpm-devel
158 %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
159 %{?with_kde:BuildRequires: kdelibs-devel >= 9:3.0.0}
160 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
161 %{?with_selinux:BuildRequires: libselinux-devel}
162 %{?with_motif:BuildRequires: openmotif-devel}
163 BuildRequires: ncurses-devel
164 %{?with_perl:BuildRequires: perl-devel}
165 %{?with_python:BuildRequires: python-devel}
166 %{?with_ruby:BuildRequires: ruby}
167 %{?with_tcl:BuildRequires: tcl-devel}
169 BuildRequires: libgnomeui-devel >= 2.2.0.1
170 BuildRequires: ORBit2-devel
171 BuildRequires: libbonoboui-devel >= 2.2.0
172 BuildRequires: nautilus-devel >= 2.2.0
174 BuildRequires: rpmbuild(macros) >= 1.210
176 BuildRequires: acl-static
177 BuildRequires: attr-static
178 BuildRequires: glibc-static
179 %{?with_selinux:BuildRequires: libselinux-static}
180 BuildRequires: ncurses-static
182 Provides: %{name}-static = %{epoch}:%{version}-%{release}
183 Obsoletes: %{name}-static
184 Obsoletes: elvis-static
187 Obsoletes: vim-minimal
190 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
191 Obsoletes: vim-enhanced
192 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
194 # that's example script
195 %define _noautoreq '/bin/csh'
198 Text editor similar to Vi. Important improvements: multiple windows,
199 multi-level undo, block highliting, folding, and many other.
202 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
203 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
204 populární. ViM je obohacený funkcemi jako: podpora více oken,
205 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
209 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
210 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
211 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
212 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
213 Standard-vi-Programm.
216 El editor Visual Mejorado es una versión actualizada y con nuevas
217 características adicionales del mundialmente famoso 'vi' que acompaña
218 prácticamente todos los sistemas UN*X. Posibilita trabajar con
219 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
220 otras muchas características del 'vi'.
223 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
224 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
225 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
226 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
227 blocs et autres caractéristiques au vi de base.
230 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
231 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
232 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
233 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
234 windows, multi-level undo, block highlighting, dll.
237 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
238 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
239 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
240 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
244 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
245 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
246 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
247 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
251 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
252 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
253 folding i wiele innych.
256 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
257 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
258 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
259 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
262 %description -l pt_BR
263 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
264 características do mundialmente famoso 'vi' que acompanha praticamente
265 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
266 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
267 outras características do 'vi'.
270 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
271 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
272 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
273 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
276 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
277 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
278 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
279 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
282 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
283 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
284 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
285 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
289 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
290 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
293 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
294 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
295 Ã¦Ê ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉÊ ×¦ÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
296 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
299 Summary: Utility to convert files to hexdump or do the reverse
300 Summary(pl): Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
301 Group: Applications/Editors/Vim
304 xxd creates a hex dump of a given file or standard input. It can also
305 convert a hex dump back to its original binary form. Like uuencode and
306 uudecode it allows the transmission of binary data in a `mail-safe'
307 ASCII representation, but has the advantage of decoding to standard
308 output. Moreover, it can be used to perform binary file patching.
310 %description -n xxd -l pl
311 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
312 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
313 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
314 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
315 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
318 Summary: Statically linked Vim
319 Summary(pl): Statycznie skonsolidowany Vim
320 Group: Applications/Editors/Vim
322 Obsoletes: elvis-static
325 Obsoletes: vim-minimal
328 Text editor similar to Vi. This version is built with minimal feature
329 and is installed in /bin as a rescue tool. The installation of this
330 package is STRONGLY recommended.
332 %description static -l pl
333 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
334 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
335 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
336 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
338 %description static -l ru
339 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
340 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
343 %description static -l uk
344 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
345 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
348 Summary: Vim with ispell support
349 Summary(pl): Vim z wsparciem dla ispella
350 Group: Applications/Editors/Vim
351 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
352 Conflicts: ispell < 3.2.06
353 Conflicts: ispell-pl < 20021127-2
356 Text editor similar to Vi. This version is built with ispell support.
358 %description ispell -l pl
359 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
360 wsparciem dla ispella.
363 Summary: Vim runtime files
364 Summary(cs): Soubory nezbytné pro libovolný editor ViM
365 Summary(da): Fælles filer som er nødvendige for enhver version af VIM editoren
366 Summary(de): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
367 Summary(es): Ficheros comunes a todas las versiones de VIM
368 Summary(fr): Fichiers communs indispensables pour toute version de l'éditeur VIM
369 Summary(id): File umum yang dibutuhkan oleh semua versi editor VIM
370 Summary(is): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
371 Summary(it): File comuni necessari per tutte le versioni dell'editor VIM
372 Summary(ja): ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
373 Summary(nb): Felles filer som er nødvendige for enhver versjon av VIM editoren
374 Summary(pl): Pliki przydatne edytorowi Vim
375 Summary(pt): Os ficheiros comuns necessários para qualquer versão do editor VIM
376 Summary(ru): æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
377 Summary(sk): Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
378 Summary(sl): Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
379 Summary(sv): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
380 Summary(uk): æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
381 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
382 Group: Applications/Editors/Vim
385 Obsoletes: vim-common
388 This package contains macros, documentation, syntax configuration and
389 manual pages for Vim. If you want to take advantage of Vim more
390 powerful features, you should install this package.
392 %description rt -l cs
393 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
396 %description rt -l da
397 The vim-rt package contains files which every VIM binary will need in
400 %description rt -l de
401 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
404 %description rt -l es
405 The vim-rt package contains files which every VIM binary will need in
408 %description rt -l fr
409 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
410 VIM a besoin pour fonctionner.
412 %description rt -l id
413 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
416 %description rt -l is
417 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
420 %description rt -l it
421 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
422 per poter funzionare.
424 %description rt -l pl
425 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
426 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
427 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
429 %description rt -l pt
430 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
431 irão necessitar para correr.
433 %description rt -l ru
434 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
435 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
437 %description rt -l sk
438 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
439 funkciu ka¾dá verzia editoru VIM.
441 %description rt -l sv
442 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
445 %description rt -l uk
446 ðÁËÅÔ vim-rt ͦÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
447 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
449 %package -n gvim-athena
450 Summary: Vim for X Window built with Athena
451 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Athena
452 Group: Applications/Editors/Vim
453 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
457 %description -n gvim-athena
458 The classic Unix text editor now also under X Window System! This
459 version is built with Athena Widget Set.
461 %description -n gvim-athena -l pl
462 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
463 biblioteki Athena Widget Set.
465 %description -n gvim-athena -l ru
466 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
467 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
468 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
470 %description -n gvim-athena -l uk
471 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Athena Widget
472 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
473 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
475 %package -n gvim-motif
476 Summary: Vim for X Window built with Motif
477 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Motif
478 Group: Applications/Editors/Vim
479 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
483 %description -n gvim-motif
484 The classic Unix text editor now also under X Window System! This
485 version is built with Motif.
487 %description -n gvim-motif -l pl
488 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
491 %description -n gvim-motif -l ru
492 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
493 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
494 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
496 %description -n gvim-motif -l uk
497 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
498 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
499 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
502 Summary: Vim for X Window built with KDE
503 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki KDE
504 Group: Applications/Editors/Vim
505 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
510 The classic Unix text editor now also under X Window System! This
511 version is built with KDE.
513 %description -n kvim -l pl
514 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
518 Summary: Vim for X Window built with gtk
519 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GTK
520 Group: Applications/Editors/Vim
521 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
525 %description -n gvim-gtk
526 The classic Unix text editor now also under X Window System! This
527 version is built with GTK.
529 %description -n gvim-gtk -l pl
530 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
533 %description -n gvim-gtk -l ru
534 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
535 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
536 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
539 %description -n gvim-gtk -l uk
540 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
541 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
542 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
544 %package -n gvim-gnome
545 Summary: Vim for X Window built with GNOME
546 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GNOME
547 Group: Applications/Editors/Vim
548 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
552 %description -n gvim-gnome
553 The classic Unix text editor now also under X Window System! This
554 version is build with GNOME.
556 %description -n gvim-gnome -l pl
557 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
560 %description -n gvim-gnome -l ru
561 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
562 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
563 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
565 %description -n gvim-gnome -l uk
566 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
567 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
568 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
570 %package -n gvim-bonobo
571 Summary: Vim for X Window built as bonobo component
572 Summary(pl): Vim dla X Window zbudowany jako element bonobo
573 Group: Applications/Editors/Vim
574 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
578 %description -n gvim-bonobo
579 The classic Unix text editor now also under X Window System! This
580 version is build as bonobo component.
582 %description -n gvim-bonobo -l pl
583 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
587 %setup -q -b1 -b2 -a5 -n %{name}%(echo %{_ver} | tr -d .)
666 %{?with_bonobo:%patch99 -p1}
677 %{?with_bonobo:%patch11 -p1}
678 %{?with_home_etc:%patch12 -p1}
679 %{?with_selinux:%patch13 -p1}
684 %patch19 -p0 -b .modprobe
689 install %{SOURCE15} runtime/indent
690 install %{SOURCE16} runtime/colors
691 install %{SOURCE17} runtime/syntax
696 # needed to prevent deconfiguring
704 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
705 --with-features=huge \
706 --enable-gui=gnome2 \
708 --enable-gtk2-check \
709 --enable-gnome-check \
711 %{!?with_perl:--disable-perlinterp} \
712 %{?with_perl:--enable-perlinterp} \
713 %{!?with_python:--disable-pythoninterp} \
714 %{?with_python:--enable-pythoninterp} \
715 %{!?with_ruby:--disable-rubyinterp} \
716 %{?with_ruby:--enable-rubyinterp} \
717 %{!?with_tcl:--disable-tclinterp} \
718 %{?with_tcl:--enable-tclinterp} \
722 --with-modifiedby="PLD Linux Distribution" \
723 --with-compiledby="PLD Linux Distribution"
725 %{__make} vim-component vim-factory Vim_Control.server
726 mv vim-component vim-factory Vim_Control.server bin/
731 LDFLAGS="%{rpmldflags} -static"
735 --disable-perlinterp \
736 --disable-pythoninterp \
737 --disable-rubyinterp \
738 --disable-tclinterp \
741 --disable-multibyte \
742 %{?with_bonobo:--disable-bonobo} \
743 --with-features=small \
746 --with-modifiedby="PLD Linux Distribution" \
747 --with-compiledby="PLD Linux Distribution"
751 mv -f vim bin/vim.static
752 LDFLAGS="%{rpmldflags}"
759 %{!?with_perl:--disable-perlinterp} \
760 %{?with_perl:--enable-perlinterp} \
761 %{!?with_python:--disable-pythoninterp} \
762 %{?with_python:--enable-pythoninterp} \
763 %{!?with_ruby:--disable-rubyinterp} \
764 %{?with_ruby:--enable-rubyinterp} \
765 %{!?with_tcl:--disable-tclinterp} \
766 %{?with_tcl:--enable-tclinterp} \
767 %{?with_bonobo:--disable-bonobo} \
770 --with-features=huge \
772 --with-tlib=ncurses \
774 --with-modifiedby="PLD Linux Distribution" \
775 --with-compiledby="PLD Linux Distribution"
779 mv -f vim bin/vim.ncurses
783 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
786 %{!?with_perl:--disable-perlinterp} \
787 %{?with_perl:--enable-perlinterp} \
788 %{!?with_python:--disable-pythoninterp} \
789 %{?with_python:--enable-pythoninterp} \
790 %{!?with_ruby:--disable-rubyinterp} \
791 %{?with_ruby:--enable-rubyinterp} \
792 %{!?with_tcl:--disable-tclinterp} \
793 %{?with_tcl:--enable-tclinterp} \
794 %{?with_bonobo:--disable-bonobo} \
797 --with-features=huge \
799 --with-tlib=ncurses \
801 --with-modifiedby="PLD Linux Distribution" \
802 --with-compiledby="PLD Linux Distribution"
805 mv -f vim bin/vim.ispell
810 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
811 --with-features=huge \
814 %{!?with_perl:--disable-perlinterp} \
815 %{?with_perl:--enable-perlinterp} \
816 %{!?with_python:--disable-pythoninterp} \
817 %{?with_python:--enable-pythoninterp} \
818 %{!?with_ruby:--disable-rubyinterp} \
819 %{?with_ruby:--enable-rubyinterp} \
820 %{!?with_tcl:--disable-tclinterp} \
821 %{?with_tcl:--enable-tclinterp} \
822 %{?with_bonobo:--disable-bonobo} \
824 --with-qt-dir=%{_prefix} \
825 --with-qt-includes=%{_includedir}/qt \
826 --with-qt-libs=%{_libdir} \
831 --with-modifiedby="PLD Linux Distribution" \
832 --enable-kde-toolbar \
833 --with-compiledby="PLD Linux Distribution"
842 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
843 --with-features=huge \
844 --enable-gui=athena \
846 %{!?with_perl:--disable-perlinterp} \
847 %{?with_perl:--enable-perlinterp} \
848 %{!?with_python:--disable-pythoninterp} \
849 %{?with_python:--enable-pythoninterp} \
850 %{!?with_ruby:--disable-rubyinterp} \
851 %{?with_ruby:--enable-rubyinterp} \
852 %{!?with_tcl:--disable-tclinterp} \
853 %{?with_tcl:--enable-tclinterp} \
854 %{?with_bonobo:--disable-bonobo} \
860 --with-modifiedby="PLD Linux Distribution" \
861 --with-compiledby="PLD Linux Distribution"
864 mv -f vim bin/gvim.athena
871 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
872 --with-features=huge \
875 %{!?with_perl:--disable-perlinterp} \
876 %{?with_perl:--enable-perlinterp} \
877 %{!?with_python:--disable-pythoninterp} \
878 %{?with_python:--enable-pythoninterp} \
879 %{!?with_ruby:--disable-rubyinterp} \
880 %{?with_ruby:--enable-rubyinterp} \
881 %{!?with_tcl:--disable-tclinterp} \
882 %{?with_tcl:--enable-tclinterp} \
883 %{?with_bonobo:--disable-bonobo} \
890 --with-modifiedby="PLD Linux Distribution" \
891 --with-compiledby="PLD Linux Distribution"
894 mv -f vim bin/gvim.motif
900 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
901 --with-features=huge \
903 --enable-gtk2-check \
905 %{!?with_perl:--disable-perlinterp} \
906 %{?with_perl:--enable-perlinterp} \
907 %{!?with_python:--disable-pythoninterp} \
908 %{?with_python:--enable-pythoninterp} \
909 %{!?with_ruby:--disable-rubyinterp} \
910 %{?with_ruby:--enable-rubyinterp} \
911 %{!?with_tcl:--disable-tclinterp} \
912 %{?with_tcl:--enable-tclinterp} \
913 %{?with_bonobo:--disable-bonobo} \
917 --with-modifiedby="PLD Linux Distribution" \
918 --with-compiledby="PLD Linux Distribution"
921 mv -f vim bin/gvim.gtk
927 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
928 --with-features=huge \
929 --enable-gui=gnome2 \
930 %{?with_bonobo:--disable-bonobo} \
931 --enable-gtk2-check \
932 --enable-gnome-check \
934 %{!?with_perl:--disable-perlinterp} \
935 %{?with_perl:--enable-perlinterp} \
936 %{!?with_python:--disable-pythoninterp} \
937 %{?with_python:--enable-pythoninterp} \
938 %{!?with_ruby:--disable-rubyinterp} \
939 %{?with_ruby:--enable-rubyinterp} \
940 %{!?with_tcl:--disable-tclinterp} \
941 %{?with_tcl:--enable-tclinterp} \
945 --with-modifiedby="PLD Linux Distribution" \
946 --with-compiledby="PLD Linux Distribution"
949 mv -f vim bin/gvim.gnome
953 %{__make} xxd/xxd languages
956 rm -rf $RPM_BUILD_ROOT
957 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
958 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
959 $RPM_BUILD_ROOT%{_desktopdir}
962 DESTDIR=$RPM_BUILD_ROOT
964 rm -f $RPM_BUILD_ROOT%{_bindir}/*
967 install -m755 src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
968 install -m755 src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
970 install -m755 src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
971 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
974 install -m755 src/bin/vim.ispell $RPM_BUILD_ROOT%{_bindir}/vim.ispell
976 install -m755 src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
977 install -m755 src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
979 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
981 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
982 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
984 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
986 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
987 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
988 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
989 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
990 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
992 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
993 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
995 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
996 ln -sf vi $RPM_BUILD_ROOT/bin/ex
997 ln -sf vi $RPM_BUILD_ROOT/bin/view
998 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1000 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
1003 install -m755 src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1004 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
1007 install -m755 src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1008 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
1011 install -m755 src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1012 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
1015 install -m755 src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1016 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1017 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1018 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1019 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1020 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
1023 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
1024 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
1025 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
1026 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
1029 install -m755 src/bin/kvim $RPM_BUILD_ROOT%{_bindir}/kvim
1030 install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
1031 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,22x22}/actions
1032 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps
1033 install runtime/hi16-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/actions
1034 install runtime/hi22-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/actions
1035 install runtime/kvim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/kvim.png
1036 install runtime/kvim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/kvim.png
1037 install runtime/kvim64x64.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps/kvim.png
1038 install runtime/KVim.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
1039 install -d $RPM_BUILD_ROOT%{_datadir}/apps/kvim
1040 install runtime/kde-tips $RPM_BUILD_ROOT%{_datadir}/apps/kvim/tips
1045 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1046 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1047 install -m755 src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
1050 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1051 unzip -d $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE6}
1053 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{syntax,ftdetect,plugin,ftplugin}}
1056 rm -rf $RPM_BUILD_ROOT
1059 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_post
1062 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_postun
1064 %post -n gvim-athena
1065 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_post
1067 %postun -n gvim-athena
1068 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_postun
1071 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_post
1073 %postun -n gvim-motif
1074 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_postun
1077 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_post
1080 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_postun
1083 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_post
1085 %postun -n gvim-gnome
1086 [ -x /usr/bin/update-desktop-database ] && %update_desktop_database_postun
1089 %defattr(644,root,root,755)
1090 %attr(755,root,root) %{_bindir}/vim
1091 %attr(755,root,root) %{_bindir}/rvim
1092 %{_desktopdir}/%{name}.desktop
1096 %defattr(644,root,root,755)
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) /bin/*
1101 %{_mandir}/man1/vi.1*
1102 %{_mandir}/man1/ex.1*
1103 %{_mandir}/man1/view.1*
1104 %{_mandir}/man1/rview.1*
1105 %lang(fi) %{_mandir}/fi/man1/vi.1*
1106 %lang(fi) %{_mandir}/fi/man1/ex.1*
1107 %lang(fi) %{_mandir}/fi/man1/view.1*
1108 %lang(fi) %{_mandir}/fi/man1/rview.1*
1109 %lang(fr) %{_mandir}/fr/man1/vi.1*
1110 %lang(fr) %{_mandir}/fr/man1/ex.1*
1111 %lang(fr) %{_mandir}/fr/man1/view.1*
1112 %lang(fr) %{_mandir}/fr/man1/rview.1*
1113 %lang(id) %{_mandir}/id/man1/vi.1*
1114 %lang(id) %{_mandir}/id/man1/ex.1*
1115 %lang(id) %{_mandir}/id/man1/view.1*
1116 %lang(id) %{_mandir}/id/man1/rview.1*
1117 %lang(pl) %{_mandir}/pl/man1/vi.1*
1118 %lang(pl) %{_mandir}/pl/man1/ex.1*
1119 %lang(pl) %{_mandir}/pl/man1/view.1*
1120 %lang(pl) %{_mandir}/pl/man1/rview.1*
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) %{_bindir}/vim.ispell
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_bindir}/xxd
1131 %{_mandir}/man1/xxd.1*
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_bindir}/vimtutor
1136 %dir %{_sysconfdir}/vim
1137 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
1138 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
1140 %dir %{_datadir}/vim
1141 %dir %{_datadir}/vim/v*
1142 %dir %{_datadir}/vim/v*/doc
1143 %doc %{_datadir}/vim/v*/doc/*.txt
1144 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1145 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1146 %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags
1147 %lang(pl) %verify(not size mtime md5) %{_datadir}/vim/v*/doc/tags-pl
1148 %{_datadir}/vim/v*/ftplugin
1149 %{_datadir}/vim/v*/indent
1150 %{_datadir}/vim/v*/keymap
1151 %dir %{_datadir}/vim/v*/lang
1152 %doc %{_datadir}/vim/v*/lang/README*
1154 # just add after/ and ftdetect/ separately, other dirs catched by glob above
1155 %{_datadir}/vim/vimfiles/after
1156 %{_datadir}/vim/vimfiles/ftdetect
1158 %lang(af) %{_datadir}/vim/v*/lang/af
1159 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB
1160 %lang(cs) %{_datadir}/vim/v*/lang/cs
1161 %lang(de) %{_datadir}/vim/v*/lang/de
1162 %lang(es) %{_datadir}/vim/v*/lang/es
1163 %lang(fr) %{_datadir}/vim/v*/lang/fr
1164 %lang(it) %{_datadir}/vim/v*/lang/it
1165 %lang(ja) %{_datadir}/vim/v*/lang/ja*
1166 %lang(ko) %{_datadir}/vim/v*/lang/ko
1167 %lang(pl) %{_datadir}/vim/v*/lang/pl
1168 %lang(sk) %{_datadir}/vim/v*/lang/sk
1169 %lang(nb) %{_datadir}/vim/v*/lang/no
1170 #%lang(tr) %{_datadir}/vim/v*/lang/tr
1171 %lang(uk) %{_datadir}/vim/v*/lang/uk
1172 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
1173 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW*
1175 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1176 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1177 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1178 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1179 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1180 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1181 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1182 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1183 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1184 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1185 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1186 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1187 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1188 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1189 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1190 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1191 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1192 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1193 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1194 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1195 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1196 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1197 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1198 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1199 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1200 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1201 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1202 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1203 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1204 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1205 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1206 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1207 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1208 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1210 %{_datadir}/vim/v*/macros
1211 %{_datadir}/vim/v*/plugin
1212 %{_datadir}/vim/v*/print
1213 %{_datadir}/vim/v*/syntax
1214 %{_datadir}/vim/v*/tools
1215 %{_datadir}/vim/v*/tutor
1216 %{_datadir}/vim/v*/colors
1217 %{_datadir}/vim/v*/compiler
1218 %{_datadir}/vim/v*/*.vim
1220 %{_mandir}/man1/vim*
1221 %{_mandir}/man1/rvim.*
1222 %lang(fi) %{_mandir}/fi/man1/vim*
1223 %lang(fi) %{_mandir}/fi/man1/rvim.*
1224 %lang(fi) %{_mandir}/fi/man1/gvi*
1225 %lang(fi) %{_mandir}/fi/man1/rgv*
1226 %lang(fr) %{_mandir}/fr/man1/vim*
1227 %lang(fr) %{_mandir}/fr/man1/rvim.*
1228 %lang(fr) %{_mandir}/fr/man1/gvi*
1229 %lang(fr) %{_mandir}/fr/man1/rgv*
1230 %lang(id) %{_mandir}/id/man1/vim*
1231 %lang(id) %{_mandir}/id/man1/rvim.*
1232 %lang(id) %{_mandir}/id/man1/gvi*
1233 %lang(id) %{_mandir}/id/man1/rgv*
1234 %lang(it) %{_mandir}/it/man1/vim*
1235 %lang(pl) %{_mandir}/pl/man1/vim*
1236 %lang(pl) %{_mandir}/pl/man1/rvim.*
1237 %lang(pl) %{_mandir}/pl/man1/gvi*
1238 %lang(pl) %{_mandir}/pl/man1/rgv*
1240 %{_iconsdir}/hicolor/16x16/apps/vim.png
1241 %{_iconsdir}/hicolor/32x32/apps/vim.png
1242 %{_iconsdir}/hicolor/48x48/apps/vim.png
1245 %files -n gvim-athena
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_bindir}/gvim.athena
1248 %{_desktopdir}/gvim-athena.desktop
1252 %files -n gvim-motif
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_bindir}/gvim.motif
1255 %{_desktopdir}/gvim-motif.desktop
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_bindir}/kvim
1262 %{_desktopdir}/kde/KVim.desktop
1263 %{_iconsdir}/hicolor/*/apps/kvim.png
1264 %{_iconsdir}/hicolor/*/actions/*make*.png
1265 %{_datadir}/apps/kvim
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_bindir}/gvim.gtk
1273 %attr(755,root,root) %{_bindir}/rgvim
1274 %attr(755,root,root) %{_bindir}/rgview
1275 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1276 %{_desktopdir}/gvim-gtk.desktop
1280 %files -n gvim-gnome
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_bindir}/gvim.gnome
1283 %{_desktopdir}/gvim-gnome.desktop
1287 %files -n gvim-bonobo
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/vim-component
1290 %attr(755,root,root) %{_bindir}/vim-factory
1291 %{_libdir}/bonobo/servers/*