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