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