forked from pool/vim-plugins
add vim-markdown
OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=72
This commit is contained in:
parent
dc51af2bfe
commit
00a4b16163
10
_service
10
_service
@ -11,6 +11,16 @@
|
|||||||
<param name="obsinfo">file-line.obsinfo</param>
|
<param name="obsinfo">file-line.obsinfo</param>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
<service name="obs_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/plasticboy/vim-markdown</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+%cd</param>
|
||||||
|
<param name="revision">8e5d86f7b85234d3d1b4207dceebc43a768ed5d4</param>
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
<param name="obsinfo">vim-markdown.obsinfo</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
<service name="obs_scm" mode="disabled">
|
<service name="obs_scm" mode="disabled">
|
||||||
<param name="url">https://github.com/vim-latex/vim-latex</param>
|
<param name="url">https://github.com/vim-latex/vim-latex</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:f3e05f77f305ba2a8d0531b7c8a5eb0f44424a344f95f3cef0249b393aadcdec
|
oid sha256:1be708765bc55ce44894c7a2cdf895903687a30a4c3d6c733d5dab87c4ce1930
|
||||||
size 4105
|
size 4105
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:4220d3efaeac676e1e66f31a238b8c23599adedc862670ff681f8c7f79887853
|
oid sha256:1ab6380c4cb55055a5d7e88a58f3cc45ffcff258412cf65cd3971cb1add7d139
|
||||||
size 1011212
|
size 1011724
|
||||||
|
3
vim-markdown-2.0.0+20200714.obscpio
Normal file
3
vim-markdown-2.0.0+20200714.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:110f6fc76bd09f482bbf5cdda7433ef78e26fb5fa2517857295b38f9e21334fb
|
||||||
|
size 158219
|
5
vim-markdown.obsinfo
Normal file
5
vim-markdown.obsinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: vim-markdown
|
||||||
|
version: 2.0.0+20200714
|
||||||
|
mtime: 1594729550
|
||||||
|
commit: 8e5d86f7b85234d3d1b4207dceebc43a768ed5d4
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 15 12:38:37 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
- add vim-markdown 2.0.0+20200714
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 30 06:04:37 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
Thu Sep 30 06:04:37 UTC 2021 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
%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
|
||||||
%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
|
||||||
@ -101,6 +102,7 @@ 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-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
|
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
|
||||||
@ -335,6 +337,18 @@ Usage:
|
|||||||
:LocateSource somefile.vim
|
:LocateSource somefile.vim
|
||||||
:LocateRead somefile.txt
|
: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
|
%package -n vim-plugin-matrix
|
||||||
Version: %matrix_version
|
Version: %matrix_version
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -631,7 +645,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
|
%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 ------
|
# ------- patch locateopen ------
|
||||||
pushd LocateOpen-%locateopen_version
|
pushd LocateOpen-%locateopen_version
|
||||||
%patch1
|
%patch1
|
||||||
@ -655,13 +669,17 @@ 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 -rf 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-* \
|
||||||
colorsel.vim-* bufexplorer-* editorconfig-vim-* file-line-* \
|
colorsel.vim-* bufexplorer-* editorconfig-vim-* file-line-* \
|
||||||
gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \
|
gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* minibufexpl.vim-* \
|
||||||
ShowMarks7-* \
|
ShowMarks7-* \
|
||||||
tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* vim-fugitive-* \
|
tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* vim-fugitive-* \
|
||||||
vim-gnupg-*; do
|
vim-markdown-* vim-gnupg-*; do
|
||||||
pushd $i
|
pushd $i
|
||||||
cp -av * %buildroot/%vimplugin_dir/
|
cp -av * %buildroot/%vimplugin_dir/
|
||||||
popd
|
popd
|
||||||
@ -681,9 +699,10 @@ install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
|||||||
|
|
||||||
# delete unneeded files
|
# delete unneeded files
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/CHANGES*
|
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/LICENSE*
|
||||||
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}
|
||||||
@ -1057,6 +1076,19 @@ fi
|
|||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%vimplugin_dir/plugin/locateopen.vim
|
%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
|
%files -n vim-plugin-matrix
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%vimplugin_dir/plugin/matrix.vim
|
%vimplugin_dir/plugin/matrix.vim
|
||||||
@ -1186,7 +1218,6 @@ 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user