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