/[packages]/updates/8/vim/current/SPECS/vim.spec
ViewVC logotype

Annotation of /updates/8/vim/current/SPECS/vim.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1568341 - (hide annotations) (download)
Fri Apr 17 14:24:33 2020 UTC (4 years ago) by tv
Original Path: cauldron/vim/current/SPECS/vim.spec
File size: 15900 byte(s)
8.2.587
1 ahmad 4276 # Notes / Warning :
2     # - this package is not prefixable
3 ahmad 4405 # - to update official patches, aka SOURCE4, see README.mga in SOURCE4
4 ahmad 4276
5 tv 1139540 %define python3path %{_includedir}/%{python3}
6    
7 tv 1568341 %define patchlevel 587
8 ahmad 4276
9     %define python_version %(rpm -q --qf '%%{epoch}:%%{version}' python)
10     %define ruby_version %(rpm -q --qf '%%{epoch}:%%{version}' ruby)
11    
12     # Should we build X11 gui
13     %define buildgui 1
14    
15     %{?_with_gui:%global buildgui 1}
16     %{?_without_gui:%global buildgui 0}
17    
18     %define title VI editor
19     %define longtitle All-purpose text editor
20    
21 tv 1468552 %define baseversion 8.2
22     %define vimdir vim82
23 tv 1231491
24 ahmad 4276 Name: vim
25 tv 1063602 Version: %{baseversion}.%{patchlevel}
26 tv 1553538 Release: %mkrel 1
27 ahmad 4276 Summary: VIsual editor iMproved
28     Url: http://www.vim.org/
29     License: Charityware
30     Group: Editors
31 tv 1063602 # Generated with SOURCES/vim-update.sh
32     Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2
33 ahmad 4405 # read README.mga prior updating official patches:
34     Source3: README.mga
35 ahmad 4276 # http://vim.sourceforge.net/scripts/script.php?script_id=98
36 tv 1063595 Source56: http://trific.ath.cx/Ftp/vim/syntax/dhcpd.vim
37 ahmad 4276 # from apparmor-utils package
38 tv 1063595 Source57: apparmor.vim
39     Source58: cfengine.vim
40     Source59: nagios.vim
41 dams 311490 # icon rendering is ugly in GNOME3, so, adding a svg icon
42 tv 1063595 Source60: gvim.svg
43 doktor5000 798913 # empty rpm spec template
44 tv 1063595 Source61: template.spec
45 doktor5000 798913
46 tv 1063602 # for updating Source0:
47     Source100: vim-update.sh
48    
49 ahmad 4276 # MDK patches
50     Patch2: vim-5.6a-paths.patch
51 tv 1052471 Patch3: vim-8.0-rpm-spec-syntax.patch
52 ahmad 4276 Patch8: vim-6.0af-man-path.patch
53     Patch10: xxd-locale.patch
54     Patch20: vimrc_hebrew.patch
55 doktor5000 798913 # autoload template when creating new rpm spec files
56 tv 1052471 Patch21: vim-8.0-mga-vimrc-spec-template-autoload.patch
57 tv 1553538 Patch22: vim-8.2-fix-xterms-comments.patch
58     Patch23: vim-8.2-remove-docs.patch
59 tv 1177291 Patch24: vim-8.0-outline-mode.patch
60 tv 472302 Patch26: vim-7.4-changelog-mode.patch
61 tv 1052471 Patch28: vim-8.0-po-mode.patch
62 tv 1125052 Patch30: vim-8.0-add-dhcpd-syntax.patch
63 ahmad 4276 Patch31: vim70-CVE-2007-2438.patch
64 tv 1052471 Patch32: vim-8.0-highligh-global.diff
65 ahmad 4276
66     # Fedora patches
67 tv 1052471 Patch100: vim-8.0-fortify_warnings-1.patch
68 tv 472302 Patch101: vim-7.4-fstabsyntax.patch
69 tv 1081193 Patch3016: vim-8.0-copy-paste.patch
70 tv 1229686 # migrate shebangs in script to /usr/bin/python3 and use python2 when necessary
71     Patch3017: vim-python3-tests.patch
72 tv 1053019 BuildRequires: python3-devel
73 tv 1053018 BuildRequires: gpm-devel
74 ovitters 1146883 BuildRequires: pkgconfig(ruby)
75 ahmad 4276 BuildRequires: perl-devel
76 colin 493177 BuildRequires: pkgconfig(tinfo)
77 ahmad 4276 BuildRequires: acl-devel
78 luigiwalser 397203 %if %{buildgui}
79 tv 1052471 BuildRequires: gtk3-devel
80 ovitters 1146883 BuildRequires: pkgconfig(ncurses)
81     BuildRequires: pkgconfig(xt)
82 ahmad 4276 BuildRequires: tcl
83 ovitters 1146883 BuildRequires: pkgconfig(tcl)
84 ahmad 4276 %endif
85 ovitters 1146883 BuildRequires: pkgconfig(lua)
86 ahmad 4276
87 tv 1052487 %global __requires_exclude perl\\(getopts.pl\\)
88    
89 ahmad 4276 %description
90 tv 1052498 VIM (VIsual editor iMproved) is an updated and improved version of the
91     vi editor. Vi was the first real screen-based editor for UNIX, and is
92     still very popular. VIM improves on vi by adding new features:
93     multiple windows, multi-level undo, block highlighting and more.
94 ahmad 4276
95     %package common
96     Summary: The common files needed by any version of the VIM editor
97     Group: Editors
98     Requires(pre): coreutils
99     Requires(post): coreutils
100     Requires(preun): coreutils
101     Requires(postun): coreutils
102 oden 566574 # <oden> Installation failed: file /usr/share/vim/syntax/asciidoc.vim from install of vim-common-7.4.052-2.mga4.x86_64 conflicts with file from package asciidoc-8.6.8-2.mga3.noarch
103     Conflicts: asciidoc < 8.6.8-4
104 ahmad 4276
105     %description common
106 tv 1052499 VIM (VIsual editor iMproved) is an updated and improved version of the
107     vi editor. Vi was the first real screen-based editor for UNIX, and is
108     still very popular. VIM improves on vi by adding new features:
109     multiple windows, multi-level undo, block highlighting and more. The
110     vim-common package contains files which every VIM binary will need in
111     order to run.
112 ahmad 4276
113     %package minimal
114     Summary: A minimal version of the VIM editor
115     Group: Editors
116     Provides: vim
117     Requires(post): update-alternatives
118     Requires(postun): update-alternatives
119    
120     %description minimal
121 tv 1052499 VIM (VIsual editor iMproved) is an updated and improved version of the
122     vi editor. Vi was the first real screen-based editor for UNIX, and is
123     still very popular. VIM improves on vi by adding new features:
124     multiple windows, multi-level undo, block highlighting and more. The
125     vim-minimal package includes a minimal version of VIM, which is
126     installed into /bin/vi for use when only the root partition is
127     present. NOTE: The online help is only available when the vim-common
128     package is installed.
129 ahmad 4276
130     %package enhanced
131     Summary: A version of the VIM editor which includes recent enhancements
132     Group: Editors
133 luigiwalser 397203 Requires: vim-common >= %{version}-%{release}
134 ahmad 4276 Provides: vim
135     Requires(post): update-alternatives
136     Requires(postun): update-alternatives
137    
138     %description enhanced
139 tv 1052499 VIM (VIsual editor iMproved) is an updated and improved version of the
140     vi editor. Vi was the first real screen-based editor for UNIX, and is
141     still very popular. VIM improves on vi by adding new features:
142     multiple windows, multi-level undo, block highlighting and more. The
143     vim-enhanced package contains a version of VIM with extra, recently
144     introduced features like Python and Perl interpreters.
145 ahmad 4276
146 tv 1052499 Install the vim-enhanced package if you'd like to use a version of the
147     VIM editor which includes recently added enhancements like
148     interpreters for the Python and Perl scripting languages. You'll also
149     need to install the vim-common package.
150 ahmad 4276
151 luigiwalser 397203 %if %{buildgui}
152 ahmad 4276 %package X11
153     Summary: The VIM version of the vi editor for the X Window System
154     Group: Editors
155     Provides: vim
156 luigiwalser 397203 Requires: vim-common >= %{version}-%{release}
157 ahmad 4276 Requires(post): desktop-file-utils
158     Requires(postun): desktop-file-utils
159    
160     %description X11
161 tv 1052499 VIM (VIsual editor iMproved) is an updated and improved version of the
162     vi editor. Vi was the first real screen-based editor for UNIX, and is
163     still very popular. VIM improves on vi by adding new features:
164     multiple windows, multi-level undo, block highlighting and
165     more. VIM-X11 is a version of the VIM editor which will run within the
166     X Window System. If you install this package, you can run VIM as an X
167 tv 1173948 application with a full GUI interface and mouse support by command gvim.
168 ahmad 4276
169 tv 1052499 Install the vim-X11 package if you'd like to try out a version of vi
170     with graphics and mouse capabilities. You'll also need to install the
171 ahmad 4276 vim-common package.
172     %endif
173    
174     %define localedir %{buildroot}%{_datadir}/locale/
175    
176     %prep
177 tv 1063602 %setup -q -n %{vimdir}
178 ahmad 4276 # spec plugin
179     rm -f runtime/doc/pi_spec.txt
180     rm -f runtime/ftpplugin/spec.vim
181 tv 1063595 cp -a %{SOURCE56} runtime/syntax/
182     cp -a %{SOURCE57} runtime/syntax/
183     cp -a %{SOURCE58} runtime/syntax/
184     cp -a %{SOURCE59} runtime/syntax/
185 ahmad 4276
186     #mdk patches
187     %patch2 -p1
188     %patch3 -p0 -b .spec
189     %patch8 -p1 -b .manpath
190     %patch10 -p1 -b .xxdloc
191     %patch20 -p1 -b .warly
192 doktor5000 798913 %patch21 -p1 -b .spec-template-autoload
193 ahmad 4276 %patch22 -p0
194     %patch23 -p0 -b .doc
195     %patch24 -p0
196     %patch26 -p0
197     %patch28 -p1
198     %patch30 -p0
199 neoclust 897157 %patch32 -p1
200 ahmad 4276 # Fedora patches
201     %patch100 -p1
202     %patch101 -p1
203 tv 1081193 %patch3016 -p1
204 tv 1229686 %patch3017 -p1
205 ahmad 4276
206     perl -pi -e 's|SYS_VIMRC_FILE "\$VIM/vimrc"|SYS_VIMRC_FILE "%_sysconfdir/vim/vimrc"|' src/os_unix.h
207     perl -pi -e 's|SYS_GVIMRC_FILE "\$VIM/gvimrc"|SYS_GVIMRC_FILE "%_sysconfdir/vim/gvimrc"|' src/os_unix.h
208     # disable command echo
209 tv 1081193 for i in runtime/{gvimrc_example.vim,vimrc_example.vim,defaults.vim}; do
210 ahmad 4276 perl -pi -e 's!^set showcmd!set noshowcmd!' $i
211     done
212     perl -pi -e 's|\Qsvn-commit.*.tmp\E|svn-commit*.tmp|' ./runtime/filetype.vim
213    
214     %build
215     # ensure xxd works with big files:
216 tv 1368200 export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
217     export CXXFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2"
218 ahmad 4276
219 tv 1440635 export LDFLAGS="%{ldflags} $(python3-config --libs --embed)"
220    
221 luigiwalser 397203 %if %{buildgui}
222 ahmad 4276 # First build: gvim
223 luigiwalser 397203 LOCALEDIR=%{localedir} ./configure --prefix=%{_prefix} \
224 tv 1053019 --enable-python3interp=dynamic \
225 ahmad 4276 --enable-perlinterp \
226     --enable-rubyinterp \
227     --enable-tclinterp \
228     --with-features=huge \
229 tv 1052471 --enable-acl --with-x=yes --enable-gui=gtk3 --exec-prefix=%{_prefix}/X11R6 \
230     --enable-gtk3-check \
231 luigiwalser 397203 --enable-multibyte --enable-xim --enable-fontset --mandir=%{_mandir} \
232     --libdir=%{_libdir} --with-compiledby="%packager"
233 ahmad 4276
234     echo "#define MAX_FEAT 1" >> src/config.h
235     echo "#define FEAT_GUI" >> src/config.h
236     # workaround buggy build system:
237     perl -pi -e 's!/usr/include long!/usr/include !' src/auto/config.mk
238    
239 daviddavid 1058317 %make_build
240 ahmad 4276 mv src/vim src/gvim
241     make -C src clean
242     %endif
243    
244     # Second build: vim-enhanced
245 luigiwalser 397203 ./configure --prefix=%{_prefix} \
246 tv 1440635 --enable-acl --enable-rubyinterp --enable-tclinterp \
247 tv 1053019 --enable-python3interp=dynamic \
248     --enable-perlinterp --with-features=huge \
249 luigiwalser 397203 --libdir=%{_libdir} --with-compiledby="%packager" \
250     --with-x=no --enable-gui=no --exec-prefix=%{_prefix}
251 ahmad 4276
252 daviddavid 1058317 %make_build
253 ahmad 4276 mv src/vim src/vim-enhanced
254     make -C src/ clean
255    
256     # Third build: vim-minimal
257 luigiwalser 397203 ./configure --prefix=%{_prefix} \
258 tv 1368250 --with-features=tiny --disable-tclinterp --disable-cscope \
259 ahmad 4276 --disable-hangulinput --disable-xim --disable-fontset --disable-gui \
260     --disable-acl --disable-pythoninterp --disable-perlinterp \
261 luigiwalser 397203 --libdir=%{_libdir} --with-compiledby="%packager" \
262 tv 1065827 --with-x=no --enable-gui=no --disable-gpm --exec-prefix=%{_prefix} --with-tlib=tinfo
263 ahmad 4276
264 daviddavid 1058317 %make_build
265 ahmad 4276 cp src/vim src/vim-minimal
266 daviddavid 1058317 %make_build -C src
267 ahmad 4276
268     cp -al runtime/doc doc
269     # apply os_doc.diff
270     pushd doc
271     rm -f *.1
272     rm -f os_{390,dos,msdos,risc,win32,amiga,mac,os2,beos,mint,qnx,vms}.txt
273     rm -f gui_{w16,w32}.txt
274     rm -f vim2html.pl Makefile *awk
275     popd
276    
277     # britton support
278     ln -s tutor.fr runtime/tutor/tutor.br
279     ln -s menu_fr_fr.iso_8859-15.vim runtime/lang/menu_br
280    
281     %install
282     perl -pi -e 's!LOCALEDIR=\$\(DEST_LANG\)!LOCALEDIR=\$(DESTDIR)\$\(prefix\)/share/locale!g' src/Makefile
283    
284 luigiwalser 397203 mkdir -p %{buildroot}{/bin,%{_bindir},%{_datadir}/{vim,locale},%{_mandir}/man1,%{localedir}}
285 tv 1344190 # Adding STRIP=/bin/true, because Vim wants to strip the binaries by himself
286     # and put the stripped files into correct dirs. Build system (koji/brew)
287     # does it for us, so there is no need to do it in Vim
288     %make_install VIMRTDIR="" STRIP=/bin/true
289 ahmad 4276
290    
291 luigiwalser 397203 make -C src installmacros prefix=%{buildroot}%{_prefix} VIMRTDIR=""
292 ahmad 4276
293     # fix unreadable files:
294     chmod a+r runtime/{autoload/{tar,netrw}.vim,doc/pi_{netrw,tar}.txt}
295    
296 luigiwalser 397203 %if %{buildgui}
297     mkdir -p %{buildroot}%{_bindir}
298 tv 881552 install -m 755 src/gvim %{buildroot}%{_bindir}
299 ahmad 4276 %endif
300    
301 tv 881552 install -m 755 src/vim-enhanced %{buildroot}%{_bindir}
302     install -m 755 src/vim-minimal %{buildroot}/bin/vim-minimal
303 ahmad 4276
304     cd %{buildroot}
305     rm -f ./bin/rvim
306     rm -f ./usr/bin/rview ./usr/bin/rvim ./usr/bin/view
307     for i in ex vimdiff; do
308     ln -sf vim-enhanced ./usr/bin/$i
309     done
310     rm -f ./usr/man/man1/rvim.*
311     rm -f ./usr/share/man/man1/evim.*
312 luigiwalser 397203 %if %{buildgui}
313 ahmad 4276 ln -sf gvim ./usr/bin/gvimdiff
314     ln -sf gvim ./usr/bin/vimx
315     %endif
316     rm -f ./usr/share/vim/*/cmake.vim
317     cd -
318    
319     # installing man pages
320 luigiwalser 397203 for i in %{buildroot}%{_mandir}/man1/{vi,rvi}; do
321     cp %{buildroot}%{_mandir}/man1/vim.1 $i.1
322 ahmad 4276 done
323    
324 luigiwalser 397203 %if %{buildgui}
325     cp %{buildroot}%{_mandir}/man1/vim.1 %{buildroot}%{_mandir}/man1/gvim.1
326 ahmad 4276 %endif
327    
328 tv 1081193 ln -sf defaults.vim %{buildroot}/usr/share/vim/vimrc
329 ahmad 4276
330 luigiwalser 397203 cd %{buildroot}/%{_prefix}/share/vim/tools
331 ahmad 4276 # i need to make a choice :(.
332     rm -f vim132
333     perl -p -i -e 's|#!/usr/bin/nawk|#!/usr/bin/gawk|' mve.awk
334     perl -p -i -e 's|#!/usr/local/bin/perl|#!/usr/bin/perl|' *.pl
335     perl -p -i -e 's|#!/usr/gnu/bin/perl|#!/usr/bin/perl|' *
336     cd -
337    
338     # Be short-circuit aware :
339     ln -f runtime/macros/README.txt README_macros.txt
340     ln -f runtime/tools/README.txt README_tools.txt
341     perl -p -i -e "s|#!/usr/local/bin/perl|#!/usr/bin/perl|" runtime/doc/*.pl
342    
343     # installing the menu icons & entry
344 luigiwalser 397203 %if %{buildgui}
345 tv 1063595 install -D -p -m 0644 %{SOURCE60} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/gvim.svg
346 ahmad 4276
347     # gvim and fontset (from Pablo) 2001/03/19
348     echo 'set guifontset=-*-fixed-medium-r-normal--14-*-*-*-c-*-*-*,-*-*-medium-r-normal--14-*-*-*-c-*-*-*,-*-*-medium-r-normal--14-*-*-*-m-*-*-*,*' > %{buildroot}%{_datadir}/vim/gvimrc
349     %endif
350    
351     # fix the paths in the man pages
352     for i in %{buildroot}/usr/share/man/man1/*.1; do
353     perl -p -i -e "s|%{buildroot}||" $i
354     done
355    
356     # prevent including twice the doc
357     rm -fr %{buildroot}/usr/share/vim/doc
358 luigiwalser 397203 ln -sf ../../../%{_defaultdocdir}/%{name}-common/doc %{buildroot}/usr/share/vim/doc
359 ahmad 4276
360 tv 881614 %{find_lang} %{name} --with-man --all-name
361 ahmad 4276
362 luigiwalser 397203 find %{buildroot}%{_datadir}/vim/ -name "tutor.*" | egrep -v 'tutor(|\.vim)$' |
363 tv 881612 sed -e 's!^\(.*tutor.\)\(..\)!%lang(\2) \1\2!g' >> %{name}.lang
364 ahmad 4276
365 tv 865213 find %{buildroot}%{_datadir}/vim/lang -name "menu*" |
366 tv 881612 sed -e 's!^\(.*menu_\)\(..\)\(_\)!%lang(\2) \1\2\3!g' \
367 ahmad 4276 -e 's!^\(.*menu\)\(_chinese\)!%lang(zh) \1\2!g' \
368     -e 's!^\(.*menu\)\(_czech_\)!%lang(cs) \1\2!g' \
369     -e 's!^\(.*menu\)\(_french\)!%lang(fr) \1\2!g' \
370     -e 's!^\(.*menu\)\(_german\)!%lang(de) \1\2!g' \
371     -e 's!^\(.*menu\)\(_japanes\)!%lang(ja) \1\2!g' \
372     -e 's!^\(.*menu\)\(_polish\)!%lang(pl) \1\2!g' \
373     -e 's!^\(.*menu\)\(_slovak\)!%lang(sk) \1\2!g' \
374     -e 's!^\(.*menu\)\(_spanis\)!%lang(es) \1\2!g' \
375 luigiwalser 397203 >> %{name}.lang
376 tv 881611 # add softlinks:
377     find %{buildroot}%{_datadir}/vim/lang -type l >> %{name}.lang
378     # clean file list:
379     sed -i "s^%{buildroot}^^" %{name}.lang
380    
381 luigiwalser 397203 rm -f %{buildroot}%{_bindir}/vim
382 ahmad 4276
383 luigiwalser 397203 mkdir -p %{buildroot}%{_sysconfdir}/vim/
384     MESSAGE='"Place your systemwide modification here.\n"%{_datadir}/vim/ files will be overwritten on update\n'
385     echo -e "$MESSAGE\nsource %_datadir/vim/vimrc" > %{buildroot}/%{_sysconfdir}/vim/vimrc
386     %if %{buildgui}
387     echo -e "$MESSAGE\nsource %_datadir/vim/gvimrc" > %{buildroot}/%{_sysconfdir}/vim/gvimrc
388 ahmad 4276 %endif
389    
390 doktor5000 798913 # create templates folder
391     mkdir -p %{buildroot}/%{_datadir}/%{name}/vimfiles
392 tv 1063595 install -m 0644 %{SOURCE61} %{buildroot}/%{_datadir}/%{name}/vimfiles/
393 doktor5000 798913
394 ahmad 4276 %post minimal
395     update-alternatives --install /bin/vi vi /bin/vim-minimal 10 \
396     --slave /bin/view view /bin/vim-minimal \
397     --slave /bin/ex ex /bin/vim-minimal \
398     --slave /bin/rvi rvi /bin/vim-minimal \
399     --slave /bin/rview rview /bin/vim-minimal
400     update-alternatives --install /bin/vim vim /bin/vim-minimal 10 \
401     --slave /bin/rvim rvim /bin/vim-minimal
402    
403     %postun minimal
404     [ $1 = 0 ] || exit 0
405     update-alternatives --remove vi /bin/vim-minimal
406     update-alternatives --remove vim /bin/vim-minimal
407    
408     %triggerpostun minimal -- vim-minimal < 7.3
409     update-alternatives --remove uvi /bin/vim-minimal
410     for i in view ex rvi rview rvim; do
411     update-alternatives --remove $i /bin/$i || :
412     done
413    
414     %post enhanced
415     update-alternatives --install /bin/vi vi /usr/bin/vim-enhanced 20 \
416     --slave /bin/view view /usr/bin/vim-enhanced \
417     --slave /bin/ex ex /usr/bin/vim-enhanced \
418     --slave /bin/rvi rvi /usr/bin/vim-enhanced \
419     --slave /bin/rview rview /usr/bin/vim-enhanced
420     update-alternatives --install /bin/vim vim /usr/bin/vim-enhanced 20 \
421     --slave /bin/rvim rvim /usr/bin/vim-enhanced
422    
423     %postun enhanced
424     [ $1 = 0 ] || exit 0
425     update-alternatives --remove vi /usr/bin/vim-enhanced
426     update-alternatives --remove vim /usr/bin/vim-enhanced
427    
428     %triggerpostun enhanced -- vim-enhanced < 7.3
429     update-alternatives --remove uvi /usr/bin/vim-enhanced
430    
431     %files common -f vim.lang
432 colin 493177 %doc README*.txt
433 ahmad 4276 #%doc --parents mandriva/README*
434     %doc doc
435 luigiwalser 397203 %{_datadir}/vim/doc
436     %dir %{_datadir}/vim/
437 tv 865213 %{_datadir}/vim/[^tlg]*
438 luigiwalser 397203 %{_datadir}/vim/gvimrc_example.vim
439 tv 881615 %{_datadir}/vim/lang/README.txt
440 tv 881599 %{_datadir}/vim/tools
441 tv 881606 %{_datadir}/vim/tutor/README.*
442     %{_datadir}/vim/tutor/tutor
443     %{_datadir}/vim/tutor/tutor.vim
444 luigiwalser 397203 %{_mandir}/man1/vim.1*
445     %{_mandir}/man1/ex.1*
446     %{_mandir}/man1/vi.1*
447     %{_mandir}/man1/view.1*
448     %{_mandir}/man1/rvi.1*
449     %{_mandir}/man1/rview.1*
450     %{_mandir}/man1/vimdiff.1*
451     %{_mandir}/man1/vimtutor.1*
452     %{_mandir}/man1/rvim.1*
453     %{_bindir}/vimtutor
454     %{_bindir}/xxd
455     %{_mandir}/man1/xxd.1*
456 tv 865213 %dir %{_sysconfdir}/vim/
457 luigiwalser 397203 %config(noreplace) %{_sysconfdir}/vim/*
458 ahmad 4276
459     %files minimal
460     %doc README*.txt
461     /bin/vim-minimal
462    
463     %files enhanced
464     %doc README*.txt
465 luigiwalser 397203 %{_bindir}/ex
466     %{_bindir}/vimdiff
467     %{_bindir}/vim-enhanced
468 ahmad 4276
469 luigiwalser 397203 %if %{buildgui}
470 ahmad 4276 %files X11
471     %doc README*.txt
472 luigiwalser 397203 %{_bindir}/gvim
473     %{_bindir}/gvimdiff
474     %{_bindir}/vimx
475     %{_mandir}/man1/gvim.1*
476 dams 311490 %{_iconsdir}/hicolor/*/apps/gvim.*
477 tv 1052471 %{_iconsdir}/locolor/*/apps/*
478     %{_datadir}/applications/*.desktop
479 luigiwalser 397203 %{_datadir}/vim/gvimrc
480 ahmad 4276 %endif

  ViewVC Help
Powered by ViewVC 1.1.30