]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- updated to 7.0.022
[packages/vim.git] / vim.spec
1 # TODO:
2 # - fix man dirs (encodings in paths - such dirs don't exist in system)
3 # - separate vim-spell-en
4 # - some nice icon
5 # - bonobo patches need update
6 #
7 # Conditional build:
8 %bcond_without  static          # don't build static version
9 %bcond_without  athena          # don't build Athena Widgets-based gvim
10 %bcond_without  motif           # don't build Motif-based gvim
11 %bcond_without  gtk             # don't build GTK+-based gvim support
12 %bcond_without  gnome           # don't build GNOME-based gvim support
13 %bcond_without  perl            # without Perl interp
14 %bcond_without  python          # without Python interp
15 %bcond_with     ruby            # with Ruby interp
16 %bcond_with     tcl             # with Tcl interp
17 %bcond_with     bonobo          # with bonobo component (breaks other things)
18 %bcond_without  selinux         # without selinux support
19 %bcond_without  home_etc        # without home_etc support
20 #
21 %define         _ver            7.0
22 %define         _patchlevel     022
23 %define         _rel            1
24
25 # cflags get changed while configuring
26 %undefine       configure_cache
27 #
28 Summary:        Vi IMproved - a Vi clone
29 Summary(de):    VIsual editor iMproved
30 Summary(es):    Editor visual incrementado
31 Summary(fr):    Editeur VIM : VIsual editor iMproved
32 Summary(pl):    Vi IMproved - klon edytora Vi
33 Summary(pt_BR): Editor visual incrementado
34 Summary(ru):    Visual editor IMproved - åÄÉÎÓÔ×ÅÎÎÏ ðÒÁ×ÉÌØÎÙÊ òÅÄÁËÔÏÒ :)
35 Summary(tr):    Geliþmiþ bir vi sürümü
36 Summary(uk):    Visual editor IMproved - ´ÄÉÎÏ ÷¦ÒÎÉÊ òÅÄÁËÔÏÒ :)
37 Name:           vim
38 Version:        %{_ver}.%{_patchlevel}
39 Release:        %{_rel}
40 Epoch:          4
41 License:        Charityware
42 Group:          Applications/Editors/Vim
43 Source0:        ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
44 # Source0-md5:  4ca69757678272f718b1041c810d82d8
45 Source1:        ftp://ftp.vim.org/pub/vim/extra/vim-%{_ver}-lang.tar.gz
46 # Source1-md5:  6d43efaff570b5c86e76b833ea0c6a04
47 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
48 # Source2-md5:  bc4d1e115ca506ad7751b9bd2b773a7f
49 Source3:        http://skawina.eu.org/mikolaj/usr_doc_pl.zip
50 # Source3-md5:  ff96284b1c913d55cf0877839b34d490
51 Source10:       g%{name}-athena.desktop
52 Source11:       g%{name}-motif.desktop
53 Source12:       g%{name}-gtk.desktop
54 Source13:       g%{name}-gnome.desktop
55 Source14:       %{name}.desktop
56 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
57 Source15:       zenburn.%{name}
58 Source16:       spec.%{name}
59 # http://www.vim.org/scripts/script.php?script_id=1491 (0.5)
60 Source17:       javascript.%{name}
61 Source18:       nagios.vim
62 Source19:       vim-ftplugin-spec.vim
63 Patch0:         %{name}-sysconfdir.patch
64 Patch1:         %{name}-visual.patch
65 Patch2:         %{name}-paths.patch
66 Patch3:         %{name}-%{name}rc.patch
67 Patch4:         %{name}-no_libelf.patch
68 Patch5:         %{name}-egrep.patch
69 Patch6:         %{name}-awk.patch
70 Patch7:         %{name}-filetype_vim-perl_tests.patch
71 Patch8:         %{name}-apache.patch
72 Patch9:         %{name}-po-syntax.patch
73 Patch10:        %{name}-modprobe.patch
74 Patch11:        %{name}-doubleparenthesis.patch
75 Patch12:        %{name}-syntax-fstab.patch
76 Patch13:        010_all_%{name}-6.3-vixie.patch
77 Patch14:        013_all_%{name}-7.0-cron-vars-79981.patch
78 Patch15:        020_all_%{name}-7.0-fstab-tmpfs-size.patch
79 Patch16:        021_all_%{name}-7.0-fstab-bogus-errors.patch
80 Patch17:        024_all_%{name}-6.3-bash-83565.patch
81 Patch18:        027_all_%{name}-7.0-automake-substitutions-93378.patch
82 Patch19:        %{name}-smarty.patch
83 Patch20:        %{name}-tutor-lessdeps.patch
84 Patch21:        %{name}-nagios.patch
85 Patch22:        %{name}-filetypes.patch
86 Patch100:       %{name}-bonobo-20050909.patch
87 Patch101:       %{name}-bonobo.patch
88 Patch102:       %{name}-gtkfilechooser.patch
89 Patch103:       %{name}-gtkfilechooser-bonobo.patch
90 Patch104:       %{name}-home_etc.patch
91 Patch105:       %{name}-selinux.patch
92 Patch201:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001
93 Patch202:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002
94 Patch203:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003
95 Patch204:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.004
96 # patch for -extra
97 #Patch205:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.005
98 Patch206:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.006
99 Patch207:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.007
100 Patch208:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.008
101 Patch209:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.009
102 Patch210:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.010
103 Patch211:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.011
104 Patch212:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.012
105 Patch213:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.013
106 Patch214:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.014
107 Patch215:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.015
108 Patch216:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.016
109 Patch217:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.017
110 Patch218:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.018
111 Patch219:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.019
112 Patch220:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.020
113 Patch221:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.021
114 Patch222:       ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.022
115 URL:            http://www.vim.org/
116 BuildRequires:  acl-devel
117 BuildRequires:  autoconf
118 BuildRequires:  gettext-devel
119 BuildRequires:  gpm-devel
120 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.6.0}
121 %{?with_gnome:BuildRequires:    libgnomeui-devel >= 2.2.0.1}
122 %{?with_selinux:BuildRequires:  libselinux-devel}
123 BuildRequires:  ncurses-devel
124 %{?with_motif:BuildRequires:    openmotif-devel}
125 %{?with_perl:BuildRequires:     perl-devel}
126 %{?with_python:BuildRequires:   python-devel}
127 %{?with_ruby:BuildRequires:     ruby-devel}
128 %{?with_tcl:BuildRequires:      tcl-devel}
129 %{?with_athena:BuildRequires:   xorg-lib-libXaw-devel}
130 Obsoletes:      kvim
131 %if %{with bonobo}
132 BuildRequires:  ORBit2-devel
133 BuildRequires:  libbonoboui-devel >= 2.2.0
134 BuildRequires:  libgnomeui-devel >= 2.2.0.1
135 BuildRequires:  nautilus-devel >= 2.2.0
136 %endif
137 BuildRequires:  rpmbuild(macros) >= 1.210
138 %if %{with static}
139 BuildRequires:  acl-static
140 BuildRequires:  attr-static
141 BuildRequires:  glibc-static
142 %{?with_selinux:BuildRequires:  libselinux-static}
143 BuildRequires:  ncurses-static
144 %else
145 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
146 Obsoletes:      elvis-static
147 Obsoletes:      nvi
148 Obsoletes:      vi
149 Obsoletes:      vim-minimal
150 Obsoletes:      vim-static
151 %endif
152 BuildRequires:  unzip
153 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
154 Provides:       vi-editor
155 Provides:       vi
156 Obsoletes:      vim-enhanced
157 Obsoletes:      vim-ispell
158 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
159
160 # that's example script
161 %define         _noautoreq      '/bin/csh'
162
163 %description
164 Text editor similar to Vi. Important improvements: multiple windows,
165 multi-level undo, block highliting, folding, and many other.
166
167 %description -l cs
168 ViM je nový a vylep¹ený editor vycházející z klasického editoru vi. Vi
169 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
170 populární. ViM je obohacený funkcemi jako: podpora více oken,
171 víceúrovòové undo, zvýrazòování blokù a øadu dal¹ích u¾iteèných
172 funkcí.
173
174 %description -l de
175 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
176 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
177 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
178 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
179 Standard-vi-Programm.
180
181 %description -l es
182 El editor Visual Mejorado es una versión actualizada y con nuevas
183 características adicionales del mundialmente famoso 'vi' que acompaña
184 prácticamente todos los sistemas UN*X. Posibilita trabajar con
185 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
186 otras muchas características del 'vi'.
187
188 %description -l fr
189 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
190 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
191 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
192 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
193 blocs et autres caractéristiques au vi de base.
194
195 %description -l id
196 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
197 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
198 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
199 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
200 windows, multi-level undo, block highlighting, dll.
201
202 %description -l is
203 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
204 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
205 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
206 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
207 fleira.
208
209 %description -l it
210 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
211 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
212 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
213 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
214 dei blocchi e altro.
215
216 %description -l pl
217 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
218 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
219 folding i wiele innych.
220
221 %description -l pt
222 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
223 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
224 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
225 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
226 de blocos e mais.
227
228 %description -l pt_BR
229 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
230 características do mundialmente famoso 'vi' que acompanha praticamente
231 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
232 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
233 outras características do 'vi'.
234
235 %description -l ru
236 VIsual editor iMproved - ÜÔÏ ÏÂÎÏ×ÌÅÎÎÙÊ É ÚÎÁÞÉÔÅÌØÎÏ ÕÌÕÞÛÅÎÎÙÊ ËÌÏÎ
237 ÒÅÄÁËÔÏÒÁ vi, ËÏÔÏÒÙÊ ÐÏÓÔÁ×ÌÑÅÔÓÑ ÐÒÁËÔÉÞÅÓËÉ ÓÏ ×ÓÅÍÉ
238 UN*X-ÓÉÓÔÅÍÁÍÉ. ÷ ÜÔÏÊ ×ÅÒÓÉÉ ÅÓÔØ ÍÎÏÇÏÕÒÏ×ÎÅ×ÙÊ ÏÔËÁÔ, ×ÙÄÅÌÅÎÉÅ
239 ÂÌÏËÏ×, ÓÉÎÔÁËÓÉÞÅÓËÁÑ ÐÏÄÓ×ÅÔËÁ É ÍÎÏÇÏ ÄÒÕÇÏÇÏ...
240
241 %description -l sk
242 VIM (VIsual editor iMproved) je nov¹ia a vylep¹ená verzia editoru vi.
243 Vi bol prvým skutoène obrazovkovo orientovaným editorom pre UNIX a
244 stále je veµmi populárny. VIM má oproti vi vylep¹enia ako: prácu s
245 viacerými oknami, viacnásobné undo, zvýrazòovanie blokov textu a iné.
246
247 %description -l sv
248 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
249 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
250 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
251 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
252 ändå.
253
254 %description -l tr
255 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
256 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
257
258 %description -l uk
259 VIsual editor iMproved - ÃÅ ÏÎÏ×ÌÅÎÉÊ ÔÁ ÚÎÁÞÎÏ ÐÏ̦ÐÛÅÎÉÊ ËÌÏÎ
260 ÒÅÄÁËÔÏÒÁ vi, ÑËÉÊ ÐÏÓÔÁ×ÌѤÔØÓÑ ÐÒÁËÔÉÞÎÏ Ú¦ ×Ó¦ÍÁ UN*X-ÓÉÓÔÅÍÁÍÉ. ÷
261 æʠ×ÅÒÓ¦§ ¤ ÂÁÇÁÔÏÒ¦×ÎÅ×ÉʠצÄËÁÔ, ×ÉĦÌÅÎÎÑ ÂÌÏ˦×, ÓÉÎÔÁËÓÉÞÎÁ
262 ЦÄÓצÔËÁ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ...
263
264 %package -n xxd
265 Summary:        Utility to convert files to hexdump or do the reverse
266 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
267 Group:          Applications/Editors/Vim
268
269 %description -n xxd
270 xxd creates a hex dump of a given file or standard input. It can also
271 convert a hex dump back to its original binary form. Like uuencode and
272 uudecode it allows the transmission of binary data in a `mail-safe'
273 ASCII representation, but has the advantage of decoding to standard
274 output. Moreover, it can be used to perform binary file patching.
275
276 %description -n xxd -l pl
277 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
278 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
279 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
280 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
281 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
282
283 %package static
284 Summary:        Statically linked Vim
285 Summary(pl):    Statycznie skonsolidowany Vim
286 Group:          Applications/Editors/Vim
287 Provides:       vi-editor
288 Provides:       vi
289 Obsoletes:      elvis-static
290 Obsoletes:      nvi
291 Obsoletes:      vim-minimal
292
293 %description static
294 Text editor similar to Vi. This version is built with minimal feature
295 and is installed in /bin as a rescue tool. The installation of this
296 package is STRONGLY recommended.
297
298 %description static -l pl
299 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
300 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
301 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
302 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
303
304 %description static -l ru
305 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
306 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
307 ÓÉÓÔÅÍÁ.
308
309 %description static -l uk
310 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
311 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
312
313 %package rt
314 Summary:        Vim runtime files
315 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
316 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
317 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
318 Summary(es):    Ficheros comunes a todas las versiones de VIM
319 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
320 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
321 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
322 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
323 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
324 Summary(nb):    Felles filer som er nødvendige for enhver versjon av VIM editoren
325 Summary(pl):    Pliki przydatne edytorowi Vim
326 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
327 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
328 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
329 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
330 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
331 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
332 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
333 Group:          Applications/Editors/Vim
334 # mktemp is for vimtutor
335 Requires:       mktemp
336 Requires:       vi-editor
337 Obsoletes:      vim-common
338
339 %description rt
340 This package contains macros, documentation, syntax configuration and
341 manual pages for Vim. If you want to take advantage of Vim more
342 powerful features, you should install this package.
343
344 %description rt -l cs
345 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
346 vim.
347
348 %description rt -l da
349 The vim-rt package contains files which every VIM binary will need in
350 order to run.
351
352 %description rt -l de
353 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
354 Ausführung benötigt.
355
356 %description rt -l fr
357 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
358 VIM a besoin pour fonctionner.
359
360 %description rt -l id
361 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
362 berjalan.
363
364 %description rt -l is
365 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
366 til að keyra.
367
368 %description rt -l it
369 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
370 per poter funzionare.
371
372 %description rt -l pl
373 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
374 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
375 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
376
377 %description rt -l pt
378 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
379 irão necessitar para correr.
380
381 %description rt -l ru
382 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
383 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
384
385 %description rt -l sk
386 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
387 funkciu ka¾dá verzia editoru VIM.
388
389 %description rt -l sv
390 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
391 köra.
392
393 %description rt -l uk
394 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
395 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
396
397 %package -n gvim-athena
398 Summary:        Vim for X Window built with Athena
399 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
400 Group:          Applications/Editors/Vim
401 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
402 Requires:       iconv
403 Provides:       vi-editor
404 Obsoletes:      vim-X11
405
406 %description -n gvim-athena
407 The classic Unix text editor now also under X Window System! This
408 version is built with Athena Widget Set.
409
410 %description -n gvim-athena -l pl
411 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
412 biblioteki Athena Widget Set.
413
414 %description -n gvim-athena -l ru
415 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
416 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
417 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
418
419 %description -n gvim-athena -l uk
420 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
421 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
422 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
423
424 %package -n gvim-motif
425 Summary:        Vim for X Window built with Motif
426 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
427 Group:          Applications/Editors/Vim
428 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
429 Requires:       iconv
430 Provides:       vi-editor
431 Obsoletes:      vim-X11
432
433 %description -n gvim-motif
434 The classic Unix text editor now also under X Window System! This
435 version is built with Motif.
436
437 %description -n gvim-motif -l pl
438 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
439 biblioteki Motif.
440
441 %description -n gvim-motif -l ru
442 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
443 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
444 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
445
446 %description -n gvim-motif -l uk
447 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
448 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
449 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
450
451 %package -n gvim-gtk
452 Summary:        Vim for X Window built with gtk
453 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
454 Group:          Applications/Editors/Vim
455 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
456 Requires:       iconv
457 Provides:       vi-editor
458 Obsoletes:      vim-X11
459
460 %description -n gvim-gtk
461 The classic Unix text editor now also under X Window System! This
462 version is built with GTK.
463
464 %description -n gvim-gtk -l pl
465 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
466 biblioteki GTK.
467
468 %description -n gvim-gtk -l ru
469 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
470 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
471 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
472 'gvim'...
473
474 %description -n gvim-gtk -l uk
475 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
476 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
477 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
478
479 %package -n gvim-gnome
480 Summary:        Vim for X Window built with GNOME
481 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
482 Group:          Applications/Editors/Vim
483 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
484 Requires:       iconv
485 Provides:       vi-editor
486 Obsoletes:      vim-X11
487
488 %description -n gvim-gnome
489 The classic Unix text editor now also under X Window System! This
490 version is build with GNOME.
491
492 %description -n gvim-gnome -l pl
493 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
494 bibliotek GNOME.
495
496 %description -n gvim-gnome -l ru
497 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
498 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
499 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
500
501 %description -n gvim-gnome -l uk
502 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
503 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
504 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
505
506 %package -n gvim-bonobo
507 Summary:        Vim for X Window built as bonobo component
508 Summary(pl):    Vim dla X Window zbudowany jako element bonobo
509 Group:          Applications/Editors/Vim
510 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
511 Requires:       iconv
512 Provides:       vi-editor
513 Obsoletes:      vim-X11
514
515 %description -n gvim-bonobo
516 The classic Unix text editor now also under X Window System! This
517 version is build as bonobo component.
518
519 %description -n gvim-bonobo -l pl
520 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
521 element bonobo.
522
523 %prep
524 %setup -q -n vim70 -b1
525 %patch0 -p1
526 %patch1 -p1
527 %patch2 -p1
528 %patch3 -p1
529 %patch4 -p1
530 %patch5 -p1
531 %patch6 -p1
532 %patch7 -p1
533 %patch8 -p1
534 %patch9 -p1
535 %patch10 -p0
536 %patch11 -p1
537 %patch12 -p1
538 %patch13 -p1
539 %patch14 -p1
540 %patch15 -p1
541 %patch16 -p1
542 %patch17 -p0
543 %patch18 -p0
544 %patch19 -p1
545 %patch20 -p1
546 %patch21 -p1
547 %patch22 -p1
548
549 # official patches
550 %patch201 -p0
551 %patch202 -p0
552 %patch203 -p0
553 %patch204 -p0
554 # patch for -extra
555 #%patch205 -p0
556 %patch206 -p0
557 %patch207 -p0
558 %patch208 -p0
559 %patch209 -p0
560 %patch210 -p0
561 %patch211 -p0
562 %patch212 -p0
563 %patch213 -p0
564 %patch214 -p0
565 %patch215 -p0
566 %patch216 -p0
567 %patch217 -p0
568 %patch218 -p0
569 %patch219 -p0
570 %patch220 -p0
571 %patch221 -p0
572 %patch222 -p0
573
574 # bonobo
575 %if %{with bonobo}
576 %patch100 -p1
577 %patch101 -p1
578 %patch102 -p1
579 %patch103 -p1
580 %endif
581
582 # home etc
583 %{?with_home_etc:%patch104 -p1}
584
585 # selinux
586 %{?with_selinux:%patch105 -p1}
587
588 install %{SOURCE14} runtime/indent
589 install %{SOURCE15} runtime/colors
590 install %{SOURCE16} runtime/syntax
591 install %{SOURCE17} runtime/syntax
592 install %{SOURCE18} runtime/syntax
593 install %{SOURCE19} runtime/ftplugin/spec.vim
594
595 %build
596 cd src
597 %{__autoconf}
598 # needed to prevent deconfiguring
599 cp -f configure auto
600
601 install -d bin
602
603 %if %{with bonobo}
604 %{__make} distclean
605 %configure \
606         --with-features=huge \
607         --enable-gui=gnome2 \
608         --enable-bonobo \
609         --enable-gtk2-check \
610         --enable-gnome-check \
611         --with-x \
612         %{!?with_perl:--disable-perlinterp} \
613         %{?with_perl:--enable-perlinterp} \
614         %{!?with_python:--disable-pythoninterp} \
615         %{?with_python:--enable-pythoninterp} \
616         %{!?with_ruby:--disable-rubyinterp} \
617         %{?with_ruby:--enable-rubyinterp} \
618         %{!?with_tcl:--disable-tclinterp} \
619         %{?with_tcl:--enable-tclinterp} \
620         --disable-gpm \
621         --enable-cscope \
622         --enable-nls \
623         --with-modifiedby="PLD Linux Distribution" \
624         --with-compiledby="PLD Linux Distribution"
625
626 %{__make} vim-component vim-factory Vim_Control.server
627 mv vim-component vim-factory Vim_Control.server bin/
628 %endif
629
630 %if %{with static}
631 %{__make} distclean
632 LDFLAGS="%{rpmldflags} -static"
633 %configure \
634         --disable-gui \
635         --without-x \
636         --disable-perlinterp \
637         --disable-pythoninterp \
638         --disable-rubyinterp \
639         --disable-tclinterp \
640         --disable-cscope \
641         --disable-gpm \
642         --disable-multibyte \
643         %{?with_bonobo:--disable-bonobo} \
644         --with-features=small \
645         --with-tlib=tinfo \
646         --disable-nls \
647         --with-modifiedby="PLD Linux Distribution" \
648         --with-compiledby="PLD Linux Distribution"
649
650 %{__make} vim
651
652 mv -f vim bin/vim.static
653 LDFLAGS="%{rpmldflags}"
654 %endif
655
656 %{__make} distclean
657 %configure \
658         --disable-gui \
659         --without-x \
660         %{!?with_perl:--disable-perlinterp} \
661         %{?with_perl:--enable-perlinterp} \
662         %{!?with_python:--disable-pythoninterp} \
663         %{?with_python:--enable-pythoninterp} \
664         %{!?with_ruby:--disable-rubyinterp} \
665         %{?with_ruby:--enable-rubyinterp} \
666         %{!?with_tcl:--disable-tclinterp} \
667         %{?with_tcl:--enable-tclinterp} \
668         %{?with_bonobo:--disable-bonobo} \
669         --enable-cscope \
670         --enable-gpm \
671         --with-features=huge \
672         --enable-multibyte \
673         --with-tlib=ncurses \
674         --enable-nls \
675         --with-modifiedby="PLD Linux Distribution" \
676         --with-compiledby="PLD Linux Distribution"
677
678 %{__make} vim
679
680 mv -f vim bin/vim.ncurses
681
682 %if %{with athena}
683 %{__make} distclean
684 %configure \
685         --with-features=huge \
686         --enable-gui=athena \
687         --with-x \
688         %{!?with_perl:--disable-perlinterp} \
689         %{?with_perl:--enable-perlinterp} \
690         %{!?with_python:--disable-pythoninterp} \
691         %{?with_python:--enable-pythoninterp} \
692         %{!?with_ruby:--disable-rubyinterp} \
693         %{?with_ruby:--enable-rubyinterp} \
694         %{!?with_tcl:--disable-tclinterp} \
695         %{?with_tcl:--enable-tclinterp} \
696         %{?with_bonobo:--disable-bonobo} \
697         --enable-cscope \
698         --enable-fontset \
699         --disable-gpm \
700         --without-gnome \
701         --enable-nls \
702         --with-modifiedby="PLD Linux Distribution" \
703         --with-compiledby="PLD Linux Distribution"
704
705 %{__make} vim
706 mv -f vim bin/gvim.athena
707 %endif
708
709
710 %if %{with motif}
711 %{__make} distclean
712 %configure \
713         --with-features=huge \
714         --enable-gui=motif \
715         --with-x \
716         %{!?with_perl:--disable-perlinterp} \
717         %{?with_perl:--enable-perlinterp} \
718         %{!?with_python:--disable-pythoninterp} \
719         %{?with_python:--enable-pythoninterp} \
720         %{!?with_ruby:--disable-rubyinterp} \
721         %{?with_ruby:--enable-rubyinterp} \
722         %{!?with_tcl:--disable-tclinterp} \
723         %{?with_tcl:--enable-tclinterp} \
724         %{?with_bonobo:--disable-bonobo} \
725         --enable-multibyte \
726         --enable-cscope \
727         --enable-fontset \
728         --disable-gpm \
729         --without-gnome \
730         --enable-nls \
731         --with-modifiedby="PLD Linux Distribution" \
732         --with-compiledby="PLD Linux Distribution"
733
734 %{__make} vim
735 mv -f vim bin/gvim.motif
736 %endif
737
738 %if %{with gtk}
739 %{__make} distclean
740 %configure \
741         --with-features=huge \
742         --enable-gui=gtk2 \
743         --enable-gtk2-check \
744         --with-x \
745         %{!?with_perl:--disable-perlinterp} \
746         %{?with_perl:--enable-perlinterp} \
747         %{!?with_python:--disable-pythoninterp} \
748         %{?with_python:--enable-pythoninterp} \
749         %{!?with_ruby:--disable-rubyinterp} \
750         %{?with_ruby:--enable-rubyinterp} \
751         %{!?with_tcl:--disable-tclinterp} \
752         %{?with_tcl:--enable-tclinterp} \
753         %{?with_bonobo:--disable-bonobo} \
754         --disable-gpm \
755         --enable-cscope \
756         --enable-nls \
757         --with-modifiedby="PLD Linux Distribution" \
758         --with-compiledby="PLD Linux Distribution"
759
760 %{__make} vim
761 mv -f vim bin/gvim.gtk
762 %endif
763
764 %if %{with gnome}
765 %{__make} distclean
766 %configure \
767         --with-features=huge \
768         --enable-gui=gnome2 \
769         %{?with_bonobo:--disable-bonobo} \
770         --enable-gtk2-check \
771         --enable-gnome-check \
772         --with-x \
773         %{!?with_perl:--disable-perlinterp} \
774         %{?with_perl:--enable-perlinterp} \
775         %{!?with_python:--disable-pythoninterp} \
776         %{?with_python:--enable-pythoninterp} \
777         %{!?with_ruby:--disable-rubyinterp} \
778         %{?with_ruby:--enable-rubyinterp} \
779         %{!?with_tcl:--disable-tclinterp} \
780         %{?with_tcl:--enable-tclinterp} \
781         --disable-gpm \
782         --enable-cscope \
783         --enable-nls \
784         --with-modifiedby="PLD Linux Distribution" \
785         --with-compiledby="PLD Linux Distribution"
786
787 %{__make} vim
788 mv -f vim bin/gvim.gnome
789 %endif
790
791 %{__make} xxd/xxd languages
792
793 %install
794 rm -rf $RPM_BUILD_ROOT
795
796 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
797         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
798         $RPM_BUILD_ROOT%{_desktopdir}
799
800 %{__make} install \
801         DESTDIR=$RPM_BUILD_ROOT
802
803 rm -f $RPM_BUILD_ROOT%{_bindir}/*
804
805 %if %{with static}
806 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
807 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
808 %else
809 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
810 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
811 %endif
812 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
813 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
814
815 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
816
817 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
818 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
819
820 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
821
822 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
823 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
824 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
825 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
826 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
827
828 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
829 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
830
831 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
832 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
833 ln -sf vi  $RPM_BUILD_ROOT/bin/view
834 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
835
836 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
837
838 %if %{with athena}
839 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
840 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
841 %endif
842 %if %{with motif}
843 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
844 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
845 %endif
846 %if %{with gnome}
847 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
848 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
849 %endif
850 %if %{with gtk}
851 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
852 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
853 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
854 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
855 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
856 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
857 %endif
858
859 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
860 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
861 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
862 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
863
864 # Bonobo
865 %if %{with bonobo}
866 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
867 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
868 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
869 %endif
870
871 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
872 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3}
873
874 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
875 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
876
877 %clean
878 rm -rf $RPM_BUILD_ROOT
879
880 %post
881 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
882
883 %postun
884 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
885
886 %post -n gvim-athena
887 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
888
889 %postun -n gvim-athena
890 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
891
892 %post -n gvim-motif
893 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
894
895 %postun -n gvim-motif
896 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
897
898 %post -n gvim-gtk
899 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
900
901 %postun -n gvim-gtk
902 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
903
904 %post -n gvim-gnome
905 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
906
907 %postun -n gvim-gnome
908 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
909
910 %files
911 %defattr(644,root,root,755)
912 %attr(755,root,root) %{_bindir}/vim
913 %attr(755,root,root) %{_bindir}/rvim
914 %{_desktopdir}/%{name}.desktop
915
916 %if %{with static}
917 %files static
918 %endif
919 %defattr(644,root,root,755)
920 %attr(755,root,root) /bin/*
921
922 %{_mandir}/man1/vi.1*
923 %{_mandir}/man1/ex.1*
924 %{_mandir}/man1/view.1*
925 %{_mandir}/man1/rview.1*
926 %lang(fi) %{_mandir}/fi/man1/vi.1*
927 %lang(fi) %{_mandir}/fi/man1/ex.1*
928 %lang(fi) %{_mandir}/fi/man1/view.1*
929 %lang(fi) %{_mandir}/fi/man1/rview.1*
930 %lang(fr) %{_mandir}/fr*/man1/vi.1*
931 %lang(fr) %{_mandir}/fr*/man1/evim.1*
932 %lang(fr) %{_mandir}/fr*/man1/vim.1*
933 %lang(fr) %{_mandir}/fr*/man1/vimdiff.1*
934 %lang(fr) %{_mandir}/fr*/man1/vimtutor.1*
935 %lang(fr) %{_mandir}/fr*/man1/ex.1*
936 %lang(fr) %{_mandir}/fr*/man1/view.1*
937 %lang(fr) %{_mandir}/fr*/man1/rview.1*
938 %lang(id) %{_mandir}/id/man1/vi.1*
939 %lang(id) %{_mandir}/id/man1/ex.1*
940 %lang(id) %{_mandir}/id/man1/view.1*
941 %lang(id) %{_mandir}/id/man1/rview.1*
942 %lang(it) %{_mandir}/it*/man1/ex.1*
943 %lang(it) %{_mandir}/it*/man1/evim.1*
944 %lang(it) %{_mandir}/it*/man1/view.1*
945 %lang(it) %{_mandir}/it*/man1/rview.1*
946 %lang(pl) %{_mandir}/pl*/man1/vi.1*
947 %lang(pl) %{_mandir}/pl*/man1/evim.1*
948 %lang(pl) %{_mandir}/pl*/man1/vim.1*
949 %lang(pl) %{_mandir}/pl*/man1/vimdiff.1*
950 %lang(pl) %{_mandir}/pl*/man1/vimtutor.1*
951 %lang(pl) %{_mandir}/pl*/man1/ex.1*
952 %lang(pl) %{_mandir}/pl*/man1/view.1*
953 %lang(pl) %{_mandir}/pl*/man1/rview.1*
954 %lang(ru) %{_mandir}/ru*/man1/ex.1*
955 %lang(ru) %{_mandir}/ru*/man1/evim.1*
956 %lang(ru) %{_mandir}/ru*/man1/view.1*
957 %lang(ru) %{_mandir}/ru*/man1/rview.1*
958
959 %files -n xxd
960 %defattr(644,root,root,755)
961 %attr(755,root,root) %{_bindir}/xxd
962 %{_mandir}/man1/xxd.1*
963 %lang(fr) %{_mandir}/fr*/man1/xxd.1*
964 %lang(it) %{_mandir}/it*/man1/xxd.1*
965 %lang(pl) %{_mandir}/pl*/man1/xxd.1*
966 %lang(ru) %{_mandir}/ru*/man1/xxd.1*
967
968 %files rt
969 %defattr(644,root,root,755)
970 %attr(755,root,root) %{_bindir}/vimtutor
971 %dir %{_sysconfdir}/vim
972 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
973 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
974
975 %dir %{_datadir}/vim
976 %dir %{_datadir}/vim/v*
977 %dir %{_datadir}/vim/v*/doc
978 %doc %{_datadir}/vim/v*/doc/*.txt
979 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
980 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
981 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
982 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
983 %{_datadir}/vim/v*/ftplugin
984 %{_datadir}/vim/v*/indent
985 %{_datadir}/vim/v*/keymap
986 %dir %{_datadir}/vim/v*/lang
987 %doc %{_datadir}/vim/v*/lang/README*
988
989 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
990 %{_datadir}/vim/vimfiles/after
991 %{_datadir}/vim/vimfiles/ftdetect
992
993 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
994 %lang(af) %{_datadir}/vim/v*/lang/af/
995 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
996 %lang(ca) %{_datadir}/vim/v*/lang/ca/
997 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
998 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
999 %lang(cs) %{_datadir}/vim/v*/lang/cs/
1000 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1001 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1002 %lang(de) %{_datadir}/vim/v*/lang/de/
1003 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1004 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1005 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
1006 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1007 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1008 %lang(es) %{_datadir}/vim/v*/lang/es/
1009 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1010 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1011 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1012 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1013 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1014 %lang(it) %{_datadir}/vim/v*/lang/it/
1015 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1016 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1017 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1018 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1019 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1020 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1021 %lang(nb) %{_datadir}/vim/v*/lang/no/
1022 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1023 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1024 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1025 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1026 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1027 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1028 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1029 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1030 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1031 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1032 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1033 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1034 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1035 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1036 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1037 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1038 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1039 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1040 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1041 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1042 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1043 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1044 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1045 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1046 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1047 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1048
1049 %dir %{_datadir}/vim/v*/spell
1050 %{_datadir}/vim/v*/spell/cleanadd.vim
1051 # XXX: separate vim-spell-en
1052 %{_datadir}/vim/v*/spell/en.*.*
1053 %{_datadir}/vim/v*/spell/he.*
1054 %{_datadir}/vim/v*/spell/yi.*
1055
1056 %{_datadir}/vim/v*/macros
1057 %{_datadir}/vim/v*/plugin
1058 %{_datadir}/vim/v*/print
1059 %{_datadir}/vim/v*/syntax
1060 %{_datadir}/vim/v*/tools
1061 %{_datadir}/vim/v*/tutor
1062 %{_datadir}/vim/v*/colors
1063 %{_datadir}/vim/v*/compiler
1064 %{_datadir}/vim/v*/autoload
1065 %{_datadir}/vim/v*/*.vim
1066
1067 %{_mandir}/man1/vim*
1068 %{_mandir}/man1/rvim.*
1069 %lang(fi) %{_mandir}/fi/man1/vim*
1070 %lang(fi) %{_mandir}/fi/man1/rvim.*
1071 %lang(fi) %{_mandir}/fi/man1/gvi*
1072 %lang(fi) %{_mandir}/fi/man1/rgv*
1073 %lang(fr) %{_mandir}/fr/man1/vim*
1074 %lang(fr) %{_mandir}/fr/man1/rvim.*
1075 %lang(fr) %{_mandir}/fr/man1/gvi*
1076 %lang(fr) %{_mandir}/fr/man1/rgv*
1077 %lang(id) %{_mandir}/id/man1/vim*
1078 %lang(id) %{_mandir}/id/man1/rvim.*
1079 %lang(id) %{_mandir}/id/man1/gvi*
1080 %lang(id) %{_mandir}/id/man1/rgv*
1081 %lang(it) %{_mandir}/it*/man1/vim*
1082 %lang(pl) %{_mandir}/pl/man1/vim*
1083 %lang(pl) %{_mandir}/pl/man1/rvim.*
1084 %lang(pl) %{_mandir}/pl/man1/gvi*
1085 %lang(pl) %{_mandir}/pl/man1/rgv*
1086 %lang(ru) %{_mandir}/ru*/man1/vim*
1087
1088 %{_iconsdir}/hicolor/16x16/apps/vim.png
1089 %{_iconsdir}/hicolor/32x32/apps/vim.png
1090 %{_iconsdir}/hicolor/48x48/apps/vim.png
1091
1092 %if %{with athena}
1093 %files -n gvim-athena
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_bindir}/gvim.athena
1096 %{_desktopdir}/gvim-athena.desktop
1097 %endif
1098
1099 %if %{with motif}
1100 %files -n gvim-motif
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_bindir}/gvim.motif
1103 %{_desktopdir}/gvim-motif.desktop
1104 %endif
1105
1106 %if %{with gtk}
1107 %files -n gvim-gtk
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_bindir}/gvim.gtk
1110 %attr(755,root,root) %{_bindir}/rgvim
1111 %attr(755,root,root) %{_bindir}/rgview
1112 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1113 %{_desktopdir}/gvim-gtk.desktop
1114 %endif
1115
1116 %if %{with gnome}
1117 %files -n gvim-gnome
1118 %defattr(644,root,root,755)
1119 %attr(755,root,root) %{_bindir}/gvim.gnome
1120 %{_desktopdir}/gvim-gnome.desktop
1121 %endif
1122
1123 %if %{with bonobo}
1124 %files -n gvim-bonobo
1125 %defattr(644,root,root,755)
1126 %attr(755,root,root) %{_bindir}/vim-component
1127 %attr(755,root,root) %{_bindir}/vim-factory
1128 %{_libdir}/bonobo/servers/*
1129 %endif
This page took 0.13629 seconds and 4 git commands to generate.