Accepting request 923666 from editors
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/923666 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim-plugins?expand=0&rev=37
This commit is contained in:
commit
dd635e29de
@ -1,43 +0,0 @@
|
|||||||
From: Tim Pope <code@tpope.net>
|
|
||||||
Date: Sun, 11 Jul 2021 11:33:31 -0400
|
|
||||||
Subject: Remove unnecessary -complete on command with no arguments
|
|
||||||
Git-repo: https://github.com/tpope/vim-fugitive.git
|
|
||||||
Git-commit: 4cdeff8c33ec2fe0686324bf1846ce158c452754
|
|
||||||
Patch-mainline: 3.4
|
|
||||||
References: vim-fugitive error
|
|
||||||
|
|
||||||
References https://github.com/vim/vim/pull/8544
|
|
||||||
|
|
||||||
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
|
|
||||||
---
|
|
||||||
plugin/fugitive.vim | 8 ++++----
|
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
|
|
||||||
index bab337a9..62ae17f1 100644
|
|
||||||
--- a/plugin/fugitive.vim
|
|
||||||
+++ b/plugin/fugitive.vim
|
|
||||||
@@ -438,16 +438,16 @@ exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gw
|
|
||||||
exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gwrite exe fugitive#WriteCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gwq exe fugitive#WqCommand( <line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
|
|
||||||
-exe 'command! -bar -bang -nargs=0 -complete=customlist,fugitive#CompleteObject GRemove exe fugitive#RemoveCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
-exe 'command! -bar -bang -nargs=0 -complete=customlist,fugitive#CompleteObject GDelete exe fugitive#DeleteCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
+exe 'command! -bar -bang -nargs=0 GRemove exe fugitive#RemoveCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
+exe 'command! -bar -bang -nargs=0 GDelete exe fugitive#DeleteCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
exe 'command! -bar -bang -nargs=1 -complete=customlist,fugitive#CompleteObject GMove exe fugitive#MoveCommand( <line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
exe 'command! -bar -bang -nargs=1 -complete=customlist,fugitive#RenameComplete GRename exe fugitive#RenameCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
if exists(':Gremove') != 2 && get(g:, 'fugitive_legacy_commands', 1)
|
|
||||||
- exe 'command! -bar -bang -nargs=0 -complete=customlist,fugitive#CompleteObject Gremove exe fugitive#RemoveCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
+ exe 'command! -bar -bang -nargs=0 Gremove exe fugitive#RemoveCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
\ '|echohl WarningMSG|echo ":Gremove is deprecated in favor of :GRemove"|echohl NONE'
|
|
||||||
endif
|
|
||||||
if exists(':Gdelete') != 2 && get(g:, 'fugitive_legacy_commands', 1)
|
|
||||||
- exe 'command! -bar -bang -nargs=0 -complete=customlist,fugitive#CompleteObject Gdelete exe fugitive#DeleteCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
+ exe 'command! -bar -bang -nargs=0 Gdelete exe fugitive#DeleteCommand(<line1>, <count>, +"<range>", <bang>0, "<mods>", <q-args>, [<f-args>])'
|
|
||||||
\ '|echohl WarningMSG|echo ":Gdelete is deprecated in favor of :GDelete"|echohl NONE'
|
|
||||||
endif
|
|
||||||
if exists(':Gmove') != 2 && get(g:, 'fugitive_legacy_commands', 1)
|
|
||||||
--
|
|
||||||
2.26.2
|
|
||||||
|
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 30 06:04:37 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
- update
|
||||||
|
* align_version 37.43
|
||||||
|
* fugitive_version 3.4
|
||||||
|
* tlib_version 1.27
|
||||||
|
* tselectfiles_version 0.11
|
||||||
|
- cleanup the spec and use URLs in Sources
|
||||||
|
- remove vim-fugitive-Remove-unnecessary-complete-on-command-with-no-argum.patch
|
||||||
|
(it's upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 3 11:22:05 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
Tue Aug 3 11:22:05 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
151
vim-plugins.spec
151
vim-plugins.spec
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define ack_version 1.0.9
|
%define ack_version 1.0.9
|
||||||
%define align_version 36.42
|
%define align_version_orig 37-43
|
||||||
|
%define align_version 37.43
|
||||||
%define a_version 2.18
|
%define a_version 2.18
|
||||||
%define bufexplorer_version 7.4.21
|
%define bufexplorer_version 7.4.21
|
||||||
%define calendar_version 2.5
|
%define calendar_version 2.5
|
||||||
@ -26,7 +27,7 @@
|
|||||||
%define diffchanges_version 0.6.346dae2
|
%define diffchanges_version 0.6.346dae2
|
||||||
%define editorconfig_version 0.3.3
|
%define editorconfig_version 0.3.3
|
||||||
%define file_line_version 1.0+20161020
|
%define file_line_version 1.0+20161020
|
||||||
%define fugitive_version 3.3
|
%define fugitive_version 3.4
|
||||||
%define gitdiff_version 2
|
%define gitdiff_version 2
|
||||||
%define gnupg_version 2.7.1
|
%define gnupg_version 2.7.1
|
||||||
%define latex_version 1.10.0+20210323
|
%define latex_version 1.10.0+20210323
|
||||||
@ -42,14 +43,14 @@
|
|||||||
%define rails_version 4.4
|
%define rails_version 4.4
|
||||||
%define salt_version 0.0.1
|
%define salt_version 0.0.1
|
||||||
%define searchcomplete_version 1.1
|
%define searchcomplete_version 1.1
|
||||||
%define showmarks_version 2.2
|
%define showmarks_version 2.3
|
||||||
%define snipmate_version 0.83
|
%define snipmate_version 0.83
|
||||||
%define supertab_version 1.0
|
%define supertab_version 1.0
|
||||||
%define taglist_version 4.6
|
%define taglist_version 4.6
|
||||||
%define tlib_version 0.42
|
%define tlib_version 1.27
|
||||||
%define tregisters_version 0.2
|
%define tregisters_version 0.2
|
||||||
%define tselectbuffer_version 0.7
|
%define tselectbuffer_version 0.7
|
||||||
%define tselectfiles_version 0.10
|
%define tselectfiles_version 0.11
|
||||||
%define utl_version 2.0
|
%define utl_version 2.0
|
||||||
%define vimwiki_version 2.1
|
%define vimwiki_version 2.1
|
||||||
%define zoomwin_version 24
|
%define zoomwin_version 24
|
||||||
@ -61,35 +62,35 @@ Summary: Plug-ins pack for Vim
|
|||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
URL: http://www.vim.org/
|
URL: http://www.vim.org/
|
||||||
Source0: vimplugin-align-%{align_version}.tar.bz2
|
Source0: https://github.com/vim-scripts/Align/archive/refs/tags/%{align_version_orig}.tar.gz#/vimplugin-align-%{align_version}.tar.gz
|
||||||
Source1: vimplugin-a-%{a_version}.tar.bz2
|
Source1: https://github.com/vim-scripts/a.vim/archive/refs/tags/%{a_version}.tar.gz#/vimplugin-a-%{a_version}.tar.gz
|
||||||
Source2: https://github.com/jlanzarotta/bufexplorer/archive/refs/tags/v%{bufexplorer_version}.tar.gz#/bufexplorer-%{bufexplorer_version}.tar.gz
|
Source2: https://github.com/jlanzarotta/bufexplorer/archive/refs/tags/v%{bufexplorer_version}.tar.gz#/bufexplorer-%{bufexplorer_version}.tar.gz
|
||||||
Source3: https://github.com/vim-scripts/calendar.vim--Matsumoto/archive/refs/tags/%{calendar_version}.tar.gz#/calendar.vim--Matsumoto-%{calendar_version}.tar.gz
|
Source3: https://github.com/vim-scripts/calendar.vim--Matsumoto/archive/refs/tags/%{calendar_version}.tar.gz#/calendar.vim--Matsumoto-%{calendar_version}.tar.gz
|
||||||
Source4: vimplugin-colorsel-%{colorsel_version}.tar.bz2
|
Source4: https://github.com/vim-scripts/colorsel.vim/archive/refs/tags/%{colorsel_version}.tar.gz#/vimplugin-colorsel-%{colorsel_version}.tar.gz
|
||||||
Source5: vimplugin-colorschemes-%{colorschemes_version}.tar.bz2
|
Source5: vimplugin-colorschemes-%{colorschemes_version}.tar.bz2
|
||||||
Source6: vimplugin-diffchanges-%{diffchanges_version}.tar.bz2
|
Source6: vimplugin-diffchanges-%{diffchanges_version}.tar.bz2
|
||||||
Source7: vimplugin-locateopen-%{locateopen_version}.tar.bz2
|
Source7: https://github.com/vim-scripts/LocateOpen/archive/refs/tags/%{locateopen_version}.tar.gz#/vimplugin-locateopen-%{locateopen_version}.tar.gz
|
||||||
Source9: vimplugin-matrix-%{matrix_version}.tar.bz2
|
Source9: https://github.com/vim-scripts/matrix.vim--Yang/archive/refs/tags/%{matrix_version}.tar.gz#/vimplugin-matrix-%{matrix_version}.tar.gz
|
||||||
Source10: vimplugin-minibufexpl-%{minibufexpl_version}.tar.bz2
|
Source10: https://github.com/vim-scripts/minibufexpl.vim/archive/refs/tags/%{minibufexpl_version}.tar.gz#/vimplugin-minibufexpl-%{minibufexpl_version}.tar.gz
|
||||||
Source11: vimplugin-multiplesearch-%{multiplesearch_version}.tar.bz2
|
Source11: vimplugin-multiplesearch-%{multiplesearch_version}.tar.bz2
|
||||||
Source12: vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.bz2
|
Source12: vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.bz2
|
||||||
Source13: vimplugin-NERDtree-%{NERDtree_version}.tar.bz2
|
Source13: vimplugin-NERDtree-%{NERDtree_version}.tar.bz2
|
||||||
Source14: vimplugin-project-%{project_version}.tar.bz2
|
Source14: vimplugin-project-%{project_version}.tar.bz2
|
||||||
Source15: vimplugin-searchcomplete-%{searchcomplete_version}.tar.bz2
|
Source15: vimplugin-searchcomplete-%{searchcomplete_version}.tar.bz2
|
||||||
Source16: vimplugin-showmarks-%{showmarks_version}.tar.bz2
|
Source16: https://github.com/vim-scripts/ShowMarks7/archive/refs/tags/%{showmarks_version}.tar.gz#/vimplugin-showmarks-%{showmarks_version}.tar.gz
|
||||||
Source17: vimplugin-supertab-%{supertab_version}.tar.bz2
|
Source17: vimplugin-supertab-%{supertab_version}.tar.bz2
|
||||||
Source18: vimplugin-taglist-%{taglist_version}.tar.bz2
|
Source18: vimplugin-taglist-%{taglist_version}.tar.bz2
|
||||||
Source19: vimplugin-tlib-%{tlib_version}.tar.bz2
|
Source19: https://github.com/tomtom/tlib_vim/archive/refs/tags/%{tlib_version}.tar.gz#/vimplugin-tlib-%{tlib_version}.tar.gz
|
||||||
Source20: vimplugin-tregisters-%{tregisters_version}.tar.bz2
|
Source20: https://github.com/vim-scripts/tregisters/archive/refs/tags/%{tregisters_version}.tar.gz#/vimplugin-tregisters-%{tregisters_version}.tar.gz
|
||||||
Source21: vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.bz2
|
Source21: https://github.com/vim-scripts/tselectbuffer/archive/refs/tags/%{tselectbuffer_version}.tar.gz#/vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.gz
|
||||||
Source22: vimplugin-tselectfiles-%{tselectfiles_version}.tar.bz2
|
Source22: https://github.com/vim-scripts/tselectfiles/archive/refs/tags/%{tselectfiles_version}.tar.gz#/vimplugin-tselectfiles-%{tselectfiles_version}.tar.gz
|
||||||
Source23: vimplugin-utl-%{utl_version}.tar.bz2
|
Source23: vimplugin-utl-%{utl_version}.tar.bz2
|
||||||
Source24: vimplugin-zoomwin-%{zoomwin_version}.tar.bz2
|
Source24: vimplugin-zoomwin-%{zoomwin_version}.tar.bz2
|
||||||
Source26: vimplugin-quilt-%{quilt_version}.tar.bz2
|
Source26: vimplugin-quilt-%{quilt_version}.tar.bz2
|
||||||
Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2
|
Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2
|
||||||
Source28: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz#/vimplugin-gnupg-%{gnupg_version}.tar.gz
|
Source28: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz#/vimplugin-gnupg-%{gnupg_version}.tar.gz
|
||||||
Source29: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz.asc#/vimplugin-gnupg-%{gnupg_version}.tar.gz.asc
|
Source29: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg_version}/vim-gnupg-v%{gnupg_version}.tar.gz.asc#/vimplugin-gnupg-%{gnupg_version}.tar.gz.asc
|
||||||
Source30: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2
|
Source30: https://github.com/vim-scripts/gitdiff.vim/archive/refs/tags/%{gitdiff_version}.tar.gz#/vimplugin-gitdiff-%{gitdiff_version}.tar.gz
|
||||||
Source31: vimplugin-snipmate-%{snipmate_version}.tar.bz2
|
Source31: vimplugin-snipmate-%{snipmate_version}.tar.bz2
|
||||||
Source32: vimplugin-rails-%{rails_version}.tar.bz2
|
Source32: vimplugin-rails-%{rails_version}.tar.bz2
|
||||||
Source33: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
|
Source33: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
|
||||||
@ -104,7 +105,6 @@ Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/con
|
|||||||
Patch1: locateopen-1.3-locate-support.patch
|
Patch1: locateopen-1.3-locate-support.patch
|
||||||
Patch2: showmarks-signs.patch
|
Patch2: showmarks-signs.patch
|
||||||
Patch3: file-line-Fix-other-plugins-loading.patch
|
Patch3: file-line-Fix-other-plugins-loading.patch
|
||||||
Patch4: vim-fugitive-Remove-unnecessary-complete-on-command-with-no-argum.patch
|
|
||||||
BuildRequires: vim
|
BuildRequires: vim
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -633,55 +633,43 @@ Usage:
|
|||||||
%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 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a100 -a101
|
%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 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a100 -a101
|
||||||
# ------- patch locateopen ------
|
# ------- patch locateopen ------
|
||||||
pushd vimplugin-locateopen-%locateopen_version
|
pushd LocateOpen-%locateopen_version
|
||||||
%patch1
|
%patch1
|
||||||
popd
|
popd
|
||||||
pushd vimplugin-showmarks-%showmarks_version
|
pushd ShowMarks7-%showmarks_version
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
popd
|
popd
|
||||||
pushd file-line-%file_line_version
|
pushd file-line-%file_line_version
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
popd
|
popd
|
||||||
pushd vim-fugitive-%fugitive_version
|
|
||||||
%patch4 -p1
|
|
||||||
popd
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %buildroot/%vimplugin_dir
|
pushd editorconfig-vim-%{editorconfig_version}
|
||||||
for i in vimplugin-* calendar.vim--Matsumoto-* bufexplorer-* file-line-*; do
|
rm -rf plugin/editorconfig-core-py/ tests/
|
||||||
|
rm mkzip.sh
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd tlib_vim-%{tlib_version}
|
||||||
|
rm -r addon-info.json doc/tags etc samples scripts test
|
||||||
|
popd
|
||||||
|
|
||||||
|
install -d %buildroot/%vimplugin_dir
|
||||||
|
for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
|
||||||
|
colorsel.vim-* bufexplorer-* editorconfig-vim-* file-line-* \
|
||||||
|
gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \
|
||||||
|
ShowMarks7-* \
|
||||||
|
tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* vim-fugitive-* \
|
||||||
|
vim-gnupg-*; do
|
||||||
pushd $i
|
pushd $i
|
||||||
cp -av * %buildroot/%vimplugin_dir/
|
cp -av * %buildroot/%vimplugin_dir/
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/
|
mkdir -p %{buildroot}%{_defaultdocdir}/vimplugin-NERDtree/
|
||||||
mv %{buildroot}/%vimplugin_dir/nerdtree_plugin %{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/
|
|
||||||
popd
|
|
||||||
|
|
||||||
# vim-plugin-editorconfig
|
|
||||||
pushd editorconfig-vim-%{editorconfig_version}
|
|
||||||
rm -rf plugin/editorconfig-core-py/ tests/
|
|
||||||
rm mkzip.sh README.md LICENSE CONTRIBUTORS
|
|
||||||
cp -a * %buildroot/%vimplugin_dir/
|
|
||||||
popd
|
|
||||||
|
|
||||||
# vim-plugin-fugitive
|
|
||||||
pushd vim-fugitive-%{fugitive_version}
|
|
||||||
cp -a autoload ftdetect plugin doc syntax %{buildroot}/%{vimplugin_dir}
|
|
||||||
popd
|
|
||||||
|
|
||||||
# vim-plugin-gnupg
|
|
||||||
pushd vim-gnupg-%{gnupg_version}
|
|
||||||
cp -av autoload plugin doc %{buildroot}/%{vimplugin_dir}
|
|
||||||
popd
|
|
||||||
|
|
||||||
# vim-plugin-latex
|
# vim-plugin-latex
|
||||||
pushd vim-latex-%{latex_version}
|
pushd vim-latex-%{latex_version}
|
||||||
cp -av compiler doc ftplugin indent latextags ltags plugin %{buildroot}/%{vimplugin_dir}
|
cp -av compiler doc ftplugin indent latextags ltags plugin %{buildroot}/%{vimplugin_dir}
|
||||||
@ -689,32 +677,21 @@ install -d %{buildroot}%{_datadir}/appdata
|
|||||||
install -m 644 vim-latex.metainfo.xml %{buildroot}%{_datadir}/appdata/
|
install -m 644 vim-latex.metainfo.xml %{buildroot}%{_datadir}/appdata/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
cp %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
||||||
|
|
||||||
# delete unneeded files
|
# delete unneeded files
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/LICENSE
|
rm -rf %{buildroot}/%vimplugin_dir/CHANGES*
|
||||||
|
rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUTORS*
|
||||||
|
rm -rf %{buildroot}/%vimplugin_dir/LICENSE*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/README*
|
rm -rf %{buildroot}/%vimplugin_dir/README*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/Makefile*
|
rm -rf %{buildroot}/%vimplugin_dir/doc/Makefile*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/README*
|
rm -rf %{buildroot}/%vimplugin_dir/doc/README*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
|
rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
# For every plugin providing documentation, we have to call the post and postun
|
# For every plugin providing documentation, we have to call the post and postun
|
||||||
# scriptlets Unfortunatelly, there is no easy way how to achieve that except
|
# scriptlets Unfortunatelly, there is no easy way how to achieve that except
|
||||||
# listing them manually :(
|
# listing them manually :(
|
||||||
|
|
||||||
# documentation: vim-plugin-a
|
|
||||||
|
|
||||||
%post -n vim-plugin-a
|
|
||||||
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
|
||||||
|
|
||||||
%postun -n vim-plugin-a
|
|
||||||
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-ack
|
# documentation: vim-plugin-ack
|
||||||
|
|
||||||
%post -n vim-plugin-ack
|
%post -n vim-plugin-ack
|
||||||
@ -875,16 +852,6 @@ 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-showmarks
|
|
||||||
|
|
||||||
%post -n vim-plugin-showmarks
|
|
||||||
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
|
||||||
|
|
||||||
%postun -n vim-plugin-showmarks
|
|
||||||
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-snipmate
|
# documentation: vim-plugin-snipmate
|
||||||
|
|
||||||
%post -n vim-plugin-snipmate
|
%post -n vim-plugin-snipmate
|
||||||
@ -895,6 +862,16 @@ 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-supertab
|
||||||
|
|
||||||
|
%post -n vim-plugin-supertab
|
||||||
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
|
|
||||||
|
%postun -n vim-plugin-supertab
|
||||||
|
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-taglist
|
# documentation: vim-plugin-taglist
|
||||||
|
|
||||||
%post -n vim-plugin-taglist
|
%post -n vim-plugin-taglist
|
||||||
@ -915,6 +892,16 @@ 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-tselectbuffer
|
||||||
|
|
||||||
|
%post -n vim-plugin-tselectbuffer
|
||||||
|
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
|
||||||
|
|
||||||
|
%postun -n vim-plugin-tselectbuffer
|
||||||
|
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-tselectfiles
|
# documentation: vim-plugin-tselectfiles
|
||||||
|
|
||||||
%post -n vim-plugin-tselectfiles
|
%post -n vim-plugin-tselectfiles
|
||||||
@ -964,13 +951,13 @@ if [ $1 == 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files -n vim-plugin-a
|
%files -n vim-plugin-a
|
||||||
%defattr(-,root,root,0755)
|
%doc a.vim-%{a_version}/README
|
||||||
%vimplugin_dir/doc/alternate.txt
|
|
||||||
%vimplugin_dir/plugin/a.vim
|
%vimplugin_dir/plugin/a.vim
|
||||||
|
|
||||||
%files -n vim-plugin-ack
|
%files -n vim-plugin-ack
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc ack.vim-%{ack_version}/README.md
|
%doc ack.vim-%{ack_version}/README.md
|
||||||
|
%license ack.vim-%{ack_version}/LICENSE
|
||||||
%vimplugin_dir/plugin/ack.vim
|
%vimplugin_dir/plugin/ack.vim
|
||||||
%vimplugin_dir/autoload/ack.vim
|
%vimplugin_dir/autoload/ack.vim
|
||||||
%vimplugin_dir/doc/ack.txt
|
%vimplugin_dir/doc/ack.txt
|
||||||
@ -1014,6 +1001,7 @@ fi
|
|||||||
|
|
||||||
%files -n vim-plugin-editorconfig
|
%files -n vim-plugin-editorconfig
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
%license editorconfig-vim-%{editorconfig_version}/LICENSE
|
||||||
%vimplugin_dir/plugin/editorconfig.vim
|
%vimplugin_dir/plugin/editorconfig.vim
|
||||||
%vimplugin_dir/autoload/editorconfig.vim
|
%vimplugin_dir/autoload/editorconfig.vim
|
||||||
%vimplugin_dir/doc/editorconfig.txt
|
%vimplugin_dir/doc/editorconfig.txt
|
||||||
@ -1028,6 +1016,8 @@ fi
|
|||||||
%vimplugin_dir/doc/fugitive.txt
|
%vimplugin_dir/doc/fugitive.txt
|
||||||
%vimplugin_dir/autoload/fugitive.vim
|
%vimplugin_dir/autoload/fugitive.vim
|
||||||
%vimplugin_dir/ftdetect/fugitive.vim
|
%vimplugin_dir/ftdetect/fugitive.vim
|
||||||
|
%dir %vimplugin_dir/ftplugin
|
||||||
|
%vimplugin_dir/ftplugin/fugitiveblame.vim
|
||||||
%vimplugin_dir/syntax/fugitive.vim
|
%vimplugin_dir/syntax/fugitive.vim
|
||||||
%vimplugin_dir/syntax/fugitiveblame.vim
|
%vimplugin_dir/syntax/fugitiveblame.vim
|
||||||
|
|
||||||
@ -1128,8 +1118,7 @@ fi
|
|||||||
%vimplugin_dir/plugin/SearchComplete.vim
|
%vimplugin_dir/plugin/SearchComplete.vim
|
||||||
|
|
||||||
%files -n vim-plugin-showmarks
|
%files -n vim-plugin-showmarks
|
||||||
%defattr(-,root,root,0755)
|
%doc ShowMarks7-%{showmarks_version}/README
|
||||||
%vimplugin_dir/doc/showmarks.txt
|
|
||||||
%vimplugin_dir/plugin/showmarks.vim
|
%vimplugin_dir/plugin/showmarks.vim
|
||||||
|
|
||||||
%files -n vim-plugin-snipmate
|
%files -n vim-plugin-snipmate
|
||||||
@ -1154,10 +1143,16 @@ fi
|
|||||||
|
|
||||||
%files -n vim-plugin-tlib
|
%files -n vim-plugin-tlib
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
%license tlib_vim-%{tlib_version}/LICENSE.TXT
|
||||||
%vimplugin_dir/doc/tlib.txt
|
%vimplugin_dir/doc/tlib.txt
|
||||||
%vimplugin_dir/autoload/tlib
|
%vimplugin_dir/autoload/tlib
|
||||||
|
%vimplugin_dir/autoload/tinykeymap
|
||||||
%vimplugin_dir/plugin/02tlib.vim
|
%vimplugin_dir/plugin/02tlib.vim
|
||||||
%vimplugin_dir/autoload/tlib.vim
|
%vimplugin_dir/autoload/tlib.vim
|
||||||
|
%dir %vimplugin_dir/macros/
|
||||||
|
%vimplugin_dir/macros/tlib.vim
|
||||||
|
%dir %vimplugin_dir/spec/
|
||||||
|
%vimplugin_dir/spec/tlib/
|
||||||
|
|
||||||
%files -n vim-plugin-tregisters
|
%files -n vim-plugin-tregisters
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:539c48a6b8cce2dd5c557633f4be92e767505c50d37ac07ee84692ac83259548
|
|
||||||
size 10295
|
|
3
vimplugin-a-2.18.tar.gz
Normal file
3
vimplugin-a-2.18.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:307db47258a5aaf0293bb972e2aa24c1a887316f52ee6c0e5811d204b2682e82
|
||||||
|
size 8652
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e11cb626bc1b8b3d1a74430caa0e1836fd72566e21e61f6f054423160eb36798
|
|
||||||
size 38374
|
|
3
vimplugin-align-37.43.tar.gz
Normal file
3
vimplugin-align-37.43.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f7b749af327aa766d1dd568ede11442c4ed890c8f502f2fd052e92315004574d
|
||||||
|
size 45048
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:af7e22f0ceb947cf7d3763ca5977d8e5fa6fc5777d6da35606f3fc7291a715b6
|
|
||||||
size 10523
|
|
3
vimplugin-colorsel-20110107.tar.gz
Normal file
3
vimplugin-colorsel-20110107.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:74bf1518a08903bd5c88cd22e8e4b79373497fe30802db04e6dfe7701b329656
|
||||||
|
size 11670
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b98ffde6bfd401d7c06da603658f5979928cd9905470e6b7a7f59ad943ac45f3
|
|
||||||
size 71368
|
|
3
vimplugin-fugitive-3.4.tar.gz
Normal file
3
vimplugin-fugitive-3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:421b7cbf413f026cbe7fa5491266758b2d14a9d27223a28fb834e88011ecae65
|
||||||
|
size 80677
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:397170d033f268a1189decb3f017396b8accce08a6a0572df7421509179fe37e
|
|
||||||
size 1749
|
|
3
vimplugin-gitdiff-2.tar.gz
Normal file
3
vimplugin-gitdiff-2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3aaee33d1d2bc80f08420a560cc182a1dcd77e1a455ea7b5b77aba19423e918
|
||||||
|
size 1850
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cacab0edbbe80132511608a7cdaa04dfea485b009912405397011fa12158a732
|
|
||||||
size 1941
|
|
3
vimplugin-locateopen-1.3.tar.gz
Normal file
3
vimplugin-locateopen-1.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2a35ffcfc484b11b40afaaadc88678eb152d22c593406900b906844f6230aee5
|
||||||
|
size 2484
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:23e5895b521dcc17f3d55cd01567f6e776655cf966ab98cd2c061d1ef5d8f1a0
|
|
||||||
size 3371
|
|
3
vimplugin-matrix-1.10.tar.gz
Normal file
3
vimplugin-matrix-1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:02722f35e18ff892ede86a81892b488bfbf007e20e041a517565fe64419a4e0e
|
||||||
|
size 3546
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:451473a71a70cd70f58d4f7893d77238143366f26a638d33bf736a29eaa4bb99
|
|
||||||
size 15403
|
|
3
vimplugin-minibufexpl-6.3.2.tar.gz
Normal file
3
vimplugin-minibufexpl-6.3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2a215b5460cd3e54043a3abec091d04ef3453507603de65eea207c87f794bdbe
|
||||||
|
size 18524
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cf5b369addcd7d47e0b3831d7ba78f6edc0bc9fd4abebf60855850b22c5863d9
|
|
||||||
size 7814
|
|
3
vimplugin-showmarks-2.3.tar.gz
Normal file
3
vimplugin-showmarks-2.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c585800d155036f9918f7a41c752f8ae769deb2a8af85cc7b10460a42a30a7f2
|
||||||
|
size 5883
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5c358be153f4a5e33444450b7fd6f4267c434677c9645cb477d6e372d4eac9c2
|
|
||||||
size 45311
|
|
3
vimplugin-tlib-1.27.tar.gz
Normal file
3
vimplugin-tlib-1.27.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ef74d2175f612c5f720f2e75ccc34a188b04fef4569ccb8e4835bfc2b5ae221f
|
||||||
|
size 124891
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0f22019655b9e0863829d29eec7511ae012ef12f3de7a4f9805b0a805f3b077a
|
|
||||||
size 1722
|
|
3
vimplugin-tregisters-0.2.tar.gz
Normal file
3
vimplugin-tregisters-0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:41b30e46d8e4e4696a37bfb6eb09f7caade301decf88846859a1df38bb9ff156
|
||||||
|
size 1724
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:572dc1fe9f574ab24a7874a18c8277927c9a7b386a85c711660f3e40b368f51c
|
|
||||||
size 4016
|
|
3
vimplugin-tselectbuffer-0.7.tar.gz
Normal file
3
vimplugin-tselectbuffer-0.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:676f82e24852255d06a7186e25689584089c211808179a357b300817cf7c365e
|
||||||
|
size 4075
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b99924919d85af3bb0629a946ce3d95d88d8cd2a28204cccbe65bdd905c2633b
|
|
||||||
size 9104
|
|
3
vimplugin-tselectfiles-0.11.tar.gz
Normal file
3
vimplugin-tselectfiles-0.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7cc07acfdaa94ebf04c2b87a7b25a1ae8d7c1a58dd83cb2e644aae746a28a4c
|
||||||
|
size 10541
|
Loading…
Reference in New Issue
Block a user