]> git.pld-linux.org Git - packages/vim.git/blob - vim.spec
ade21d0de6343017bf4c1d52943d695194c3929c
[packages/vim.git] / vim.spec
1 #
2 # Conditional build:
3 # _without_static       - without static version
4 # _without_athena       - without Athena Widgets-based gvim. DOESN'T WORK.
5 # _without_motif        - without Motif-based gvim
6 # _without_gtk          - without gtk+-based gvim support
7 # _without_gnome        - without gnome-based gvim support
8 # _with_ispell          - with spell checking (non-standard feature; disables RIGHTLEFT and FKMAP)
9 # _with_perl            - with perl interp
10 # _with_python          - with python interp
11 # _with_ruby            - with ruby interp
12 # _with_tcl             - with tcl interp
13
14 %define         _ver            6.0
15 %define         _patchlevel     208
16 Summary:        Vi IMproved - a Vi clone
17 Summary(de):    VIsual editor iMproved
18 Summary(es):    Editor visual incrementado
19 Summary(fr):    editeur VIM : VIsual editor iMproved
20 Summary(pl):    Vi IMproved - klon edytora Vi
21 Summary(pt_BR): Editor visual incrementado
22 Summary(tr):    Geliþmiþ bir vi sürümü
23 Name:           vim
24 Version:        6.0.%{_patchlevel}
25 Release:        1
26 Epoch:          4
27 License:        Charityware
28 Group:          Applications/Editors/Vim
29 Group(de):      Applikationen/Editors/Vim
30 Group(pl):      Aplikacje/Edytory/Vim
31 Source0:        ftp://ftp.vim.org/pub/editors/vim/unix/%{name}-%{_ver}.tar.bz2
32 Source1:        ftp://ftp.vim.org/pub/editors/vim/extra/%{name}-%{_ver}-lang.tar.gz
33 Source2:        g%{name}-athena.desktop
34 Source3:        g%{name}-motif.desktop
35 Source4:        g%{name}-gtk.desktop
36 Source5:        g%{name}-gnome.desktop
37 #packed from    ftp://ftp.vim.org/pub/editors/vim/patches/6.0.*
38 Source6:        %{name}-patches-%{_ver}.%{_patchlevel}.tar.bz2
39 Patch0:         %{name}-sysconfdir.patch
40 Patch1:         %{name}-visual.patch
41 Patch2:         %{name}-phphighlight.patch
42 Patch3:         %{name}-paths.patch
43 Patch4:         %{name}-ispell.patch
44 URL:            http://www.vim.org/
45 BuildRequires:  autoconf
46 BuildRequires:  gettext-devel
47 BuildRequires:  gpm-devel
48 BuildRequires:  ncurses-devel
49 %{!?_without_athena:BuildRequires:      Xaw3d-devel}
50 %{!?_without_gnome:BuildRequires:       esound-devel}
51 %{!?_without_gnome:BuildRequires:       gnome-libs-devel}
52 %{!?_without_gtk:BuildRequires:         gtk+-devel}
53 %{!?_without_motif:BuildRequires:       motif-devel}
54 %{!?_without_static:BuildRequires:      glibc-static}
55 %{!?_without_static:BuildRequires:      ncurses-static}
56 %{?_with_perl:BuildRequires:            perl-devel}
57 %{?_with_python:BuildRequires:          python-devel}
58 %{?_with_ruby:BuildRequires:            ruby}
59 %{?_with_tcl:BuildRequires:             tcl-devel}
60 Requires:       %{name}-rt = %{version}
61 %{?_without_static:Requires:    %{name}-static = %{version}}
62 Obsoletes:      vim-enhanced
63 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
65 %description
66 Text editor similar to Vi. Important improvements: multiple windows,
67 multi-level undo, block highliting, folding, and many other.
68
69 %description -l de
70 Der Visual-Editor iMproved ist ein aktualisierter und erweiterter Klon
71 des vi-Editors, der mit praktisch allen UN*X-Systemen ausgeliefert
72 wird. Er bringt mehrere Fenster, mehrstufige Widerrufen-Funktion,
73 Block-Markierung und viele weitere Zusatzfunktionen im Vergleich zum
74 Standard-vi-Programm.
75
76 %description -l es
77 El editor Visual Mejorado es una versión actualizada y con nuevas
78 características adicionales del mundialmente famoso 'vi' que acompaña
79 prácticamente todos los sistemas UN*X. Posibilita trabajar con
80 múltiples ventanas, varios niveles de deshacer, bloques enfatizados, y
81 otras muchas características del 'vi'.
82
83 %description -l fr
84 L'éditeur VIsuel aMélioré est un clone mis à jour et doté de
85 caractéristiques supplémentaires de l'éditeur « vi » fourni avec
86 pratiquement tous les systèmes UN*X. Il ajoute les fenêtres
87 mutltiples, l'annulation a plusieurs niveaux, la mise en évidence des
88 blocs et autres caractéristiques au vi de base.
89
90 %description -l pl
91 Edytor tekstu podobny do Vi. Wa¿ne ulepszenia: mo¿liwo¶æ pracy w wielu
92 oknach, wielopoziomowa opcja 'cofnij', bloki, pod¶wietlanie sk³adni,
93 folding i wiele innych.
94
95 %description -l pt_BR
96 O editor Vim (Vi Enhanced) é um versão atualizada e com novas
97 características do mundialmente famoso 'vi' que acompanha praticamente
98 todos os sistemas UN*X. Ele possibilita trabalhar com múltiplas
99 janelas, vários níveis de desfazer, blocos enfatizados, e muitas
100 outras características do 'vi'.
101
102 %description -l tr
103 Standart vi metin düzenleyicisinin geliþmiþ hali; daha fazla komut,
104 birden fazla pencere desteði ve blok iþaretleme yetenekleri içerir.
105
106 %package -n xxd
107 Summary:        Utility to convert files to hexdump or do the reverse
108 Summary(pl):    Narzêdzie do zamiany plików na postaæ szesnastkow± i odwrotnie
109 Group:          Applications/Editors/Vim
110 Group(de):      Applikationen/Editors/Vim
111 Group(pl):      Aplikacje/Edytory/Vim
112
113 %description -n xxd
114 xxd creates a hex dump of a given file or standard input. It can also
115 convert a hex dump back to its original binary form. Like uuencode and
116 uudecode it allows the transmission of binary data in a `mail-safe'
117 ASCII representation, but has the advantage of decoding to standard
118 output. Moreover, it can be used to perform binary file patching.
119
120 %description -n xxd -l pl
121 xxd tworzy szesnastkowy zapis pliku podanego na standardowe wej¶cie.
122 Mo¿e tak¿e przekonwertowaæ taki zapis na oryginaln±, binarn± postaæ.
123 Podobnie jak uuencode i uudecode pozwala na przesy³anie danych
124 binarnych w postaci ASCII, ale ma mo¿liwo¶æ dekodowania na standardowe
125 wyj¶cie. Co wiêcej, mo¿e byæ u¿yty do modyfikowania plików binarnych.
126
127 %package static
128 Summary:        Statically linked Vim
129 Summary(pl):    Statycznie zlinkowany Vim
130 Group:          Applications/Editors/Vim
131 Group(de):      Applikationen/Editors/Vim
132 Group(pl):      Aplikacje/Edytory/Vim
133 Provides:       vi
134 Obsoletes:      vi
135 Obsoletes:      vim-minimal
136
137 %description static
138 Text editor similar to Vi. This version is built with minimal feature
139 and is installed in /bin as a rescue tool. The installation of this
140 package is STRONGLY recommended.
141
142 %description static -l pl
143 Edytor tekstu podobny do Vi. Ta wersja zosta³a zlinkowana statycznie i
144 posiada minimaln± ilo¶æ dodatków. Jest instalowana w /bin jako
145 narzêdzie dla administratora. Instalacja tego pakietu jest MOCNO
146 zalecana, mo¿e on pomóc Ci uratowaæ system w czasie awarii.
147
148 %package rt
149 Summary:        Vim runtime files
150 Summary(pl):    Pliki przydatne edytorowi Vim
151 Group:          Applications/Editors/Vim
152 Group(de):      Applikationen/Editors/Vim
153 Group(pl):      Aplikacje/Edytory/Vim
154 Requires:       mktemp
155 Requires:       which
156 Obsoletes:      vim-common
157
158 %description rt
159 This package contains macros, documentation, syntax configuration and
160 manual pages for Vim. If you want to take advantage of Vim more
161 powerful features, you should install this package.
162
163 %description rt -l pl
164 W tym pakiecie znajdziesz dokumentacjê, makra, pliki konfiguracyjne i
165 strony podrêcznika dla edytora Vim. Je¿eli chcesz korzystaæ z
166 zaawansowanych mo¿liwo¶ci Vima, powiniene¶ zainstalowaæ ten pakiet.
167
168 %package -n gvim-athena
169 Summary:        Vim for X Window built with Athena
170 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Athena
171 Group:          Applications/Editors/Vim
172 Group(de):      Applikationen/Editors/Vim
173 Group(pl):      Aplikacje/Edytory/Vim
174 Requires:       %{name}-rt = %{version}
175 Requires:       iconv
176 Obsoletes:      vim-X11
177
178 %description -n gvim-athena
179 The classic Unix text editor now also under X Window System! This
180 version is built with Athena Widget Set.
181
182 %description -n gvim-athena -l pl
183 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
184 biblioteki Athena Widget Set.
185
186 %package -n gvim-motif
187 Summary:        Vim for X Window built with Motif
188 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki Motif
189 Group:          Applications/Editors/Vim
190 Group(de):      Applikationen/Editors/Vim
191 Group(pl):      Aplikacje/Edytory/Vim
192 Requires:       %{name}-rt = %{version}
193 Requires:       iconv
194 Obsoletes:      vim-X11
195
196 %description -n gvim-motif
197 The classic Unix text editor now also under X Window System! This
198 version is built with Motif.
199
200 %description -n gvim-motif -l pl
201 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
202 biblioteki Motif.
203
204 %package -n gvim-gtk
205 Summary:        Vim for X Window built with gtk
206 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GTK
207 Group:          Applications/Editors/Vim
208 Group(de):      Applikationen/Editors/Vim
209 Group(pl):      Aplikacje/Edytory/Vim
210 Requires:       %{name}-rt = %{version}
211 Requires:       iconv
212 Obsoletes:      vim-X11
213
214 %description -n gvim-gtk
215 The classic Unix text editor now also under X Window System! This
216 version is built with GTK.
217
218 %description -n gvim-gtk -l pl
219 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
220 biblioteki GTK.
221
222 %package -n gvim-gnome
223 Summary:        Vim for X Window built with gnome
224 Summary(pl):    Vim dla X Window korzystaj±cy z biblioteki GNOME
225 Group:          Applications/Editors/Vim
226 Group(de):      Applikationen/Editors/Vim
227 Group(pl):      Aplikacje/Edytory/Vim
228 Requires:       %{name}-rt = %{version}
229 Requires:       iconv
230 Obsoletes:      vim-X11
231
232 %description -n gvim-gnome
233 The classic Unix text editor now also under X Window System! This
234 version is build with GNOME.
235
236 %description -n gvim-gnome -l pl
237 Wersja edytora Vim pracuj±ca w ¶rodowisku X Window z wykorzystaniem
238 bibliotek GNOME.
239
240 %prep
241 %setup -q -b1 -a6 -n %{name}%(echo %{_ver} | sed -e "s#\.##g")
242 %patch0 -p1
243 %patch1 -p1
244 %patch2 -p1
245 %patch3 -p1
246 %{?_with_ispell:%patch4 -p1}
247
248 # these patches are to "extra" package which we don't need (nor use)
249 rm -f patches/6.0.{027,048,053,064,070,073,093,106,107,115,116,117,119,123,121,122,125,135,161,162,164,165,179,186,188,205,207}
250 # apply the rest of official patches
251 for f in patches/6.0.* ; do
252         echo "Applying official patch `basename $f` ..."
253         patch -s -p0 < $f
254 done
255
256 %build
257 cd src
258 autoconf
259 %configure \
260         --disable-gui \
261         --without-x \
262         %{!?_with_perl:--disable-perlinterp} \
263         %{?_with_perl:--enable-perlinterp} \
264         %{!?_with_python:--disable-pythoninterp} \
265         %{?_with_python:--enable-pythoninterp} \
266         %{!?_with_ruby:--disable-rubyinterp} \
267         %{?_with_ruby:--enable-rubyinterp} \
268         %{!?_with_tcl:--disable-tclinterp} \
269         %{?_with_tcl:--enable-tclinterp} \
270         --enable-cscope \
271         --enable-gpm \
272         --with-features=huge \
273         --enable-multibyte \
274         --with-tlib=ncurses \
275         --enable-nls
276
277 %{__make} vim
278 mv -f vim vim.ncurses
279
280 %{__make} xxd/xxd
281
282 %if %{!?_without_static:1}%{?_without_static:0}
283 %{__make} distclean
284 LDFLAGS="%{rpmldflags} -static"
285 %configure \
286         --disable-gui \
287         --without-x \
288         --disable-perlinterp \
289         --disable-pythoninterp \
290         --disable-rubyinterp \
291         --disable-tclinterp \
292         --disable-cscope \
293         --disable-gpm \
294         --disable-multibyte \
295         --with-features=small \
296         --with-tlib=tinfo \
297         --disable-nls
298
299 %{__make} vim
300 mv -f vim vim.static
301 %endif
302
303 %if %{!?_without_athena:1}%{?_without_athena:0}
304 %{__make} distclean
305 LDFLAGS="%{rpmldflags}"
306 %configure \
307         --with-features=huge \
308         --enable-gui=athena \
309         --with-x \
310         %{!?_with_perl:--disable-perlinterp} \
311         %{?_with_perl:--enable-perlinterp} \
312         %{!?_with_python:--disable-pythoninterp} \
313         %{?_with_python:--enable-pythoninterp} \
314         %{!?_with_ruby:--disable-rubyinterp} \
315         %{?_with_ruby:--enable-rubyinterp} \
316         %{!?_with_tcl:--disable-tclinterp} \
317         %{?_with_tcl:--enable-tclinterp} \
318         --enable-cscope \
319         --enable-fontset \
320         --disable-gpm \
321         --without-gnome \
322         --enable-nls
323 %{__make} vim
324 mv -f vim gvim.athena
325 %endif
326
327 %if %{!?_without_motif:1}%{?_without_motif:0}
328 %{__make} distclean
329 %configure \
330         --with-features=huge \
331         --enable-gui=motif \
332         --with-x \
333         %{!?_with_perl:--disable-perlinterp} \
334         %{?_with_perl:--enable-perlinterp} \
335         %{!?_with_python:--disable-pythoninterp} \
336         %{?_with_python:--enable-pythoninterp} \
337         %{!?_with_ruby:--disable-rubyinterp} \
338         %{?_with_ruby:--enable-rubyinterp} \
339         %{!?_with_tcl:--disable-tclinterp} \
340         %{?_with_tcl:--enable-tclinterp} \
341         --enable-multibyte \
342         --enable-cscope \
343         --enable-fontset \
344         --disable-gpm \
345         --without-gnome \
346         --enable-nls
347 %{__make} vim
348 mv -f vim gvim.motif
349 %endif
350
351 %if %{!?_without_gtk:1}%{?_without_gtk:0}
352 %{__make} distclean
353 %configure \
354         --with-features=huge \
355         --enable-gui=gtk \
356         --with-x \
357         %{!?_with_perl:--disable-perlinterp} \
358         %{?_with_perl:--enable-perlinterp} \
359         %{!?_with_python:--disable-pythoninterp} \
360         %{?_with_python:--enable-pythoninterp} \
361         %{!?_with_ruby:--disable-rubyinterp} \
362         %{?_with_ruby:--enable-rubyinterp} \
363         %{!?_with_tcl:--disable-tclinterp} \
364         %{?_with_tcl:--enable-tclinterp} \
365         --disable-gpm \
366         --enable-cscope \
367         --enable-fontset \
368         --enable-nls
369 %{__make} vim
370 mv -f vim gvim.gtk
371 %endif
372
373 %if %{!?_without_gnome:1}%{?_without_gnome:0}
374 %{__make} distclean
375 %configure \
376         --with-features=huge \
377         --enable-gui=gnome \
378         --with-x \
379         %{!?_with_perl:--disable-perlinterp} \
380         %{?_with_perl:--enable-perlinterp} \
381         %{!?_with_python:--disable-pythoninterp} \
382         %{?_with_python:--enable-pythoninterp} \
383         %{!?_with_ruby:--disable-rubyinterp} \
384         %{?_with_ruby:--enable-rubyinterp} \
385         %{!?_with_tcl:--disable-tclinterp} \
386         %{?_with_tcl:--enable-tclinterp} \
387         --disable-gpm \
388         --enable-cscope \
389         --enable-fontset \
390         --enable-nls
391 %{__make} vim
392 mv -f vim gvim.gnome
393 %endif
394
395 %install
396 rm -rf $RPM_BUILD_ROOT
397 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/vim,%{_bindir}} \
398         $RPM_BUILD_ROOT{/bin,%{_mandir}/man1,%{_datadir}/vim} \
399         $RPM_BUILD_ROOT{%{_prefix}/X11R6/bin,%{_applnkdir}/Development/Editors}
400
401 %{__make} install DESTDIR=$RPM_BUILD_ROOT
402 rm -f $RPM_BUILD_ROOT%{_bindir}/*
403
404 %{!?_without_static:install src/vim.ncurses     $RPM_BUILD_ROOT%{_bindir}/vim}
405 %{?_without_static:install src/vim.ncurses      $RPM_BUILD_ROOT/bin/vi}
406 %{!?_without_static:install src/vim.static      $RPM_BUILD_ROOT/bin/vi}
407 %{?_without_static:ln -sf /bin/vi               $RPM_BUILD_ROOT%{_bindir}/vim}
408 install src/xxd/xxd                             $RPM_BUILD_ROOT%{_bindir}/xxd
409 install src/vimtutor                            $RPM_BUILD_ROOT%{_bindir}/vimtutor
410
411 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/*.1
412
413 install runtime/doc/vim.1 $RPM_BUILD_ROOT%{_mandir}/man1
414 install runtime/doc/xxd.1 $RPM_BUILD_ROOT%{_mandir}/man1
415
416 install runtime/doc/vimtutor.1 $RPM_BUILD_ROOT%{_mandir}/man1
417
418 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/ex.1
419 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rview.1
420 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rvim.1
421 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/vi.1
422 echo ".so vim.1" > $RPM_BUILD_ROOT%{_mandir}/man1/view.1
423
424 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/vimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/vimrc
425 mv -f $RPM_BUILD_ROOT%{_datadir}/vim/v*/gvimrc_example.vim $RPM_BUILD_ROOT%{_sysconfdir}/vim/gvimrc
426
427 ln -sf vim $RPM_BUILD_ROOT%{_bindir}/rvim
428 ln -sf vi  $RPM_BUILD_ROOT/bin/ex
429 ln -sf vi  $RPM_BUILD_ROOT/bin/view
430 ln -sf vi  $RPM_BUILD_ROOT/bin/rview
431
432 %{!?_without_athena:install src/gvim.athena     $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.athena}
433 %{!?_without_motif: install src/gvim.motif      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.motif}
434 %{!?_without_gtk:   install src/gvim.gtk        $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gtk}
435 %{!?_without_gnome: install src/gvim.gnome      $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim.gnome}
436
437 %{!?_without_gtk:ln -sf gvim.gtk                $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gvim}
438 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgvim}
439 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gview}
440 %{!?_without_gtk:ln -sf gvim                    $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/rgview}
441
442 %{!?_without_athena:install %{SOURCE2}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
443 %{!?_without_motif: install %{SOURCE3}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
444 %{!?_without_gtk:   install %{SOURCE4}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
445 %{!?_without_gnome: install %{SOURCE5}          $RPM_BUILD_ROOT%{_applnkdir}/Development/Editors}
446
447 %clean
448 rm -rf $RPM_BUILD_ROOT
449
450 %files
451 %defattr(644,root,root,755)
452 %attr(755,root,root) %{_bindir}/vim
453 %attr(755,root,root) %{_bindir}/rvim
454
455 %files -n xxd
456 %defattr(644,root,root,755)
457 %attr(755,root,root) %{_bindir}/xxd
458 %{_mandir}/man1/xxd.1*
459
460 %files static
461 %defattr(644,root,root,755)
462 %attr(755,root,root) /bin/*
463
464 %{_mandir}/man1/vi.1*
465 %{_mandir}/man1/ex.1*
466 %{_mandir}/man1/view.1*
467 %{_mandir}/man1/rview.1*
468
469 %files rt
470 %defattr(644,root,root,755)
471 %attr(755,root,root) %{_bindir}/vimtutor
472 %dir %{_sysconfdir}/vim
473 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/vimrc
474 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vim/gvimrc
475
476 %dir %{_datadir}/vim
477 %dir %{_datadir}/vim/v*
478 %{_datadir}/vim/v*/doc
479 %{_datadir}/vim/v*/ftplugin
480 %{_datadir}/vim/v*/indent
481 %{_datadir}/vim/v*/keymap
482 %dir %{_datadir}/vim/v*/lang
483 %{_datadir}/vim/v*/lang/README*
484
485 %lang(af) %{_datadir}/vim/v*/lang/af
486 %lang(de) %{_datadir}/vim/v*/lang/de
487 %lang(es) %{_datadir}/vim/v*/lang/es
488 %lang(fr) %{_datadir}/vim/v*/lang/fr
489 %lang(it) %{_datadir}/vim/v*/lang/it
490 %lang(ja) %{_datadir}/vim/v*/lang/ja*
491 %lang(ko) %{_datadir}/vim/v*/lang/ko
492 %lang(pl) %{_datadir}/vim/v*/lang/pl
493 %lang(sk) %{_datadir}/vim/v*/lang/sk
494 #%lang(tr) %{_datadir}/vim/v*/lang/tr
495 %lang(uk) %{_datadir}/vim/v*/lang/uk
496 %lang(zh_CN) %{_datadir}/vim/v*/lang/zh_CN*
497 %lang(zh_TW) %{_datadir}/vim/v*/lang/zh_TW
498
499 %lang(af) %{_datadir}/vim/v*/lang/menu_af_af*
500 %lang(cs) %{_datadir}/vim/v*/lang/menu_cs_cz*
501 %lang(de) %{_datadir}/vim/v*/lang/menu_de_de*
502 %lang(es) %{_datadir}/vim/v*/lang/menu_es_es*
503 %lang(fr) %{_datadir}/vim/v*/lang/menu_fr_fr*
504 %lang(hu) %{_datadir}/vim/v*/lang/menu_hu_hu*
505 %lang(it) %{_datadir}/vim/v*/lang/menu_it_it*
506 %lang(jp) %{_datadir}/vim/v*/lang/menu_ja_jp*
507 %lang(ko) %{_datadir}/vim/v*/lang/menu_ko_kr*
508 %lang(nl) %{_datadir}/vim/v*/lang/menu_nl_nl*
509 %lang(pl) %{_datadir}/vim/v*/lang/menu_pl_pl*
510 %lang(sk) %{_datadir}/vim/v*/lang/menu_sk_sk*
511 %lang(zh_CN) %{_datadir}/vim/v*/lang/menu_zh_cn*
512 %lang(zh_TW) %{_datadir}/vim/v*/lang/menu_zh_tw*
513
514 %{_datadir}/vim/v*/macros
515 %{_datadir}/vim/v*/plugin
516 %{_datadir}/vim/v*/syntax
517 %{_datadir}/vim/v*/tutor
518 %{_datadir}/vim/v*/colors
519 %{_datadir}/vim/v*/compiler
520 %{_datadir}/vim/v*/*.vim
521 %{_datadir}/vim/v*/*.ps
522
523 %{_mandir}/man1/vim*
524 %{_mandir}/man1/rvim.*
525
526 %if %{!?_without_athena:1}%{?_without_athena:0}
527 %files -n gvim-athena
528 %defattr(644,root,root,755)
529 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.athena
530 %{_applnkdir}/Development/Editors/gvim-athena.desktop
531 %endif
532
533 %if %{!?_without_motif:1}%{?_without_motif:0}
534 %files -n gvim-motif
535 %defattr(644,root,root,755)
536 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.motif
537 %{_applnkdir}/Development/Editors/gvim-motif.desktop
538 %endif
539
540 %if %{!?_without_gtk:1}%{?_without_gtk:0}
541 %files -n gvim-gtk
542 %defattr(644,root,root,755)
543 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gtk
544 %attr(755,root,root) %{_prefix}/X11R6/bin/rgvim
545 %attr(755,root,root) %{_prefix}/X11R6/bin/rgview
546 %attr(755,root,root) %verify(not link) %{_prefix}/X11R6/bin/gvim
547 %{_applnkdir}/Development/Editors/gvim-gtk.desktop
548 %endif
549
550 %if %{!?_without_gnome:1}%{?_without_gnome:0}
551 %files -n gvim-gnome
552 %defattr(644,root,root,755)
553 %attr(755,root,root) %{_prefix}/X11R6/bin/gvim.gnome
554 %{_applnkdir}/Development/Editors/gvim-gnome.desktop
555 %endif
This page took 0.05413 seconds and 2 git commands to generate.