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