3 # - bonobo patches need update
6 %bcond_without static # don't build static version
7 %bcond_without athena # don't build Athena Widgets-based gvim
8 %bcond_without motif # don't build Motif-based gvim
9 %bcond_without gtk # don't build GTK+-based gvim support
10 %bcond_without gnome # don't build GNOME-based gvim support
11 %bcond_without perl # without Perl interp
12 %bcond_with python # with 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 home_etc # without home_etc support
20 %define _patchlevel 158
23 # cflags get changed while configuring
24 %undefine configure_cache
26 Summary: Vi IMproved - a Vi clone
27 Summary(de.UTF-8): VIsual editor iMproved
28 Summary(es.UTF-8): Editor visual incrementado
29 Summary(fr.UTF-8): Editeur VIM : VIsual editor iMproved
30 Summary(pl.UTF-8): Vi IMproved - klon edytora Vi
31 Summary(pt_BR.UTF-8): Editor visual incrementado
32 Summary(ru.UTF-8): Visual editor IMproved - Единственно Правильный Редактор :)
33 Summary(tr.UTF-8): Gelişmiş bir vi sürümü
34 Summary(uk.UTF-8): Visual editor IMproved - Єдино Вірний Редактор :)
36 Version: %{_ver}.%{_patchlevel}
40 Group: Applications/Editors/Vim
41 Source0: ftp://ftp.vim.org/pub/vim/unix/%{name}-%{_ver}.tar.bz2
42 # Source0-md5: 4ca69757678272f718b1041c810d82d8
43 Source1: ftp://ftp.vim.org/pub/vim/extra/%{name}-%{_ver}-lang.tar.gz
44 # Source1-md5: 6d43efaff570b5c86e76b833ea0c6a04
45 Source2: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
46 # Source2-md5: bc4d1e115ca506ad7751b9bd2b773a7f
47 Source3: http://skawina.eu.org/mikolaj/usr_doc_pl.zip
48 # Source3-md5: ff96284b1c913d55cf0877839b34d490
49 Source10: g%{name}-athena.desktop
50 Source11: g%{name}-motif.desktop
51 Source12: g%{name}-gtk.desktop
52 Source13: g%{name}-gnome.desktop
53 Source14: %{name}.desktop
54 # http://www.vim.org/scripts/script.php?script_id=415 (1.13)
55 Source15: zenburn.%{name}
56 Source16: spec.%{name}
57 # http://www.vim.org/scripts/script.php?script_id=1491 (0.5)
58 Source17: javascript.%{name}
59 Source18: nagios.%{name}
60 Source19: %{name}-ftplugin-spec.vim
61 Patch0: %{name}-sysconfdir.patch
62 Patch1: %{name}-visual.patch
63 Patch2: %{name}-paths.patch
64 Patch3: %{name}-%{name}rc.patch
65 Patch4: %{name}-no_libelf.patch
66 Patch5: %{name}-egrep.patch
67 Patch6: %{name}-awk.patch
68 Patch7: %{name}-filetype_vim-perl_tests.patch
69 Patch8: %{name}-apache.patch
70 Patch9: %{name}-po-syntax.patch
71 Patch10: %{name}-modprobe.patch
72 Patch11: %{name}-doubleparenthesis.patch
73 Patch12: %{name}-syntax-fstab.patch
74 Patch13: 010_all_%{name}-6.3-vixie.patch
75 Patch14: 013_all_%{name}-7.0-cron-vars-79981.patch
76 Patch15: 020_all_%{name}-7.0-fstab-tmpfs-size.patch
77 Patch16: 021_all_%{name}-7.0-fstab-bogus-errors.patch
78 Patch17: 024_all_%{name}-6.3-bash-83565.patch
79 Patch18: 027_all_%{name}-7.0-automake-substitutions-93378.patch
80 Patch19: %{name}-smarty.patch
81 Patch20: %{name}-tutor-lessdeps.patch
82 Patch21: %{name}-nagios.patch
83 Patch22: %{name}-filetypes.patch
84 Patch23: %{name}-man_installation.patch
85 Patch100: %{name}-bonobo-20050909.patch
86 Patch101: %{name}-bonobo.patch
87 Patch102: %{name}-gtkfilechooser.patch
88 Patch103: %{name}-gtkfilechooser-bonobo.patch
89 Patch104: %{name}-home_etc.patch
90 Patch105: %{name}-selinux.patch
91 Patch106: %{name}-fstab-uuid.patch
92 Patch107: %{name}-autopaste.patch
93 Patch108: %{name}-ft-cron.patch
94 Patch201: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.001
95 Patch202: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.002
96 Patch203: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.003
97 Patch204: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.004
99 #Patch205: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.005
100 Patch206: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.006
101 Patch207: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.007
102 Patch208: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.008
103 Patch209: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.009
104 Patch210: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.010
105 Patch211: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.011
106 Patch212: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.012
107 Patch213: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.013
108 Patch214: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.014
109 Patch215: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.015
110 Patch216: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.016
111 Patch217: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.017
112 Patch218: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.018
113 Patch219: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.019
114 Patch220: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.020
115 Patch221: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.021
116 Patch222: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.022
117 Patch223: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.023
118 Patch224: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.024
119 Patch225: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.025
120 Patch226: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.026
122 #Patch227: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.027
123 #Patch228: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.028
124 Patch229: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.029
125 Patch230: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.030
126 Patch231: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.031
128 #Patch232: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.032
129 Patch233: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.033
130 Patch234: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.034
131 Patch235: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.035
132 Patch236: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.036
133 Patch237: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.037
134 Patch238: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.038
135 Patch239: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.039
136 Patch240: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.040
137 Patch241: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.041
138 Patch242: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.042
139 Patch243: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.043
140 Patch244: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.044
142 #Patch245: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.045
143 Patch246: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.046
144 Patch247: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.047
145 Patch248: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.048
146 Patch249: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.049
147 Patch250: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.050
148 Patch251: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.051
149 Patch252: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.052
150 Patch253: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.053
151 Patch254: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.054
152 Patch255: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.055
153 Patch256: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.056
155 #Patch257: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.057
156 Patch258: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.058
157 Patch259: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.059
158 Patch260: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.060
159 Patch261: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.061
160 Patch262: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.062
161 Patch263: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.063
162 Patch264: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.064
164 #Patch265: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.065
165 Patch266: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.066
166 Patch267: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.067
167 Patch268: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.068
168 Patch269: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.069
169 Patch270: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.070
170 Patch271: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.071
171 Patch272: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.072
172 Patch273: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.073
174 #Patch274: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.074
175 Patch275: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.075
176 Patch276: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.076
177 Patch277: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.077
178 Patch278: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.078
179 Patch279: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.079
180 Patch280: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.080
181 Patch281: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.081
182 Patch282: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.082
183 Patch283: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.083
184 Patch284: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.084
185 Patch285: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.085
186 Patch286: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.086
187 Patch287: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.087
188 Patch288: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.088
189 Patch289: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.089
190 Patch290: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.090
191 Patch291: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.091
192 Patch292: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.092
193 Patch293: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.093
194 Patch294: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.094
195 Patch295: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.095
196 Patch296: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.096
197 Patch297: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.097
198 Patch298: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.098
199 Patch299: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.099
200 Patch300: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.100
201 Patch301: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.101
202 Patch302: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.102
203 Patch303: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.103
204 Patch304: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.104
205 Patch305: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.105
206 Patch306: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.106
207 Patch307: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.107
209 #Patch308: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.108
210 Patch309: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.109
211 Patch310: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.110
212 Patch311: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.111
213 Patch312: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.112
214 Patch313: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.113
215 Patch314: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.114
216 Patch315: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.115
217 Patch316: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.116
218 Patch317: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.117
219 Patch318: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.118
220 Patch319: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.119
221 Patch320: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.120
222 Patch321: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.121
223 Patch322: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.122
224 Patch323: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.123
225 Patch324: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.124
226 Patch325: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.125
227 Patch326: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.126
228 Patch327: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.127
229 Patch328: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.128
230 Patch329: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.129
232 #Patch330: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.130
233 Patch331: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.131
235 #Patch332: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.132
236 Patch333: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.133
237 Patch334: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.134
238 Patch335: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.135
239 Patch336: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.136
240 Patch337: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.137
242 #Patch338: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.138
243 Patch339: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.139
244 Patch340: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.140
245 Patch341: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.141
246 Patch342: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.142
247 Patch343: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.143
248 Patch344: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.144
249 Patch345: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.145
250 Patch346: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.146
251 Patch347: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.147
252 Patch348: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.148
253 Patch349: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.149
254 Patch350: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.150
255 Patch351: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.151
256 Patch352: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.152
257 Patch353: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.153
258 Patch354: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.154
259 Patch355: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.155
261 #Patch356: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.156
262 Patch357: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.157
263 Patch358: ftp://ftp.vim.org/pub/editors/vim/patches/7.0/7.0.158
264 URL: http://www.vim.org/
265 BuildRequires: acl-devel
266 BuildRequires: autoconf
267 BuildRequires: gettext-devel
268 BuildRequires: gpm-devel
269 %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.6.0}
270 %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0.1}
271 %{?with_selinux:BuildRequires: libselinux-devel}
272 BuildRequires: ncurses-devel
273 %{?with_motif:BuildRequires: openmotif-devel}
274 %{?with_perl:BuildRequires: perl-devel}
275 %{?with_python:BuildRequires: python-devel >= 2.5}
276 %{?with_ruby:BuildRequires: ruby-devel}
277 %{?with_tcl:BuildRequires: tcl-devel}
278 %{?with_athena:BuildRequires: xorg-lib-libXaw-devel}
281 BuildRequires: ORBit2-devel
282 BuildRequires: libbonoboui-devel >= 2.2.0
283 BuildRequires: libgnomeui-devel >= 2.2.0.1
284 BuildRequires: nautilus-devel >= 2.2.0
286 BuildRequires: rpmbuild(macros) >= 1.311
288 BuildRequires: acl-static
289 BuildRequires: attr-static
290 BuildRequires: glibc-static
291 %{?with_selinux:BuildRequires: libselinux-static}
292 BuildRequires: ncurses-static
294 Provides: %{name}-static = %{epoch}:%{version}-%{release}
295 Obsoletes: elvis-static
298 Obsoletes: vim-minimal
299 Obsoletes: vim-static
302 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
305 Obsoletes: vim-enhanced
306 Obsoletes: vim-ispell
307 Obsoletes: vim-plugin-multvals
308 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
310 # that's example script
311 %define _noautoreq '/bin/csh'
314 Text editor similar to Vi. Important improvements: multiple windows,
315 multi-level undo, block highliting, folding, and many other.
317 %description -l cs.UTF-8
318 ViM je nový a vylepšený editor vycházející z klasického editoru vi. Vi
319 byl prvním celoobrazovkovým editorem pro Unix a je stále velmi
320 populární. ViM je obohacený funkcemi jako: podpora více oken,
321 víceúrovňové undo, zvýrazňování bloků a řadu dalších užitečných
324 %description -l de.UTF-8
325 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
326 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
327 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
328 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
329 Standard-vi-Programm.
331 %description -l es.UTF-8
332 El editor Visual Mejorado es una versión actualizada y con nuevas
333 características adicionales del mundialmente famoso 'vi' que acompaña
334 prácticamente todos los sistemas UN*X. Posibilita trabajar con
335 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
336 otras muchas características del 'vi'.
338 %description -l fr.UTF-8
339 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
340 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
341 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
342 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
343 blocs et autres caractéristiques au vi de base.
345 %description -l id.UTF-8
346 VIM (VIsual editor iMproved) adalah versi vi editor yang sudah
347 diupdate dan ditambah kemampuannya. Vi adalah editor untuk UNIX yang
348 pertama yang menggunakan layar, dan sekarang masih sangat populer. VIM
349 mengembangkan vi dengan menambah kemampuan baru seperti: multiple
350 windows, multi-level undo, block highlighting, dll.
352 %description -l is.UTF-8
353 VIM (VIsual editor iMproved) er uppfærð og endurbætt útgáfa af vi
354 ritlinum. Vi var fyrsti skjá-ritillinn fyrir UNIX og er enn mjög
355 vinsæll. VIM gerist föðurbetrungur með nýjum möguleikum líkt og
356 gluggakerfi, iðrun og yfirbót (e: multi-level undo), blokkarvali og
359 %description -l it.UTF-8
360 VIM (Vi IMproved) è una versione aggiornata e perfezionata dell'editor
361 vi. Vi è stato il primo editor per UNIX realmente basato su video ed è
362 ancora molto diffuso. VIM perfeziona vi aggiungendo nuove funzioni:
363 finestre multiple, funzione \"annulla\" multilivello, evidenziazione
366 %description -l pl.UTF-8
367 Edytor tekstu podobny do Vi. Ważne ulepszenia: możliwość pracy w wielu
368 oknach, wielopoziomowa opcja 'cofnij', bloki, podświetlanie składni,
369 folding i wiele innych.
371 %description -l pt.UTF-8
372 O VIM (VIsual editor iMproved) é uma versão melhorada e actualizada do
373 editor vi. O vi foi o primeiro verdadeiro editor baseado em ecrã para
374 o UNIX, e ainda é muito popular. O VIM melhora o vi acrescentando
375 novas potencialidades: janelas múltiplas, anulação multi-nível, realce
378 %description -l pt_BR.UTF-8
379 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
380 características do mundialmente famoso 'vi' que acompanha praticamente
381 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
382 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
383 outras características do 'vi'.
385 %description -l ru.UTF-8
386 VIsual editor iMproved - это обновленный и значительно улучшенный клон
387 редактора vi, который поставляется практически со всеми
388 UN*X-системами. В этой версии есть многоуровневый откат, выделение
389 блоков, синтаксическая подсветка и много другого...
391 %description -l sk.UTF-8
392 VIM (VIsual editor iMproved) je novšia a vylepšená verzia editoru vi.
393 Vi bol prvým skutočne obrazovkovo orientovaným editorom pre UNIX a
394 stále je veľmi populárny. VIM má oproti vi vylepšenia ako: prácu s
395 viacerými oknami, viacnásobné undo, zvýrazňovanie blokov textu a iné.
397 %description -l sv.UTF-8
398 VIM (Vi IMproved) är en uppdaterad och förbättrad version av
399 redigeraren vi. Vi var den första riktiga skärmbaserade redigeraren
400 till UNIX, och är fortfarande väldigt populär. VIM förbättrar vi med
401 nya finesser: flera fönster, flernivå ångra, blockmarkering och mer
404 %description -l tr.UTF-8
405 Standart vi metin düzenleyicisinin gelişmiş hali; daha fazla komut,
406 birden fazla pencere desteği ve blok işaretleme yetenekleri içerir.
408 %description -l uk.UTF-8
409 VIsual editor iMproved - це оновлений та значно поліпшений клон
410 редактора vi, який поставляється практично зі всіма UN*X-системами. В
411 цій версії є багаторівневий відкат, виділення блоків, синтаксична
412 підсвітка та багато іншого...
415 Summary: Utility to convert files to hexdump or do the reverse
416 Summary(pl.UTF-8): Narzędzie do zamiany plików na postać szesnastkową i odwrotnie
417 Group: Applications/Editors/Vim
420 xxd creates a hex dump of a given file or standard input. It can also
421 convert a hex dump back to its original binary form. Like uuencode and
422 uudecode it allows the transmission of binary data in a `mail-safe'
423 ASCII representation, but has the advantage of decoding to standard
424 output. Moreover, it can be used to perform binary file patching.
426 %description -n xxd -l pl.UTF-8
427 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wejście.
428 Może także przekonwertować taki zapis na oryginalną, binarną postać.
429 Podobnie jak uuencode i uudecode pozwala na przesyłanie danych
430 binarnych w postaci ASCII, ale ma możliwość dekodowania na standardowe
431 wyjście. Co więcej, może być użyty do modyfikowania plików binarnych.
434 Summary: Statically linked Vim
435 Summary(pl.UTF-8): Statycznie skonsolidowany Vim
436 Group: Applications/Editors/Vim
439 Obsoletes: elvis-static
441 Obsoletes: vim-minimal
444 Text editor similar to Vi. This version is built with minimal feature
445 and is installed in /bin as a rescue tool. The installation of this
446 package is STRONGLY recommended.
448 %description static -l pl.UTF-8
449 Edytor tekstu podobny do Vi. Ta wersja została skonsolidowana
450 statycznie i posiada minimalną ilość dodatków. Jest instalowana w /bin
451 jako narzędzie dla administratora. Instalacja tego pakietu jest MOCNO
452 zalecana, może on pomóc Ci uratować system w czasie awarii.
454 %description static -l ru.UTF-8
455 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
456 удобно для запуска даже когда смонтирована только корневая файловая
459 %description static -l uk.UTF-8
460 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
461 запуску навіть тоді, коли змонтована тільки корньова файлова система.
464 Summary: Vim runtime files
465 Summary(cs.UTF-8): Soubory nezbytné pro libovolný editor ViM
466 Summary(da.UTF-8): Fælles filer som er nødvendige for enhver version af VIM editoren
467 Summary(de.UTF-8): Die von allen Versionen des VIM-Editors benötigten gemeinsamen Dateien
468 Summary(es.UTF-8): Ficheros comunes a todas las versiones de VIM
469 Summary(fr.UTF-8): Fichiers communs indispensables pour toute version de l'éditeur VIM
470 Summary(id.UTF-8): File umum yang dibutuhkan oleh semua versi editor VIM
471 Summary(is.UTF-8): Grunnskrár sem allar útgáfur VIM ritilsins þurfa á að halda
472 Summary(it.UTF-8): File comuni necessari per tutte le versioni dell'editor VIM
473 Summary(ja.UTF-8): すべてのバージョンの VIM エディタで必要とされる共通ファイル
474 Summary(nb.UTF-8): Felles filer som er nødvendige for enhver versjon av VIM editoren
475 Summary(pl.UTF-8): Pliki przydatne edytorowi Vim
476 Summary(pt.UTF-8): Os ficheiros comuns necessários para qualquer versão do editor VIM
477 Summary(ru.UTF-8): Файлы, требуемые для любой версии редактора vim
478 Summary(sk.UTF-8): Spoločné súbory potrebné pre všetky verzie editoru VIM
479 Summary(sl.UTF-8): Skupne datoteke, potrebne s katerokoli različico urejevalnika VIM
480 Summary(sv.UTF-8): De gemensamma filerna som behövs av alla versioner av redigeraren VIM
481 Summary(uk.UTF-8): Файли, потрібні для будь-якої версії редактору vim
482 Summary(zh_CN.UTF-8): 任何版本的 VIM 编辑器所需的公用文件。
483 Group: Applications/Editors/Vim
484 # mktemp is for vimtutor
487 Obsoletes: vim-common
490 This package contains macros, documentation, syntax configuration and
491 manual pages for Vim. If you want to take advantage of Vim more
492 powerful features, you should install this package.
494 %description rt -l cs.UTF-8
495 Tento balíček obsahuje společné soubory pro všechny další balíčky s
498 %description rt -l da.UTF-8
499 The vim-rt package contains files which every VIM binary will need in
502 %description rt -l de.UTF-8
503 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
506 %description rt -l fr.UTF-8
507 Le paquetage vim-rt contient des fichiers dont chaque fichier binaire
508 VIM a besoin pour fonctionner.
510 %description rt -l id.UTF-8
511 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
514 %description rt -l is.UTF-8
515 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
518 %description rt -l it.UTF-8
519 Il pacchetto vim-rt contiene i file necessari a ogni binario di VIM
520 per poter funzionare.
522 %description rt -l pl.UTF-8
523 W tym pakiecie znajdziesz dokumentację, makra, pliki konfiguracyjne i
524 strony podręcznika dla edytora Vim. Jeżeli chcesz korzystać z
525 zaawansowanych możliwości Vima, powinieneś zainstalować ten pakiet.
527 %description rt -l pt.UTF-8
528 O pacote vim-rt contém os ficheiros que todos os executáveis do VIM
529 irão necessitar para correr.
531 %description rt -l ru.UTF-8
532 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
533 для работы любой программы vim.
535 %description rt -l sk.UTF-8
536 Balík vim-rt obsahuje súbory, ktoré bude potrebovať pre správnu
537 funkciu každá verzia editoru VIM.
539 %description rt -l sv.UTF-8
540 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
543 %description rt -l uk.UTF-8
544 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
545 для роботи будь-якої програми vim.
548 Summary: English dictionaries for VIMspell
549 Summary(pl.UTF-8): Angielskie słowniki dla VIMspella
550 Group: Applications/Editors/Vim
551 Requires: %{name} = %{epoch}:%{version}-%{release}
553 %description spell-en
554 English dictionaries for VIMspell.
556 %description spell-en -l pl.UTF-8
557 Angielskie słowniki dla VIMspella.
559 %package -n gvim-athena
560 Summary: Vim for X Window built with Athena
561 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Athena
562 Group: Applications/Editors/Vim
563 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
568 %description -n gvim-athena
569 The classic Unix text editor now also under X Window System! This
570 version is built with Athena Widget Set.
572 %description -n gvim-athena -l pl.UTF-8
573 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
574 biblioteki Athena Widget Set.
576 %description -n gvim-athena -l ru.UTF-8
577 Этот пакет представляет собой версию VIM, собранную с библиотеками
578 Athena Widget Set, что позволяет запускать VIM как приложение X Window
579 System - с полностью графическим интерфейсом и поддержкой мыши.
581 %description -n gvim-athena -l uk.UTF-8
582 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
583 Set, що дозволяє запускати VIM як прикладну програму X Window System -
584 з повністю графічним інтерфейсом та підтримкою миші.
586 %package -n gvim-motif
587 Summary: Vim for X Window built with Motif
588 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki Motif
589 Group: Applications/Editors/Vim
590 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
595 %description -n gvim-motif
596 The classic Unix text editor now also under X Window System! This
597 version is built with Motif.
599 %description -n gvim-motif -l pl.UTF-8
600 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
603 %description -n gvim-motif -l ru.UTF-8
604 Этот пакет представляет собой версию VIM, собранную с библиотеками
605 Motif, что позволяет запускать VIM как приложение X Window System - с
606 полностью графическим интерфейсом и поддержкой мыши.
608 %description -n gvim-motif -l uk.UTF-8
609 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
610 дозволяє запускати VIM як прикладну програму X Window System - з
611 повністю графічним інтерфейсом та підтримкою миші.
614 Summary: Vim for X Window built with gtk
615 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GTK
616 Group: Applications/Editors/Vim
617 Requires(post,postun): gtk+2
618 Requires(post,postun): hicolor-icon-theme
619 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
624 %description -n gvim-gtk
625 The classic Unix text editor now also under X Window System! This
626 version is built with GTK.
628 %description -n gvim-gtk -l pl.UTF-8
629 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
632 %description -n gvim-gtk -l ru.UTF-8
633 Этот пакет представляет собой версию VIM, собранную с библиотеками
634 GTK, что позволяет запускать VIM как приложение X Window System - с
635 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
638 %description -n gvim-gtk -l uk.UTF-8
639 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
640 запускати VIM як прикладну програму X Window System - з повністю
641 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
643 %package -n gvim-gnome
644 Summary: Vim for X Window built with GNOME
645 Summary(pl.UTF-8): Vim dla X Window korzystający z biblioteki GNOME
646 Group: Applications/Editors/Vim
647 Requires(post,postun): gtk+2
648 Requires(post,postun): hicolor-icon-theme
649 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
654 %description -n gvim-gnome
655 The classic Unix text editor now also under X Window System! This
656 version is build with GNOME.
658 %description -n gvim-gnome -l pl.UTF-8
659 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
662 %description -n gvim-gnome -l ru.UTF-8
663 Этот пакет представляет собой версию VIM, собранную с библиотеками
664 GNOME, что позволяет запускать VIM как приложение X Window System - с
665 полностью графическим интерфейсом и поддержкой мыши.
667 %description -n gvim-gnome -l uk.UTF-8
668 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
669 дозволяє запускати VIM як прикладну програму X Window System - з
670 повністю графічним інтерфейсом та підтримкою миші.
672 %package -n gvim-bonobo
673 Summary: Vim for X Window built as bonobo component
674 Summary(pl.UTF-8): Vim dla X Window zbudowany jako element bonobo
675 Group: Applications/Editors/Vim
676 Requires: %{name}-rt = %{epoch}:%{version}-%{release}
681 %description -n gvim-bonobo
682 The classic Unix text editor now also under X Window System! This
683 version is build as bonobo component.
685 %description -n gvim-bonobo -l pl.UTF-8
686 Wersja edytora Vim pracująca w środowisku X Window, zbudowana jako
690 %setup -q -n %{name}70 -b1
898 %{?with_home_etc:%patch104 -p1}
901 %{?with_selinux:%patch105 -p1}
903 # recognize UUID= in /etc/fstab
906 # autopaste patch - automatically switch to paste mode if `really fast typing'
912 install %{SOURCE14} runtime/indent
913 install %{SOURCE15} runtime/colors
914 install %{SOURCE16} runtime/syntax
915 install %{SOURCE17} runtime/syntax
916 install %{SOURCE18} runtime/syntax
917 install %{SOURCE19} runtime/ftplugin/spec.vim
922 # needed to prevent deconfiguring
930 --with-features=huge \
931 --enable-gui=gnome2 \
933 --enable-gtk2-check \
934 --enable-gnome-check \
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} \
947 --with-modifiedby="PLD Linux Distribution" \
948 --with-compiledby="PLD Linux Distribution"
950 %{__make} vim-component vim-factory Vim_Control.server
951 mv vim-component vim-factory Vim_Control.server bin/
956 LDFLAGS="%{rpmldflags} -static"
960 --disable-perlinterp \
961 --disable-pythoninterp \
962 --disable-rubyinterp \
963 --disable-tclinterp \
966 --disable-multibyte \
967 %{?with_bonobo:--disable-bonobo} \
968 --with-features=small \
969 --with-tlib="ncurses -ltinfo" \
971 --with-modifiedby="PLD Linux Distribution" \
972 --with-compiledby="PLD Linux Distribution"
976 mv -f vim bin/vim.static
977 LDFLAGS="%{rpmldflags}"
984 %{!?with_perl:--disable-perlinterp} \
985 %{?with_perl:--enable-perlinterp} \
986 %{!?with_python:--disable-pythoninterp} \
987 %{?with_python:--enable-pythoninterp} \
988 %{!?with_ruby:--disable-rubyinterp} \
989 %{?with_ruby:--enable-rubyinterp} \
990 %{!?with_tcl:--disable-tclinterp} \
991 %{?with_tcl:--enable-tclinterp} \
992 %{?with_bonobo:--disable-bonobo} \
995 --with-features=huge \
997 --with-tlib="ncurses -ltinfo" \
999 --with-modifiedby="PLD Linux Distribution" \
1000 --with-compiledby="PLD Linux Distribution"
1004 mv -f vim bin/vim.ncurses
1009 --with-features=huge \
1010 --enable-gui=athena \
1012 %{!?with_perl:--disable-perlinterp} \
1013 %{?with_perl:--enable-perlinterp} \
1014 %{!?with_python:--disable-pythoninterp} \
1015 %{?with_python:--enable-pythoninterp} \
1016 %{!?with_ruby:--disable-rubyinterp} \
1017 %{?with_ruby:--enable-rubyinterp} \
1018 %{!?with_tcl:--disable-tclinterp} \
1019 %{?with_tcl:--enable-tclinterp} \
1020 %{?with_bonobo:--disable-bonobo} \
1025 --with-tlib="ncurses -ltinfo" \
1027 --with-modifiedby="PLD Linux Distribution" \
1028 --with-compiledby="PLD Linux Distribution"
1031 mv -f vim bin/gvim.athena
1038 --with-features=huge \
1039 --enable-gui=motif \
1041 %{!?with_perl:--disable-perlinterp} \
1042 %{?with_perl:--enable-perlinterp} \
1043 %{!?with_python:--disable-pythoninterp} \
1044 %{?with_python:--enable-pythoninterp} \
1045 %{!?with_ruby:--disable-rubyinterp} \
1046 %{?with_ruby:--enable-rubyinterp} \
1047 %{!?with_tcl:--disable-tclinterp} \
1048 %{?with_tcl:--enable-tclinterp} \
1049 %{?with_bonobo:--disable-bonobo} \
1050 --enable-multibyte \
1055 --with-tlib="ncurses -ltinfo" \
1057 --with-modifiedby="PLD Linux Distribution" \
1058 --with-compiledby="PLD Linux Distribution"
1061 mv -f vim bin/gvim.motif
1067 --with-features=huge \
1069 --enable-gtk2-check \
1071 %{!?with_perl:--disable-perlinterp} \
1072 %{?with_perl:--enable-perlinterp} \
1073 %{!?with_python:--disable-pythoninterp} \
1074 %{?with_python:--enable-pythoninterp} \
1075 %{!?with_ruby:--disable-rubyinterp} \
1076 %{?with_ruby:--enable-rubyinterp} \
1077 %{!?with_tcl:--disable-tclinterp} \
1078 %{?with_tcl:--enable-tclinterp} \
1079 %{?with_bonobo:--disable-bonobo} \
1082 --with-tlib="ncurses -ltinfo" \
1084 --with-modifiedby="PLD Linux Distribution" \
1085 --with-compiledby="PLD Linux Distribution"
1088 mv -f vim bin/gvim.gtk
1094 --with-features=huge \
1095 --enable-gui=gnome2 \
1096 %{?with_bonobo:--disable-bonobo} \
1097 --enable-gtk2-check \
1098 --enable-gnome-check \
1100 %{!?with_perl:--disable-perlinterp} \
1101 %{?with_perl:--enable-perlinterp} \
1102 %{!?with_python:--disable-pythoninterp} \
1103 %{?with_python:--enable-pythoninterp} \
1104 %{!?with_ruby:--disable-rubyinterp} \
1105 %{?with_ruby:--enable-rubyinterp} \
1106 %{!?with_tcl:--disable-tclinterp} \
1107 %{?with_tcl:--enable-tclinterp} \
1110 --with-tlib="ncurses -ltinfo" \
1112 --with-modifiedby="PLD Linux Distribution" \
1113 --with-compiledby="PLD Linux Distribution"
1116 mv -f vim bin/gvim.gnome
1119 %{__make} xxd/xxd languages
1122 rm -rf $RPM_BUILD_ROOT
1124 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1125 $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
1126 $RPM_BUILD_ROOT%{_desktopdir}
1129 DESTDIR=$RPM_BUILD_ROOT
1131 rm -f $RPM_BUILD_ROOT%{_bindir}/*
1134 install src/bin/vim.ncurses $RPM_BUILD_ROOT%{_bindir}/vim
1135 install src/bin/vim.static $RPM_BUILD_ROOT/bin/vi
1137 install src/bin/vim.ncurses $RPM_BUILD_ROOT/bin/vi
1138 ln -sf /bin/vi $RPM_BUILD_ROOT%{_bindir}/vim
1140 install src/xxd/xxd $RPM_BUILD_ROOT%{_bindir}/xxd
1141 install src/vimtutor $RPM_BUILD_ROOT%{_bindir}/vimtutor
1145 # rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
1146 # install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
1147 # install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
1148 # install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
1149 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
1150 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
1151 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
1152 # echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1154 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1155 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1157 # not supported directories
1158 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
1160 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
1161 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
1163 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/eview
1164 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/evim
1165 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
1166 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/vimdiff
1167 ln -sf vi $RPM_BUILD_ROOT/bin/ex
1168 ln -sf vi $RPM_BUILD_ROOT/bin/view
1169 ln -sf vi $RPM_BUILD_ROOT/bin/rview
1171 install %{SOURCE14} $RPM_BUILD_ROOT%{_desktopdir}
1174 install src/bin/gvim.athena $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1175 install %{SOURCE10} $RPM_BUILD_ROOT%{_desktopdir}
1178 install src/bin/gvim.motif $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1179 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
1182 install src/bin/gvim.gnome $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1183 install %{SOURCE13} $RPM_BUILD_ROOT%{_desktopdir}
1186 install src/bin/gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim.gtk
1187 ln -sf gvim.gtk $RPM_BUILD_ROOT%{_bindir}/gvim
1188 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gview
1189 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/gvimdiff
1190 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgview
1191 ln -sf gvim $RPM_BUILD_ROOT%{_bindir}/rgvim
1192 install %{SOURCE12} $RPM_BUILD_ROOT%{_desktopdir}
1195 install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps
1196 install runtime/vim16x16.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/16x16/apps/vim.png
1197 install runtime/vim32x32.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/vim.png
1198 install runtime/vim48x48.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/apps/vim.png
1202 install -d $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1203 install src/bin/Vim_Control.server $RPM_BUILD_ROOT%{_libdir}/bonobo/servers
1204 install src/bin/vim-{component,factory} $RPM_BUILD_ROOT%{_bindir}
1207 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1209 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3}
1211 install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{doc,{after/,}{compiler,ftdetect,ftplugin,indent,plugin,spell,syntax}}
1212 > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/doc/tags
1215 rm -rf $RPM_BUILD_ROOT
1218 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1221 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1223 %post -n gvim-athena
1224 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1226 %postun -n gvim-athena
1227 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1230 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1232 %postun -n gvim-motif
1233 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1236 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1237 %update_icon_cache hicolor
1240 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1241 %update_icon_cache hicolor
1244 %update_desktop_database_post
1245 %update_icon_cache hicolor
1247 %postun -n gvim-gnome
1248 %update_desktop_database_postun
1249 %update_icon_cache hicolor
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_bindir}/eview
1254 %attr(755,root,root) %{_bindir}/evim
1255 %attr(755,root,root) %{_bindir}/rvim
1256 %attr(755,root,root) %{_bindir}/vim
1257 %attr(755,root,root) %{_bindir}/vimdiff
1258 %{_mandir}/man1/eview.1*
1259 %{_mandir}/man1/evim.1*
1260 %{_mandir}/man1/rvim.1*
1261 %{_mandir}/man1/vimdiff.1*
1262 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1263 %lang(fr) %{_mandir}/fr/man1/eview.1*
1264 %lang(fr) %{_mandir}/fr/man1/evim.1*
1265 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1266 %lang(fr) %{_mandir}/fr/man1/vimdiff.1*
1267 %lang(id) %{_mandir}/id/man1/rvim.1*
1268 %lang(it) %{_mandir}/it/man1/eview.1*
1269 %lang(it) %{_mandir}/it/man1/evim.1*
1270 %lang(it) %{_mandir}/it/man1/rvim.1*
1271 %lang(it) %{_mandir}/it/man1/vimdiff.1*
1272 %lang(pl) %{_mandir}/pl/man1/eview.1*
1273 %lang(pl) %{_mandir}/pl/man1/evim.1*
1274 %lang(pl) %{_mandir}/pl/man1/rvim.1*
1275 %lang(pl) %{_mandir}/pl/man1/vimdiff.1*
1276 %lang(ru) %{_mandir}/ru/man1/eview.1*
1277 %lang(ru) %{_mandir}/ru/man1/evim.1*
1278 %lang(ru) %{_mandir}/ru/man1/rvim.1*
1279 %lang(ru) %{_mandir}/ru/man1/vimdiff.1*
1280 %{_desktopdir}/%{name}.desktop
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) /bin/*
1287 %{_mandir}/man1/vi.1*
1288 %{_mandir}/man1/ex.1*
1289 %{_mandir}/man1/view.1*
1290 %{_mandir}/man1/rview.1*
1291 %lang(fi) %{_mandir}/fi/man1/vi.1*
1292 %lang(fi) %{_mandir}/fi/man1/ex.1*
1293 %lang(fi) %{_mandir}/fi/man1/view.1*
1294 %lang(fi) %{_mandir}/fi/man1/rview.1*
1295 %lang(fr) %{_mandir}/fr/man1/vi.1*
1296 %lang(fr) %{_mandir}/fr/man1/ex.1*
1297 %lang(fr) %{_mandir}/fr/man1/view.1*
1298 %lang(fr) %{_mandir}/fr/man1/rview.1*
1299 %lang(id) %{_mandir}/id/man1/vi.1*
1300 %lang(id) %{_mandir}/id/man1/ex.1*
1301 %lang(id) %{_mandir}/id/man1/view.1*
1302 %lang(id) %{_mandir}/id/man1/rview.1*
1303 #%lang(it) %{_mandir}/it/man1/vi.1*
1304 %lang(it) %{_mandir}/it/man1/ex.1*
1305 %lang(it) %{_mandir}/it/man1/view.1*
1306 %lang(it) %{_mandir}/it/man1/rview.1*
1307 %lang(pl) %{_mandir}/pl/man1/vi.1*
1308 %lang(pl) %{_mandir}/pl/man1/ex.1*
1309 %lang(pl) %{_mandir}/pl/man1/view.1*
1310 %lang(pl) %{_mandir}/pl/man1/rview.1*
1311 #%lang(ru) %{_mandir}/ru/man1/vi.1*
1312 %lang(ru) %{_mandir}/ru/man1/ex.1*
1313 %lang(ru) %{_mandir}/ru/man1/view.1*
1314 %lang(ru) %{_mandir}/ru/man1/rview.1*
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_bindir}/xxd
1319 %{_mandir}/man1/xxd.1*
1320 %lang(fr) %{_mandir}/fr/man1/xxd.1*
1321 %lang(it) %{_mandir}/it/man1/xxd.1*
1322 %lang(pl) %{_mandir}/pl/man1/xxd.1*
1323 %lang(ru) %{_mandir}/ru/man1/xxd.1*
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_bindir}/vimtutor
1328 %dir %{_sysconfdir}/vim
1329 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/vimrc
1330 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vim/gvimrc
1332 %dir %{_datadir}/vim
1333 %dir %{_datadir}/vim/v*
1334 %dir %{_datadir}/vim/v*/doc
1335 %doc %{_datadir}/vim/v*/doc/*.txt
1336 %lang(pl) %doc %{_datadir}/vim/v*/doc/*.plx
1337 %attr(755,root,root) %{_datadir}/vim/v*/doc/*.pl
1338 %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags
1339 %lang(pl) %verify(not md5 mtime size) %{_datadir}/vim/v*/doc/tags-pl
1340 %{_datadir}/vim/v*/ftplugin
1341 %{_datadir}/vim/v*/indent
1342 %{_datadir}/vim/v*/keymap
1343 %dir %{_datadir}/vim/v*/lang
1344 %doc %{_datadir}/vim/v*/lang/README*
1346 # just add after/ and ftdetect/ separately, other dirs caught by globs above or below
1347 %{_datadir}/vim/vimfiles/after
1348 %{_datadir}/vim/vimfiles/ftdetect
1350 %lang(af) %{_datadir}/vim/v*/lang/menu_af*
1351 %lang(af) %{_datadir}/vim/v*/lang/af/
1352 %lang(ca) %{_datadir}/vim/v*/lang/menu_ca*
1353 %lang(ca) %{_datadir}/vim/v*/lang/ca/
1354 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs*
1355 %lang(cs) %{_datadir}/vim/v*/lang/menu_*czech*
1356 %lang(cs) %{_datadir}/vim/v*/lang/cs/
1357 %lang(de) %{_datadir}/vim/v*/lang/menu_de*
1358 %lang(de) %{_datadir}/vim/v*/lang/menu_*german*
1359 %lang(de) %{_datadir}/vim/v*/lang/de/
1360 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_en_gb*
1361 %lang(en_GB) %{_datadir}/vim/v*/lang/menu_*english*
1362 %lang(en_GB) %{_datadir}/vim/v*/lang/en_GB/
1363 %lang(es) %{_datadir}/vim/v*/lang/menu_es*
1364 %lang(es) %{_datadir}/vim/v*/lang/menu_*spanish*
1365 %lang(es) %{_datadir}/vim/v*/lang/es/
1366 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr*
1367 %lang(fr) %{_datadir}/vim/v*/lang/fr/
1368 %lang(ga) %{_datadir}/vim/v*/lang/ga/
1369 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu*
1370 %lang(it) %{_datadir}/vim/v*/lang/menu_it*
1371 %lang(it) %{_datadir}/vim/v*/lang/it/
1372 %lang(ja) %{_datadir}/vim/v*/lang/menu_ja*
1373 %lang(ja) %{_datadir}/vim/v*/lang/ja/
1374 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko*
1375 %lang(ko) %{_datadir}/vim/v*/lang/ko/
1376 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl*
1377 %lang(nb) %{_datadir}/vim/v*/lang/menu_no*
1378 %lang(nb) %{_datadir}/vim/v*/lang/no/
1379 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl*
1380 %lang(pl) %{_datadir}/vim/v*/lang/menu_*polish*
1381 %lang(pl) %{_datadir}/vim/v*/lang/pl/
1382 %lang(pt) %{_datadir}/vim/v*/lang/menu_pt*
1383 %lang(ru) %{_datadir}/vim/v*/lang/menu_ru*
1384 %lang(ru) %{_datadir}/vim/v*/lang/ru/
1385 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk*
1386 %lang(sk) %{_datadir}/vim/v*/lang/menu_*slovak*
1387 %lang(sk) %{_datadir}/vim/v*/lang/sk/
1388 %lang(sr) %{_datadir}/vim/v*/lang/menu_sr*
1389 %lang(sv) %{_datadir}/vim/v*/lang/menu_sv*
1390 %lang(sv) %{_datadir}/vim/v*/lang/sv/
1391 %lang(uk) %{_datadir}/vim/v*/lang/menu_uk*
1392 %lang(uk) %{_datadir}/vim/v*/lang/uk/
1393 %lang(vi) %{_datadir}/vim/v*/lang/menu_vi*
1394 %lang(vi) %{_datadir}/vim/v*/lang/vi/
1395 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.cp936*
1396 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh.gb2312*
1397 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
1398 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_*chinese*gb*
1399 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN/
1400 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.cp950*
1401 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh.big5*
1402 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
1403 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_*taiwan*
1404 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW/
1406 %dir %{_datadir}/vim/v*/spell
1407 %{_datadir}/vim/v*/spell/cleanadd.vim
1408 %lang(he) %{_datadir}/vim/v*/spell/he.*
1409 %lang(yi) %{_datadir}/vim/v*/spell/yi.*
1411 %{_datadir}/vim/v*/macros
1412 %{_datadir}/vim/v*/plugin
1413 %{_datadir}/vim/v*/print
1414 %{_datadir}/vim/v*/syntax
1415 %{_datadir}/vim/v*/tools
1416 %{_datadir}/vim/v*/tutor
1417 %{_datadir}/vim/v*/colors
1418 %{_datadir}/vim/v*/compiler
1419 %{_datadir}/vim/v*/autoload
1420 %{_datadir}/vim/v*/*.vim
1422 %{_mandir}/man1/rvim.1*
1423 %{_mandir}/man1/vim.1*
1424 %{_mandir}/man1/vimtutor.1*
1425 %lang(fi) %{_mandir}/fi/man1/rvim.1*
1426 %lang(fi) %{_mandir}/fi/man1/vim.1*
1427 %lang(fr) %{_mandir}/fr/man1/rvim.1*
1428 %lang(fr) %{_mandir}/fr/man1/vim.1*
1429 %lang(fr) %{_mandir}/fr/man1/vimtutor.1*
1430 %lang(id) %{_mandir}/id/man1/vim.1*
1431 %lang(it) %{_mandir}/it/man1/vim.1*
1432 %lang(it) %{_mandir}/it/man1/vimtutor.1*
1433 %lang(pl) %{_mandir}/pl/man1/vim.1*
1434 %lang(pl) %{_mandir}/pl/man1/vimtutor.1*
1435 %lang(ru) %{_mandir}/ru/man1/vim.1*
1436 %lang(ru) %{_mandir}/ru/man1/vimtutor.1*
1437 %{_iconsdir}/hicolor/16x16/apps/vim.png
1438 %{_iconsdir}/hicolor/32x32/apps/vim.png
1439 %{_iconsdir}/hicolor/48x48/apps/vim.png
1442 %defattr(644,root,root,755)
1443 %{_datadir}/vim/v*/spell/en.*.*
1446 %files -n gvim-athena
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_bindir}/gvim.athena
1449 %{_desktopdir}/gvim-athena.desktop
1453 %files -n gvim-motif
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_bindir}/gvim.motif
1456 %{_desktopdir}/gvim-motif.desktop
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_bindir}/gvim.gtk
1463 %attr(755,root,root) %{_bindir}/gvimdiff
1464 %attr(755,root,root) %{_bindir}/rgvim
1465 %attr(755,root,root) %{_bindir}/rgview
1466 %attr(755,root,root) %verify(not link) %{_bindir}/gvim
1467 %{_mandir}/man1/gvi*
1468 %{_mandir}/man1/rgv*
1469 %lang(fi) %{_mandir}/fi/man1/gvi*
1470 %lang(fi) %{_mandir}/fi/man1/rgv*
1471 %lang(fr) %{_mandir}/fr/man1/gvi*
1472 %lang(fr) %{_mandir}/fr/man1/rgv*
1473 %lang(id) %{_mandir}/id/man1/gvi*
1474 %lang(id) %{_mandir}/id/man1/rgv*
1475 %lang(it) %{_mandir}/it/man1/gvi*
1476 %lang(it) %{_mandir}/it/man1/rgv*
1477 %lang(pl) %{_mandir}/pl/man1/gvi*
1478 %lang(pl) %{_mandir}/pl/man1/rgv*
1479 %lang(ru) %{_mandir}/ru/man1/gvi*
1480 %lang(ru) %{_mandir}/ru/man1/rgv*
1481 %{_desktopdir}/gvim-gtk.desktop
1485 %files -n gvim-gnome
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_bindir}/gvim.gnome
1488 %{_desktopdir}/gvim-gnome.desktop
1492 %files -n gvim-bonobo
1493 %defattr(644,root,root,755)
1494 %attr(755,root,root) %{_bindir}/vim-component
1495 %attr(755,root,root) %{_bindir}/vim-factory
1496 %{_libdir}/bonobo/servers/*