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 # without 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 086
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 Patch9: %{name}-awk.patch
68 Patch11: %{name}-bonobo.patch
69 Patch12: %{name}-home_etc.patch
70 Patch13: %{name}-selinux.patch
71 Patch15: %{name}-po.patch
72 Patch16: %{name}-filetype_vim-perl_tests.patch
73 Patch17: %{name}-pl.po.patch
74 Patch18: %{name}-po-syntax.patch
75 Patch19: %{name}-modprobe.patch
76 Patch20: %{name}-CAN-2005-0069.patch
77 Patch21: %{name}-gtkfilechooser.patch
78 Patch22: %{name}-doubleparenthesis.patch
79 Patch23: %{name}-lib64.patch
80 Patch24: %{name}-syntax-fstab.patch
82 Patch99: http://www.opensky.ca/gnome-vim/vim-patches/%{name}-bonobo-20040115.patch
83 Patch101: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.001
84 Patch102: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.002
85 Patch103: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.003
86 Patch104: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.004
87 Patch105: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.005
88 Patch106: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.006
89 Patch107: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.007
90 Patch108: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.008
91 Patch109: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.009
92 Patch110: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.010
93 Patch111: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.011
94 Patch112: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.012
95 Patch113: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.013
96 Patch114: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.014
97 Patch115: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.015
98 Patch116: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.016
99 Patch117: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.017
100 Patch118: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.018
101 Patch119: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.019
102 Patch120: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.020
103 Patch121: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.021
104 Patch122: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.022
105 Patch123: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.023
106 Patch124: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.024
107 Patch125: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.025
108 Patch126: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.026
109 Patch127: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.027
110 Patch128: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.028
111 Patch129: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.029
112 Patch130: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.030
113 Patch131: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.031
114 Patch132: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.032
115 Patch133: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.033
116 Patch134: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.034
117 Patch135: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.035
118 Patch136: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.036
119 Patch137: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.037
120 Patch138: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.038
121 Patch139: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.039
122 Patch140: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.040
123 Patch141: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.041
124 Patch142: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.042
125 Patch143: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.043
126 Patch144: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.044
127 Patch145: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.045
128 Patch146: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.046
129 Patch147: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.047
130 Patch148: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.048
131 Patch149: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.049
132 Patch150: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.050
133 Patch151: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.051
134 Patch152: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.052
135 Patch153: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.053
136 Patch154: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.054
137 Patch155: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.055
138 Patch156: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.056
139 Patch157: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.057
140 Patch158: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.058
141 Patch159: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.059
142 Patch160: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.060
143 Patch161: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.061
144 Patch162: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.062
145 Patch163: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.063
146 Patch164: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.064
147 Patch165: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.065
148 Patch166: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.066
149 Patch167: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.067
150 Patch168: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.068
151 Patch169: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.069
152 Patch170: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.070
153 Patch171: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.071
154 Patch172: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.072
155 Patch173: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.073
156 Patch174: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.074
157 Patch175: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.075
158 Patch176: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.076
159 Patch177: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.077
160 Patch178: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.078
161 Patch179: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.079
162 Patch180: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.080
163 Patch181: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.081
164 Patch182: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.082
165 Patch183: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.083
166 Patch184: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.084
167 Patch185: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.085
168 Patch186: ftp://ftp.vim.org/pub/editors/vim/patches/6.3/6.3.086
169 Patch999: http://freenux.org/vim/%{name}2kvim-6.3b.diff.bz2
170 URL: http://www.vim.org/
171 %{?with_athena:BuildRequires: XFree86-devel}
172 BuildRequires: acl-devel
173 BuildRequires: autoconf
174 BuildRequires: gettext-devel
175 BuildRequires: gpm-devel
176 %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
177 %{?with_kde:BuildRequires: kdelibs-devel >= 9:3.0.0}
178 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
179 %{?with_selinux:BuildRequires: libselinux-devel}
180 %{?with_motif:BuildRequires: openmotif-devel}
181 BuildRequires: ncurses-devel
182 %{?with_perl:BuildRequires: perl-devel}
183 %{?with_python:BuildRequires: python-devel}
184 %{?with_ruby:BuildRequires: ruby}
185 %{?with_tcl:BuildRequires: tcl-devel}
187 BuildRequires: libgnomeui-devel >= 2.2.0.1
188 BuildRequires: ORBit2-devel
189 BuildRequires: libbonoboui-devel >= 2.2.0
190 BuildRequires: nautilus-devel >= 2.2.0
192 BuildRequires: rpmbuild(macros) >= 1.210
194 BuildRequires: acl-static
195 BuildRequires: attr-static
196 BuildRequires: glibc-static
197 %{?with_selinux:BuildRequires: libselinux-static}
198 BuildRequires: ncurses-static
200 Provides: %{name}-static = %{epoch}:%{version}-%{release}
201 Obsoletes: %{name}-static
202 Obsoletes: elvis-static
205 Obsoletes: vim-minimal
208 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
209 Obsoletes: vim-enhanced
210 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
212 # that's example script
213 %define _noautoreq '/bin/csh'
216 Text editor similar to Vi. Important improvements: multiple windows,
217 multi-level undo, block highliting, folding, and many other.
220 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
221 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
222 populární. ViM je obohacený funkcemi jako: podpora více oken,
223 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
227 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
228 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
229 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
230 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
231 Standard-vi-Programm.
234 El editor Visual Mejorado es una versión actualizada y con nuevas
235 características adicionales del mundialmente famoso 'vi' que acompaña
236 prácticamente todos los sistemas UN*X. Posibilita trabajar con
237 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
238 otras muchas características del 'vi'.
241 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
242 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
243 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
244 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
245 blocs et autres caractéristiques au vi de base.
248 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
249 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
250 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
251 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
252 windows, multi-level undo, block highlighting, dll.
255 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
256 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
257 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
258 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
262 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
263 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
264 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
265 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
269 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
270 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
271 folding i wiele innych.
274 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
275 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
276 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
277 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
280 %description -l pt_BR
281 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
282 características do mundialmente famoso 'vi' que acompanha praticamente
283 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
284 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
285 outras características do 'vi'.
288 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
289 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
290 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
291 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
294 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
295 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
296 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
297 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
300 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
301 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
302 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
303 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
307 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
308 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
311 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
312 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
313 Ã¦Ê ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉÊ ×¦ÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
314 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
317 Summary: Utility to convert files to hexdump or do the reverse
318 Summary(pl): Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
319 Group: Applications/Editors/Vim
322 xxd creates a hex dump of a given file or standard input. It can also
323 convert a hex dump back to its original binary form. Like uuencode and
324 uudecode it allows the transmission of binary data in a `mail-safe'
325 ASCII representation, but has the advantage of decoding to standard
326 output. Moreover, it can be used to perform binary file patching.
328 %description -n xxd -l pl
329 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
330 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
331 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
332 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
333 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
336 Summary: Statically linked Vim
337 Summary(pl): Statycznie skonsolidowany Vim
338 Group: Applications/Editors/Vim
340 Obsoletes: elvis-static
343 Obsoletes: vim-minimal
346 Text editor similar to Vi. This version is built with minimal feature
347 and is installed in /bin as a rescue tool. The installation of this
348 package is STRONGLY recommended.
350 %description static -l pl
351 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
352 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
353 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
354 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
356 %description static -l ru
357 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
358 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
361 %description static -l uk
362 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
363 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
366 Summary: Vim with ispell support
367 Summary(pl): Vim z wsparciem dla ispella
368 Group: Applications/Editors/Vim
369 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
370 Conflicts: ispell < 3.2.06
371 Conflicts: ispell-pl < 20021127-2
374 Text editor similar to Vi. This version is built with ispell support.
376 %description ispell -l pl
377 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
378 wsparciem dla ispella.
381 Summary: Vim runtime files
382 Summary(cs): Soubory nezbytné pro libovolný editor ViM
383 Summary(da): Fælles filer som er nødvendige for enhver version af VIM editoren
384 Summary(de): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
385 Summary(es): Ficheros comunes a todas las versiones de VIM
386 Summary(fr): Fichiers communs indispensables pour toute version de l'éditeur VIM
387 Summary(id): File umum yang dibutuhkan oleh semua versi editor VIM
388 Summary(is): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
389 Summary(it): File comuni necessari per tutte le versioni dell'editor VIM
390 Summary(ja): ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
391 Summary(nb): Felles filer som er nødvendige for enhver versjon av VIM editoren
392 Summary(pl): Pliki przydatne edytorowi Vim
393 Summary(pt): Os ficheiros comuns necessários para qualquer versão do editor VIM
394 Summary(ru): æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
395 Summary(sk): Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
396 Summary(sl): Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
397 Summary(sv): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
398 Summary(uk): æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
399 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
400 Group: Applications/Editors/Vim
403 Obsoletes: vim-common
406 This package contains macros, documentation, syntax configuration and
407 manual pages for Vim. If you want to take advantage of Vim more
408 powerful features, you should install this package.
410 %description rt -l cs
411 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
414 %description rt -l da
415 The vim-rt package contains files which every VIM binary will need in
418 %description rt -l de
419 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
422 %description rt -l es
423 The vim-rt package contains files which every VIM binary will need in
426 %description rt -l fr
427 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
428 VIM a besoin pour fonctionner.
430 %description rt -l id
431 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
434 %description rt -l is
435 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
438 %description rt -l it
439 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
440 per poter funzionare.
442 %description rt -l pl
443 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
444 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
445 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
447 %description rt -l pt
448 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
449 irão necessitar para correr.
451 %description rt -l ru
452 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
453 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
455 %description rt -l sk
456 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
457 funkciu ka¾dá verzia editoru VIM.
459 %description rt -l sv
460 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
463 %description rt -l uk
464 ðÁËÅÔ vim-rt ͦÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
465 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
467 %package -n gvim-athena
468 Summary: Vim for X Window built with Athena
469 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Athena
470 Group: Applications/Editors/Vim
471 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
475 %description -n gvim-athena
476 The classic Unix text editor now also under X Window System! This
477 version is built with Athena Widget Set.
479 %description -n gvim-athena -l pl
480 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
481 biblioteki Athena Widget Set.
483 %description -n gvim-athena -l ru
484 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
485 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
486 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
488 %description -n gvim-athena -l uk
489 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Athena Widget
490 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
491 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
493 %package -n gvim-motif
494 Summary: Vim for X Window built with Motif
495 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Motif
496 Group: Applications/Editors/Vim
497 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
501 %description -n gvim-motif
502 The classic Unix text editor now also under X Window System! This
503 version is built with Motif.
505 %description -n gvim-motif -l pl
506 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
509 %description -n gvim-motif -l ru
510 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
511 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
512 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
514 %description -n gvim-motif -l uk
515 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
516 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
517 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
520 Summary: Vim for X Window built with KDE
521 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki KDE
522 Group: Applications/Editors/Vim
523 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
528 The classic Unix text editor now also under X Window System! This
529 version is built with KDE.
531 %description -n kvim -l pl
532 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
536 Summary: Vim for X Window built with gtk
537 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GTK
538 Group: Applications/Editors/Vim
539 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
543 %description -n gvim-gtk
544 The classic Unix text editor now also under X Window System! This
545 version is built with GTK.
547 %description -n gvim-gtk -l pl
548 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
551 %description -n gvim-gtk -l ru
552 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
553 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
554 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
557 %description -n gvim-gtk -l uk
558 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
559 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
560 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
562 %package -n gvim-gnome
563 Summary: Vim for X Window built with GNOME
564 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GNOME
565 Group: Applications/Editors/Vim
566 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
570 %description -n gvim-gnome
571 The classic Unix text editor now also under X Window System! This
572 version is build with GNOME.
574 %description -n gvim-gnome -l pl
575 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
578 %description -n gvim-gnome -l ru
579 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
580 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
581 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
583 %description -n gvim-gnome -l uk
584 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
585 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
586 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
588 %package -n gvim-bonobo
589 Summary: Vim for X Window built as bonobo component
590 Summary(pl): Vim dla X Window zbudowany jako element bonobo
591 Group: Applications/Editors/Vim
592 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
596 %description -n gvim-bonobo
597 The classic Unix text editor now also under X Window System! This
598 version is build as bonobo component.
600 %description -n gvim-bonobo -l pl
601 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
605 %setup -q -b1 -b2 -a5 -n %{name}%(echo %{_ver} | tr -d .)
699 %{?with_bonobo:%patch99 -p1}
711 %{?with_bonobo:%patch11 -p1}
712 %{?with_home_etc:%patch12 -p1}
713 %{?with_selinux:%patch13 -p1}
718 %patch19 -p0 -b .modprobe
722 %if "%{_lib}" == "lib64"
727 install %{SOURCE15} runtime/indent
728 install %{SOURCE16} runtime/colors
729 install %{SOURCE17} runtime/syntax
734 # needed to prevent deconfiguring
742 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
743 --with-features=huge \
744 --enable-gui=gnome2 \
746 --enable-gtk2-check \
747 --enable-gnome-check \
749 %{!?with_perl:--disable-perlinterp} \
750 %{?with_perl:--enable-perlinterp} \
751 %{!?with_python:--disable-pythoninterp} \
752 %{?with_python:--enable-pythoninterp} \
753 %{!?with_ruby:--disable-rubyinterp} \
754 %{?with_ruby:--enable-rubyinterp} \
755 %{!?with_tcl:--disable-tclinterp} \
756 %{?with_tcl:--enable-tclinterp} \
760 --with-modifiedby="PLD Linux Distribution" \
761 --with-compiledby="PLD Linux Distribution"
763 %{__make} vim-component vim-factory Vim_Control.server
764 mv vim-component vim-factory Vim_Control.server bin/
769 LDFLAGS="%{rpmldflags} -static"
773 --disable-perlinterp \
774 --disable-pythoninterp \
775 --disable-rubyinterp \
776 --disable-tclinterp \
779 --disable-multibyte \
780 %{?with_bonobo:--disable-bonobo} \
781 --with-features=small \
784 --with-modifiedby="PLD Linux Distribution" \
785 --with-compiledby="PLD Linux Distribution"
789 mv -f vim bin/vim.static
790 LDFLAGS="%{rpmldflags}"
797 %{!?with_perl:--disable-perlinterp} \
798 %{?with_perl:--enable-perlinterp} \
799 %{!?with_python:--disable-pythoninterp} \
800 %{?with_python:--enable-pythoninterp} \
801 %{!?with_ruby:--disable-rubyinterp} \
802 %{?with_ruby:--enable-rubyinterp} \
803 %{!?with_tcl:--disable-tclinterp} \
804 %{?with_tcl:--enable-tclinterp} \
805 %{?with_bonobo:--disable-bonobo} \
808 --with-features=huge \
810 --with-tlib=ncurses \
812 --with-modifiedby="PLD Linux Distribution" \
813 --with-compiledby="PLD Linux Distribution"
817 mv -f vim bin/vim.ncurses
821 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
824 %{!?with_perl:--disable-perlinterp} \
825 %{?with_perl:--enable-perlinterp} \
826 %{!?with_python:--disable-pythoninterp} \
827 %{?with_python:--enable-pythoninterp} \
828 %{!?with_ruby:--disable-rubyinterp} \
829 %{?with_ruby:--enable-rubyinterp} \
830 %{!?with_tcl:--disable-tclinterp} \
831 %{?with_tcl:--enable-tclinterp} \
832 %{?with_bonobo:--disable-bonobo} \
835 --with-features=huge \
837 --with-tlib=ncurses \
839 --with-modifiedby="PLD Linux Distribution" \
840 --with-compiledby="PLD Linux Distribution"
843 mv -f vim bin/vim.ispell
848 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
849 --with-features=huge \
852 %{!?with_perl:--disable-perlinterp} \
853 %{?with_perl:--enable-perlinterp} \
854 %{!?with_python:--disable-pythoninterp} \
855 %{?with_python:--enable-pythoninterp} \
856 %{!?with_ruby:--disable-rubyinterp} \
857 %{?with_ruby:--enable-rubyinterp} \
858 %{!?with_tcl:--disable-tclinterp} \
859 %{?with_tcl:--enable-tclinterp} \
860 %{?with_bonobo:--disable-bonobo} \
862 --with-qt-dir=%{_prefix} \
863 --with-qt-includes=%{_includedir}/qt \
864 --with-qt-libs=%{_libdir} \
869 --with-modifiedby="PLD Linux Distribution" \
870 --enable-kde-toolbar \
871 --with-compiledby="PLD Linux Distribution"
880 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
881 --with-features=huge \
882 --enable-gui=athena \
884 %{!?with_perl:--disable-perlinterp} \
885 %{?with_perl:--enable-perlinterp} \
886 %{!?with_python:--disable-pythoninterp} \
887 %{?with_python:--enable-pythoninterp} \
888 %{!?with_ruby:--disable-rubyinterp} \
889 %{?with_ruby:--enable-rubyinterp} \
890 %{!?with_tcl:--disable-tclinterp} \
891 %{?with_tcl:--enable-tclinterp} \
892 %{?with_bonobo:--disable-bonobo} \
898 --with-modifiedby="PLD Linux Distribution" \
899 --with-compiledby="PLD Linux Distribution"
902 mv -f vim bin/gvim.athena
909 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
910 --with-features=huge \
913 %{!?with_perl:--disable-perlinterp} \
914 %{?with_perl:--enable-perlinterp} \
915 %{!?with_python:--disable-pythoninterp} \
916 %{?with_python:--enable-pythoninterp} \
917 %{!?with_ruby:--disable-rubyinterp} \
918 %{?with_ruby:--enable-rubyinterp} \
919 %{!?with_tcl:--disable-tclinterp} \
920 %{?with_tcl:--enable-tclinterp} \
921 %{?with_bonobo:--disable-bonobo} \
928 --with-modifiedby="PLD Linux Distribution" \
929 --with-compiledby="PLD Linux Distribution"
932 mv -f vim bin/gvim.motif
938 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
939 --with-features=huge \
941 --enable-gtk2-check \
943 %{!?with_perl:--disable-perlinterp} \
944 %{?with_perl:--enable-perlinterp} \
945 %{!?with_python:--disable-pythoninterp} \
946 %{?with_python:--enable-pythoninterp} \
947 %{!?with_ruby:--disable-rubyinterp} \
948 %{?with_ruby:--enable-rubyinterp} \
949 %{!?with_tcl:--disable-tclinterp} \
950 %{?with_tcl:--enable-tclinterp} \
951 %{?with_bonobo:--disable-bonobo} \
955 --with-modifiedby="PLD Linux Distribution" \
956 --with-compiledby="PLD Linux Distribution"
959 mv -f vim bin/gvim.gtk
965 CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
966 --with-features=huge \
967 --enable-gui=gnome2 \
968 %{?with_bonobo:--disable-bonobo} \
969 --enable-gtk2-check \
970 --enable-gnome-check \
972 %{!?with_perl:--disable-perlinterp} \
973 %{?with_perl:--enable-perlinterp} \
974 %{!?with_python:--disable-pythoninterp} \
975 %{?with_python:--enable-pythoninterp} \
976 %{!?with_ruby:--disable-rubyinterp} \
977 %{?with_ruby:--enable-rubyinterp} \
978 %{!?with_tcl:--disable-tclinterp} \
979 %{?with_tcl:--enable-tclinterp} \
983 --with-modifiedby="PLD Linux Distribution" \
984 --with-compiledby="PLD Linux Distribution"
987 mv -f vim bin/gvim.gnome
991 %{__make} xxd/xxd languages
994 rm -rf $RPM_BUILD_ROOT
995 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
996 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
997 $RPM_BUILD_ROOT%{_desktopdir}
1000 DESTDIR=$RPM_BUILD_ROOT
1002 rm -f $RPM_BUILD_ROOT%{_bindir}/*
1005 install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1006 install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1008 install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1009 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1012 install src/bin/vim.ispell $RPM_BUILD_ROOT%{_bindir}/vim.ispell
1014 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1015 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1017 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
1019 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
1020 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
1022 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
1024 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
1025 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
1026 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
1027 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1028 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1030 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
1031 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
1033 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1034 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1035 ln -sf vi $RPM_BUILD_ROOT/bin/view
1036 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1038 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
1041 install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1042 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
1045 install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1046 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
1049 install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1050 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
1053 install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1054 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1055 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1056 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1057 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1058 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
1061 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
1062 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
1063 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
1064 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
1067 install src/bin/kvim $RPM_BUILD_ROOT%{_bindir}/kvim
1068 install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
1069 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,22x22}/actions
1070 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps
1071 install runtime/hi16-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/actions
1072 install runtime/hi22-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/actions
1073 install runtime/kvim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/kvim.png
1074 install runtime/kvim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/kvim.png
1075 install runtime/kvim64x64.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps/kvim.png
1076 install runtime/KVim.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
1077 install -d $RPM_BUILD_ROOT%{_datadir}/apps/kvim
1078 install runtime/kde-tips $RPM_BUILD_ROOT%{_datadir}/apps/kvim/tips
1083 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1084 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1085 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
1088 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1089 unzip -d $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE6}
1091 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{syntax,ftdetect,plugin,ftplugin}}
1092 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1095 rm -rf $RPM_BUILD_ROOT
1098 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1101 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1103 %post -n gvim-athena
1104 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1106 %postun -n gvim-athena
1107 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1110 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1112 %postun -n gvim-motif
1113 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1116 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1119 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1122 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1124 %postun -n gvim-gnome
1125 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_bindir}/vim
1130 %attr(755,root,root) %{_bindir}/rvim
1131 %{_desktopdir}/%{name}.desktop
1135 %defattr(644,root,root,755)
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) /bin/*
1140 %{_mandir}/man1/vi.1*
1141 %{_mandir}/man1/ex.1*
1142 %{_mandir}/man1/view.1*
1143 %{_mandir}/man1/rview.1*
1144 %lang(fi) %{_mandir}/fi/man1/vi.1*
1145 %lang(fi) %{_mandir}/fi/man1/ex.1*
1146 %lang(fi) %{_mandir}/fi/man1/view.1*
1147 %lang(fi) %{_mandir}/fi/man1/rview.1*
1148 %lang(fr) %{_mandir}/fr/man1/vi.1*
1149 %lang(fr) %{_mandir}/fr/man1/ex.1*
1150 %lang(fr) %{_mandir}/fr/man1/view.1*
1151 %lang(fr) %{_mandir}/fr/man1/rview.1*
1152 %lang(id) %{_mandir}/id/man1/vi.1*
1153 %lang(id) %{_mandir}/id/man1/ex.1*
1154 %lang(id) %{_mandir}/id/man1/view.1*
1155 %lang(id) %{_mandir}/id/man1/rview.1*
1156 %lang(pl) %{_mandir}/pl/man1/vi.1*
1157 %lang(pl) %{_mandir}/pl/man1/ex.1*
1158 %lang(pl) %{_mandir}/pl/man1/view.1*
1159 %lang(pl) %{_mandir}/pl/man1/rview.1*
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_bindir}/vim.ispell
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_bindir}/xxd
1170 %{_mandir}/man1/xxd.1*
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_bindir}/vimtutor
1175 %dir %{_sysconfdir}/vim
1176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1177 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1179 %dir %{_datadir}/vim
1180 %dir %{_datadir}/vim/v*
1181 %dir %{_datadir}/vim/v*/doc
1182 %doc %{_datadir}/vim/v*/doc/*.txt
1183 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1184 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1185 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
1186 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
1187 %{_datadir}/vim/v*/ftplugin
1188 %{_datadir}/vim/v*/indent
1189 %{_datadir}/vim/v*/keymap
1190 %dir %{_datadir}/vim/v*/lang
1191 %doc %{_datadir}/vim/v*/lang/README*
1193 # just add after/ and ftdetect/ separately, other dirs catched by glob above
1194 %{_datadir}/vim/vimfiles/after
1195 %{_datadir}/vim/vimfiles/ftdetect
1197 %lang(af) %{_datadir}/vim/v*/lang/af
1198 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB
1199 %lang(cs) %{_datadir}/vim/v*/lang/cs
1200 %lang(de) %{_datadir}/vim/v*/lang/de
1201 %lang(es) %{_datadir}/vim/v*/lang/es
1202 %lang(fr) %{_datadir}/vim/v*/lang/fr
1203 %lang(it) %{_datadir}/vim/v*/lang/it
1204 %lang(ja) %{_datadir}/vim/v*/lang/ja*
1205 %lang(ko) %{_datadir}/vim/v*/lang/ko
1206 %lang(pl) %{_datadir}/vim/v*/lang/pl
1207 %lang(sk) %{_datadir}/vim/v*/lang/sk
1208 %lang(nb) %{_datadir}/vim/v*/lang/no
1209 #%lang(tr) %{_datadir}/vim/v*/lang/tr
1210 %lang(uk) %{_datadir}/vim/v*/lang/uk
1211 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
1212 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW*
1214 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1215 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1216 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1217 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1218 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1219 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1220 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1221 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1222 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1223 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1224 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1225 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1226 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1227 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1228 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1229 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1230 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1231 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1232 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1233 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1234 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1235 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1236 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1237 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1238 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1239 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1240 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1241 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1242 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1243 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1244 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1245 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1246 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1247 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1249 %{_datadir}/vim/v*/macros
1250 %{_datadir}/vim/v*/plugin
1251 %{_datadir}/vim/v*/print
1252 %{_datadir}/vim/v*/syntax
1253 %{_datadir}/vim/v*/tools
1254 %{_datadir}/vim/v*/tutor
1255 %{_datadir}/vim/v*/colors
1256 %{_datadir}/vim/v*/compiler
1257 %{_datadir}/vim/v*/*.vim
1259 %{_mandir}/man1/vim*
1260 %{_mandir}/man1/rvim.*
1261 %lang(fi) %{_mandir}/fi/man1/vim*
1262 %lang(fi) %{_mandir}/fi/man1/rvim.*
1263 %lang(fi) %{_mandir}/fi/man1/gvi*
1264 %lang(fi) %{_mandir}/fi/man1/rgv*
1265 %lang(fr) %{_mandir}/fr/man1/vim*
1266 %lang(fr) %{_mandir}/fr/man1/rvim.*
1267 %lang(fr) %{_mandir}/fr/man1/gvi*
1268 %lang(fr) %{_mandir}/fr/man1/rgv*
1269 %lang(id) %{_mandir}/id/man1/vim*
1270 %lang(id) %{_mandir}/id/man1/rvim.*
1271 %lang(id) %{_mandir}/id/man1/gvi*
1272 %lang(id) %{_mandir}/id/man1/rgv*
1273 %lang(it) %{_mandir}/it/man1/vim*
1274 %lang(pl) %{_mandir}/pl/man1/vim*
1275 %lang(pl) %{_mandir}/pl/man1/rvim.*
1276 %lang(pl) %{_mandir}/pl/man1/gvi*
1277 %lang(pl) %{_mandir}/pl/man1/rgv*
1279 %{_iconsdir}/hicolor/16x16/apps/vim.png
1280 %{_iconsdir}/hicolor/32x32/apps/vim.png
1281 %{_iconsdir}/hicolor/48x48/apps/vim.png
1284 %files -n gvim-athena
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_bindir}/gvim.athena
1287 %{_desktopdir}/gvim-athena.desktop
1291 %files -n gvim-motif
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_bindir}/gvim.motif
1294 %{_desktopdir}/gvim-motif.desktop
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_bindir}/kvim
1301 %{_desktopdir}/kde/KVim.desktop
1302 %{_iconsdir}/hicolor/*/apps/kvim.png
1303 %{_iconsdir}/hicolor/*/actions/*make*.png
1304 %{_datadir}/apps/kvim
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_bindir}/gvim.gtk
1312 %attr(755,root,root) %{_bindir}/rgvim
1313 %attr(755,root,root) %{_bindir}/rgview
1314 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1315 %{_desktopdir}/gvim-gtk.desktop
1319 %files -n gvim-gnome
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_bindir}/gvim.gnome
1322 %{_desktopdir}/gvim-gnome.desktop
1326 %files -n gvim-bonobo
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/vim-component
1329 %attr(755,root,root) %{_bindir}/vim-factory
1330 %{_libdir}/bonobo/servers/*