]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
- new
[packages/vim.git] / vim.spec
1 # TODO:
2 # - some nice icon
3 # - bonobo patches need update
4 #
5 # Conditional build:
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
18 #
19 %define         _ver            7.0
20 %define         _patchlevel     158
21 %define         _rel            1
22
23 # cflags get changed while configuring
24 %undefine       configure_cache
25 #
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 - Єдино Вірний Редактор :)
35 Name:           vim
36 Version:        %{_ver}.%{_patchlevel}
37 Release:        %{_rel}
38 Epoch:          4
39 License:        Charityware
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
98 # patch for -extra
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
121 # patches for -extra
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
127 # patch for -extra
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
141 # patch for -extra
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
154 # patch for -extra
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
163 # patch for -extra
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
173 # patch for -extra
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
208 # patch for -extra
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
231 # patch for -extra
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
234 # patch for -extra
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
241 # patch for -extra
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
260 # patch for -extra
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}
279 Obsoletes:      kvim
280 %if %{with bonobo}
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
285 %endif
286 BuildRequires:  rpmbuild(macros) >= 1.311
287 %if %{with static}
288 BuildRequires:  acl-static
289 BuildRequires:  attr-static
290 BuildRequires:  glibc-static
291 %{?with_selinux:BuildRequires:  libselinux-static}
292 BuildRequires:  ncurses-static
293 %else
294 Provides:       %{name}-static = %{epoch}:%{version}-%{release}
295 Obsoletes:      elvis-static
296 Obsoletes:      nvi
297 Obsoletes:      vi
298 Obsoletes:      vim-minimal
299 Obsoletes:      vim-static
300 %endif
301 BuildRequires:  unzip
302 Requires:       %{name}-rt = %{epoch}:%{version}-%{release}
303 Provides:       vi-editor
304 Provides:       vi
305 Obsoletes:      vim-enhanced
306 Obsoletes:      vim-ispell
307 Obsoletes:      vim-plugin-multvals
308 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
309
310 # that's example script
311 %define         _noautoreq      '/bin/csh'
312
313 %description
314 Text editor similar to Vi. Important improvements: multiple windows,
315 multi-level undo, block highliting, folding, and many other.
316
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
322 funkcí.
323
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.
330
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'.
337
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.
344
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.
351
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
357 fleira.
358
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
364 dei blocchi e altro.
365
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.
370
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
376 de blocos e mais.
377
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'.
384
385 %description -l ru.UTF-8
386 VIsual editor iMproved - это обновленный и значительно улучшенный клон
387 редактора vi, который поставляется практически со всеми
388 UN*X-системами. В этой версии есть многоуровневый откат, выделение
389 блоков, синтаксическая подсветка и много другого...
390
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é.
396
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
402 ändå.
403
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.
407
408 %description -l uk.UTF-8
409 VIsual editor iMproved - це оновлений та значно поліпшений клон
410 редактора vi, який поставляється практично зі всіма UN*X-системами. В
411 цій версії є багаторівневий відкат, виділення блоків, синтаксична
412 підсвітка та багато іншого...
413
414 %package -n xxd
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
418
419 %description -n xxd
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.
425
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.
432
433 %package static
434 Summary:        Statically linked Vim
435 Summary(pl.UTF-8):      Statycznie skonsolidowany Vim
436 Group:          Applications/Editors/Vim
437 Provides:       vi-editor
438 Provides:       vi
439 Obsoletes:      elvis-static
440 Obsoletes:      nvi
441 Obsoletes:      vim-minimal
442
443 %description static
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.
447
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.
453
454 %description static -l ru.UTF-8
455 Пакет vim-static устанавливает разновидность vim как /bin/vi, что
456 удобно для запуска даже когда смонтирована только корневая файловая
457 система.
458
459 %description static -l uk.UTF-8
460 Пакет vim-static встановлює різновид vim як /bin/vi, що зручно для
461 запуску навіть тоді, коли змонтована тільки корньова файлова система.
462
463 %package rt
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
485 Requires:       mktemp
486 Requires:       vi-editor
487 Obsoletes:      vim-common
488
489 %description rt
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.
493
494 %description rt -l cs.UTF-8
495 Tento balíček obsahuje společné soubory pro všechny další balíčky s
496 vim.
497
498 %description rt -l da.UTF-8
499 The vim-rt package contains files which every VIM binary will need in
500 order to run.
501
502 %description rt -l de.UTF-8
503 Das Paket vim-rt enthält Dateien, die jede VIM-Binärdatei für die
504 Ausführung benötigt.
505
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.
509
510 %description rt -l id.UTF-8
511 Package vim-rt berisi file yang dibutuhkan semua versi VIM agar bisa
512 berjalan.
513
514 %description rt -l is.UTF-8
515 vim-rt pakkinn inniheldur skrár sem allar VIM keyrsluskrárnar þurfa
516 til að keyra.
517
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.
521
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.
526
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.
530
531 %description rt -l ru.UTF-8
532 Пакет vim-rt содержит файлы (например, файлы справки), которые нужны
533 для работы любой программы vim.
534
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.
538
539 %description rt -l sv.UTF-8
540 Paketet vim-rt innehåller filer som alla VIM-binärer behöver för att
541 köra.
542
543 %description rt -l uk.UTF-8
544 Пакет vim-rt містить файли (наприклад, файли довідки), котрі потрібні
545 для роботи будь-якої програми vim.
546
547 %package spell-en
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}
552
553 %description spell-en
554 English dictionaries for VIMspell.
555
556 %description spell-en -l pl.UTF-8
557 Angielskie słowniki dla VIMspella.
558
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}
564 Requires:       iconv
565 Provides:       vi-editor
566 Obsoletes:      vim-X11
567
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.
571
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.
575
576 %description -n gvim-athena -l ru.UTF-8
577 Этот пакет представляет собой версию VIM, собранную с библиотеками
578 Athena Widget Set, что позволяет запускать VIM как приложение X Window
579 System - с полностью графическим интерфейсом и поддержкой мыши.
580
581 %description -n gvim-athena -l uk.UTF-8
582 Цей пакет містить версію VIM, зібрану з бібліотеками Athena Widget
583 Set, що дозволяє запускати VIM як прикладну програму X Window System -
584 з повністю графічним інтерфейсом та підтримкою миші.
585
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}
591 Requires:       iconv
592 Provides:       vi-editor
593 Obsoletes:      vim-X11
594
595 %description -n gvim-motif
596 The classic Unix text editor now also under X Window System! This
597 version is built with Motif.
598
599 %description -n gvim-motif -l pl.UTF-8
600 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
601 biblioteki Motif.
602
603 %description -n gvim-motif -l ru.UTF-8
604 Этот пакет представляет собой версию VIM, собранную с библиотеками
605 Motif, что позволяет запускать VIM как приложение X Window System - с
606 полностью графическим интерфейсом и поддержкой мыши.
607
608 %description -n gvim-motif -l uk.UTF-8
609 Цей пакет містить версію VIM, зібрану з бібліотеками Motif, що
610 дозволяє запускати VIM як прикладну програму X Window System - з
611 повністю графічним інтерфейсом та підтримкою миші.
612
613 %package -n gvim-gtk
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}
620 Requires:       iconv
621 Provides:       vi-editor
622 Obsoletes:      vim-X11
623
624 %description -n gvim-gtk
625 The classic Unix text editor now also under X Window System! This
626 version is built with GTK.
627
628 %description -n gvim-gtk -l pl.UTF-8
629 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
630 biblioteki GTK.
631
632 %description -n gvim-gtk -l ru.UTF-8
633 Этот пакет представляет собой версию VIM, собранную с библиотеками
634 GTK, что позволяет запускать VIM как приложение X Window System - с
635 полностью графическим интерфейсом и поддержкой мыши. Просто скажите
636 'gvim'...
637
638 %description -n gvim-gtk -l uk.UTF-8
639 Цей пакет містить версію VIM, зібрану з бібліотеками GTK, що дозволяє
640 запускати VIM як прикладну програму X Window System - з повністю
641 графічним інтерфейсом та підтримкою миші. Просто скажіть 'gvim'...
642
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}
650 Requires:       iconv
651 Provides:       vi-editor
652 Obsoletes:      vim-X11
653
654 %description -n gvim-gnome
655 The classic Unix text editor now also under X Window System! This
656 version is build with GNOME.
657
658 %description -n gvim-gnome -l pl.UTF-8
659 Wersja edytora Vim pracująca w środowisku X Window z wykorzystaniem
660 bibliotek GNOME.
661
662 %description -n gvim-gnome -l ru.UTF-8
663 Этот пакет представляет собой версию VIM, собранную с библиотеками
664 GNOME, что позволяет запускать VIM как приложение X Window System - с
665 полностью графическим интерфейсом и поддержкой мыши.
666
667 %description -n gvim-gnome -l uk.UTF-8
668 Цей пакет містить версію VIM, зібрану з бібліотеками GNOME, що
669 дозволяє запускати VIM як прикладну програму X Window System - з
670 повністю графічним інтерфейсом та підтримкою миші.
671
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}
677 Requires:       iconv
678 Provides:       vi-editor
679 Obsoletes:      vim-X11
680
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.
684
685 %description -n gvim-bonobo -l pl.UTF-8
686 Wersja edytora Vim pracująca w środowisku X Window, zbudowana jako
687 element bonobo.
688
689 %prep
690 %setup -q -n %{name}70 -b1
691 %patch0 -p1
692 %patch1 -p1
693 %patch2 -p1
694 %patch3 -p1
695 %patch4 -p1
696 %patch5 -p1
697 %patch6 -p1
698 %patch7 -p1
699 %patch8 -p1
700 %patch9 -p1
701 %patch10 -p0
702 %patch11 -p1
703 %patch12 -p1
704 %patch13 -p1
705 %patch14 -p1
706 %patch15 -p1
707 %patch16 -p1
708 %patch17 -p0
709 %patch18 -p0
710 %patch19 -p1
711 %patch20 -p1
712 %patch21 -p1
713 %patch22 -p1
714 %patch23 -p1
715
716 # official patches
717 %patch201 -p0
718 %patch202 -p0
719 %patch203 -p0
720 %patch204 -p0
721 # patch for -extra
722 #%patch205 -p0
723 %patch206 -p0
724 %patch207 -p0
725 %patch208 -p0
726 %patch209 -p0
727 %patch210 -p0
728 %patch211 -p0
729 %patch212 -p0
730 %patch213 -p0
731 %patch214 -p0
732 %patch215 -p0
733 %patch216 -p0
734 %patch217 -p0
735 %patch218 -p0
736 %patch219 -p0
737 %patch220 -p0
738 %patch221 -p0
739 %patch222 -p0
740 %patch223 -p0
741 %patch224 -p0
742 %patch225 -p0
743 %patch226 -p0
744 # patches for -extra
745 #%patch227 -p0
746 #%patch228 -p0
747 %patch229 -p0
748 %patch230 -p0
749 %patch231 -p0
750 # patch for -extra
751 #%patch232 -p0
752 %patch233 -p0
753 %patch234 -p0
754 %patch235 -p0
755 %patch236 -p0
756 %patch237 -p0
757 %patch238 -p0
758 %patch239 -p0
759 %patch240 -p0
760 %patch241 -p0
761 %patch242 -p0
762 %patch243 -p0
763 %patch244 -p0
764 # patch for -extra
765 #%patch245 -p0
766 %patch246 -p0
767 %patch247 -p0
768 %patch248 -p0
769 %patch249 -p0
770 %patch250 -p0
771 %patch251 -p0
772 %patch252 -p0
773 %patch253 -p0
774 %patch254 -p0
775 %patch255 -p0
776 %patch256 -p0
777 # patch for -extra
778 #%patch257 -p0
779 %patch258 -p0
780 %patch259 -p0
781 %patch260 -p0
782 %patch261 -p0
783 %patch262 -p0
784 %patch263 -p0
785 %patch264 -p0
786 # patch for -extra
787 #%patch265 -p0
788 %patch266 -p0
789 %patch267 -p0
790 %patch268 -p0
791 %patch269 -p0
792 %patch270 -p0
793 %patch271 -p0
794 %patch272 -p0
795 %patch273 -p0
796 # patch for -extra
797 #%patch274 -p0
798 %patch275 -p0
799 %patch276 -p0
800 %patch277 -p0
801 %patch278 -p0
802 %patch279 -p0
803 %patch280 -p0
804 %patch281 -p0
805 %patch282 -p0
806 %patch283 -p0
807 %patch284 -p0
808 %patch285 -p0
809 %patch286 -p0
810 %patch287 -p0
811 %patch288 -p0
812 %patch289 -p0
813 %patch290 -p0
814 %patch291 -p0
815 %patch292 -p0
816 %patch293 -p0
817 %patch294 -p0
818 %patch295 -p0
819 %patch296 -p0
820 %patch297 -p0
821 %patch298 -p0
822 %patch299 -p0
823 %patch300 -p0
824 %patch301 -p0
825 %patch302 -p0
826 %patch303 -p0
827 %patch304 -p0
828 %patch305 -p0
829 %patch306 -p0
830 %patch307 -p0
831 # patch for -extra
832 #%patch308 -p0
833 %patch309 -p0
834 %patch310 -p0
835 %patch311 -p0
836 %patch312 -p0
837 %patch313 -p0
838 %patch314 -p0
839 %patch315 -p0
840 %patch316 -p0
841 %patch317 -p0
842 %patch318 -p0
843 %patch319 -p0
844 %patch320 -p0
845 %patch321 -p0
846 %patch322 -p0
847 %patch323 -p0
848 %patch324 -p0
849 %patch325 -p0
850 %patch326 -p0
851 %patch327 -p0
852 %patch328 -p0
853 %patch329 -p0
854 # patch for -extra
855 #%patch330 -p0
856 %patch331 -p0
857 # patch for -extra
858 #%patch332 -p0
859 %patch333 -p0
860 %patch334 -p0
861 %patch335 -p0
862 %patch336 -p0
863 %patch337 -p0
864 # patch for -extra
865 #%patch338 -p0
866 %patch339 -p0
867 %patch340 -p0
868 %patch341 -p0
869 %patch342 -p0
870 %patch343 -p0
871 %patch344 -p0
872 %patch345 -p0
873 %patch346 -p0
874 %patch347 -p0
875 %patch348 -p0
876 %patch349 -p0
877 %patch350 -p0
878 %patch351 -p0
879 %patch352 -p0
880 %patch353 -p0
881 %patch354 -p0
882 %patch355 -p0
883 # patch for -extra
884 #%patch356 -p0
885 %patch357 -p0
886 %patch358 -p0
887
888
889 # bonobo
890 %if %{with bonobo}
891 %patch100 -p1
892 %patch101 -p1
893 %patch102 -p1
894 %patch103 -p1
895 %endif
896
897 # home etc
898 %{?with_home_etc:%patch104 -p1}
899
900 # selinux
901 %{?with_selinux:%patch105 -p1}
902
903 # recognize UUID= in /etc/fstab
904 %patch106 -p1
905
906 # autopaste patch - automatically switch to paste mode if `really fast typing'
907 # situation happens
908 %patch107 -p1
909
910 %patch108 -p1
911
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
918
919 %build
920 cd src
921 %{__autoconf}
922 # needed to prevent deconfiguring
923 cp -f configure auto
924
925 install -d bin
926
927 %if %{with bonobo}
928 %{__make} distclean
929 %configure \
930         --with-features=huge \
931         --enable-gui=gnome2 \
932         --enable-bonobo \
933         --enable-gtk2-check \
934         --enable-gnome-check \
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         --disable-gpm \
945         --enable-cscope \
946         --enable-nls \
947         --with-modifiedby="PLD Linux Distribution" \
948         --with-compiledby="PLD Linux Distribution"
949
950 %{__make} vim-component vim-factory Vim_Control.server
951 mv vim-component vim-factory Vim_Control.server bin/
952 %endif
953
954 %if %{with static}
955 %{__make} distclean
956 LDFLAGS="%{rpmldflags} -static"
957 %configure \
958         --disable-gui \
959         --without-x \
960         --disable-perlinterp \
961         --disable-pythoninterp \
962         --disable-rubyinterp \
963         --disable-tclinterp \
964         --disable-cscope \
965         --disable-gpm \
966         --disable-multibyte \
967         %{?with_bonobo:--disable-bonobo} \
968         --with-features=small \
969         --with-tlib="ncurses -ltinfo" \
970         --disable-nls \
971         --with-modifiedby="PLD Linux Distribution" \
972         --with-compiledby="PLD Linux Distribution"
973
974 %{__make} vim
975
976 mv -f vim bin/vim.static
977 LDFLAGS="%{rpmldflags}"
978 %endif
979
980 %{__make} distclean
981 %configure \
982         --disable-gui \
983         --without-x \
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} \
993         --enable-cscope \
994         --enable-gpm \
995         --with-features=huge \
996         --enable-multibyte \
997         --with-tlib="ncurses -ltinfo" \
998         --enable-nls \
999         --with-modifiedby="PLD Linux Distribution" \
1000         --with-compiledby="PLD Linux Distribution"
1001
1002 %{__make} vim
1003
1004 mv -f vim bin/vim.ncurses
1005
1006 %if %{with athena}
1007 %{__make} distclean
1008 %configure \
1009         --with-features=huge \
1010         --enable-gui=athena \
1011         --with-x \
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} \
1021         --enable-cscope \
1022         --enable-fontset \
1023         --disable-gpm \
1024         --without-gnome \
1025         --with-tlib="ncurses -ltinfo" \
1026         --enable-nls \
1027         --with-modifiedby="PLD Linux Distribution" \
1028         --with-compiledby="PLD Linux Distribution"
1029
1030 %{__make} vim
1031 mv -f vim bin/gvim.athena
1032 %endif
1033
1034
1035 %if %{with motif}
1036 %{__make} distclean
1037 %configure \
1038         --with-features=huge \
1039         --enable-gui=motif \
1040         --with-x \
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 \
1051         --enable-cscope \
1052         --enable-fontset \
1053         --disable-gpm \
1054         --without-gnome \
1055         --with-tlib="ncurses -ltinfo" \
1056         --enable-nls \
1057         --with-modifiedby="PLD Linux Distribution" \
1058         --with-compiledby="PLD Linux Distribution"
1059
1060 %{__make} vim
1061 mv -f vim bin/gvim.motif
1062 %endif
1063
1064 %if %{with gtk}
1065 %{__make} distclean
1066 %configure \
1067         --with-features=huge \
1068         --enable-gui=gtk2 \
1069         --enable-gtk2-check \
1070         --with-x \
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} \
1080         --disable-gpm \
1081         --enable-cscope \
1082         --with-tlib="ncurses -ltinfo" \
1083         --enable-nls \
1084         --with-modifiedby="PLD Linux Distribution" \
1085         --with-compiledby="PLD Linux Distribution"
1086
1087 %{__make} vim
1088 mv -f vim bin/gvim.gtk
1089 %endif
1090
1091 %if %{with gnome}
1092 %{__make} distclean
1093 %configure \
1094         --with-features=huge \
1095         --enable-gui=gnome2 \
1096         %{?with_bonobo:--disable-bonobo} \
1097         --enable-gtk2-check \
1098         --enable-gnome-check \
1099         --with-x \
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} \
1108         --disable-gpm \
1109         --enable-cscope \
1110         --with-tlib="ncurses -ltinfo" \
1111         --enable-nls \
1112         --with-modifiedby="PLD Linux Distribution" \
1113         --with-compiledby="PLD Linux Distribution"
1114
1115 %{__make} vim
1116 mv -f vim bin/gvim.gnome
1117 %endif
1118
1119 %{__make} xxd/xxd languages
1120
1121 %install
1122 rm -rf $RPM_BUILD_ROOT
1123
1124 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
1125         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
1126         $RPM_BUILD_ROOT%{_desktopdir}
1127
1128 %{__make} install \
1129         DESTDIR=$RPM_BUILD_ROOT
1130
1131 rm -f $RPM_BUILD_ROOT%{_bindir}/*
1132
1133 %if %{with static}
1134 install src/bin/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim
1135 install src/bin/vim.static      $RPM_BUILD_ROOT/bin/vi
1136 %else
1137 install src/bin/vim.ncurses     $RPM_BUILD_ROOT/bin/vi
1138 ln -sf /bin/vi          $RPM_BUILD_ROOT%{_bindir}/vim
1139 %endif
1140 install src/xxd/xxd     $RPM_BUILD_ROOT%{_bindir}/xxd
1141 install src/vimtutor    $RPM_BUILD_ROOT%{_bindir}/vimtutor
1142
1143 # Moved into patch
1144 #
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
1153
1154 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
1155 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
1156
1157 # not supported directories
1158 rm -rf $RPM_BUILD_ROOT%{_mandir}/??.*/
1159
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
1162
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
1170
1171 install %{SOURCE14}     $RPM_BUILD_ROOT%{_desktopdir}
1172
1173 %if %{with athena}
1174 install src/bin/gvim.athena     $RPM_BUILD_ROOT%{_bindir}/gvim.athena
1175 install %{SOURCE10}     $RPM_BUILD_ROOT%{_desktopdir}
1176 %endif
1177 %if %{with motif}
1178 install src/bin/gvim.motif      $RPM_BUILD_ROOT%{_bindir}/gvim.motif
1179 install %{SOURCE11}     $RPM_BUILD_ROOT%{_desktopdir}
1180 %endif
1181 %if %{with gnome}
1182 install src/bin/gvim.gnome      $RPM_BUILD_ROOT%{_bindir}/gvim.gnome
1183 install %{SOURCE13}     $RPM_BUILD_ROOT%{_desktopdir}
1184 %endif
1185 %if %{with gtk}
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}
1193 %endif
1194
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
1199
1200 # Bonobo
1201 %if %{with bonobo}
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}
1205 %endif
1206
1207 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
1208
1209 unzip -qd $RPM_BUILD_ROOT%{_datadir}/vim/v*/doc %{SOURCE3}
1210
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
1213
1214 %clean
1215 rm -rf $RPM_BUILD_ROOT
1216
1217 %post
1218 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1219
1220 %postun
1221 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1222
1223 %post -n gvim-athena
1224 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1225
1226 %postun -n gvim-athena
1227 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1228
1229 %post -n gvim-motif
1230 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1231
1232 %postun -n gvim-motif
1233 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1234
1235 %post -n gvim-gtk
1236 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_post
1237 %update_icon_cache hicolor
1238
1239 %postun -n gvim-gtk
1240 [ ! -x /usr/bin/update-desktop-database ] || %update_desktop_database_postun
1241 %update_icon_cache hicolor
1242
1243 %post -n gvim-gnome
1244 %update_desktop_database_post
1245 %update_icon_cache hicolor
1246
1247 %postun -n gvim-gnome
1248 %update_desktop_database_postun
1249 %update_icon_cache hicolor
1250
1251 %files
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
1281
1282 %if %{with static}
1283 %files static
1284 %endif
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*
1315
1316 %files -n xxd
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*
1324
1325 %files rt
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
1331
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*
1345
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
1349
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/
1405
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.*
1410
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
1421
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
1440
1441 %files spell-en
1442 %defattr(644,root,root,755)
1443 %{_datadir}/vim/v*/spell/en.*.*
1444
1445 %if %{with athena}
1446 %files -n gvim-athena
1447 %defattr(644,root,root,755)
1448 %attr(755,root,root) %{_bindir}/gvim.athena
1449 %{_desktopdir}/gvim-athena.desktop
1450 %endif
1451
1452 %if %{with motif}
1453 %files -n gvim-motif
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_bindir}/gvim.motif
1456 %{_desktopdir}/gvim-motif.desktop
1457 %endif
1458
1459 %if %{with gtk}
1460 %files -n gvim-gtk
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
1482 %endif
1483
1484 %if %{with gnome}
1485 %files -n gvim-gnome
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_bindir}/gvim.gnome
1488 %{_desktopdir}/gvim-gnome.desktop
1489 %endif
1490
1491 %if %{with bonobo}
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/*
1497 %endif
This page took 0.272541 seconds and 3 git commands to generate.