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