|
|
@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package vim-plugins
|
|
|
|
# spec file for package vim-plugins
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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
|
|
|
@ -24,25 +24,25 @@
|
|
|
|
%define calendar_version 2.5
|
|
|
|
%define calendar_version 2.5
|
|
|
|
%define colorsel_version 20110107
|
|
|
|
%define colorsel_version 20110107
|
|
|
|
%define colorschemes_version 1.0
|
|
|
|
%define colorschemes_version 1.0
|
|
|
|
%define diffchanges_tag 346dae2
|
|
|
|
%define diffchanges_version_orig 346dae2
|
|
|
|
%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.4
|
|
|
|
%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+20210818
|
|
|
|
%define locateopen_version 1.3
|
|
|
|
%define locateopen_version 1.3
|
|
|
|
%define markdown_version 2.0.0+20200714
|
|
|
|
|
|
|
|
%define matrix_version 1.10
|
|
|
|
%define matrix_version 1.10
|
|
|
|
%define minibufexpl_version 6.3.2
|
|
|
|
%define minibufexpl_version 6.3.2
|
|
|
|
%define multiplesearch_version 1.3
|
|
|
|
%define multiplesearch_version 1.3
|
|
|
|
%define neomutt_version 20180104
|
|
|
|
%define markdown_version 2.0.0+20220129
|
|
|
|
%define NERDcommenter_version 2.5.2
|
|
|
|
%define neomutt_version 20210218
|
|
|
|
|
|
|
|
%define NERDcommenter_version 2.6.0
|
|
|
|
%define NERDtree_version 6.10.16
|
|
|
|
%define NERDtree_version 6.10.16
|
|
|
|
%define project_version 1.4.1
|
|
|
|
%define project_version 1.4.1
|
|
|
|
%define quilt_version 0.9.7
|
|
|
|
%define quilt_version 0.9.7
|
|
|
|
%define rails_version 4.4
|
|
|
|
%define rails_version 5.2
|
|
|
|
%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.3
|
|
|
|
%define showmarks_version 2.3
|
|
|
@ -55,8 +55,7 @@
|
|
|
|
%define tselectfiles_version 0.11
|
|
|
|
%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_tag 24@1
|
|
|
|
%define zoomwin_version 24
|
|
|
|
%define zoomwin_version 24.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: vim-plugins
|
|
|
|
Name: vim-plugins
|
|
|
|
Version: 7.3.0
|
|
|
|
Version: 7.3.0
|
|
|
@ -71,40 +70,40 @@ Source2: https://github.com/jlanzarotta/bufexplorer/archive/refs/tags/v%{
|
|
|
|
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: https://github.com/vim-scripts/colorsel.vim/archive/refs/tags/%{colorsel_version}.tar.gz#/vimplugin-colorsel-%{colorsel_version}.tar.gz
|
|
|
|
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: https://github.com/vim-scripts/diffchanges.vim/archive/refs/tags/%{diffchanges_tag}.tar.gz#/vimplugin-diffchanges-%{diffchanges_version}.tar.gz
|
|
|
|
Source6: https://github.com/vim-scripts/diffchanges.vim/archive/refs/tags/%{diffchanges_version_orig}.tar.gz#/vimplugin-diffchanges-%{diffchanges_version}.tar.gz
|
|
|
|
Source7: https://github.com/vim-scripts/LocateOpen/archive/refs/tags/%{locateopen_version}.tar.gz#/vimplugin-locateopen-%{locateopen_version}.tar.gz
|
|
|
|
Source7: https://github.com/vim-scripts/LocateOpen/archive/refs/tags/%{locateopen_version}.tar.gz#/vimplugin-locateopen-%{locateopen_version}.tar.gz
|
|
|
|
Source9: https://github.com/vim-scripts/matrix.vim--Yang/archive/refs/tags/%{matrix_version}.tar.gz#/vimplugin-matrix-%{matrix_version}.tar.gz
|
|
|
|
Source9: https://github.com/vim-scripts/matrix.vim--Yang/archive/refs/tags/%{matrix_version}.tar.gz#/vimplugin-matrix-%{matrix_version}.tar.gz
|
|
|
|
Source10: https://github.com/vim-scripts/minibufexpl.vim/archive/refs/tags/%{minibufexpl_version}.tar.gz#/vimplugin-minibufexpl-%{minibufexpl_version}.tar.gz
|
|
|
|
Source10: https://github.com/vim-scripts/minibufexpl.vim/archive/refs/tags/%{minibufexpl_version}.tar.gz#/vimplugin-minibufexpl-%{minibufexpl_version}.tar.gz
|
|
|
|
Source11: https://github.com/vim-scripts/MultipleSearch/archive/refs/tags/%{multiplesearch_version}.tar.gz#/vimplugin-multiplesearch-%{multiplesearch_version}.tar.gz
|
|
|
|
Source11: https://github.com/vim-scripts/MultipleSearch/archive/refs/tags/%{multiplesearch_version}.tar.gz#/vimplugin-multiplesearch-%{multiplesearch_version}.tar.gz
|
|
|
|
Source12: https://github.com/preservim/nerdcommenter/archive/refs/tags/%{NERDcommenter_version}.tar.gz#/vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.gz
|
|
|
|
Source12: https://github.com/preservim/nerdcommenter/archive/refs/tags/%{NERDcommenter_version}.tar.gz#/vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.gz
|
|
|
|
Source13: https://github.com/preservim/nerdtree/archive/refs/tags/%{NERDtree_version}.tar.gz#/vimplugin-NERDtree-%{NERDtree_version}.tar.gz
|
|
|
|
Source13: https://github.com/preservim/nerdtree/archive/refs/tags/%{NERDtree_version}.tar.gz#/vimplugin-NERDtree-%{NERDtree_version}.tar.gz
|
|
|
|
Source14: https://github.com/vim-scripts/project.tar.gz/archive/refs/tags/%{project_version}.tar.gz#/vimplugin-project-%{project_version}.tar.gz
|
|
|
|
Source14: vimplugin-project-%{project_version}.tar.gz
|
|
|
|
Source15: https://github.com/vim-scripts/SearchComplete/archive/refs/tags/%{searchcomplete_version}.tar.gz#/vimplugin-searchcomplete-%{searchcomplete_version}.tar.gz
|
|
|
|
Source15: https://github.com/vim-scripts/SearchComplete/archive/refs/tags/%{searchcomplete_version}.tar.gz#/vimplugin-searchcomplete-%{searchcomplete_version}.tar.gz
|
|
|
|
Source16: https://github.com/vim-scripts/ShowMarks7/archive/refs/tags/%{showmarks_version}.tar.gz#/vimplugin-showmarks-%{showmarks_version}.tar.gz
|
|
|
|
Source16: https://github.com/vim-scripts/ShowMarks7/archive/refs/tags/%{showmarks_version}.tar.gz#/vimplugin-showmarks-%{showmarks_version}.tar.gz
|
|
|
|
Source17: https://github.com/vim-scripts/SuperTab--Van-Dewoestine/archive/refs/tags/%{supertab_version}.tar.gz#/vimplugin-supertab-%{supertab_version}.tar.gz
|
|
|
|
Source17: https://github.com/vim-scripts/SuperTab--Van-Dewoestine/archive/refs/tags/%{supertab_version}.tar.gz#/vimplugin-supertab-%{supertab_version}.tar.gz
|
|
|
|
Source18: vimplugin-taglist-%{taglist_version}.tar.bz2
|
|
|
|
Source18: https://github.com/yegappan/taglist/archive/refs/tags/v%{taglist_version}.tar.gz#/vimplugin-taglist-%{taglist_version}.tar.gz
|
|
|
|
Source19: https://github.com/tomtom/tlib_vim/archive/refs/tags/%{tlib_version}.tar.gz#/vimplugin-tlib-%{tlib_version}.tar.gz
|
|
|
|
Source19: https://github.com/tomtom/tlib_vim/archive/refs/tags/%{tlib_version}.tar.gz#/vimplugin-tlib-%{tlib_version}.tar.gz
|
|
|
|
Source20: https://github.com/vim-scripts/tregisters/archive/refs/tags/%{tregisters_version}.tar.gz#/vimplugin-tregisters-%{tregisters_version}.tar.gz
|
|
|
|
Source20: https://github.com/vim-scripts/tregisters/archive/refs/tags/%{tregisters_version}.tar.gz#/vimplugin-tregisters-%{tregisters_version}.tar.gz
|
|
|
|
Source21: https://github.com/vim-scripts/tselectbuffer/archive/refs/tags/%{tselectbuffer_version}.tar.gz#/vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.gz
|
|
|
|
Source21: https://github.com/vim-scripts/tselectbuffer/archive/refs/tags/%{tselectbuffer_version}.tar.gz#/vimplugin-tselectbuffer-%{tselectbuffer_version}.tar.gz
|
|
|
|
Source22: https://github.com/vim-scripts/tselectfiles/archive/refs/tags/%{tselectfiles_version}.tar.gz#/vimplugin-tselectfiles-%{tselectfiles_version}.tar.gz
|
|
|
|
Source22: https://github.com/vim-scripts/tselectfiles/archive/refs/tags/%{tselectfiles_version}.tar.gz#/vimplugin-tselectfiles-%{tselectfiles_version}.tar.gz
|
|
|
|
Source23: https://github.com/vim-scripts/utl.vim/archive/refs/tags/%{utl_version}.tar.gz#/vimplugin-utl-%{utl_version}.tar.gz
|
|
|
|
Source23: https://github.com/vim-scripts/utl.vim/archive/refs/tags/%{utl_version}.tar.gz#/vimplugin-utl-%{utl_version}.tar.gz
|
|
|
|
Source24: https://github.com/vim-scripts/ZoomWin/archive/refs/tags/%{zoomwin_tag}.tar.gz#/vimplugin-zoomwin-%{zoomwin_version}.tar.gz
|
|
|
|
Source24: https://github.com/vim-scripts/ZoomWin/archive/refs/tags/%{zoomwin_version}.tar.gz#/vimplugin-zoomwin-%{zoomwin_version}.tar.gz
|
|
|
|
Source26: vimplugin-quilt-%{quilt_version}.tar.bz2
|
|
|
|
Source26: https://github.com/vim-scripts/quilt/archive/refs/tags/%{quilt_version}.tar.gz#/vimplugin-quilt-%{quilt_version}.tar.gz
|
|
|
|
Source27: vimplugin-vimwiki-%{vimwiki_version}.tar.bz2
|
|
|
|
Source27: https://github.com/vim-scripts/vimwiki/archive/refs/tags/%{vimwiki_version}.tar.gz#/vimplugin-vimwiki-%{vimwiki_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
|
|
|
|
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: https://github.com/vim-scripts/gitdiff.vim/archive/refs/tags/%{gitdiff_version}.tar.gz#/vimplugin-gitdiff-%{gitdiff_version}.tar.gz
|
|
|
|
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: https://github.com/vim-scripts/snipMate/archive/refs/tags/%{snipmate_version}.tar.gz#/vimplugin-snipmate-%{snipmate_version}.tar.gz
|
|
|
|
Source32: vimplugin-rails-%{rails_version}.tar.bz2
|
|
|
|
Source32: https://github.com/vim-scripts/rails.vim/archive/refs/tags/%{rails_version}.tar.gz#/vimplugin-rails-%{rails_version}.tar.gz
|
|
|
|
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
|
|
|
|
Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_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
|
|
|
|
Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz
|
|
|
|
Source36: vimplugin-neomutt-%{neomutt_version}.tar.bz2
|
|
|
|
|
|
|
|
Source37: vimplugin-salt-%{salt_version}.tar.bz2
|
|
|
|
Source37: vimplugin-salt-%{salt_version}.tar.bz2
|
|
|
|
# from _service
|
|
|
|
# from _service
|
|
|
|
Source100: file-line-%{file_line_version}.tar.xz
|
|
|
|
Source100: file-line-%{file_line_version}.tar.xz
|
|
|
|
Source101: vim-latex-%{latex_version}.tar.xz
|
|
|
|
Source101: vim-markdown-%{markdown_version}.tar.xz
|
|
|
|
Source102: vim-markdown-%{markdown_version}.tar.xz
|
|
|
|
Source102: neomutt.vim-%{neomutt_version}.tar.xz
|
|
|
|
|
|
|
|
Source103: vim-latex-%{latex_version}.tar.xz
|
|
|
|
Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
|
|
|
|
Source1000: 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
|
|
|
|
Patch2: showmarks-signs.patch
|
|
|
|
Patch2: showmarks-signs.patch
|
|
|
@ -647,7 +646,7 @@ Usage:
|
|
|
|
Press <c-w>o again: the previous set of windows is restored
|
|
|
|
Press <c-w>o again: the previous set of windows is restored
|
|
|
|
|
|
|
|
|
|
|
|
%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 -a102
|
|
|
|
%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 -a37 -a100 -a101 -a102 -a103
|
|
|
|
# ------- patch locateopen ------
|
|
|
|
# ------- patch locateopen ------
|
|
|
|
pushd LocateOpen-%locateopen_version
|
|
|
|
pushd LocateOpen-%locateopen_version
|
|
|
|
%patch1
|
|
|
|
%patch1
|
|
|
@ -660,7 +659,8 @@ pushd file-line-%file_line_version
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
find tlib_vim-%{tlib_version} -type f \( -name '*.vim' -o -name '*.txt' \) -exec chmod -v 644 {} +
|
|
|
|
find tlib_vim-%{tlib_version} -type f \( -name '*.vim' -o -name '*.txt' \) -exec chmod -v 644 {} +
|
|
|
|
chmod -v 644 vimplugin-taglist-%{taglist_version}/doc/taglist.txt
|
|
|
|
chmod -v 644 vim-markdown-%{markdown_version}/indent/markdown.vim \
|
|
|
|
|
|
|
|
taglist-%{taglist_version}/doc/taglist.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
@ -670,10 +670,6 @@ rm -rf plugin/editorconfig-core-py/ tests/
|
|
|
|
rm mkzip.sh
|
|
|
|
rm mkzip.sh
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
pushd nerdcommenter-%{NERDcommenter_version}
|
|
|
|
|
|
|
|
rm -f Rakefile
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd nerdtree-%{NERDtree_version}
|
|
|
|
pushd nerdtree-%{NERDtree_version}
|
|
|
|
rm -f _config.yml screenshot.png
|
|
|
|
rm -f _config.yml screenshot.png
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -682,22 +678,25 @@ pushd tlib_vim-%{tlib_version}
|
|
|
|
rm -r addon-info.json doc/tags etc samples scripts test
|
|
|
|
rm -r addon-info.json doc/tags etc samples scripts test
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd vim-markdown-%{markdown_version}
|
|
|
|
|
|
|
|
rm -r registry test
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
install -d %buildroot/%vimplugin_dir
|
|
|
|
install -d %buildroot/%vimplugin_dir
|
|
|
|
for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
|
|
|
|
for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
|
|
|
|
bufexplorer-* colorsel.vim-* diffchanges.vim-* \
|
|
|
|
colorsel.vim-* bufexplorer-* diffchanges.vim-* editorconfig-vim-* \
|
|
|
|
editorconfig-vim-* file-line-* \
|
|
|
|
file-line-* gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* \
|
|
|
|
gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \
|
|
|
|
minibufexpl.vim-* MultipleSearch-* neomutt.vim-* nerdcommenter-* \
|
|
|
|
MultipleSearch-* nerdcommenter-* nerdtree-* project.tar.gz-* \
|
|
|
|
nerdtree-* project.tar.gz-* quilt-* rails.vim-* SearchComplete-* \
|
|
|
|
SearchComplete-* ShowMarks7-* SuperTab--Van-Dewoestine-* \
|
|
|
|
ShowMarks7-* snipMate-* SuperTab--Van-Dewoestine-* taglist-* \
|
|
|
|
tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* utl.vim-* \
|
|
|
|
tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* utl.vim-* \
|
|
|
|
vim-fugitive-* \
|
|
|
|
vim-fugitive-* vim-gnupg-* vim-markdown-* vimwiki-* ZoomWin-*; do
|
|
|
|
vim-gnupg-* ZoomWin-*; 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/
|
|
|
|
install -d %{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-latex
|
|
|
|
# vim-plugin-latex
|
|
|
@ -707,24 +706,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
|
|
|
|
|
|
|
|
|
|
|
|
pushd vim-markdown-%{markdown_version}
|
|
|
|
install -d %{buildroot}/%vimplugin_dir/snippets/
|
|
|
|
chmod 644 indent/markdown.vim
|
|
|
|
|
|
|
|
%{makeinstall} 'ADDONS=${VIMDIR}/site'
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
|
|
|
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
|
|
|
|
|
|
|
|
|
|
|
# delete unneeded files
|
|
|
|
# delete unneeded files
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/CHANGE*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/CHANGE*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUT*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUT*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/LICEN?E*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/LICEN[SC]E*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/README*
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/README*
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%vimplugin_dir/Makefile*
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
# scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%define vim_doc_post(n:) \
|
|
|
|
%define vim_doc_post(n:) \
|
|
|
|
%%post %{-n:-n %{-n*}} \
|
|
|
|
%%post %{-n:-n %{-n*}} \
|
|
|
@ -744,6 +740,7 @@ fi \
|
|
|
|
%vim_doc_post -n vim-plugin-fugitive
|
|
|
|
%vim_doc_post -n vim-plugin-fugitive
|
|
|
|
%vim_doc_post -n vim-plugin-gnupg
|
|
|
|
%vim_doc_post -n vim-plugin-gnupg
|
|
|
|
%vim_doc_post -n vim-plugin-latex
|
|
|
|
%vim_doc_post -n vim-plugin-latex
|
|
|
|
|
|
|
|
%vim_doc_post -n vim-plugin-markdown
|
|
|
|
%vim_doc_post -n vim-plugin-multiplesearch
|
|
|
|
%vim_doc_post -n vim-plugin-multiplesearch
|
|
|
|
%vim_doc_post -n vim-plugin-neomutt
|
|
|
|
%vim_doc_post -n vim-plugin-neomutt
|
|
|
|
%vim_doc_post -n vim-plugin-NERDcommenter
|
|
|
|
%vim_doc_post -n vim-plugin-NERDcommenter
|
|
|
@ -828,7 +825,7 @@ 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/
|
|
|
|
%dir %vimplugin_dir/ftplugin
|
|
|
|
%vimplugin_dir/ftplugin/fugitiveblame.vim
|
|
|
|
%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
|
|
|
@ -854,11 +851,11 @@ fi \
|
|
|
|
%vimplugin_dir/plugin/remoteOpen.vim
|
|
|
|
%vimplugin_dir/plugin/remoteOpen.vim
|
|
|
|
%vimplugin_dir/plugin/filebrowser.vim
|
|
|
|
%vimplugin_dir/plugin/filebrowser.vim
|
|
|
|
%vimplugin_dir/plugin/SyntaxFolds.vim
|
|
|
|
%vimplugin_dir/plugin/SyntaxFolds.vim
|
|
|
|
%dir %vimplugin_dir/compiler/
|
|
|
|
|
|
|
|
%vimplugin_dir/compiler/tex.vim
|
|
|
|
%vimplugin_dir/compiler/tex.vim
|
|
|
|
%dir %vimplugin_dir/indent/
|
|
|
|
%dir %vimplugin_dir/compiler
|
|
|
|
%vimplugin_dir/indent/tex.vim
|
|
|
|
%vimplugin_dir/indent/tex.vim
|
|
|
|
%dir %vimplugin_dir/ftplugin/
|
|
|
|
%dir %vimplugin_dir/indent
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/ftplugin
|
|
|
|
%vimplugin_dir/ftplugin/latex-suite
|
|
|
|
%vimplugin_dir/ftplugin/latex-suite
|
|
|
|
%vimplugin_dir/ftplugin/tex_latexSuite.vim
|
|
|
|
%vimplugin_dir/ftplugin/tex_latexSuite.vim
|
|
|
|
%vimplugin_dir/ftplugin/bib_latexSuite.vim
|
|
|
|
%vimplugin_dir/ftplugin/bib_latexSuite.vim
|
|
|
@ -870,21 +867,11 @@ fi \
|
|
|
|
%vimplugin_dir/plugin/locateopen.vim
|
|
|
|
%vimplugin_dir/plugin/locateopen.vim
|
|
|
|
|
|
|
|
|
|
|
|
%files -n vim-plugin-markdown
|
|
|
|
%files -n vim-plugin-markdown
|
|
|
|
%doc vim-markdown-%{markdown_version}/README.md vim-markdown-%{markdown_version}/CONTRIBUTING.md
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/after/
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/after/ftplugin/
|
|
|
|
|
|
|
|
%vimplugin_dir/after/ftplugin/markdown.vim
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/ftdetect/
|
|
|
|
|
|
|
|
%vimplugin_dir/ftdetect/markdown.vim
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/ftplugin/
|
|
|
|
|
|
|
|
%vimplugin_dir/ftplugin/markdown.vim
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/indent/
|
|
|
|
|
|
|
|
%vimplugin_dir/indent/markdown.vim
|
|
|
|
|
|
|
|
%dir %{_datadir}/vim/registry/
|
|
|
|
|
|
|
|
%{_datadir}/vim/registry/markdown.yaml
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/syntax/
|
|
|
|
|
|
|
|
%vimplugin_dir/syntax/markdown.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/doc/vim-markdown.txt
|
|
|
|
%vimplugin_dir/doc/vim-markdown.txt
|
|
|
|
|
|
|
|
%vimplugin_dir/ftdetect/markdown.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/ftplugin/markdown.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/indent/markdown.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/syntax/markdown.vim
|
|
|
|
|
|
|
|
|
|
|
|
%files -n vim-plugin-matrix
|
|
|
|
%files -n vim-plugin-matrix
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
@ -903,26 +890,28 @@ fi \
|
|
|
|
%files -n vim-plugin-neomutt
|
|
|
|
%files -n vim-plugin-neomutt
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%vimplugin_dir/doc/neomutt.txt
|
|
|
|
%vimplugin_dir/doc/neomutt.txt
|
|
|
|
|
|
|
|
%vimplugin_dir/ftdetect/logfile.vim
|
|
|
|
%vimplugin_dir/ftdetect/mail.vim
|
|
|
|
%vimplugin_dir/ftdetect/mail.vim
|
|
|
|
%vimplugin_dir/ftdetect/neomuttrc.vim
|
|
|
|
%vimplugin_dir/ftdetect/neomuttrc.vim
|
|
|
|
%vimplugin_dir/ftplugin/neomuttrc.vim
|
|
|
|
%vimplugin_dir/ftplugin/neomuttrc.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/syntax/neomuttlog.vim
|
|
|
|
%vimplugin_dir/syntax/neomuttrc.vim
|
|
|
|
%vimplugin_dir/syntax/neomuttrc.vim
|
|
|
|
|
|
|
|
|
|
|
|
%files -n vim-plugin-NERDcommenter
|
|
|
|
%files -n vim-plugin-NERDcommenter
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc nerdcommenter-%{NERDcommenter_version}/README.md
|
|
|
|
%doc nerdcommenter-%{NERDcommenter_version}/README.md
|
|
|
|
%vimplugin_dir/doc/NERD_commenter.txt
|
|
|
|
%vimplugin_dir/autoload/nerdcommenter.vim
|
|
|
|
%vimplugin_dir/plugin/NERD_commenter.vim
|
|
|
|
%vimplugin_dir/doc/nerdcommenter.txt
|
|
|
|
|
|
|
|
%vimplugin_dir/plugin/nerdcommenter.vim
|
|
|
|
|
|
|
|
|
|
|
|
%files -n vim-plugin-NERDtree
|
|
|
|
%files -n vim-plugin-NERDtree
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%license nerdtree-%{NERDtree_version}/LICENCE
|
|
|
|
|
|
|
|
%doc nerdtree-%{NERDtree_version}/README.markdown
|
|
|
|
%doc nerdtree-%{NERDtree_version}/README.markdown
|
|
|
|
%vimplugin_dir/doc/NERDTree.txt
|
|
|
|
%license nerdtree-%{NERDtree_version}/LICENCE
|
|
|
|
%vimplugin_dir/autoload/nerdtree.vim
|
|
|
|
%vimplugin_dir/autoload/nerdtree.vim
|
|
|
|
%dir %vimplugin_dir/autoload/nerdtree/
|
|
|
|
%vimplugin_dir/autoload/nerdtree/
|
|
|
|
%vimplugin_dir/autoload/nerdtree/ui_glue.vim
|
|
|
|
%vimplugin_dir/doc/NERDTree.txt
|
|
|
|
%dir %vimplugin_dir/lib/
|
|
|
|
%dir %vimplugin_dir/lib
|
|
|
|
%vimplugin_dir/lib/nerdtree/
|
|
|
|
%vimplugin_dir/lib/nerdtree/
|
|
|
|
%vimplugin_dir/plugin/NERD_tree.vim
|
|
|
|
%vimplugin_dir/plugin/NERD_tree.vim
|
|
|
|
%vimplugin_dir/syntax/nerdtree.vim
|
|
|
|
%vimplugin_dir/syntax/nerdtree.vim
|
|
|
@ -940,6 +929,7 @@ fi \
|
|
|
|
|
|
|
|
|
|
|
|
%files -n vim-plugin-rails
|
|
|
|
%files -n vim-plugin-rails
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
|
|
|
|
%vimplugin_dir/compiler/rails.vim
|
|
|
|
%vimplugin_dir/plugin/rails.vim
|
|
|
|
%vimplugin_dir/plugin/rails.vim
|
|
|
|
%vimplugin_dir/autoload/rails.vim
|
|
|
|
%vimplugin_dir/autoload/rails.vim
|
|
|
|
%vimplugin_dir/doc/rails.txt
|
|
|
|
%vimplugin_dir/doc/rails.txt
|
|
|
@ -964,9 +954,7 @@ fi \
|
|
|
|
%vimplugin_dir/syntax/snippet.vim
|
|
|
|
%vimplugin_dir/syntax/snippet.vim
|
|
|
|
%vimplugin_dir/plugin/snipMate.vim
|
|
|
|
%vimplugin_dir/plugin/snipMate.vim
|
|
|
|
%vimplugin_dir/ftplugin/html_snip_helper.vim
|
|
|
|
%vimplugin_dir/ftplugin/html_snip_helper.vim
|
|
|
|
%dir %vimplugin_dir/after/
|
|
|
|
%vimplugin_dir/after
|
|
|
|
%dir %vimplugin_dir/after/plugin/
|
|
|
|
|
|
|
|
%vimplugin_dir/after/plugin/snipMate.vim
|
|
|
|
|
|
|
|
%vimplugin_dir/autoload/snipMate.vim
|
|
|
|
%vimplugin_dir/autoload/snipMate.vim
|
|
|
|
%vimplugin_dir/doc/snipMate.txt
|
|
|
|
%vimplugin_dir/doc/snipMate.txt
|
|
|
|
|
|
|
|
|
|
|
@ -1026,6 +1014,7 @@ fi \
|
|
|
|
%vimplugin_dir/plugin/vimwiki.vim
|
|
|
|
%vimplugin_dir/plugin/vimwiki.vim
|
|
|
|
%dir %vimplugin_dir/ftplugin
|
|
|
|
%dir %vimplugin_dir/ftplugin
|
|
|
|
%vimplugin_dir/ftplugin/vimwiki.vim
|
|
|
|
%vimplugin_dir/ftplugin/vimwiki.vim
|
|
|
|
|
|
|
|
%dir %vimplugin_dir/indent
|
|
|
|
%vimplugin_dir/autoload/vimwiki
|
|
|
|
%vimplugin_dir/autoload/vimwiki
|
|
|
|
%vimplugin_dir/syntax/vimwiki*.vim
|
|
|
|
%vimplugin_dir/syntax/vimwiki*.vim
|
|
|
|
|
|
|
|
|
|
|
|