SHA256
1
0
forked from pool/vim-plugins
Dominique Leuenberger 2018-03-02 20:12:55 +00:00 committed by Git OBS Bridge
commit 6ca009aad1
3 changed files with 54 additions and 13 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -50,6 +50,7 @@
%define ack_version 1.0.9
%define editorconfig_version 0.3.3
%define fugitive_version 2.2
%define neomutt_version 20180104
Name: vim-plugins
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
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
Source36: vimplugin-neomutt-%{neomutt_version}.tar.bz2
Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
Patch1: locateopen-1.3-locate-support.patch
Patch2: showmarks-signs.patch
@ -176,7 +178,7 @@ selector.
Version: %colorschemes_version
Release: 0
Summary: Vim color schemes selection
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: vim
@ -307,7 +309,7 @@ the vim window.
Version: %searchcomplete_version
Release: 0
Summary: Tab completion of words inside of a search
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: vim
@ -360,7 +362,7 @@ browse through source code files for different programming languages.
Version: %tlib_version
Release: 0
Summary: Utility functions for vim
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Requires: vim
@ -372,7 +374,7 @@ it unless another plugin requires you to do so.
Version: %tregisters_version
Release: 0
Summary: List, edit, and run/execute registers/clipboards
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Requires: vim
Requires: vim-plugin-tlib
@ -384,7 +386,7 @@ List, edit, and run or execute registers and/or clipboards
Version: %tselectbuffer_version
Release: 0
Summary: A quick buffer selector/switcher
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Requires: vim
@ -397,7 +399,7 @@ different buffer or for deleting buffers.
Version: %tselectfiles_version
Release: 0
Summary: A quick file selector/browser/explorer
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Requires: vim
Requires: vim-plugin-tlib
@ -411,7 +413,7 @@ them.
Version: %utl_version
Release: 0
Summary: Universal text linking for vim
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Requires: vim
@ -454,7 +456,7 @@ which enable you to do all your LaTeX-ing without needing to quit Vim.
Version: %quilt_version
Release: 0
Summary: Quilt support for vim
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: quilt
Requires: vim
@ -466,7 +468,7 @@ Vim plugin that helps with quilt operations from inside vim.
Version: %vimwiki_version
Release: 0
Summary: Personal wiki for vim
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: vim
@ -480,7 +482,7 @@ You do not have to create it manually - vimwiki can make it for you.
Version: %gnupg_version
Release: 0
Summary: Plugin for transparent editing of gpg encrypted files
License: GPL-1.0+
License: GPL-1.0-or-later
Group: Productivity/Text/Editors
Url: https://github.com/jamessan/vim-gnupg
Requires: gpg2
@ -498,7 +500,7 @@ undofile to increase security.
Version: %gitdiff_version
Release: 0
Summary: Show git diff in a split window
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Editors
Requires: git-core
@ -585,8 +587,21 @@ Requires: git-core
%description -n vim-plugin-fugitive
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
%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 ------
pushd vimplugin-locateopen-%locateopen_version
%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
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
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/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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cb70210e6b9a25517182efd99cef0a7e351a21268d1c161e2c9fa5ed505b246
size 11977