diff --git a/_service b/_service
index 36cd8d7..0d1858e 100644
--- a/_service
+++ b/_service
@@ -11,6 +11,16 @@
file-line.obsinfo
+
+ https://github.com/plasticboy/vim-markdown
+ git
+ @PARENT_TAG@+%cd
+ 8e5d86f7b85234d3d1b4207dceebc43a768ed5d4
+
+
+ vim-markdown.obsinfo
+
+
https://github.com/vim-latex/vim-latex
git
diff --git a/file-line-1.0+20161020.obscpio b/file-line-1.0+20161020.obscpio
index 46d8609..2adce82 100644
--- a/file-line-1.0+20161020.obscpio
+++ b/file-line-1.0+20161020.obscpio
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f3e05f77f305ba2a8d0531b7c8a5eb0f44424a344f95f3cef0249b393aadcdec
+oid sha256:1be708765bc55ce44894c7a2cdf895903687a30a4c3d6c733d5dab87c4ce1930
size 4105
diff --git a/vim-latex-1.10.0+20210323.obscpio b/vim-latex-1.10.0+20210323.obscpio
index fcca74a..253d688 100644
--- a/vim-latex-1.10.0+20210323.obscpio
+++ b/vim-latex-1.10.0+20210323.obscpio
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4220d3efaeac676e1e66f31a238b8c23599adedc862670ff681f8c7f79887853
-size 1011212
+oid sha256:1ab6380c4cb55055a5d7e88a58f3cc45ffcff258412cf65cd3971cb1add7d139
+size 1011724
diff --git a/vim-markdown-2.0.0+20200714.obscpio b/vim-markdown-2.0.0+20200714.obscpio
new file mode 100644
index 0000000..ab93db0
--- /dev/null
+++ b/vim-markdown-2.0.0+20200714.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:110f6fc76bd09f482bbf5cdda7433ef78e26fb5fa2517857295b38f9e21334fb
+size 158219
diff --git a/vim-markdown.obsinfo b/vim-markdown.obsinfo
new file mode 100644
index 0000000..5c344eb
--- /dev/null
+++ b/vim-markdown.obsinfo
@@ -0,0 +1,5 @@
+name: vim-markdown
+version: 2.0.0+20200714
+mtime: 1594729550
+commit: 8e5d86f7b85234d3d1b4207dceebc43a768ed5d4
+
diff --git a/vim-plugins.changes b/vim-plugins.changes
index 624ebc9..eedb54a 100644
--- a/vim-plugins.changes
+++ b/vim-plugins.changes
@@ -1,3 +1,15 @@
+-------------------------------------------------------------------
+Tue Nov 16 11:41:06 UTC 2021 - Jiri Slaby
+
+- update
+ * NERDcommenter_version 2.5.2
+ * NERDtree_version 6.10.16
+ * supertab_version 2.1
+ * zoomwin_tag 24@1
+- add
+ * vim-markdown 2.0.0+20200714
+- clean up the spec, esp. the post/postup part using macro.
+
-------------------------------------------------------------------
Thu Sep 30 06:04:37 UTC 2021 - Jiri Slaby
diff --git a/vim-plugins.spec b/vim-plugins.spec
index 21a6ace..a717907 100644
--- a/vim-plugins.spec
+++ b/vim-plugins.spec
@@ -24,7 +24,8 @@
%define calendar_version 2.5
%define colorsel_version 20110107
%define colorschemes_version 1.0
-%define diffchanges_version 0.6.346dae2
+%define diffchanges_tag 346dae2
+%define diffchanges_version 0.6~346dae2
%define editorconfig_version 0.3.3
%define file_line_version 1.0+20161020
%define fugitive_version 3.4
@@ -32,12 +33,13 @@
%define gnupg_version 2.7.1
%define latex_version 1.10.0+20210323
%define locateopen_version 1.3
+%define markdown_version 2.0.0+20200714
%define matrix_version 1.10
%define minibufexpl_version 6.3.2
%define multiplesearch_version 1.3
%define neomutt_version 20180104
-%define NERDcommenter_version 2.3.0
-%define NERDtree_version 4.2.0
+%define NERDcommenter_version 2.5.2
+%define NERDtree_version 6.10.16
%define project_version 1.4.1
%define quilt_version 0.9.7
%define rails_version 4.4
@@ -45,7 +47,7 @@
%define searchcomplete_version 1.1
%define showmarks_version 2.3
%define snipmate_version 0.83
-%define supertab_version 1.0
+%define supertab_version 2.1
%define taglist_version 4.6
%define tlib_version 1.27
%define tregisters_version 0.2
@@ -53,7 +55,8 @@
%define tselectfiles_version 0.11
%define utl_version 2.0
%define vimwiki_version 2.1
-%define zoomwin_version 24
+%define zoomwin_tag 24@1
+%define zoomwin_version 24.1
Name: vim-plugins
Version: 7.3.0
@@ -68,24 +71,24 @@ 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
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
-Source6: vimplugin-diffchanges-%{diffchanges_version}.tar.bz2
+Source6: https://github.com/vim-scripts/diffchanges.vim/archive/refs/tags/%{diffchanges_tag}.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
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
-Source11: vimplugin-multiplesearch-%{multiplesearch_version}.tar.bz2
-Source12: vimplugin-NERDcommenter-%{NERDcommenter_version}.tar.bz2
-Source13: vimplugin-NERDtree-%{NERDtree_version}.tar.bz2
-Source14: vimplugin-project-%{project_version}.tar.bz2
-Source15: vimplugin-searchcomplete-%{searchcomplete_version}.tar.bz2
+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
+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
+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
-Source17: vimplugin-supertab-%{supertab_version}.tar.bz2
+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
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
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
-Source23: vimplugin-utl-%{utl_version}.tar.bz2
-Source24: vimplugin-zoomwin-%{zoomwin_version}.tar.bz2
+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
Source26: vimplugin-quilt-%{quilt_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
@@ -101,6 +104,7 @@ Source37: vimplugin-salt-%{salt_version}.tar.bz2
# from _service
Source100: file-line-%{file_line_version}.tar.xz
Source101: vim-latex-%{latex_version}.tar.xz
+Source102: vim-markdown-%{markdown_version}.tar.xz
Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
Patch1: locateopen-1.3-locate-support.patch
Patch2: showmarks-signs.patch
@@ -335,6 +339,18 @@ Usage:
:LocateSource somefile.vim
:LocateRead somefile.txt
+%package -n vim-plugin-markdown
+Version: %markdown_version
+Release: 0
+Summary: Markdown support for vim
+License: MIT
+Group: Productivity/Text/Editors
+Requires: vim
+
+%description -n vim-plugin-markdown
+Syntax highlighting, matching rules and mappings for the original Markdown and
+extensions.
+
%package -n vim-plugin-matrix
Version: %matrix_version
Release: 0
@@ -631,7 +647,7 @@ Usage:
Press o again: the previous set of windows is restored
%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 -a102
# ------- patch locateopen ------
pushd LocateOpen-%locateopen_version
%patch1
@@ -643,6 +659,9 @@ pushd file-line-%file_line_version
%patch3 -p1
popd
+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
+
%build
%install
@@ -651,17 +670,28 @@ rm -rf plugin/editorconfig-core-py/ tests/
rm mkzip.sh
popd
+pushd nerdcommenter-%{NERDcommenter_version}
+rm -f Rakefile
+popd
+
+pushd nerdtree-%{NERDtree_version}
+rm -f _config.yml screenshot.png
+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-* \
+ bufexplorer-* colorsel.vim-* diffchanges.vim-* \
+ editorconfig-vim-* file-line-* \
gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \
- ShowMarks7-* \
- tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* vim-fugitive-* \
- vim-gnupg-*; do
+ MultipleSearch-* nerdcommenter-* nerdtree-* project.tar.gz-* \
+ SearchComplete-* ShowMarks7-* SuperTab--Van-Dewoestine-* \
+ tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* utl.vim-* \
+ vim-fugitive-* \
+ vim-gnupg-* ZoomWin-*; do
pushd $i
cp -av * %buildroot/%vimplugin_dir/
popd
@@ -677,278 +707,60 @@ install -d %{buildroot}%{_datadir}/appdata
install -m 644 vim-latex.metainfo.xml %{buildroot}%{_datadir}/appdata/
popd
+pushd vim-markdown-%{markdown_version}
+chmod 644 indent/markdown.vim
+%{makeinstall} 'ADDONS=${VIMDIR}/site'
+popd
+
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
# delete unneeded files
-rm -rf %{buildroot}/%vimplugin_dir/CHANGES*
-rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUTORS*
-rm -rf %{buildroot}/%vimplugin_dir/LICENSE*
+rm -rf %{buildroot}/%vimplugin_dir/CHANGE*
+rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUT*
+rm -rf %{buildroot}/%vimplugin_dir/LICEN?E*
rm -rf %{buildroot}/%vimplugin_dir/README*
rm -rf %{buildroot}/%vimplugin_dir/doc/Makefile*
rm -rf %{buildroot}/%vimplugin_dir/doc/README*
rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
# 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
-# listing them manually :(
-
-# 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-align
-
-%post -n vim-plugin-align
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-align
-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-bufexplorer
-
-%post -n vim-plugin-bufexplorer
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-bufexplorer
-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-colorsel
-
-%post -n vim-plugin-colorsel
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-colorsel
-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-diffchanges
-
-%post -n vim-plugin-diffchanges
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-diffchanges
-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-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
-
-# documentation: vim-plugin-gnupg
-
-%post -n vim-plugin-gnupg
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-gnupg
-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-latex
-
-%post -n vim-plugin-latex
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-latex
-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-multiplesearch
-
-%post -n vim-plugin-multiplesearch
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-multiplesearch
-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-neomutt
-
-%post -n vim-plugin-neomutt
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-neomutt
-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-NERDcommenter
-
-%post -n vim-plugin-NERDcommenter
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-NERDcommenter
-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-NERDtree
-
-%post -n vim-plugin-NERDtree
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-NERDtree
-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-project
-
-%post -n vim-plugin-project
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-project
-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-quilt
-
-%post -n vim-plugin-quilt
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-quilt
-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-rails
-
-%post -n vim-plugin-rails
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-rails
-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
-
-%post -n vim-plugin-snipmate
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-snipmate
-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-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
-
-%post -n vim-plugin-taglist
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-taglist
-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-tlib
-
-%post -n vim-plugin-tlib
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-tlib
-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-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
-
-%post -n vim-plugin-tselectfiles
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-tselectfiles
-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-utl
-
-%post -n vim-plugin-utl
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-utl
-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-vimwiki
-
-%post -n vim-plugin-vimwiki
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-vimwiki
-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-zoomwin
-
-%post -n vim-plugin-zoomwin
-vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-
-%postun -n vim-plugin-zoomwin
-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
-
-%postun
-if [ $1 == 0 ]; then
- vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
-fi
+# scriptlets.
+
+%define vim_doc_post(n:) \
+%%post %{-n:-n %{-n*}} \
+vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null \
+%%postun %{-n:-n %{-n*}} \
+if [ $1 == 0 ]; then \
+ vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null \
+fi \
+%{nil}
+
+%vim_doc_post -n vim-plugin-ack
+%vim_doc_post -n vim-plugin-align
+%vim_doc_post -n vim-plugin-bufexplorer
+%vim_doc_post -n vim-plugin-colorsel
+%vim_doc_post -n vim-plugin-diffchanges
+%vim_doc_post -n vim-plugin-editorconfig
+%vim_doc_post -n vim-plugin-fugitive
+%vim_doc_post -n vim-plugin-gnupg
+%vim_doc_post -n vim-plugin-latex
+%vim_doc_post -n vim-plugin-multiplesearch
+%vim_doc_post -n vim-plugin-neomutt
+%vim_doc_post -n vim-plugin-NERDcommenter
+%vim_doc_post -n vim-plugin-NERDtree
+%vim_doc_post -n vim-plugin-project
+%vim_doc_post -n vim-plugin-quilt
+%vim_doc_post -n vim-plugin-rails
+%vim_doc_post -n vim-plugin-snipmate
+%vim_doc_post -n vim-plugin-supertab
+%vim_doc_post -n vim-plugin-taglist
+%vim_doc_post -n vim-plugin-tlib
+%vim_doc_post -n vim-plugin-tselectbuffer
+%vim_doc_post -n vim-plugin-tselectfiles
+%vim_doc_post -n vim-plugin-utl
+%vim_doc_post -n vim-plugin-vimwiki
+%vim_doc_post -n vim-plugin-zoomwin
+%vim_doc_post
%files -n vim-plugin-a
%doc a.vim-%{a_version}/README
@@ -1016,7 +828,7 @@ fi
%vimplugin_dir/doc/fugitive.txt
%vimplugin_dir/autoload/fugitive.vim
%vimplugin_dir/ftdetect/fugitive.vim
-%dir %vimplugin_dir/ftplugin
+%dir %vimplugin_dir/ftplugin/
%vimplugin_dir/ftplugin/fugitiveblame.vim
%vimplugin_dir/syntax/fugitive.vim
%vimplugin_dir/syntax/fugitiveblame.vim
@@ -1042,11 +854,11 @@ fi
%vimplugin_dir/plugin/remoteOpen.vim
%vimplugin_dir/plugin/filebrowser.vim
%vimplugin_dir/plugin/SyntaxFolds.vim
+%dir %vimplugin_dir/compiler/
%vimplugin_dir/compiler/tex.vim
-%dir %vimplugin_dir/compiler
+%dir %vimplugin_dir/indent/
%vimplugin_dir/indent/tex.vim
-%dir %vimplugin_dir/indent
-%dir %vimplugin_dir/ftplugin
+%dir %vimplugin_dir/ftplugin/
%vimplugin_dir/ftplugin/latex-suite
%vimplugin_dir/ftplugin/tex_latexSuite.vim
%vimplugin_dir/ftplugin/bib_latexSuite.vim
@@ -1057,6 +869,23 @@ fi
%defattr(-,root,root,0755)
%vimplugin_dir/plugin/locateopen.vim
+%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
+
%files -n vim-plugin-matrix
%defattr(-,root,root,0755)
%vimplugin_dir/plugin/matrix.vim
@@ -1081,12 +910,20 @@ fi
%files -n vim-plugin-NERDcommenter
%defattr(-,root,root,0755)
+%doc nerdcommenter-%{NERDcommenter_version}/README.md
%vimplugin_dir/doc/NERD_commenter.txt
%vimplugin_dir/plugin/NERD_commenter.vim
%files -n vim-plugin-NERDtree
%defattr(-,root,root,0755)
-%vimplugin_dir/doc/NERD_tree.txt
+%license nerdtree-%{NERDtree_version}/LICENCE
+%doc nerdtree-%{NERDtree_version}/README.markdown
+%vimplugin_dir/doc/NERDTree.txt
+%vimplugin_dir/autoload/nerdtree.vim
+%dir %vimplugin_dir/autoload/nerdtree/
+%vimplugin_dir/autoload/nerdtree/ui_glue.vim
+%dir %vimplugin_dir/lib/
+%vimplugin_dir/lib/nerdtree/
%vimplugin_dir/plugin/NERD_tree.vim
%vimplugin_dir/syntax/nerdtree.vim
%doc %{_defaultdocdir}/vimplugin-NERDtree
@@ -1127,7 +964,9 @@ fi
%vimplugin_dir/syntax/snippet.vim
%vimplugin_dir/plugin/snipMate.vim
%vimplugin_dir/ftplugin/html_snip_helper.vim
-%vimplugin_dir/after
+%dir %vimplugin_dir/after/
+%dir %vimplugin_dir/after/plugin/
+%vimplugin_dir/after/plugin/snipMate.vim
%vimplugin_dir/autoload/snipMate.vim
%vimplugin_dir/doc/snipMate.txt
@@ -1172,6 +1011,7 @@ fi
%files -n vim-plugin-utl
%defattr(-,root,root,0755)
+%doc utl.vim-%{utl_version}/README
%vimplugin_dir/doc/utl_ref.txt
%vimplugin_dir/doc/utl_usr.txt
%vimplugin_dir/plugin/utl_scm.vim
@@ -1186,7 +1026,6 @@ fi
%vimplugin_dir/plugin/vimwiki.vim
%dir %vimplugin_dir/ftplugin
%vimplugin_dir/ftplugin/vimwiki.vim
-%dir %vimplugin_dir/indent
%vimplugin_dir/autoload/vimwiki
%vimplugin_dir/syntax/vimwiki*.vim
diff --git a/vimplugin-NERDcommenter-2.3.0.tar.bz2 b/vimplugin-NERDcommenter-2.3.0.tar.bz2
deleted file mode 100644
index 0187aaa..0000000
--- a/vimplugin-NERDcommenter-2.3.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e5b9d4bafc7574ffc4178f1a5496b01d3b9d3b8997c753001e9927495c58eb05
-size 27473
diff --git a/vimplugin-NERDcommenter-2.5.2.tar.gz b/vimplugin-NERDcommenter-2.5.2.tar.gz
new file mode 100644
index 0000000..4191dde
--- /dev/null
+++ b/vimplugin-NERDcommenter-2.5.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0f044ab154cbc906df9d0bb78cb7a5eafbc26ac596cca99b30f513d029998938
+size 37216
diff --git a/vimplugin-NERDtree-4.2.0.tar.bz2 b/vimplugin-NERDtree-4.2.0.tar.bz2
deleted file mode 100644
index f8a6086..0000000
--- a/vimplugin-NERDtree-4.2.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:98b6ad3ef19b716bff98e38cae66d90cbcf2244ee8fc42e1441d1cafa43755ac
-size 37128
diff --git a/vimplugin-NERDtree-6.10.16.tar.gz b/vimplugin-NERDtree-6.10.16.tar.gz
new file mode 100644
index 0000000..12ef001
--- /dev/null
+++ b/vimplugin-NERDtree-6.10.16.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f0e3a0ba1493c8cbc7d2048c04bee9c002d4b8c0192bd695d9b8a633187e6f63
+size 163149
diff --git a/vimplugin-diffchanges-0.6.346dae2.tar.bz2 b/vimplugin-diffchanges-0.6.346dae2.tar.bz2
deleted file mode 100644
index 9faec8e..0000000
--- a/vimplugin-diffchanges-0.6.346dae2.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:456d7e10819e4f4e565b66d071c71c03763db97de80fbf6ba457a0fe8f516aec
-size 2074
diff --git a/vimplugin-diffchanges-0.6~346dae2.tar.gz b/vimplugin-diffchanges-0.6~346dae2.tar.gz
new file mode 100644
index 0000000..c37dd07
--- /dev/null
+++ b/vimplugin-diffchanges-0.6~346dae2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:22c67227d72e67352b9f2bda7983a9490f9260fef3fdbf777a5baf901d0ca6a1
+size 2272
diff --git a/vimplugin-multiplesearch-1.3.tar.bz2 b/vimplugin-multiplesearch-1.3.tar.bz2
deleted file mode 100644
index 40dbb20..0000000
--- a/vimplugin-multiplesearch-1.3.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fa93ffb621946ee78257f457aa3b8b2ba94990ec6097ccd0439aa085e232500b
-size 5085
diff --git a/vimplugin-multiplesearch-1.3.tar.gz b/vimplugin-multiplesearch-1.3.tar.gz
new file mode 100644
index 0000000..798d3f4
--- /dev/null
+++ b/vimplugin-multiplesearch-1.3.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a5f9d513de00dab849eaadb48e29b0fe926ef4f546255b5c9e1b174543b72cd
+size 5094
diff --git a/vimplugin-project-1.4.1.tar.bz2 b/vimplugin-project-1.4.1.tar.bz2
deleted file mode 100644
index 90e7306..0000000
--- a/vimplugin-project-1.4.1.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3910ce687fdc9e719be2ae239f4da9cb53ccc2dcd209427adfe580457201b0fa
-size 18921
diff --git a/vimplugin-project-1.4.1.tar.gz b/vimplugin-project-1.4.1.tar.gz
new file mode 100644
index 0000000..b0860e6
--- /dev/null
+++ b/vimplugin-project-1.4.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:48ff0d2e191ba9c4e7770b9688c8468318cd20c3485982eca61ed42bc409ae39
+size 21430
diff --git a/vimplugin-searchcomplete-1.1.tar.bz2 b/vimplugin-searchcomplete-1.1.tar.bz2
deleted file mode 100644
index 9cd0a24..0000000
--- a/vimplugin-searchcomplete-1.1.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:800083f0d5395cc20440f2d3ed1b145f0f7c369dd5f8dddbc1fbe9a400bb8e48
-size 1212
diff --git a/vimplugin-searchcomplete-1.1.tar.gz b/vimplugin-searchcomplete-1.1.tar.gz
new file mode 100644
index 0000000..95692e6
--- /dev/null
+++ b/vimplugin-searchcomplete-1.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e9053eb05e6be9c28d3c7329502d65a8e9a89d7ac37d3669ae91e9d8553e40e4
+size 1429
diff --git a/vimplugin-supertab-1.0.tar.bz2 b/vimplugin-supertab-1.0.tar.bz2
deleted file mode 100644
index 139279d..0000000
--- a/vimplugin-supertab-1.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:089b6f36210f21be1bc4722f97c7dffb6466ee9c46149766b65d44bb135e1d20
-size 9049
diff --git a/vimplugin-supertab-2.1.tar.gz b/vimplugin-supertab-2.1.tar.gz
new file mode 100644
index 0000000..0782025
--- /dev/null
+++ b/vimplugin-supertab-2.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e0759d48531697ce52e1799cb41ce6c87c71db259a99f95ca96332d4dbae41d4
+size 15137
diff --git a/vimplugin-utl-2.0.tar.bz2 b/vimplugin-utl-2.0.tar.bz2
deleted file mode 100644
index e93afb9..0000000
--- a/vimplugin-utl-2.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5d0800e843e8866c8785fca92b1fa7bdb2fe66efc0976c7a160fa68ce67ea700
-size 38899
diff --git a/vimplugin-utl-2.0.tar.gz b/vimplugin-utl-2.0.tar.gz
new file mode 100644
index 0000000..1d8acaa
--- /dev/null
+++ b/vimplugin-utl-2.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83c6b70db1f5ccfde517adcebc0269c83530dded5e73313c66adce25155c428f
+size 44675
diff --git a/vimplugin-zoomwin-24.1.tar.gz b/vimplugin-zoomwin-24.1.tar.gz
new file mode 100644
index 0000000..d3d7c35
--- /dev/null
+++ b/vimplugin-zoomwin-24.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a0633194214e34bfd45cd80dc58f505a19eb6e94e02f5124112d64c24cdb2be4
+size 8899
diff --git a/vimplugin-zoomwin-24.tar.bz2 b/vimplugin-zoomwin-24.tar.bz2
deleted file mode 100644
index bf0efdd..0000000
--- a/vimplugin-zoomwin-24.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4e99fe194360a7f73889319d507a3666ab4e052cc0ae82f7a782945b0035bcf8
-size 7965