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