]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- new
[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:        1
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:      vi
353 Obsoletes:      vim-minimal
354
355 %description static
356 Text editor similar to Vi. This version is built with minimal feature
357 and is installed in /bin as a rescue tool. The installation of this
358 package is STRONGLY recommended.
359
360 %description static -l pl
361 Edytor tekstu podobny do Vi. Ta wersja zosta³a skonsolidowana
362 statycznie i posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin
363 jako narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
364 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
365
366 %description static -l ru
367 ðÁËÅÔ vim-static ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÒÁÚÎÏ×ÉÄÎÏÓÔØ vim ËÁË /bin/vi, ÞÔÏ
368 ÕÄÏÂÎÏ ÄÌÑ ÚÁÐÕÓËÁ ÄÁÖÅ ËÏÇÄÁ ÓÍÏÎÔÉÒÏ×ÁÎÁ ÔÏÌØËÏ ËÏÒÎÅ×ÁÑ ÆÁÊÌÏ×ÁÑ
369 ÓÉÓÔÅÍÁ.
370
371 %description static -l uk
372 ðÁËÅÔ vim-static ×ÓÔÁÎÏ×ÌÀ¤ Ò¦ÚÎÏ×ÉÄ vim ÑË /bin/vi, ÝÏ ÚÒÕÞÎÏ ÄÌÑ
373 ÚÁÐÕÓËÕ ÎÁצÔØ ÔÏĦ, ËÏÌÉ ÚÍÏÎÔÏ×ÁÎÁ Ô¦ÌØËÉ ËÏÒÎØÏ×Á ÆÁÊÌÏ×Á ÓÉÓÔÅÍÁ.
374
375 %package ispell
376 Summary:        Vim with ispell support
377 Summary(pl):    Vim z wsparciem dla ispella
378 Group:          Applications/Editors/Vim
379 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
380 Provides:       vi-editor
381 Conflicts:      ispell < 3.2.06
382 Conflicts:      ispell-pl < 20021127-2
383
384 %description ispell
385 Text editor similar to Vi. This version is built with ispell support.
386
387 %description ispell -l pl
388 Edytor tekstu podobny do Vi. Ta wersja zosta³a skompilowana ze
389 wsparciem dla ispella.
390
391 %package rt
392 Summary:        Vim runtime files
393 Summary(cs):    Soubory nezbytné pro libovolný editor ViM
394 Summary(da):    Fælles filer som er nødvendige for enhver version af VIM editoren
395 Summary(de):    Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
396 Summary(es):    Ficheros comunes a todas las versiones de VIM
397 Summary(fr):    Fichiers communs indispensables pour toute version de l'éditeur VIM
398 Summary(id):    File umum yang dibutuhkan oleh semua versi editor VIM
399 Summary(is):    Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
400 Summary(it):    File comuni necessari per tutte le versioni dell'editor VIM
401 Summary(ja):    ¤¹¤Ù¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î VIM ¥¨¥Ç¥£¥¿¤ÇɬÍפȤµ¤ì¤ë¶¦ÄÌ¥Õ¥¡¥¤¥ë
402 Summary(nb):    Felles filer som er nødvendige for enhver versjon av VIM editoren
403 Summary(pl):    Pliki przydatne edytorowi Vim
404 Summary(pt):    Os ficheiros comuns necessários para qualquer versão do editor VIM
405 Summary(ru):    æÁÊÌÙ, ÔÒÅÂÕÅÍÙÅ ÄÌÑ ÌÀÂÏÊ ×ÅÒÓÉÉ ÒÅÄÁËÔÏÒÁ vim
406 Summary(sk):    Spoloèné súbory potrebné pre v¹etky verzie editoru VIM
407 Summary(sl):    Skupne datoteke, potrebne s katerokoli razlièico urejevalnika VIM
408 Summary(sv):    De gemensamma filerna som behövs av alla versioner av redigeraren VIM
409 Summary(uk):    æÁÊÌÉ, ÐÏÔÒ¦ÂΦ ÄÌÑ ÂÕÄØ-ÑËϧ ×ÅÒÓ¦§ ÒÅÄÁËÔÏÒÕ vim
410 Summary(zh_CN): Èκΰ汾µÄ VIM ±à¼­Æ÷ËùÐèµÄ¹«ÓÃÎļþ¡£
411 Group:          Applications/Editors/Vim
412 Requires:       mktemp
413 Requires:       which
414 Requires:       vi-editor
415 Obsoletes:      vim-common
416
417 %description rt
418 This package contains macros, documentation, syntax configuration and
419 manual pages for Vim. If you want to take advantage of Vim more
420 powerful features, you should install this package.
421
422 %description rt -l cs
423 Tento balíèek obsahuje spoleèné soubory pro v¹echny dal¹í balíèky s
424 vim.
425
426 %description rt -l da
427 The vim-rt package contains files which every VIM binary will need in
428 order to run.
429
430 %description rt -l de
431 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
432 Ausführung benötigt.
433
434 %description rt -l es
435 The vim-rt package contains files which every VIM binary will need in
436 order to run.
437
438 %description rt -l fr
439 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
440 VIM a besoin pour fonctionner.
441
442 %description rt -l id
443 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
444 berjalan.
445
446 %description rt -l is
447 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
448 til að keyra.
449
450 %description rt -l it
451 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
452 per poter funzionare.
453
454 %description rt -l pl
455 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
456 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
457 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
458
459 %description rt -l pt
460 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
461 irão necessitar para correr.
462
463 %description rt -l ru
464 ðÁËÅÔ vim-rt ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ (ÎÁÐÒÉÍÅÒ, ÆÁÊÌÙ ÓÐÒÁ×ËÉ), ËÏÔÏÒÙÅ ÎÕÖÎÙ
465 ÄÌÑ ÒÁÂÏÔÙ ÌÀÂÏÊ ÐÒÏÇÒÁÍÍÙ vim.
466
467 %description rt -l sk
468 Balík vim-rt obsahuje súbory, ktoré bude potrebova» pre správnu
469 funkciu ka¾dá verzia editoru VIM.
470
471 %description rt -l sv
472 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
473 köra.
474
475 %description rt -l uk
476 ðÁËÅÔ vim-rt Í¦ÓÔÉÔØ ÆÁÊÌÉ (ÎÁÐÒÉËÌÁÄ, ÆÁÊÌÉ ÄÏצÄËÉ), ËÏÔÒ¦ ÐÏÔÒ¦ÂΦ
477 ÄÌÑ ÒÏÂÏÔÉ ÂÕÄØ-ÑËϧ ÐÒÏÇÒÁÍÉ vim.
478
479 %package -n gvim-athena
480 Summary:        Vim for X Window built with Athena
481 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
482 Group:          Applications/Editors/Vim
483 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
484 Requires:       iconv
485 Provides:       vi-editor
486 Obsoletes:      vim-X11
487
488 %description -n gvim-athena
489 The classic Unix text editor now also under X Window System! This
490 version is built with Athena Widget Set.
491
492 %description -n gvim-athena -l pl
493 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
494 biblioteki Athena Widget Set.
495
496 %description -n gvim-athena -l ru
497 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
498 Athena Widget Set, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window
499 System - Ó ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
500
501 %description -n gvim-athena -l uk
502 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Athena Widget
503 Set, ÝÏ ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System -
504 Ú ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
505
506 %package -n gvim-motif
507 Summary:        Vim for X Window built with Motif
508 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
509 Group:          Applications/Editors/Vim
510 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
511 Requires:       iconv
512 Provides:       vi-editor
513 Obsoletes:      vim-X11
514
515 %description -n gvim-motif
516 The classic Unix text editor now also under X Window System! This
517 version is built with Motif.
518
519 %description -n gvim-motif -l pl
520 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
521 biblioteki Motif.
522
523 %description -n gvim-motif -l ru
524 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
525 Motif, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
526 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
527
528 %description -n gvim-motif -l uk
529 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ Motif, ÝÏ
530 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
531 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
532
533 %package -n kvim
534 Summary:        Vim for X Window built with KDE
535 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki KDE
536 Group:          Applications/Editors/Vim
537 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
538 Requires:       iconv
539 Provides:       vi-editor
540 Obsoletes:      vim-X11
541
542 %description -n kvim
543 The classic Unix text editor now also under X Window System! This
544 version is built with KDE.
545
546 %description -n kvim -l pl
547 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
548 biblioteki KDE.
549
550 %package -n gvim-gtk
551 Summary:        Vim for X Window built with gtk
552 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
553 Group:          Applications/Editors/Vim
554 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
555 Requires:       iconv
556 Provides:       vi-editor
557 Obsoletes:      vim-X11
558
559 %description -n gvim-gtk
560 The classic Unix text editor now also under X Window System! This
561 version is built with GTK.
562
563 %description -n gvim-gtk -l pl
564 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
565 biblioteki GTK.
566
567 %description -n gvim-gtk -l ru
568 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
569 GTK, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
570 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ. ðÒÏÓÔÏ ÓËÁÖÉÔÅ
571 'gvim'...
572
573 %description -n gvim-gtk -l uk
574 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GTK, ÝÏ ÄÏÚ×ÏÌѤ
575 ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú ÐÏ×ΦÓÔÀ
576 ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦. ðÒÏÓÔÏ ÓËÁÖ¦ÔØ 'gvim'...
577
578 %package -n gvim-gnome
579 Summary:        Vim for X Window built with GNOME
580 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
581 Group:          Applications/Editors/Vim
582 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
583 Requires:       iconv
584 Provides:       vi-editor
585 Obsoletes:      vim-X11
586
587 %description -n gvim-gnome
588 The classic Unix text editor now also under X Window System! This
589 version is build with GNOME.
590
591 %description -n gvim-gnome -l pl
592 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
593 bibliotek GNOME.
594
595 %description -n gvim-gnome -l ru
596 üÔÏÔ ÐÁËÅÔ ÐÒÅÄÓÔÁ×ÌÑÅÔ ÓÏÂÏÊ ×ÅÒÓÉÀ VIM, ÓÏÂÒÁÎÎÕÀ Ó ÂÉÂÌÉÏÔÅËÁÍÉ
597 GNOME, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ ÚÁÐÕÓËÁÔØ VIM ËÁË ÐÒÉÌÏÖÅÎÉÅ X Window System - Ó
598 ÐÏÌÎÏÓÔØÀ ÇÒÁÆÉÞÅÓËÉÍ ÉÎÔÅÒÆÅÊÓÏÍ É ÐÏÄÄÅÒÖËÏÊ ÍÙÛÉ.
599
600 %description -n gvim-gnome -l uk
601 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ×ÅÒÓ¦À VIM, Ú¦ÂÒÁÎՠڠ¦Â̦ÏÔÅËÁÍÉ GNOME, ÝÏ
602 ÄÏÚ×ÏÌѤ ÚÁÐÕÓËÁÔÉ VIM ÑË ÐÒÉËÌÁÄÎÕ ÐÒÏÇÒÁÍÕ X Window System - Ú
603 ÐÏ×ΦÓÔÀ ÇÒÁƦÞÎÉÍ ¦ÎÔÅÒÆÅÊÓÏÍ ÔÁ Ð¦ÄÔÒÉÍËÏÀ ÍÉÛ¦.
604
605 %package -n gvim-bonobo
606 Summary:        Vim for X Window built as bonobo component
607 Summary(pl):    Vim dla X Window zbudowany jako element bonobo
608 Group:          Applications/Editors/Vim
609 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
610 Requires:       iconv
611 Provides:       vi-editor
612 Obsoletes:      vim-X11
613
614 %description -n gvim-bonobo
615 The classic Unix text editor now also under X Window System! This
616 version is build as bonobo component.
617
618 %description -n gvim-bonobo -l pl
619 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window, zbudowana jako
620 element bonobo.
621
622 %prep
623 %setup -q -b1 -b2 -a5 -n %{name}%(echo %{_ver} | tr -d .)
624
625 # official patches
626 %patch101 -p0
627 %patch102 -p0
628 %patch103 -p0
629 %patch104 -p0
630 %patch105 -p0
631 %patch106 -p0
632 %patch107 -p0
633 %patch108 -p0
634 %patch109 -p0
635 %patch110 -p0
636 %patch111 -p0
637 %patch112 -p0
638 %patch113 -p0
639 %patch114 -p0
640 %patch115 -p0
641 %patch116 -p0
642 %patch117 -p0
643 %patch118 -p0
644 %patch119 -p0
645 %patch120 -p0
646 %patch121 -p0
647 %patch122 -p0
648 %patch123 -p0
649 %patch124 -p0
650 %patch125 -p0
651 %patch126 -p0
652 %patch127 -p0
653 %patch128 -p0
654 %patch129 -p0
655 %patch130 -p0
656 %patch131 -p0
657 %patch132 -p0
658 %patch133 -p0
659 %patch134 -p0
660 %patch135 -p0
661 %patch136 -p0
662 %patch137 -p0
663 %patch138 -p0
664 %patch139 -p0
665 %patch140 -p0
666 %patch141 -p0
667 %patch142 -p0
668 %patch143 -p0
669 %patch144 -p0
670 %patch145 -p0
671 %patch146 -p0
672 %patch147 -p0
673 %patch148 -p0
674 %patch149 -p0
675 %patch150 -p0
676 %patch151 -p0
677 %patch152 -p0
678 %patch153 -p0
679 %patch154 -p0
680 %patch155 -p0
681 %patch156 -p0
682 %patch157 -p0
683 %patch158 -p0
684 %patch159 -p0
685 %patch160 -p0
686 %patch161 -p0
687 %patch162 -p0
688 %patch163 -p0
689 %patch164 -p0
690 %patch165 -p0
691 %patch166 -p0
692 %patch167 -p0
693 %patch168 -p0
694 %patch169 -p0
695 %patch170 -p0
696 %patch171 -p0
697 %patch172 -p0
698 %patch173 -p0
699 %patch174 -p0
700 %patch175 -p0
701 %patch176 -p0
702 %patch177 -p0
703 %patch178 -p0
704 %patch179 -p0
705 %patch180 -p0
706 %patch181 -p0
707 %patch182 -p0
708 %patch183 -p0
709 %patch184 -p0
710 %patch185 -p0
711 %patch186 -p0
712 %patch187 -p0
713 %patch188 -p0
714 %patch189 -p0
715 %patch190 -p0
716
717 # kvim
718 %patch999 -p1
719
720 %patch0 -p1
721 %{?with_bonobo:%patch99 -p1}
722 %patch1 -p1
723 %patch2 -p1
724 %patch3 -p1
725 %ifarch alpha
726 %patch4 -p1
727 %endif
728 %patch5 -p1
729 %patch6 -p1
730 %patch7 -p1
731 %patch8 -p1
732 %patch9 -p1
733 %{?with_bonobo:%patch11 -p1}
734 %{?with_home_etc:%patch12 -p1}
735 %{?with_selinux:%patch13 -p1}
736 %patch15 -p1
737 %patch16 -p1
738 %patch17 -p1
739 %patch18 -p1
740 %patch19 -p0 -b .modprobe
741 %patch20 -p1
742 %{!?with_bonobo:%patch21 -p0}
743 %{?with_bonobo:%patch22 -p1}
744 %patch23 -p1
745 %if "%{_lib}" == "lib64"
746 %patch24 -p1
747 %endif
748 %patch25 -p1
749
750 install %{SOURCE15} runtime/indent
751 install %{SOURCE16} runtime/colors
752 install %{SOURCE17} runtime/syntax
753
754 %build
755 cd src
756 %{__autoconf}
757 # needed to prevent deconfiguring
758 cp -f configure auto
759
760 install -d bin
761
762 %if %{with bonobo}
763 %{__make} distclean
764 %configure \
765         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
766         --with-features=huge \
767         --enable-gui=gnome2 \
768         --enable-bonobo \
769         --enable-gtk2-check \
770         --enable-gnome-check \
771         --with-x \
772         %{!?with_perl:--disable-perlinterp} \
773         %{?with_perl:--enable-perlinterp} \
774         %{!?with_python:--disable-pythoninterp} \
775         %{?with_python:--enable-pythoninterp} \
776         %{!?with_ruby:--disable-rubyinterp} \
777         %{?with_ruby:--enable-rubyinterp} \
778         %{!?with_tcl:--disable-tclinterp} \
779         %{?with_tcl:--enable-tclinterp} \
780         --disable-gpm \
781         --enable-cscope \
782         --enable-nls \
783         --with-modifiedby="PLD Linux Distribution" \
784         --with-compiledby="PLD Linux Distribution"
785
786 %{__make} vim-component vim-factory Vim_Control.server
787 mv vim-component vim-factory Vim_Control.server bin/
788 %endif
789
790 %if %{with static}
791 %{__make} distclean
792 LDFLAGS="%{rpmldflags} -static"
793 %configure \
794         --disable-gui \
795         --without-x \
796         --disable-perlinterp \
797         --disable-pythoninterp \
798         --disable-rubyinterp \
799         --disable-tclinterp \
800         --disable-cscope \
801         --disable-gpm \
802         --disable-multibyte \
803         %{?with_bonobo:--disable-bonobo} \
804         --with-features=small \
805         --with-tlib=tinfo \
806         --disable-nls \
807         --with-modifiedby="PLD Linux Distribution" \
808         --with-compiledby="PLD Linux Distribution"
809
810 %{__make} vim \
811         SPELL_OBJ=
812 mv -f vim bin/vim.static
813 LDFLAGS="%{rpmldflags}"
814 %endif
815
816 %{__make} distclean
817 %configure \
818         --disable-gui \
819         --without-x \
820         %{!?with_perl:--disable-perlinterp} \
821         %{?with_perl:--enable-perlinterp} \
822         %{!?with_python:--disable-pythoninterp} \
823         %{?with_python:--enable-pythoninterp} \
824         %{!?with_ruby:--disable-rubyinterp} \
825         %{?with_ruby:--enable-rubyinterp} \
826         %{!?with_tcl:--disable-tclinterp} \
827         %{?with_tcl:--enable-tclinterp} \
828         %{?with_bonobo:--disable-bonobo} \
829         --enable-cscope \
830         --enable-gpm \
831         --with-features=huge \
832         --enable-multibyte \
833         --with-tlib=ncurses \
834         --enable-nls \
835         --with-modifiedby="PLD Linux Distribution" \
836         --with-compiledby="PLD Linux Distribution"
837
838 %{__make} vim \
839         SPELL_OBJ=
840 mv -f vim bin/vim.ncurses
841 %if %{with ispell}
842 %{__make} distclean
843 %configure \
844         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
845         --disable-gui \
846         --without-x \
847         %{!?with_perl:--disable-perlinterp} \
848         %{?with_perl:--enable-perlinterp} \
849         %{!?with_python:--disable-pythoninterp} \
850         %{?with_python:--enable-pythoninterp} \
851         %{!?with_ruby:--disable-rubyinterp} \
852         %{?with_ruby:--enable-rubyinterp} \
853         %{!?with_tcl:--disable-tclinterp} \
854         %{?with_tcl:--enable-tclinterp} \
855         %{?with_bonobo:--disable-bonobo} \
856         --enable-cscope \
857         --enable-gpm \
858         --with-features=huge \
859         --enable-multibyte \
860         --with-tlib=ncurses \
861         --enable-nls \
862         --with-modifiedby="PLD Linux Distribution" \
863         --with-compiledby="PLD Linux Distribution"
864
865 %{__make} vim
866 mv -f vim bin/vim.ispell
867 %endif
868 %if %{with kde}
869 %{__make} distclean
870 %configure \
871         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
872         --with-features=huge \
873         --enable-gui=kde \
874         --with-x \
875         %{!?with_perl:--disable-perlinterp} \
876         %{?with_perl:--enable-perlinterp} \
877         %{!?with_python:--disable-pythoninterp} \
878         %{?with_python:--enable-pythoninterp} \
879         %{!?with_ruby:--disable-rubyinterp} \
880         %{?with_ruby:--enable-rubyinterp} \
881         %{!?with_tcl:--disable-tclinterp} \
882         %{?with_tcl:--enable-tclinterp} \
883         %{?with_bonobo:--disable-bonobo} \
884         --enable-cscope \
885         --with-qt-dir=%{_prefix} \
886         --with-qt-includes=%{_includedir}/qt \
887         --with-qt-libs=%{_libdir} \
888         --enable-fontset \
889         --disable-gpm \
890         --without-gnome \
891         --enable-nls \
892         --with-modifiedby="PLD Linux Distribution" \
893         --enable-kde-toolbar \
894         --with-compiledby="PLD Linux Distribution"
895
896 %{__make} -j1 vim
897 mv -f vim bin/kvim
898 %endif
899
900 %if %{with athena}
901 %{__make} distclean
902 %configure \
903         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
904         --with-features=huge \
905         --enable-gui=athena \
906         --with-x \
907         %{!?with_perl:--disable-perlinterp} \
908         %{?with_perl:--enable-perlinterp} \
909         %{!?with_python:--disable-pythoninterp} \
910         %{?with_python:--enable-pythoninterp} \
911         %{!?with_ruby:--disable-rubyinterp} \
912         %{?with_ruby:--enable-rubyinterp} \
913         %{!?with_tcl:--disable-tclinterp} \
914         %{?with_tcl:--enable-tclinterp} \
915         %{?with_bonobo:--disable-bonobo} \
916         --enable-cscope \
917         --enable-fontset \
918         --disable-gpm \
919         --without-gnome \
920         --enable-nls \
921         --with-modifiedby="PLD Linux Distribution" \
922         --with-compiledby="PLD Linux Distribution"
923
924 %{__make} vim
925 mv -f vim bin/gvim.athena
926 %endif
927
928
929 %if %{with motif}
930 %{__make} distclean
931 %configure \
932         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
933         --with-features=huge \
934         --enable-gui=motif \
935         --with-x \
936         %{!?with_perl:--disable-perlinterp} \
937         %{?with_perl:--enable-perlinterp} \
938         %{!?with_python:--disable-pythoninterp} \
939         %{?with_python:--enable-pythoninterp} \
940         %{!?with_ruby:--disable-rubyinterp} \
941         %{?with_ruby:--enable-rubyinterp} \
942         %{!?with_tcl:--disable-tclinterp} \
943         %{?with_tcl:--enable-tclinterp} \
944         %{?with_bonobo:--disable-bonobo} \
945         --enable-multibyte \
946         --enable-cscope \
947         --enable-fontset \
948         --disable-gpm \
949         --without-gnome \
950         --enable-nls \
951         --with-modifiedby="PLD Linux Distribution" \
952         --with-compiledby="PLD Linux Distribution"
953
954 %{__make} vim
955 mv -f vim bin/gvim.motif
956 %endif
957
958 %if %{with gtk}
959 %{__make} distclean
960 %configure \
961         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
962         --with-features=huge \
963         --enable-gui=gtk2 \
964         --enable-gtk2-check \
965         --with-x \
966         %{!?with_perl:--disable-perlinterp} \
967         %{?with_perl:--enable-perlinterp} \
968         %{!?with_python:--disable-pythoninterp} \
969         %{?with_python:--enable-pythoninterp} \
970         %{!?with_ruby:--disable-rubyinterp} \
971         %{?with_ruby:--enable-rubyinterp} \
972         %{!?with_tcl:--disable-tclinterp} \
973         %{?with_tcl:--enable-tclinterp} \
974         %{?with_bonobo:--disable-bonobo} \
975         --disable-gpm \
976         --enable-cscope \
977         --enable-nls \
978         --with-modifiedby="PLD Linux Distribution" \
979         --with-compiledby="PLD Linux Distribution"
980
981 %{__make} vim
982 mv -f vim bin/gvim.gtk
983 %endif
984
985 %if %{with gnome}
986 %{__make} distclean
987 %configure \
988         CFLAGS="%{rpmcflags} -DFEAT_SPELL_HL" \
989         --with-features=huge \
990         --enable-gui=gnome2 \
991         %{?with_bonobo:--disable-bonobo} \
992         --enable-gtk2-check \
993         --enable-gnome-check \
994         --with-x \
995         %{!?with_perl:--disable-perlinterp} \
996         %{?with_perl:--enable-perlinterp} \
997         %{!?with_python:--disable-pythoninterp} \
998         %{?with_python:--enable-pythoninterp} \
999         %{!?with_ruby:--disable-rubyinterp} \
1000         %{?with_ruby:--enable-rubyinterp} \
1001         %{!?with_tcl:--disable-tclinterp} \
1002         %{?with_tcl:--enable-tclinterp} \
1003         --disable-gpm \
1004         --enable-cscope \
1005         --enable-nls \
1006         --with-modifiedby="PLD Linux Distribution" \
1007         --with-compiledby="PLD Linux Distribution"
1008
1009 %{__make} vim
1010 mv -f vim bin/gvim.gnome
1011 %endif
1012
1013
1014 %{__make} xxd/xxd languages
1015
1016 %install
1017 rm -rf $RPM_BUILD_ROOT
1018 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1019         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
1020         $RPM_BUILD_ROOT%{_desktopdir}
1021
1022 %{__make} install \
1023         DESTDIR=$RPM_BUILD_ROOT
1024
1025 rm -f $RPM_BUILD_ROOT%{_bindir}/*
1026
1027 %if %{with static}
1028 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
1029 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
1030 %else
1031 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
1032 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
1033 %endif
1034 %if %{with ispell}
1035 install src/bin/vim.ispell      $RPM_BUILD_ROOT%{_bindir}/vim.ispell
1036 %endif
1037 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
1038 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
1039
1040 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
1041
1042 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
1043 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
1044
1045 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
1046
1047 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
1048 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
1049 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
1050 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1051 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1052
1053 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
1054 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
1055
1056 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1057 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
1058 ln -sf vi  $RPM_BUILD_ROOT/bin/view
1059 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
1060
1061 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
1062
1063 %if %{with athena}
1064 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1065 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
1066 %endif
1067 %if %{with motif}
1068 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1069 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
1070 %endif
1071 %if %{with gnome}
1072 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1073 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
1074 %endif
1075 %if %{with gtk}
1076 install src/bin/gvim.gtk        $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1077 ln -sf gvim.gtk         $RPM_BUILD_ROOT%{_bindir}/gvim
1078 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgvim
1079 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/gview
1080 ln -sf gvim             $RPM_BUILD_ROOT%{_bindir}/rgview
1081 install %{SOURCE12}     $RPM_BUILD_ROOT%{_desktopdir}
1082 %endif
1083
1084 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
1085 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
1086 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
1087 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
1088
1089 %if %{with kde}
1090 install src/bin/kvim $RPM_BUILD_ROOT%{_bindir}/kvim
1091 install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
1092 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,22x22}/actions
1093 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps
1094 install runtime/hi16-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/actions
1095 install runtime/hi22-action-make.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/22x22/actions
1096 install runtime/kvim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/kvim.png
1097 install runtime/kvim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/kvim.png
1098 install runtime/kvim64x64.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/64x64/apps/kvim.png
1099 install runtime/KVim.desktop $RPM_BUILD_ROOT%{_desktopdir}/kde
1100 install -d $RPM_BUILD_ROOT%{_datadir}/apps/kvim
1101 install runtime/kde-tips $RPM_BUILD_ROOT%{_datadir}/apps/kvim/tips
1102 %endif
1103
1104 # Bonobo
1105 %if %{with bonobo}
1106 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1107 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1108 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
1109 %endif
1110
1111 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1112 unzip -d $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE6}
1113
1114 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{syntax,ftdetect,plugin,ftplugin}}
1115 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1116
1117 %clean
1118 rm -rf $RPM_BUILD_ROOT
1119
1120 %post
1121 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1122
1123 %postun
1124 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1125
1126 %post -n gvim-athena
1127 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1128
1129 %postun -n gvim-athena
1130 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1131
1132 %post -n gvim-motif
1133 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1134
1135 %postun -n gvim-motif
1136 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1137
1138 %post -n gvim-gtk
1139 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1140
1141 %postun -n gvim-gtk
1142 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1143
1144 %post -n gvim-gnome
1145 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1146
1147 %postun -n gvim-gnome
1148 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1149
1150 %files
1151 %defattr(644,root,root,755)
1152 %attr(755,root,root) %{_bindir}/vim
1153 %attr(755,root,root) %{_bindir}/rvim
1154 %{_desktopdir}/%{name}.desktop
1155
1156 %if %{with static}
1157 %files static
1158 %endif
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) /bin/*
1161
1162 %{_mandir}/man1/vi.1*
1163 %{_mandir}/man1/ex.1*
1164 %{_mandir}/man1/view.1*
1165 %{_mandir}/man1/rview.1*
1166 %lang(fi) %{_mandir}/fi/man1/vi.1*
1167 %lang(fi) %{_mandir}/fi/man1/ex.1*
1168 %lang(fi) %{_mandir}/fi/man1/view.1*
1169 %lang(fi) %{_mandir}/fi/man1/rview.1*
1170 %lang(fr) %{_mandir}/fr/man1/vi.1*
1171 %lang(fr) %{_mandir}/fr/man1/ex.1*
1172 %lang(fr) %{_mandir}/fr/man1/view.1*
1173 %lang(fr) %{_mandir}/fr/man1/rview.1*
1174 %lang(id) %{_mandir}/id/man1/vi.1*
1175 %lang(id) %{_mandir}/id/man1/ex.1*
1176 %lang(id) %{_mandir}/id/man1/view.1*
1177 %lang(id) %{_mandir}/id/man1/rview.1*
1178 %lang(pl) %{_mandir}/pl/man1/vi.1*
1179 %lang(pl) %{_mandir}/pl/man1/ex.1*
1180 %lang(pl) %{_mandir}/pl/man1/view.1*
1181 %lang(pl) %{_mandir}/pl/man1/rview.1*
1182
1183 %if %{with ispell}
1184 %files ispell
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_bindir}/vim.ispell
1187 %endif
1188
1189 %files -n xxd
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_bindir}/xxd
1192 %{_mandir}/man1/xxd.1*
1193
1194 %files rt
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_bindir}/vimtutor
1197 %dir %{_sysconfdir}/vim
1198 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1199 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1200
1201 %dir %{_datadir}/vim
1202 %dir %{_datadir}/vim/v*
1203 %dir %{_datadir}/vim/v*/doc
1204 %doc %{_datadir}/vim/v*/doc/*.txt
1205 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1206 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1207 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
1208 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
1209 %{_datadir}/vim/v*/ftplugin
1210 %{_datadir}/vim/v*/indent
1211 %{_datadir}/vim/v*/keymap
1212 %dir %{_datadir}/vim/v*/lang
1213 %doc %{_datadir}/vim/v*/lang/README*
1214
1215 # just add after/ and ftdetect/ separately, other dirs catched by glob above
1216 %{_datadir}/vim/vimfiles/after
1217 %{_datadir}/vim/vimfiles/ftdetect
1218
1219 %lang(af) %{_datadir}/vim/v*/lang/af
1220 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB
1221 %lang(cs) %{_datadir}/vim/v*/lang/cs
1222 %lang(de) %{_datadir}/vim/v*/lang/de
1223 %lang(es) %{_datadir}/vim/v*/lang/es
1224 %lang(fr) %{_datadir}/vim/v*/lang/fr
1225 %lang(it) %{_datadir}/vim/v*/lang/it
1226 %lang(ja) %{_datadir}/vim/v*/lang/ja*
1227 %lang(ko) %{_datadir}/vim/v*/lang/ko
1228 %lang(pl) %{_datadir}/vim/v*/lang/pl
1229 %lang(sk) %{_datadir}/vim/v*/lang/sk
1230 %lang(nb) %{_datadir}/vim/v*/lang/no
1231 #%lang(tr) %{_datadir}/vim/v*/lang/tr
1232 %lang(uk) %{_datadir}/vim/v*/lang/uk
1233 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
1234 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW*
1235
1236 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1237 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1238 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1239 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1240 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1241 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1242 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1243 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1244 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1245 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1246 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1247 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1248 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1249 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1250 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1251 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1252 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1253 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1254 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1255 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1256 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1257 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1258 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1259 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1260 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1261 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1262 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1263 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1264 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1265 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1266 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1267 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1268 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1269 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1270
1271 %{_datadir}/vim/v*/macros
1272 %{_datadir}/vim/v*/plugin
1273 %{_datadir}/vim/v*/print
1274 %{_datadir}/vim/v*/syntax
1275 %{_datadir}/vim/v*/tools
1276 %{_datadir}/vim/v*/tutor
1277 %{_datadir}/vim/v*/colors
1278 %{_datadir}/vim/v*/compiler
1279 %{_datadir}/vim/v*/*.vim
1280
1281 %{_mandir}/man1/vim*
1282 %{_mandir}/man1/rvim.*
1283 %lang(fi) %{_mandir}/fi/man1/vim*
1284 %lang(fi) %{_mandir}/fi/man1/rvim.*
1285 %lang(fi) %{_mandir}/fi/man1/gvi*
1286 %lang(fi) %{_mandir}/fi/man1/rgv*
1287 %lang(fr) %{_mandir}/fr/man1/vim*
1288 %lang(fr) %{_mandir}/fr/man1/rvim.*
1289 %lang(fr) %{_mandir}/fr/man1/gvi*
1290 %lang(fr) %{_mandir}/fr/man1/rgv*
1291 %lang(id) %{_mandir}/id/man1/vim*
1292 %lang(id) %{_mandir}/id/man1/rvim.*
1293 %lang(id) %{_mandir}/id/man1/gvi*
1294 %lang(id) %{_mandir}/id/man1/rgv*
1295 %lang(it) %{_mandir}/it/man1/vim*
1296 %lang(pl) %{_mandir}/pl/man1/vim*
1297 %lang(pl) %{_mandir}/pl/man1/rvim.*
1298 %lang(pl) %{_mandir}/pl/man1/gvi*
1299 %lang(pl) %{_mandir}/pl/man1/rgv*
1300
1301 %{_iconsdir}/hicolor/16x16/apps/vim.png
1302 %{_iconsdir}/hicolor/32x32/apps/vim.png
1303 %{_iconsdir}/hicolor/48x48/apps/vim.png
1304
1305 %if %{with athena}
1306 %files -n gvim-athena
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_bindir}/gvim.athena
1309 %{_desktopdir}/gvim-athena.desktop
1310 %endif
1311
1312 %if %{with motif}
1313 %files -n gvim-motif
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_bindir}/gvim.motif
1316 %{_desktopdir}/gvim-motif.desktop
1317 %endif
1318
1319 %if %{with kde}
1320 %files -n kvim
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_bindir}/kvim
1323 %{_desktopdir}/kde/KVim.desktop
1324 %{_iconsdir}/hicolor/*/apps/kvim.png
1325 %{_iconsdir}/hicolor/*/actions/*make*.png
1326 %{_datadir}/apps/kvim
1327 %endif
1328
1329
1330 %if %{with gtk}
1331 %files -n gvim-gtk
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_bindir}/gvim.gtk
1334 %attr(755,root,root) %{_bindir}/rgvim
1335 %attr(755,root,root) %{_bindir}/rgview
1336 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1337 %{_desktopdir}/gvim-gtk.desktop
1338 %endif
1339
1340 %if %{with gnome}
1341 %files -n gvim-gnome
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_bindir}/gvim.gnome
1344 %{_desktopdir}/gvim-gnome.desktop
1345 %endif
1346
1347 %if %{with bonobo}
1348 %files -n gvim-bonobo
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_bindir}/vim-component
1351 %attr(755,root,root) %{_bindir}/vim-factory
1352 %{_libdir}/bonobo/servers/*
1353 %endif
This page took 0.11903 seconds and 3 git commands to generate.