From 00a4b16163970fd8ee03a4dcfd8e2c096b260212a9936b104a2bc0bbdcd2af03 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 15 Nov 2021 12:39:21 +0000 Subject: [PATCH] add vim-markdown OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=72 --- _service | 10 ++++++++ file-line-1.0+20161020.obscpio | 2 +- vim-latex-1.10.0+20210323.obscpio | 4 +-- vim-markdown-2.0.0+20200714.obscpio | 3 +++ vim-markdown.obsinfo | 5 ++++ vim-plugins.changes | 5 ++++ vim-plugins.spec | 39 ++++++++++++++++++++++++++--- 7 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 vim-markdown-2.0.0+20200714.obscpio create mode 100644 vim-markdown.obsinfo 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..dd311b4 100644 --- a/vim-plugins.changes +++ b/vim-plugins.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 15 12:38:37 UTC 2021 - Jiri Slaby + +- add vim-markdown 2.0.0+20200714 + ------------------------------------------------------------------- Thu Sep 30 06:04:37 UTC 2021 - Jiri Slaby diff --git a/vim-plugins.spec b/vim-plugins.spec index 21a6ace..4eb3287 100644 --- a/vim-plugins.spec +++ b/vim-plugins.spec @@ -32,6 +32,7 @@ %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 @@ -101,6 +102,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 +337,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 +645,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 @@ -655,13 +669,17 @@ pushd tlib_vim-%{tlib_version} rm -r addon-info.json doc/tags etc samples scripts test popd +pushd vim-markdown-%{markdown_version} +rm -rf 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 + vim-markdown-* vim-gnupg-*; do pushd $i cp -av * %buildroot/%vimplugin_dir/ popd @@ -681,9 +699,10 @@ 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/CONTRIBUT* rm -rf %{buildroot}/%vimplugin_dir/LICENSE* 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/README* rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css} @@ -1057,6 +1076,19 @@ fi %defattr(-,root,root,0755) %vimplugin_dir/plugin/locateopen.vim +%files -n vim-plugin-markdown +%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 %vimplugin_dir/registry +%vimplugin_dir/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 @@ -1186,7 +1218,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