forked from pool/vim-plugins
Accepting request 581726 from home:dsterba:branches:editors
- add plugin for neomutt config files OBS-URL: https://build.opensuse.org/request/show/581726 OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=50
This commit is contained in:
parent
605ab05871
commit
28e1fd961d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 27 00:00:00 CET 2018 - dsterba@suse.cz
|
||||||
|
|
||||||
|
- add plugin for neomutt config files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 10 08:15:38 UTC 2017 - tchvatal@suse.com
|
Mon Apr 10 08:15:38 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vim-plugins
|
# spec file for package vim-plugins
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -50,6 +50,7 @@
|
|||||||
%define ack_version 1.0.9
|
%define ack_version 1.0.9
|
||||||
%define editorconfig_version 0.3.3
|
%define editorconfig_version 0.3.3
|
||||||
%define fugitive_version 2.2
|
%define fugitive_version 2.2
|
||||||
|
%define neomutt_version 20180104
|
||||||
|
|
||||||
Name: vim-plugins
|
Name: vim-plugins
|
||||||
Version: 7.2.22
|
Version: 7.2.22
|
||||||
@ -92,6 +93,7 @@ Source31: vimplugin-rails-%{rails_version}.tar.bz2
|
|||||||
Source32: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
|
Source32: 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
|
||||||
Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
|
Source100: 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
|
||||||
@ -176,7 +178,7 @@ selector.
|
|||||||
Version: %colorschemes_version
|
Version: %colorschemes_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Vim color schemes selection
|
Summary: Vim color schemes selection
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -307,7 +309,7 @@ the vim window.
|
|||||||
Version: %searchcomplete_version
|
Version: %searchcomplete_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tab completion of words inside of a search
|
Summary: Tab completion of words inside of a search
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -360,7 +362,7 @@ browse through source code files for different programming languages.
|
|||||||
Version: %tlib_version
|
Version: %tlib_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility functions for vim
|
Summary: Utility functions for vim
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -372,7 +374,7 @@ it unless another plugin requires you to do so.
|
|||||||
Version: %tregisters_version
|
Version: %tregisters_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: List, edit, and run/execute registers/clipboards
|
Summary: List, edit, and run/execute registers/clipboards
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
Requires: vim-plugin-tlib
|
Requires: vim-plugin-tlib
|
||||||
@ -384,7 +386,7 @@ List, edit, and run or execute registers and/or clipboards
|
|||||||
Version: %tselectbuffer_version
|
Version: %tselectbuffer_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A quick buffer selector/switcher
|
Summary: A quick buffer selector/switcher
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -397,7 +399,7 @@ different buffer or for deleting buffers.
|
|||||||
Version: %tselectfiles_version
|
Version: %tselectfiles_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A quick file selector/browser/explorer
|
Summary: A quick file selector/browser/explorer
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
Requires: vim-plugin-tlib
|
Requires: vim-plugin-tlib
|
||||||
@ -411,7 +413,7 @@ them.
|
|||||||
Version: %utl_version
|
Version: %utl_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Universal text linking for vim
|
Summary: Universal text linking for vim
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -454,7 +456,7 @@ which enable you to do all your LaTeX-ing without needing to quit Vim.
|
|||||||
Version: %quilt_version
|
Version: %quilt_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Quilt support for vim
|
Summary: Quilt support for vim
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: quilt
|
Requires: quilt
|
||||||
Requires: vim
|
Requires: vim
|
||||||
@ -466,7 +468,7 @@ Vim plugin that helps with quilt operations from inside vim.
|
|||||||
Version: %vimwiki_version
|
Version: %vimwiki_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Personal wiki for vim
|
Summary: Personal wiki for vim
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: vim
|
Requires: vim
|
||||||
|
|
||||||
@ -480,7 +482,7 @@ You do not have to create it manually - vimwiki can make it for you.
|
|||||||
Version: %gnupg_version
|
Version: %gnupg_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Plugin for transparent editing of gpg encrypted files
|
Summary: Plugin for transparent editing of gpg encrypted files
|
||||||
License: GPL-1.0+
|
License: GPL-1.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Url: https://github.com/jamessan/vim-gnupg
|
Url: https://github.com/jamessan/vim-gnupg
|
||||||
Requires: gpg2
|
Requires: gpg2
|
||||||
@ -498,7 +500,7 @@ undofile to increase security.
|
|||||||
Version: %gitdiff_version
|
Version: %gitdiff_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Show git diff in a split window
|
Summary: Show git diff in a split window
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
Requires: git-core
|
Requires: git-core
|
||||||
|
|
||||||
@ -585,8 +587,21 @@ Requires: git-core
|
|||||||
%description -n vim-plugin-fugitive
|
%description -n vim-plugin-fugitive
|
||||||
Provides git integration with vim.
|
Provides git integration with vim.
|
||||||
|
|
||||||
|
%package -n vim-plugin-neomutt
|
||||||
|
|
||||||
|
Version: %neomutt_version
|
||||||
|
Release: 0
|
||||||
|
Summary: Neomutt plugin for Vim
|
||||||
|
License: Vim
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
|
||||||
|
%description -n vim-plugin-neomutt
|
||||||
|
This plugin provides syntax for the neomutt configuration file. In addition, it
|
||||||
|
sets the mail filetype to temporary mail files created by neomutt when writing
|
||||||
|
or editing emails.
|
||||||
|
|
||||||
%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 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a34 -a35
|
%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 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a34 -a35 -a36
|
||||||
# ------- patch locateopen ------
|
# ------- patch locateopen ------
|
||||||
pushd vimplugin-locateopen-%locateopen_version
|
pushd vimplugin-locateopen-%locateopen_version
|
||||||
%patch1
|
%patch1
|
||||||
@ -871,6 +886,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-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
|
||||||
|
|
||||||
%post
|
%post
|
||||||
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
|
||||||
|
|
||||||
@ -1090,4 +1115,12 @@ fi
|
|||||||
%vimplugin_dir/plugin/fugitive.vim
|
%vimplugin_dir/plugin/fugitive.vim
|
||||||
%vimplugin_dir/doc/fugitive.txt
|
%vimplugin_dir/doc/fugitive.txt
|
||||||
|
|
||||||
|
%files -n vim-plugin-neomutt
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%vimplugin_dir/doc/neomutt.txt
|
||||||
|
%vimplugin_dir/ftdetect/mail.vim
|
||||||
|
%vimplugin_dir/ftdetect/neomuttrc.vim
|
||||||
|
%vimplugin_dir/ftplugin/neomuttrc.vim
|
||||||
|
%vimplugin_dir/syntax/neomuttrc.vim
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
vimplugin-neomutt-20180104.tar.bz2
Normal file
3
vimplugin-neomutt-20180104.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6cb70210e6b9a25517182efd99cef0a7e351a21268d1c161e2c9fa5ed505b246
|
||||||
|
size 11977
|
Loading…
Reference in New Issue
Block a user