Hello community, here is the log from the commit of package vim-plugins for openSUSE:Factory checked in at 2015-07-12 22:53:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim-plugins (Old) and /work/SRC/openSUSE:Factory/.vim-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim-plugins" Changes: -------- --- /work/SRC/openSUSE:Factory/vim-plugins/vim-plugins.changes 2014-09-12 17:05:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vim-plugins.new/vim-plugins.changes 2015-07-12 22:53:07.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 8 20:00:20 UTC 2015 - astie...@suse.com + +- add plugin for ack +- add plugin for ag a.k.a. the_silver_searcher + +------------------------------------------------------------------- New: ---- vimplugin-ack-1.0.8.tar.gz vimplugin-ag-20150518.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim-plugins.spec ++++++ --- /var/tmp/diff_new_pack.0Fk4Dm/_old 2015-07-12 22:53:09.000000000 +0200 +++ /var/tmp/diff_new_pack.0Fk4Dm/_new 2015-07-12 22:53:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package vim-plugins # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,6 +47,8 @@ %define gitdiff_version 2 %define snipmate_version 0.83 %define rails_version 4.4 +%define ack_version 1.0.8 +%define ag_version 20150518 Name: vim-plugins Version: 7.2.22 @@ -86,6 +88,8 @@ Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2 Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2 Source31: vimplugin-rails-%{rails_version}.tar.bz2 +Source32: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz +Source33: vimplugin-ag-%{ag_version}.tar.bz2 Source100: spec.snippets Patch1: locateopen-1.3-locate-support.patch BuildRequires: vim @@ -327,7 +331,7 @@ %package -n vim-plugin-supertab Version: %supertab_version Release: 0 -Summary: Visually shows the location of marks +Summary: Easy insert mode completion with Tab key License: BSD-3-Clause Group: Productivity/Text/Editors Requires: vim @@ -533,8 +537,32 @@ %description -n vim-plugin-rails This plugin offers the many features for Ruby on Rails application development. +%package -n vim-plugin-ack + +Version: %ack_version +Release: 0 +Summary: Run the ack search tool from Vim +License: Vim +Group: Productivity/Text/Editors +Requires: ack >= 2.0 + +%description -n vim-plugin-ack +Run the ack search tool from Vim, with enhanced results listing. + +%package -n vim-plugin-ag + +Version: %ag_version +Release: 0 +Summary: Run the ag (the_silver_search) search tool from Vim +License: Vim +Group: Productivity/Text/Editors +Requires: the_silver_searcher + +%description -n vim-plugin-ag +Run the ack search tool from Vim, with enhanced results listing. + %prep -%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 +%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33 # ------- patch locateopen ------ pushd vimplugin-locateopen-%locateopen_version %patch1 @@ -552,6 +580,12 @@ mkdir -p %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ mv %{buildroot}/%vimplugin_dir/nerdtree_plugin %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/ +# vim-plugin-ack +pushd ack.vim-%{ack_version} +cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir} +# vim-plugin-latext creates ftplugin +cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/ + cp %{SOURCE100} %{buildroot}/%vimplugin_dir/snippets/ # delete unneeded files @@ -765,6 +799,26 @@ vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null fi +# documentation: vim-plugin-ack + +%post -n vim-plugin-ack +vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null + +%postun -n vim-plugin-ack +if [ $1 == 0 ]; then + vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null +fi + +# documentation: vim-plugin-ag + +%post -n vim-plugin-ag +vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null + +%postun -n vim-plugin-ag +if [ $1 == 0 ]; then + vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null +fi + %post vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null @@ -963,4 +1017,20 @@ %vimplugin_dir/autoload/rails.vim %vimplugin_dir/doc/rails.txt +%files -n vim-plugin-ack +%defattr(-,root,root,0755) +%doc ack.vim-%{ack_version}/README.md +%vimplugin_dir/plugin/ack.vim +%vimplugin_dir/autoload/ack.vim +%vimplugin_dir/doc/ack.txt +%vimplugin_dir/doc/ack_quick_help.txt +%dir %vimplugin_dir/ftplugin +%vimplugin_dir/ftplugin/qf.vim + +%files -n vim-plugin-ag +%defattr(-,root,root,0755) +%vimplugin_dir/plugin/ag.vim +%vimplugin_dir/autoload/ag.vim +%vimplugin_dir/doc/ag.txt + %changelog