# # spec file for package vim-plugin-lsp # # Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: vim-plugin-lsp Version: 0.0.3750611 Release: 0 Summary: Language Server Protocol (LSP) plugin for Vim License: MIT URL: https://github.com/yegappan/lsp.git Source0: %{name}-v%{version}.tar.gz BuildArch: noarch Buildrequires: rsync Buildrequires: vim Requires: vim %define vimplugin_dir %{_datadir}/vim/site %description Language Server Protocol (LSP) plugin for Vim. %prep %setup -q -n lsp-main %build %install # BEGIN EXCLUDES cat > .rsync-filter < /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-lsp %files %license LICENSE %doc README.md %vimplugin_dir/autoload/lsp %vimplugin_dir/doc/lsp.txt %dir %vimplugin_dir/ftplugin/ %vimplugin_dir/ftplugin/lspgfm.vim %vimplugin_dir/plugin/lsp.vim %vimplugin_dir/syntax/lspgfm.vim %changelog