3 # - bonobo patches need update
6 %bcond_without static # don't build static version
7 %bcond_without athena # don't build Athena Widgets-based gvim
8 %bcond_without motif # don't build Motif-based gvim
9 %bcond_without gtk # don't build GTK+-based gvim support
10 %bcond_without gnome # don't build GNOME-based gvim support
11 %bcond_without perl # without Perl interp
12 %bcond_with python # with Python interp
13 %bcond_with ruby # with Ruby interp
14 %bcond_with tcl # with Tcl interp
15 %bcond_with bonobo # with bonobo component (breaks other things)
16 %bcond_without selinux # without selinux support
17 %bcond_without home_etc # without home_etc support
20 %define _patchlevel 066
23 # cflags get changed while configuring
24 %undefine configure_cache
26 Summary: Vi IMproved - a Vi clone
27 Summary(de): VIsual editor iMproved
28 Summary(es): Editor visual incrementado
29 Summary(fr): Editeur VIM : VIsual editor iMproved
30 Summary(pl): Vi IMproved - klon edytora Vi
31 Summary(pt_BR): Editor visual incrementado
32 Summary(ru): Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
33 Summary(tr): Geliþmiþ bir vi sürümü
34 Summary(uk): Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
36 Version: %{_ver}.%{_patchlevel}
40 Group: Applications/Editors/Vim
41 Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
42 # Source0-md5: 4ca69757678272f718b1041c810d82d8
43 Source1: ftp://ftp.vim.org/pub/vim/extra/vim-%{_ver}-lang.tar.gz
44 # Source1-md5: 6d43efaff570b5c86e76b833ea0c6a04
45 Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
46 # Source2-md5: bc4d1e115ca506ad7751b9bd2b773a7f
47 Source3: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
48 # Source3-md5: ff96284b1c913d55cf0877839b34d490
49 Source10: g%{name}-athena.desktop
50 Source11: g%{name}-motif.desktop
51 Source12: g%{name}-gtk.desktop
52 Source13: g%{name}-gnome.desktop
53 Source14: %{name}.desktop
54 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
55 Source15: zenburn.%{name}
56 Source16: spec.%{name}
57 # http://www.vim.org/scripts/script.php?script_id=1491 (0.5)
58 Source17: javascript.%{name}
60 Source19: vim-ftplugin-spec.vim
61 Patch0: %{name}-sysconfdir.patch
62 Patch1: %{name}-visual.patch
63 Patch2: %{name}-paths.patch
64 Patch3: %{name}-%{name}rc.patch
65 Patch4: %{name}-no_libelf.patch
66 Patch5: %{name}-egrep.patch
67 Patch6: %{name}-awk.patch
68 Patch7: %{name}-filetype_vim-perl_tests.patch
69 Patch8: %{name}-apache.patch
70 Patch9: %{name}-po-syntax.patch
71 Patch10: %{name}-modprobe.patch
72 Patch11: %{name}-doubleparenthesis.patch
73 Patch12: %{name}-syntax-fstab.patch
74 Patch13: 010_all_%{name}-6.3-vixie.patch
75 Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch
76 Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
77 Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch
78 Patch17: 024_all_%{name}-6.3-bash-83565.patch
79 Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch
80 Patch19: %{name}-smarty.patch
81 Patch20: %{name}-tutor-lessdeps.patch
82 Patch21: %{name}-nagios.patch
83 Patch22: %{name}-filetypes.patch
84 Patch23: %{name}-man_installation.patch
85 Patch100: %{name}-bonobo-20050909.patch
86 Patch101: %{name}-bonobo.patch
87 Patch102: %{name}-gtkfilechooser.patch
88 Patch103: %{name}-gtkfilechooser-bonobo.patch
89 Patch104: %{name}-home_etc.patch
90 Patch105: %{name}-selinux.patch
91 Patch201: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001
92 Patch202: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002
93 Patch203: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003
94 Patch204: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.004
96 #Patch205: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.005
97 Patch206: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.006
98 Patch207: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.007
99 Patch208: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.008
100 Patch209: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.009
101 Patch210: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.010
102 Patch211: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.011
103 Patch212: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.012
104 Patch213: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.013
105 Patch214: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.014
106 Patch215: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.015
107 Patch216: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.016
108 Patch217: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.017
109 Patch218: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.018
110 Patch219: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.019
111 Patch220: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.020
112 Patch221: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.021
113 Patch222: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.022
114 Patch223: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.023
115 Patch224: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.024
116 Patch225: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.025
117 Patch226: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.026
119 #Patch227: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.027
120 #Patch228: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.028
121 Patch229: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.029
122 Patch230: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.030
123 Patch231: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.031
125 #Patch232: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.032
126 Patch233: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.033
127 Patch234: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.034
128 Patch235: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.035
129 Patch236: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.036
130 Patch237: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.037
131 Patch238: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.038
132 Patch239: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.039
133 Patch240: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.040
134 Patch241: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.041
135 Patch242: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.042
136 Patch243: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.043
137 Patch244: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.044
139 #Patch245: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.045
140 Patch246: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.046
141 Patch247: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.047
142 Patch248: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.048
143 Patch249: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.049
144 Patch250: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.050
145 Patch251: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.051
146 Patch252: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.052
147 Patch253: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.053
148 Patch254: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.054
149 Patch255: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.055
150 Patch256: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.056
152 #Patch257: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.057
153 Patch258: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.058
154 Patch259: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.059
155 Patch260: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.060
156 Patch261: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.061
157 Patch262: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.062
158 Patch263: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.063
159 Patch264: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.064
161 #Patch265: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.065
162 Patch266: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.066
163 URL: http://www.vim.org/
164 BuildRequires: acl-devel
165 BuildRequires: autoconf
166 BuildRequires: gettext-devel
167 BuildRequires: gpm-devel
168 %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
169 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
170 %{?with_selinux:BuildRequires: libselinux-devel}
171 BuildRequires: ncurses-devel
172 %{?with_motif:BuildRequires: openmotif-devel}
173 %{?with_perl:BuildRequires: perl-devel}
174 %{?with_python:BuildRequires: python-devel >= 2.5}
175 %{?with_ruby:BuildRequires: ruby-devel}
176 %{?with_tcl:BuildRequires: tcl-devel}
177 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
180 BuildRequires: ORBit2-devel
181 BuildRequires: libbonoboui-devel >= 2.2.0
182 BuildRequires: libgnomeui-devel >= 2.2.0.1
183 BuildRequires: nautilus-devel >= 2.2.0
185 BuildRequires: rpmbuild(macros) >= 1.311
187 BuildRequires: acl-static
188 BuildRequires: attr-static
189 BuildRequires: glibc-static
190 %{?with_selinux:BuildRequires: libselinux-static}
191 BuildRequires: ncurses-static
193 Provides: %{name}-static = %{epoch}:%{version}-%{release}
194 Obsoletes: elvis-static
197 Obsoletes: vim-minimal
198 Obsoletes: vim-static
201 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
204 Obsoletes: vim-enhanced
205 Obsoletes: vim-ispell
206 Obsoletes: vim-plugin-multvals
207 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
209 # that's example script
210 %define _noautoreq '/bin/csh'
213 Text editor similar to Vi. Important improvements: multiple windows,
214 multi-level undo, block highliting, folding, and many other.
217 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
218 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
219 populární. ViM je obohacený funkcemi jako: podpora více oken,
220 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
224 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
225 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
226 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
227 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
228 Standard-vi-Programm.
231 El editor Visual Mejorado es una versión actualizada y con nuevas
232 características adicionales del mundialmente famoso 'vi' que acompaña
233 prácticamente todos los sistemas UN*X. Posibilita trabajar con
234 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
235 otras muchas características del 'vi'.
238 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
239 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
240 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
241 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
242 blocs et autres caractéristiques au vi de base.
245 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
246 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
247 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
248 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
249 windows, multi-level undo, block highlighting, dll.
252 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
253 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
254 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
255 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
259 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
260 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
261 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
262 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
266 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
267 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
268 folding i wiele innych.
271 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
272 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
273 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
274 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
277 %description -l pt_BR
278 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
279 características do mundialmente famoso 'vi' que acompanha praticamente
280 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
281 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
282 outras características do 'vi'.
285 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
286 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
287 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
288 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
291 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
292 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
293 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
294 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
297 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
298 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
299 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
300 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
304 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
305 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
308 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
309 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
310 Ã¦Ê ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉÊ ×¦ÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
311 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
314 Summary: Utility to convert files to hexdump or do the reverse
315 Summary(pl): Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
316 Group: Applications/Editors/Vim
319 xxd creates a hex dump of a given file or standard input. It can also
320 convert a hex dump back to its original binary form. Like uuencode and
321 uudecode it allows the transmission of binary data in a `mail-safe'
322 ASCII representation, but has the advantage of decoding to standard
323 output. Moreover, it can be used to perform binary file patching.
325 %description -n xxd -l pl
326 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
327 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
328 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
329 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
330 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
333 Summary: Statically linked Vim
334 Summary(pl): Statycznie skonsolidowany Vim
335 Group: Applications/Editors/Vim
338 Obsoletes: elvis-static
340 Obsoletes: vim-minimal
343 Text editor similar to Vi. This version is built with minimal feature
344 and is installed in /bin as a rescue tool. The installation of this
345 package is STRONGLY recommended.
347 %description static -l pl
348 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
349 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
350 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
351 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
353 %description static -l ru
354 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
355 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
358 %description static -l uk
359 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
360 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
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
383 # mktemp is for vimtutor
386 Obsoletes: vim-common
389 This package contains macros, documentation, syntax configuration and
390 manual pages for Vim. If you want to take advantage of Vim more
391 powerful features, you should install this package.
393 %description rt -l cs
394 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
397 %description rt -l da
398 The vim-rt package contains files which every VIM binary will need in
401 %description rt -l de
402 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
405 %description rt -l fr
406 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
407 VIM a besoin pour fonctionner.
409 %description rt -l id
410 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
413 %description rt -l is
414 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
417 %description rt -l it
418 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
419 per poter funzionare.
421 %description rt -l pl
422 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
423 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
424 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
426 %description rt -l pt
427 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
428 irão necessitar para correr.
430 %description rt -l ru
431 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
432 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
434 %description rt -l sk
435 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
436 funkciu ka¾dá verzia editoru VIM.
438 %description rt -l sv
439 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
442 %description rt -l uk
443 ðÁËÅÔ vim-rt ͦÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
444 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
447 Summary: English dictionaries for VIMspell
448 Summary(pl): Angielskie s³owniki dla VIMspella
449 Group: Applications/Editors/Vim
450 Requires: %{name} = %{epoch}:%{version}-%{release}
452 %description spell-en
453 English dictionaries for VIMspell.
455 %description spell-en -l pl
456 Angielskie s³owniki dla VIMspella.
458 %package -n gvim-athena
459 Summary: Vim for X Window built with Athena
460 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Athena
461 Group: Applications/Editors/Vim
462 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
467 %description -n gvim-athena
468 The classic Unix text editor now also under X Window System! This
469 version is built with Athena Widget Set.
471 %description -n gvim-athena -l pl
472 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
473 biblioteki Athena Widget Set.
475 %description -n gvim-athena -l ru
476 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
477 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
478 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
480 %description -n gvim-athena -l uk
481 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Athena Widget
482 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
483 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
485 %package -n gvim-motif
486 Summary: Vim for X Window built with Motif
487 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki Motif
488 Group: Applications/Editors/Vim
489 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
494 %description -n gvim-motif
495 The classic Unix text editor now also under X Window System! This
496 version is built with Motif.
498 %description -n gvim-motif -l pl
499 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
502 %description -n gvim-motif -l ru
503 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
504 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
505 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
507 %description -n gvim-motif -l uk
508 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
509 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
510 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
513 Summary: Vim for X Window built with gtk
514 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GTK
515 Group: Applications/Editors/Vim
516 Requires(post,postun): gtk+2
517 Requires(post,postun): hicolor-icon-theme
518 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
523 %description -n gvim-gtk
524 The classic Unix text editor now also under X Window System! This
525 version is built with GTK.
527 %description -n gvim-gtk -l pl
528 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
531 %description -n gvim-gtk -l ru
532 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
533 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
534 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
537 %description -n gvim-gtk -l uk
538 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
539 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
540 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
542 %package -n gvim-gnome
543 Summary: Vim for X Window built with GNOME
544 Summary(pl): Vim dla X Window korzystaj±cy z biblioteki GNOME
545 Group: Applications/Editors/Vim
546 Requires(post,postun): gtk+2
547 Requires(post,postun): hicolor-icon-theme
548 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
553 %description -n gvim-gnome
554 The classic Unix text editor now also under X Window System! This
555 version is build with GNOME.
557 %description -n gvim-gnome -l pl
558 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
561 %description -n gvim-gnome -l ru
562 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
563 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
564 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
566 %description -n gvim-gnome -l uk
567 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎÕ Ú Â¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
568 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
569 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ ЦÄÔÒÉÍËÏÀ ÍÉÛ¦.
571 %package -n gvim-bonobo
572 Summary: Vim for X Window built as bonobo component
573 Summary(pl): Vim dla X Window zbudowany jako element bonobo
574 Group: Applications/Editors/Vim
575 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
580 %description -n gvim-bonobo
581 The classic Unix text editor now also under X Window System! This
582 version is build as bonobo component.
584 %description -n gvim-bonobo -l pl
585 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
589 %setup -q -n vim70 -b1
698 %{?with_home_etc:%patch104 -p1}
701 %{?with_selinux:%patch105 -p1}
703 install %{SOURCE14} runtime/indent
704 install %{SOURCE15} runtime/colors
705 install %{SOURCE16} runtime/syntax
706 install %{SOURCE17} runtime/syntax
707 install %{SOURCE18} runtime/syntax
708 install %{SOURCE19} runtime/ftplugin/spec.vim
713 # needed to prevent deconfiguring
721 --with-features=huge \
722 --enable-gui=gnome2 \
724 --enable-gtk2-check \
725 --enable-gnome-check \
727 %{!?with_perl:--disable-perlinterp} \
728 %{?with_perl:--enable-perlinterp} \
729 %{!?with_python:--disable-pythoninterp} \
730 %{?with_python:--enable-pythoninterp} \
731 %{!?with_ruby:--disable-rubyinterp} \
732 %{?with_ruby:--enable-rubyinterp} \
733 %{!?with_tcl:--disable-tclinterp} \
734 %{?with_tcl:--enable-tclinterp} \
738 --with-modifiedby="PLD Linux Distribution" \
739 --with-compiledby="PLD Linux Distribution"
741 %{__make} vim-component vim-factory Vim_Control.server
742 mv vim-component vim-factory Vim_Control.server bin/
747 LDFLAGS="%{rpmldflags} -static"
751 --disable-perlinterp \
752 --disable-pythoninterp \
753 --disable-rubyinterp \
754 --disable-tclinterp \
757 --disable-multibyte \
758 %{?with_bonobo:--disable-bonobo} \
759 --with-features=small \
760 --with-tlib="ncurses -ltinfo" \
762 --with-modifiedby="PLD Linux Distribution" \
763 --with-compiledby="PLD Linux Distribution"
767 mv -f vim bin/vim.static
768 LDFLAGS="%{rpmldflags}"
775 %{!?with_perl:--disable-perlinterp} \
776 %{?with_perl:--enable-perlinterp} \
777 %{!?with_python:--disable-pythoninterp} \
778 %{?with_python:--enable-pythoninterp} \
779 %{!?with_ruby:--disable-rubyinterp} \
780 %{?with_ruby:--enable-rubyinterp} \
781 %{!?with_tcl:--disable-tclinterp} \
782 %{?with_tcl:--enable-tclinterp} \
783 %{?with_bonobo:--disable-bonobo} \
786 --with-features=huge \
788 --with-tlib="ncurses -ltinfo" \
790 --with-modifiedby="PLD Linux Distribution" \
791 --with-compiledby="PLD Linux Distribution"
795 mv -f vim bin/vim.ncurses
800 --with-features=huge \
801 --enable-gui=athena \
803 %{!?with_perl:--disable-perlinterp} \
804 %{?with_perl:--enable-perlinterp} \
805 %{!?with_python:--disable-pythoninterp} \
806 %{?with_python:--enable-pythoninterp} \
807 %{!?with_ruby:--disable-rubyinterp} \
808 %{?with_ruby:--enable-rubyinterp} \
809 %{!?with_tcl:--disable-tclinterp} \
810 %{?with_tcl:--enable-tclinterp} \
811 %{?with_bonobo:--disable-bonobo} \
816 --with-tlib="ncurses -ltinfo" \
818 --with-modifiedby="PLD Linux Distribution" \
819 --with-compiledby="PLD Linux Distribution"
822 mv -f vim bin/gvim.athena
829 --with-features=huge \
832 %{!?with_perl:--disable-perlinterp} \
833 %{?with_perl:--enable-perlinterp} \
834 %{!?with_python:--disable-pythoninterp} \
835 %{?with_python:--enable-pythoninterp} \
836 %{!?with_ruby:--disable-rubyinterp} \
837 %{?with_ruby:--enable-rubyinterp} \
838 %{!?with_tcl:--disable-tclinterp} \
839 %{?with_tcl:--enable-tclinterp} \
840 %{?with_bonobo:--disable-bonobo} \
846 --with-tlib="ncurses -ltinfo" \
848 --with-modifiedby="PLD Linux Distribution" \
849 --with-compiledby="PLD Linux Distribution"
852 mv -f vim bin/gvim.motif
858 --with-features=huge \
860 --enable-gtk2-check \
862 %{!?with_perl:--disable-perlinterp} \
863 %{?with_perl:--enable-perlinterp} \
864 %{!?with_python:--disable-pythoninterp} \
865 %{?with_python:--enable-pythoninterp} \
866 %{!?with_ruby:--disable-rubyinterp} \
867 %{?with_ruby:--enable-rubyinterp} \
868 %{!?with_tcl:--disable-tclinterp} \
869 %{?with_tcl:--enable-tclinterp} \
870 %{?with_bonobo:--disable-bonobo} \
873 --with-tlib="ncurses -ltinfo" \
875 --with-modifiedby="PLD Linux Distribution" \
876 --with-compiledby="PLD Linux Distribution"
879 mv -f vim bin/gvim.gtk
885 --with-features=huge \
886 --enable-gui=gnome2 \
887 %{?with_bonobo:--disable-bonobo} \
888 --enable-gtk2-check \
889 --enable-gnome-check \
891 %{!?with_perl:--disable-perlinterp} \
892 %{?with_perl:--enable-perlinterp} \
893 %{!?with_python:--disable-pythoninterp} \
894 %{?with_python:--enable-pythoninterp} \
895 %{!?with_ruby:--disable-rubyinterp} \
896 %{?with_ruby:--enable-rubyinterp} \
897 %{!?with_tcl:--disable-tclinterp} \
898 %{?with_tcl:--enable-tclinterp} \
901 --with-tlib="ncurses -ltinfo" \
903 --with-modifiedby="PLD Linux Distribution" \
904 --with-compiledby="PLD Linux Distribution"
907 mv -f vim bin/gvim.gnome
910 %{__make} xxd/xxd languages
913 rm -rf $RPM_BUILD_ROOT
915 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
916 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
917 $RPM_BUILD_ROOT%{_desktopdir}
920 DESTDIR=$RPM_BUILD_ROOT
922 rm -f $RPM_BUILD_ROOT%{_bindir}/*
925 install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
926 install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
928 install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
929 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
931 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
932 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
936 # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
937 # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
938 # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
939 # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
940 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
941 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
942 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
943 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
945 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
946 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
948 # not supported directories
949 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
951 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
952 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
954 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
955 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
956 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
957 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
958 ln -sf vi $RPM_BUILD_ROOT/bin/ex
959 ln -sf vi $RPM_BUILD_ROOT/bin/view
960 ln -sf vi $RPM_BUILD_ROOT/bin/rview
962 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
965 install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
966 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
969 install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
970 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
973 install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
974 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
977 install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
978 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
979 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
980 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
981 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
982 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
983 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
986 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
987 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
988 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
989 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
993 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
994 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
995 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
998 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1000 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3}
1002 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1003 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1006 rm -rf $RPM_BUILD_ROOT
1009 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1012 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1014 %post -n gvim-athena
1015 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1017 %postun -n gvim-athena
1018 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1021 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1023 %postun -n gvim-motif
1024 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1027 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1028 %update_icon_cache hicolor
1031 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1032 %update_icon_cache hicolor
1035 %update_desktop_database_post
1036 %update_icon_cache hicolor
1038 %postun -n gvim-gnome
1039 %update_desktop_database_postun
1040 %update_icon_cache hicolor
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{_bindir}/eview
1045 %attr(755,root,root) %{_bindir}/evim
1046 %attr(755,root,root) %{_bindir}/rvim
1047 %attr(755,root,root) %{_bindir}/vim
1048 %attr(755,root,root) %{_bindir}/vimdiff
1049 %{_mandir}/man1/eview.1*
1050 %{_mandir}/man1/evim.1*
1051 %{_mandir}/man1/rvim.1*
1052 %{_mandir}/man1/vimdiff.1*
1053 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1054 %lang(fr) %{_mandir}/fr/man1/eview.1*
1055 %lang(fr) %{_mandir}/fr/man1/evim.1*
1056 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1057 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1058 %lang(id) %{_mandir}/id/man1/rvim.1*
1059 %lang(it) %{_mandir}/it/man1/eview.1*
1060 %lang(it) %{_mandir}/it/man1/evim.1*
1061 %lang(it) %{_mandir}/it/man1/rvim.1*
1062 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1063 %lang(pl) %{_mandir}/pl/man1/eview.1*
1064 %lang(pl) %{_mandir}/pl/man1/evim.1*
1065 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1066 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1067 %lang(ru) %{_mandir}/ru/man1/eview.1*
1068 %lang(ru) %{_mandir}/ru/man1/evim.1*
1069 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1070 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1071 %{_desktopdir}/%{name}.desktop
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) /bin/*
1078 %{_mandir}/man1/vi.1*
1079 %{_mandir}/man1/ex.1*
1080 %{_mandir}/man1/view.1*
1081 %{_mandir}/man1/rview.1*
1082 %lang(fi) %{_mandir}/fi/man1/vi.1*
1083 %lang(fi) %{_mandir}/fi/man1/ex.1*
1084 %lang(fi) %{_mandir}/fi/man1/view.1*
1085 %lang(fi) %{_mandir}/fi/man1/rview.1*
1086 %lang(fr) %{_mandir}/fr/man1/vi.1*
1087 %lang(fr) %{_mandir}/fr/man1/ex.1*
1088 %lang(fr) %{_mandir}/fr/man1/view.1*
1089 %lang(fr) %{_mandir}/fr/man1/rview.1*
1090 %lang(id) %{_mandir}/id/man1/vi.1*
1091 %lang(id) %{_mandir}/id/man1/ex.1*
1092 %lang(id) %{_mandir}/id/man1/view.1*
1093 %lang(id) %{_mandir}/id/man1/rview.1*
1094 #%lang(it) %{_mandir}/it/man1/vi.1*
1095 %lang(it) %{_mandir}/it/man1/ex.1*
1096 %lang(it) %{_mandir}/it/man1/view.1*
1097 %lang(it) %{_mandir}/it/man1/rview.1*
1098 %lang(pl) %{_mandir}/pl/man1/vi.1*
1099 %lang(pl) %{_mandir}/pl/man1/ex.1*
1100 %lang(pl) %{_mandir}/pl/man1/view.1*
1101 %lang(pl) %{_mandir}/pl/man1/rview.1*
1102 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1103 %lang(ru) %{_mandir}/ru/man1/ex.1*
1104 %lang(ru) %{_mandir}/ru/man1/view.1*
1105 %lang(ru) %{_mandir}/ru/man1/rview.1*
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_bindir}/xxd
1110 %{_mandir}/man1/xxd.1*
1111 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1112 %lang(it) %{_mandir}/it/man1/xxd.1*
1113 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1114 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_bindir}/vimtutor
1119 %dir %{_sysconfdir}/vim
1120 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1121 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1123 %dir %{_datadir}/vim
1124 %dir %{_datadir}/vim/v*
1125 %dir %{_datadir}/vim/v*/doc
1126 %doc %{_datadir}/vim/v*/doc/*.txt
1127 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1128 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1129 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
1130 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
1131 %{_datadir}/vim/v*/ftplugin
1132 %{_datadir}/vim/v*/indent
1133 %{_datadir}/vim/v*/keymap
1134 %dir %{_datadir}/vim/v*/lang
1135 %doc %{_datadir}/vim/v*/lang/README*
1137 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
1138 %{_datadir}/vim/vimfiles/after
1139 %{_datadir}/vim/vimfiles/ftdetect
1141 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1142 %lang(af) %{_datadir}/vim/v*/lang/af/
1143 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1144 %lang(ca) %{_datadir}/vim/v*/lang/ca/
1145 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1146 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1147 %lang(cs) %{_datadir}/vim/v*/lang/cs/
1148 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1149 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1150 %lang(de) %{_datadir}/vim/v*/lang/de/
1151 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1152 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1153 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
1154 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1155 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1156 %lang(es) %{_datadir}/vim/v*/lang/es/
1157 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1158 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1159 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1160 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1161 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1162 %lang(it) %{_datadir}/vim/v*/lang/it/
1163 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1164 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1165 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1166 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1167 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1168 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1169 %lang(nb) %{_datadir}/vim/v*/lang/no/
1170 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1171 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1172 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1173 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1174 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1175 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1176 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1177 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1178 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1179 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1180 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1181 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1182 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1183 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1184 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1185 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1186 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1187 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1188 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1189 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1190 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1191 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1192 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1193 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1194 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1195 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1197 %dir %{_datadir}/vim/v*/spell
1198 %{_datadir}/vim/v*/spell/cleanadd.vim
1199 %lang(he) %{_datadir}/vim/v*/spell/he.*
1200 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1202 %{_datadir}/vim/v*/macros
1203 %{_datadir}/vim/v*/plugin
1204 %{_datadir}/vim/v*/print
1205 %{_datadir}/vim/v*/syntax
1206 %{_datadir}/vim/v*/tools
1207 %{_datadir}/vim/v*/tutor
1208 %{_datadir}/vim/v*/colors
1209 %{_datadir}/vim/v*/compiler
1210 %{_datadir}/vim/v*/autoload
1211 %{_datadir}/vim/v*/*.vim
1213 %{_mandir}/man1/rvim.1*
1214 %{_mandir}/man1/vim.1*
1215 %{_mandir}/man1/vimtutor.1*
1216 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1217 %lang(fi) %{_mandir}/fi/man1/vim.1*
1218 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1219 %lang(fr) %{_mandir}/fr/man1/vim.1*
1220 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1221 %lang(id) %{_mandir}/id/man1/vim.1*
1222 %lang(it) %{_mandir}/it/man1/vim.1*
1223 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1224 %lang(pl) %{_mandir}/pl/man1/vim.1*
1225 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1226 %lang(ru) %{_mandir}/ru/man1/vim.1*
1227 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1228 %{_iconsdir}/hicolor/16x16/apps/vim.png
1229 %{_iconsdir}/hicolor/32x32/apps/vim.png
1230 %{_iconsdir}/hicolor/48x48/apps/vim.png
1233 %defattr(644,root,root,755)
1234 %{_datadir}/vim/v*/spell/en.*.*
1237 %files -n gvim-athena
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_bindir}/gvim.athena
1240 %{_desktopdir}/gvim-athena.desktop
1244 %files -n gvim-motif
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_bindir}/gvim.motif
1247 %{_desktopdir}/gvim-motif.desktop
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_bindir}/gvim.gtk
1254 %attr(755,root,root) %{_bindir}/gvimdiff
1255 %attr(755,root,root) %{_bindir}/rgvim
1256 %attr(755,root,root) %{_bindir}/rgview
1257 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1258 %{_mandir}/man1/gvi*
1259 %{_mandir}/man1/rgv*
1260 %lang(fi) %{_mandir}/fi/man1/gvi*
1261 %lang(fi) %{_mandir}/fi/man1/rgv*
1262 %lang(fr) %{_mandir}/fr/man1/gvi*
1263 %lang(fr) %{_mandir}/fr/man1/rgv*
1264 %lang(id) %{_mandir}/id/man1/gvi*
1265 %lang(id) %{_mandir}/id/man1/rgv*
1266 %lang(it) %{_mandir}/it/man1/gvi*
1267 %lang(it) %{_mandir}/it/man1/rgv*
1268 %lang(pl) %{_mandir}/pl/man1/gvi*
1269 %lang(pl) %{_mandir}/pl/man1/rgv*
1270 %lang(ru) %{_mandir}/ru/man1/gvi*
1271 %lang(ru) %{_mandir}/ru/man1/rgv*
1272 %{_desktopdir}/gvim-gtk.desktop
1276 %files -n gvim-gnome
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_bindir}/gvim.gnome
1279 %{_desktopdir}/gvim-gnome.desktop
1283 %files -n gvim-bonobo
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/vim-component
1286 %attr(755,root,root) %{_bindir}/vim-factory
1287 %{_libdir}/bonobo/servers/*