# # spec file for package vim (Version 7.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: vim Version: 7.2 Release: 18 # License: Other uncritical OpenSource License ; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license Group: Productivity/Editors/Vi # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: db-devel fdupes gettext-devel gpm gtk2-devel libacl-devel ncurses-devel perl python-devel ruby-devel tcl-devel update-alternatives update-desktop-files # %define pkg_version 7.2 %define official_ptchlvl 127 %define VIM_SUBDIR vim72 %define site_runtimepath /usr/share/vim/site # %define make make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/current MAKE="make -e" %{?jobs:-j%jobs} # %define vim_prereq %{name}-base = %{version} # Explicitly require versioned perl for libperl.so %define perl_requires perl = %(rpm -q --qf '%{VERSION}' perl) %if 0%{?with_splitted_gvim} %define gvim_prereq g%{name}-base = %{version} %else %define gvim_prereq %{vim_prereq} %endif # PreReq: sh-utils fileutils PreReq: update-alternatives PreReq: %{vim_prereq} # Provides: vim_client Provides: vi # %if 0%{?suse_version} >= 1010 Recommends: vim-data = %{version} %endif # Url: http://www.vim.org/ Source: ftp://ftp.vim.org/pub/vim/unix/vim-%{pkg_version}.tar.bz2 Source1: ftp://ftp.vim.org/pub/vim/extra/vim-%{pkg_version}-extra.tar.bz2 Source2: ftp://ftp.vim.org/pub/vim/extra/vim-%{pkg_version}-lang.tar.bz2 Source3: suse.vimrc Source4: vimrc_example1 Source5: vimrc_example2 Source6: ANNOUNCEMENT.vim-%{version} Source8: suse.gvimrc Source9: README.SuSE Source10: README.Japanese-XIM Source13: vitmp.c Source14: vitmp.1 Source15: vim132 Source18: missing-vim-client Source19: gvim.desktop Source20: spec.skeleton Source21: dot.vimrc Source98: %{name}-7.2-patches.bz2 Source99: vim-7.1-rpmlintrc Patch1: %{name}-7.0-no_nb.patch Patch4: %{name}-7.0-gvimrc_fontset.patch Patch5: %{name}-7.0-highlight_fstab.patch Patch6: %{name}-7.0-sh_is_bash.patch Patch7: %{name}-7.0-filetype_ftl.patch Patch8: %{name}-7.0-help_tags.patch Patch9: %{name}-7.0-use_awk.patch Patch10: %{name}-7.0-name_vimrc.patch Patch11: %{name}-7.0-mktemp_tutor.patch Patch12: %{name}-7.0-ruby_ldflags_configure.patch Patch14: %{name}-7.0-grub.patch Patch15: vim-7.2-filetype_apparmor.patch Patch16: %{name}-7.0-flex-array.diff Patch18: vim-7.1-filetype_spec.patch Patch19: vim-7.2-diff_check.patch Patch21: vim-7.1-filetype_changes.patch Patch22: vim-7.1-remove-terrible-hack.patch Patch23: vim-7.2-php.patch Patch24: vim-7.2-lib64.patch Patch25: vim-7.2-lzma-support.patch # PATCH-FIX-UPSTREAM vim-7.2.257.patch bnc#536535 mmarek@novell.com -- Hide gtk assertions. Patch26: vim-7.2.257.patch Patch100: vim-7.1.314-CVE-2009-0316-debian.patch # tbd??? %name-6.3-ga-utf8.diff # tbd??? %name-6.3-initvals.diff # tbd??? vim64-svn-crash.patch Summary: Vi IMproved %description Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using only ASCII characters. Only the 'Q' command is missing (you do not need it). Many new features have been added: multilevel undo, command line history, file name completion, block operations, and editing of binary data. Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions of UNIX. For SuSE Linux, Vim is used as /usr/bin/vi. Package vim contains the normal version of vim. To get the full runtime environment install additionally vim-data. Authors: -------- Bram Moolenaar %package data License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license Group: Productivity/Editors/Vi PreReq: %{vim_prereq} # Summary: Vi IMproved %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description data Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using only ASCII characters. Only the 'Q' command is missing (you do not need it). Many new features have been added: multilevel undo, command line history, file name completion, block operations, and editing of binary data. Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions of UNIX. For SuSE Linux, Vim is used as /usr/bin/vi. Package vim-data contains the runtime files. Authors: -------- Bram Moolenaar %package base License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license Group: Productivity/Editors/Vi PreReq: %{vim_prereq} PreReq: update-alternatives # Summary: Vi IMproved %description base Vim (Vi IMproved) is an almost compatible version of the UNIX editor vi. Almost every possible command can be performed using only ASCII characters. Only the 'Q' command is missing (you do not need it). Many new features have been added: multilevel undo, command line history, file name completion, block operations, and editing of binary data. Vi is available for the AMIGA, MS-DOS, Windows NT, and various versions of UNIX. For SuSE Linux, Vim is used as /usr/bin/vi. Package vim-base contains the common files needed for all different vim versions. You still need to select at least one of the vim, vim-enhanced or gvim packages. For full runtime support you might also want to install the vim-data package. Authors: -------- Bram Moolenaar %package enhanced License: Other uncritical OpenSource License Group: Productivity/Editors/Vi PreReq: %{vim_prereq} PreReq: update-alternatives Provides: vi Provides: vim_client Requires: %{perl_requires} # Summary: A version of the VIM editor which includes recent enhancements %description enhanced The vim-enhanced package contains a version of VIM with extra, recently introduced features like Ruby, Perl and TCL interpreters, but it has no graphical user interface. Please use gvim instead, if you need a gui too. Install the vim-enhanced package if you'd like to use a version of the VIM editor which includes recently added enhancements like interpreters for the Python and Perl scripting languages. You'll also need to install the base package 'vim', for online help, etc. If you need the graphical features of vim, you might want to install package gvim too. Authors: -------- Bram Moolenaar %if 0%{?with_splitted_gvim} %package -n gvim-base License: Other uncritical OpenSource License Group: Productivity/Editors/Vi PreReq: %{vim_prereq} PreReq: update-alternatives Requires: gvim_client # Summary: dummy package for a subpackage only build in the buildservice %description -n gvim-base dummy package for a subpackage only build in the buildservice Authors: -------- Bram Moolenaar %package -n gvim-enhanced License: Other uncritical OpenSource License Group: Productivity/Editors/Vi PreReq: %{gvim_prereq} PreReq: update-alternatives Provides: vim_client Provides: gvim_client Provides: vi # Summary: dummy package for a subpackage only build in the buildservice %description -n gvim-enhanced dummy package for a subpackage only build in the buildservice Authors: -------- Bram Moolenaar %endif %package -n gvim License: Other uncritical OpenSource License ; Charityware. If you wish please donate to Uganda Group: Productivity/Editors/Vi PreReq: %{gvim_prereq} PreReq: update-alternatives Requires: gvim_client Provides: gvim-base = %{version}-%{release} Provides: gvim-enhanced = %{version}-%{release} Provides: gvim_client Provides: vim_client Provides: vi Requires: %{perl_requires} # Summary: A GUI for Vi %description -n gvim Start: /usr/X11R6/bin/gvim Copy and modify /usr/share/vim/current/gvimrc to ~/.gvimrc if needed. Package gvim contains the largest set of features of vim, which is graphical windows and language interpreter, like python, ruby, or perl. You need package vim for the help and other documentation too. If you want less features, you might want to install packages vim-enhanced or vim instead. Authors: -------- Bram Moolenaar %prep %setup -q -n %{VIM_SUBDIR} -b 1 -b 2 -b 98 for p in ../vim-%{pkg_version}-patches/%{pkg_version}*; do test -e $p || break test ${p#*/%{pkg_version}.} -le %{official_ptchlvl} || exit 1 echo Patch $p patch -s -p0 < $p done unset p %patch1 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch14 %patch15 -p1 %patch16 %patch18 %patch19 -p1 %patch21 -p1 %patch22 %patch23 %patch24 %patch25 %patch26 %patch100 -p1 cp %{S:3} %{S:4} %{S:5} %{S:6} %{S:8} %{S:9} %{S:10} . rename no nb $RPM_BUILD_DIR/vim*/src/po/no.* rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no* %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" %if %suse_version > 1000 export CFLAGS="$CFLAGS -fstack-protector-all" %endif export COMMON_OPTIONS="\ --with-vim-name=vim \ --with-ex-name=ex \ --with-view-name=view \ --enable-cscope \ --enable-multibyte \ --enable-sniff \ --with-features=huge \ --with-compiledby='http://www.opensuse.org/' \ --with-tlib=ncurses \ --with-global-runtime=%{site_runtimepath}" export SCRIPT_OPTIONS="\ --enable-perlinterp \ --enable-pythoninterp \ --enable-rubyinterp \ --enable-tclinterp \ --with-tclsh=%{_bindir}/tclsh \ --with-python-config-dir=%{py_libdir}/config" # TODO: # - if suse_version for gnome path export GUI_OPTIONS="\ --enable-xim \ --enable-fontset \ --enable-gnome-check \ --with-xusetheXWindowSystem \ --enable-gui=gnome2 \ --enable-gtk2-check \ --with-gtk-prefix=/opt/gnome \ --with-gnome=/opt/gnome" # # build small default binary %configure \ ${COMMON_OPTIONS} --disable-gui --without-x --disable-gpm \ --disable-perlinterp --disable-pythoninterp \ --disable-rubyinterp --disable-tclinterp %make %{__cp} src/vim vim-normal %{__make} distclean # # build enhanced binary %configure ${COMMON_OPTIONS} ${SCRIPT_OPTIONS} --disable-gui %make %{__cp} src/vim vim-enhanced %{__make} distclean # # build enhanced gvim binary %configure ${COMMON_OPTIONS} ${SCRIPT_OPTIONS} ${GUI_OPTIONS} %if 0%{?with_splitted_gvim} %make %{__cp} src/vim gvim-enhanced %{__make} distclean # # build gvim binary %configure ${COMMON_OPTIONS} ${GUI_OPTIONS} %endif %make # # build vitmp gcc %{optflags} %{S:13} -o vitmp %install # # create icon directory to have the icon from the tarball installed %{__install} -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps %makeinstall STRIP=: # the last installed binary is gvim. preserve it and # fix its symlinks. e* was added here as it doesnt make much sense in # console %{__mv} -v %{buildroot}%{_bindir}/{vim,gvim-normal} for f in egvim egview eview evim gex gvi gview gvimdiff rgview rgvim ; do %{__ln_s} -vf gvim %{buildroot}%{_bindir}/$f done # # install the other binaries %{__install} -D -m 0755 vim-normal %{buildroot}/bin/vim-normal %{__install} -D -m 0755 vim-enhanced %{buildroot}%{_bindir}/vim-enhanced %if 0%{?with_splitted_gvim} %{__install} -D -m 0755 gvim-enhanced %{buildroot}%{_bindir}/gvim-enhanced %endif # compat symlinks # we need a dummy target for /etc/alternatives/vim mkdir -p %{buildroot}/etc/alternatives touch %{buildroot}/etc/alternatives/vim %{__ln_s} -f /etc/alternatives/vim %{buildroot}/bin/vim %{__ln_s} -f /bin/vim %{buildroot}/bin/vi %{__ln_s} -f /bin/vim %{buildroot}%{_bindir}/vim %{__ln_s} -f /bin/vim %{buildroot}%{_bindir}/vi %{__ln_s} -f vim %{buildroot}%{_bindir}/edit %{__ln_s} -f /bin/vim %{buildroot}/bin/ex # # man pages %{__ln_s} -f vim.1.gz %{buildroot}%{_mandir}/man1/vi.1.gz %{__ln_s} -f vim.1.gz %{buildroot}%{_mandir}/man1/ex.1.gz # # vitmp %{__install} -m 0755 vitmp %{buildroot}%{_bindir}/vitmp %{__install} -m 0644 %{S:14} %{buildroot}%{_mandir}/man1/vitmp.1 %{__install} -m 0755 %{S:15} %{buildroot}/usr/share/vim/%{VIM_SUBDIR}/tools/vim132 # # make the vim settings more generic %{__ln_s} -f %{VIM_SUBDIR} %{buildroot}%{_datadir}/vim/current # additional files %{__install} -D -m 0644 %{S:3} %{buildroot}/etc/vimrc %{__install} -D -m 0644 %{S:8} %{buildroot}/etc/gvimrc # create site wide runtime directory mkdir -p -m 0755 %{buildroot}%{site_runtimepath}/after mkdir -m 0755 %{buildroot}%{site_runtimepath}/autoload mkdir -m 0755 %{buildroot}%{site_runtimepath}/colors mkdir -m 0755 %{buildroot}%{site_runtimepath}/doc mkdir -m 0755 %{buildroot}%{site_runtimepath}/plugin mkdir -m 0755 %{buildroot}%{site_runtimepath}/syntax mkdir -m 0755 %{buildroot}%{site_runtimepath}/ftdetect mkdir -m 0755 %{buildroot}%{site_runtimepath}/after/syntax mkdir -m 0755 %{buildroot}%{_datadir}/vim/current/skeletons mkdir -m 0755 %{buildroot}/etc/skel # install spec helper install -m 0644 %{S:20} %{buildroot}%{_datadir}/vim/current/skeletons/skeleton.spec install -m 0644 %{S:21} %{buildroot}/etc/skel/.vimrc # desktop file for gvim %suse_update_desktop_file -i gvim Utility TextEditor # # documentation %{__install} -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/ %{__install} -D -m 0644 \ vimrc_example1 vimrc_example2 suse.vimrc \ README.txt README_src.txt README_unix.txt README_lang.txt src/INSTALL ANNOUNCEMENT.vim-7.2 \ %{buildroot}%{_docdir}/vim/ # gvim %{__install} -D -m 0644 \ README.SuSE README.Japanese-XIM runtime/gvimrc_example.vim suse.gvimrc \ %{buildroot}%{_docdir}/gvim/ # # stupid helper %{__install} -m 0755 %{S:18} %{buildroot}%{_datadir}/vim/current/tools/missing-vim-client # remove unecessary duplicate manpages rm -rf %{buildroot}%{_mandir}/fr.ISO8859-1/ rm -rf %{buildroot}%{_mandir}/fr.UTF-8/ rm -rf %{buildroot}%{_mandir}/pl.ISO8859-2/ rm -rf %{buildroot}%{_mandir}/pl.UTF-8/ rm -rf %{buildroot}%{_mandir}/ru.KOI8-R/ rm -rf %{buildroot}%{_mandir}/it.ISO8859-1/ rm -rf %{buildroot}%{_mandir}/it.UTF-8/ # and move russian manpages to a place where they can be found mv %{buildroot}%{_mandir}/ru.UTF-8 %{buildroot}%{_mandir}/ru # remove some c source files rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/tools/*.c rm -f %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/macros/maze/*.c # %fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/lang %clean %{__rm} -rf %{buildroot} # link name | name | binary | priority %post /usr/sbin/update-alternatives --install \ /bin/vim vim /bin/vim-normal 15 %post base /usr/sbin/update-alternatives --install \ /bin/vim vim %{_datadir}/vim/current/tools/missing-vim-client 0 %post enhanced /usr/sbin/update-alternatives --install \ /bin/vim vim %{_bindir}/vim-enhanced 20 %post -n gvim /usr/sbin/update-alternatives --install \ /bin/vim vim %{_bindir}/gvim 5 /usr/sbin/update-alternatives --install \ %{_bindir}/gvim gvim %{_bindir}/gvim-normal 5 %if 0%{?with_splitted_gvim} %post -n gvim-enhanced /usr/sbin/update-alternatives --install \ /bin/vim vim %{_bindir}/gvim-enhanced 10 /usr/sbin/update-alternatives --install \ %{_bindir}/gvim gvim %{_bindir}/gvim-enhanced 10 %endif %preun if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove vim /bin/vim-normal fi %preun base if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove vim %{_datadir}/vim/current/tools/missing-vim-client fi %preun enhanced if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove vim %{_bindir}/vim-enhanced fi %preun -n gvim if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove vim %{_bindir}/gvim fi %if 0%{?with_splitted_gvim} %preun -n gvim-enhanced if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove vim %{_bindir}/gvim-enhanced fi %endif %files %defattr(-,root,root,-) /bin/vim-normal %files base %defattr(-,root,root,-) %config(noreplace) /etc/vimrc %config(noreplace) /etc/skel/.vimrc %ghost /etc/alternatives/vim # symlinks /bin/vi /bin/vim /bin/ex %{_bindir}/edit %{_bindir}/ex %{_bindir}/rview %{_bindir}/rvim %{_bindir}/vi %{_bindir}/vim %{_bindir}/view %{_bindir}/vimdiff # additional binaries %{_bindir}/vitmp %{_bindir}/vimtutor %{_bindir}/gvimtutor %{_bindir}/xxd # man pages %{_mandir}/man1/* %dir %{_mandir}/fr %dir %{_mandir}/fr/man1/ %{_mandir}/fr/man1/* %dir %{_mandir}/it %dir %{_mandir}/it/man1/ %{_mandir}/it/man1/* %dir %{_mandir}/ru %dir %{_mandir}/ru/man1/ %{_mandir}/ru/man1/* %dir %{_mandir}/pl %dir %{_mandir}/pl/man1/ %{_mandir}/pl/man1/* # docs and data file %doc %{_docdir}/vim # %{_datadir}/vim/current %dir %{_datadir}/vim/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/autoload/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/colors/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/compiler/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/doc/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/indent/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/keymap/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/lang/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/macros/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/plugin/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/print/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/spell/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/syntax/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/tools/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/tutor/ %dir %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/ %dir %{site_runtimepath} %dir %{site_runtimepath}/autoload/ %dir %{site_runtimepath}/colors/ %dir %{site_runtimepath}/doc/ %dir %{site_runtimepath}/plugin/ %dir %{site_runtimepath}/syntax/ %dir %{site_runtimepath}/ftdetect/ %dir %{site_runtimepath}/after/ %dir %{site_runtimepath}/after/syntax/ # %{_datadir}/vim/%{VIM_SUBDIR}/bugreport.vim %{_datadir}/vim/%{VIM_SUBDIR}/evim.vim %{_datadir}/vim/%{VIM_SUBDIR}/filetype.vim %{_datadir}/vim/%{VIM_SUBDIR}/ftoff.vim %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin.vim %{_datadir}/vim/%{VIM_SUBDIR}/ftplugof.vim %{_datadir}/vim/%{VIM_SUBDIR}/indent.vim %{_datadir}/vim/%{VIM_SUBDIR}/indoff.vim %{_datadir}/vim/%{VIM_SUBDIR}/optwin.vim %{_datadir}/vim/%{VIM_SUBDIR}/scripts.vim %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim %{_datadir}/vim/%{VIM_SUBDIR}/skeletons/skeleton.spec # stupid helper # THIS BREAKS THE BUILD: %{_datadir}/vim/current/tools/missing-vim-client %{_datadir}/vim/%{VIM_SUBDIR}/tools/missing-vim-client %files data %defattr(-,root,root,-) # data files %{_datadir}/vim/%{VIM_SUBDIR}/autoload/* %{_datadir}/vim/%{VIM_SUBDIR}/colors/* %{_datadir}/vim/%{VIM_SUBDIR}/compiler/* %{_datadir}/vim/%{VIM_SUBDIR}/doc/* %{_datadir}/vim/%{VIM_SUBDIR}/ftplugin/* %{_datadir}/vim/%{VIM_SUBDIR}/indent/* %{_datadir}/vim/%{VIM_SUBDIR}/keymap/* %{_datadir}/vim/%{VIM_SUBDIR}/lang/* %{_datadir}/vim/%{VIM_SUBDIR}/macros/* %{_datadir}/vim/%{VIM_SUBDIR}/plugin/* %{_datadir}/vim/%{VIM_SUBDIR}/print/* %{_datadir}/vim/%{VIM_SUBDIR}/spell/* %{_datadir}/vim/%{VIM_SUBDIR}/syntax/* %exclude %{_datadir}/vim/%{VIM_SUBDIR}/syntax/syntax.vim #%{_datadir}/vim/%{VIM_SUBDIR}/tools/blink.c %{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.1 #%{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter.c %{_datadir}/vim/%{VIM_SUBDIR}/tools/ccfilter_README.txt %{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.pl %{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_filter.txt %{_datadir}/vim/%{VIM_SUBDIR}/tools/efm_perl.pl %{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.awk %{_datadir}/vim/%{VIM_SUBDIR}/tools/mve.txt %{_datadir}/vim/%{VIM_SUBDIR}/tools/pltags.pl %{_datadir}/vim/%{VIM_SUBDIR}/tools/README.txt %{_datadir}/vim/%{VIM_SUBDIR}/tools/ref %{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.1 %{_datadir}/vim/%{VIM_SUBDIR}/tools/shtags.pl %{_datadir}/vim/%{VIM_SUBDIR}/tools/vim132 %{_datadir}/vim/%{VIM_SUBDIR}/tools/vimm %{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.sh %{_datadir}/vim/%{VIM_SUBDIR}/tools/vimspell.txt %{_datadir}/vim/%{VIM_SUBDIR}/tools/vim_vs_net.cmd #%{_datadir}/vim/%{VIM_SUBDIR}/tools/xcmdsrv_client.c %{_datadir}/vim/%{VIM_SUBDIR}/tutor/* %{_datadir}/vim/%{VIM_SUBDIR}/delmenu.vim %{_datadir}/vim/%{VIM_SUBDIR}/gvimrc_example.vim %{_datadir}/vim/%{VIM_SUBDIR}/menu.vim %{_datadir}/vim/%{VIM_SUBDIR}/mswin.vim %{_datadir}/vim/%{VIM_SUBDIR}/synmenu.vim %{_datadir}/vim/%{VIM_SUBDIR}/vimrc_example.vim %files enhanced %defattr(-,root,root,-) %{_bindir}/vim-enhanced %files -n gvim %defattr(-,root,root,-) %{_bindir}/gvim-normal %if 0%{?with_splitted_gvim} %files -n gvim-base %defattr(-,root,root,-) %endif %doc %{_docdir}/gvim %ghost %config(missingok) /etc/gvimrc %{_bindir}/egview %{_bindir}/egvim %{_bindir}/eview %{_bindir}/evim %{_bindir}/gex %{_bindir}/gvi %{_bindir}/gview %{_bindir}/gvim %{_bindir}/gvimdiff %{_bindir}/rgview %{_bindir}/rgvim # menu icon %{_datadir}/applications/gvim.desktop %{_datadir}/icons/hicolor/48x48/apps/gvim.png %if 0%{?with_splitted_gvim} %files -n gvim-enhanced %defattr(-,root,root,-) %{_bindir}/gvim-enhanced %endif %changelog