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