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