forked from pool/vim-plugins
Accepting request 393348 from editors
- Add vim-plugin-fugitive - update vim-plugin-ack to 1.0.9: * Fix location list and layout of quickfix when using Dispatch * Fix the quick help overlay clobbering the list mappings * Fix :AckFile when using Dispatch * Restore original 'makeprg' and 'errorformat' when using Dispatch * Arrow keys also work for auto-preview * Internal refactoring and clean-up - update vim-plugin-ag to current git head: * can now work on project root * prevent empty searches - update vim-plugin-editorconfig to 0.3.3 - add vim-plugin-editorconfig supporting EditorConfig OBS-URL: https://build.opensuse.org/request/show/393348 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim-plugins?expand=0&rev=26
This commit is contained in:
commit
eab9aa9dbe
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 28 09:18:24 UTC 2016 - nicolas.bock@suse.com
|
||||||
|
|
||||||
|
- Add vim-plugin-fugitive
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 23 12:35:50 UTC 2016 - astieger@suse.com
|
||||||
|
|
||||||
|
- update vim-plugin-ack to 1.0.9:
|
||||||
|
* Fix location list and layout of quickfix when using Dispatch
|
||||||
|
* Fix the quick help overlay clobbering the list mappings
|
||||||
|
* Fix :AckFile when using Dispatch
|
||||||
|
* Restore original 'makeprg' and 'errorformat' when using Dispatch
|
||||||
|
* Arrow keys also work for auto-preview
|
||||||
|
* Internal refactoring and clean-up
|
||||||
|
- update vim-plugin-ag to current git head:
|
||||||
|
* can now work on project root
|
||||||
|
* prevent empty searches
|
||||||
|
- update vim-plugin-editorconfig to 0.3.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 11 14:29:18 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
- add vim-plugin-editorconfig supporting EditorConfig
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 27 10:51:45 UTC 2015 - astieger@suse.com
|
Fri Nov 27 10:51:45 UTC 2015 - astieger@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vim-plugins
|
# spec file for package vim-plugins
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -47,8 +47,11 @@
|
|||||||
%define gitdiff_version 2
|
%define gitdiff_version 2
|
||||||
%define snipmate_version 0.83
|
%define snipmate_version 0.83
|
||||||
%define rails_version 4.4
|
%define rails_version 4.4
|
||||||
%define ack_version 1.0.8
|
%define ack_version 1.0.9
|
||||||
%define ag_version 20150518
|
%define ag_version 20160213
|
||||||
|
%define ag_commit 994c27dd8f237573208548e7480e39b24ccbbfba
|
||||||
|
%define editorconfig_version 0.3.3
|
||||||
|
%define fugitive_version 2.2
|
||||||
|
|
||||||
Name: vim-plugins
|
Name: vim-plugins
|
||||||
Version: 7.2.22
|
Version: 7.2.22
|
||||||
@ -89,7 +92,9 @@ Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2
|
|||||||
Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2
|
Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2
|
||||||
Source31: vimplugin-rails-%{rails_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
|
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
|
Source33: https://github.com/rking/ag.vim/archive/%{ag_commit}.tar.gz#/vimplugin-ag-%{ag_version}.tar.gz
|
||||||
|
Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz
|
||||||
|
Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz
|
||||||
Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
|
Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
|
||||||
Patch1: locateopen-1.3-locate-support.patch
|
Patch1: locateopen-1.3-locate-support.patch
|
||||||
BuildRequires: vim
|
BuildRequires: vim
|
||||||
@ -561,8 +566,38 @@ Requires: the_silver_searcher
|
|||||||
%description -n vim-plugin-ag
|
%description -n vim-plugin-ag
|
||||||
Run the ack search tool from Vim, with enhanced results listing.
|
Run the ack search tool from Vim, with enhanced results listing.
|
||||||
|
|
||||||
|
%package -n vim-plugin-editorconfig
|
||||||
|
|
||||||
|
Version: %editorconfig_version
|
||||||
|
Release: 0
|
||||||
|
Summary: EditorConfig plugin for Vim
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
Requires: editorconfig
|
||||||
|
|
||||||
|
%description -n vim-plugin-editorconfig
|
||||||
|
EditorConfig helps developers define and maintain consistent coding styles between
|
||||||
|
different editors and IDEs. The EditorConfig project consists of a file format for
|
||||||
|
defining coding styles and a collection of text editor plugins that enable editors
|
||||||
|
to read the file format and adhere to defined styles. EditorConfig files are
|
||||||
|
easily readable and they work nicely with version control systems.
|
||||||
|
|
||||||
|
This package contains a Vim plugin to support EditorConfig.
|
||||||
|
|
||||||
|
%package -n vim-plugin-fugitive
|
||||||
|
|
||||||
|
Version: %fugitive_version
|
||||||
|
Release: 0
|
||||||
|
Summary: Fugitive plugin for Vim
|
||||||
|
License: Vim
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
Requires: git-core
|
||||||
|
|
||||||
|
%description -n vim-plugin-fugitive
|
||||||
|
Provides git integration with vim.
|
||||||
|
|
||||||
%prep
|
%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 -a32 -a33
|
%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 -a34 -a35
|
||||||
# ------- patch locateopen ------
|
# ------- patch locateopen ------
|
||||||
pushd vimplugin-locateopen-%locateopen_version
|
pushd vimplugin-locateopen-%locateopen_version
|
||||||
%patch1
|
%patch1
|
||||||
@ -585,6 +620,25 @@ pushd ack.vim-%{ack_version}
|
|||||||
cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir}
|
cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir}
|
||||||
# vim-plugin-latext creates ftplugin
|
# vim-plugin-latext creates ftplugin
|
||||||
cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/
|
cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/
|
||||||
|
popd
|
||||||
|
# vim-plugin-ag
|
||||||
|
pushd ag.vim-%{ag_commit}
|
||||||
|
cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir}
|
||||||
|
popd
|
||||||
|
|
||||||
|
# vim-plugin-editorconfig
|
||||||
|
pushd editorconfig-vim-%{editorconfig_version}
|
||||||
|
rm -rf plugin/editorconfig-core-py/ tests/
|
||||||
|
rm mkzip.sh README.md LICENSE CONTRIBUTORS
|
||||||
|
mkdir -p %buildroot/%vimplugin_dir
|
||||||
|
cp -a * %buildroot/%vimplugin_dir/
|
||||||
|
popd
|
||||||
|
|
||||||
|
# vim-plugin-fugitive
|
||||||
|
pushd vim-fugitive-%{fugitive_version}
|
||||||
|
mkdir -p %buildroot/%vimplugin_dir
|
||||||
|
cp -a plugin doc %{buildroot}/%{vimplugin_dir}
|
||||||
|
popd
|
||||||
|
|
||||||
cp %{SOURCE100} %{buildroot}/%vimplugin_dir/snippets/
|
cp %{SOURCE100} %{buildroot}/%vimplugin_dir/snippets/
|
||||||
|
|
||||||
@ -819,6 +873,26 @@ if [ $1 == 0 ]; then
|
|||||||
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# documentation: vim-plugin-editorconfig
|
||||||
|
|
||||||
|
%post -n vim-plugin-editorconfig
|
||||||
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
|
|
||||||
|
%postun -n vim-plugin-editorconfig
|
||||||
|
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-fugitive
|
||||||
|
|
||||||
|
%post -n vim-plugin-fugitive
|
||||||
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
|
|
||||||
|
%postun -n vim-plugin-fugitive
|
||||||
|
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
|
%post
|
||||||
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
|
|
||||||
@ -1033,4 +1107,15 @@ fi
|
|||||||
%vimplugin_dir/autoload/ag.vim
|
%vimplugin_dir/autoload/ag.vim
|
||||||
%vimplugin_dir/doc/ag.txt
|
%vimplugin_dir/doc/ag.txt
|
||||||
|
|
||||||
|
%files -n vim-plugin-editorconfig
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%vimplugin_dir/plugin/editorconfig.vim
|
||||||
|
%vimplugin_dir/autoload/editorconfig.vim
|
||||||
|
%vimplugin_dir/doc/editorconfig.txt
|
||||||
|
|
||||||
|
%files -n vim-plugin-fugitive
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%vimplugin_dir/plugin/fugitive.vim
|
||||||
|
%vimplugin_dir/doc/fugitive.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:90217dcce5b815d7ece55a8bde985ec4282b46fac1c7bd16b1b827b86eb4bd77
|
|
||||||
size 5984
|
|
3
vimplugin-ack-1.0.9.tar.gz
Normal file
3
vimplugin-ack-1.0.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:598af55eed01886428027ea26f3f99a5029ece88c28e34c22fb94d09ac552cab
|
||||||
|
size 9361
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4c1e377fcf6babd33b8558db39969d6d60e8d69b9511104bd591ad730ca476d3
|
|
||||||
size 4673
|
|
3
vimplugin-ag-20160213.tar.gz
Normal file
3
vimplugin-ag-20160213.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d5003ddbd4a159d52e08895395a9381a4a50e9c8fd54fa474c901768b8add460
|
||||||
|
size 6665
|
3
vimplugin-editorconfig-0.3.3.tar.gz
Normal file
3
vimplugin-editorconfig-0.3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fd579672c426a089835e9bc57a1fd5fc18dba77c014b67141153372e83c92c57
|
||||||
|
size 35395
|
3
vimplugin-fugitive-2.2.tar.gz
Normal file
3
vimplugin-fugitive-2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8417dac31c1d444547ac6ae5c016ccafa1f7a061495c2190820d81c8a6244cd0
|
||||||
|
size 30651
|
Loading…
Reference in New Issue
Block a user