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