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