[packages/vim-plugin-syntastic] new; version 3.7.0
atler
atler at pld-linux.org
Mon Aug 1 17:56:21 CEST 2016
commit b5745c55c59c379898a01dbee0358f962c0a295a
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 1 17:55:48 2016 +0200
new; version 3.7.0
vim-plugin-syntastic.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
---
diff --git a/vim-plugin-syntastic.spec b/vim-plugin-syntastic.spec
new file mode 100644
index 0000000..1f59a24
--- /dev/null
+++ b/vim-plugin-syntastic.spec
@@ -0,0 +1,63 @@
+%define plugin syntastic
+Summary: Vim plugin: Automatic syntax checking
+Name: vim-plugin-%{plugin}
+Version: 3.7.0
+Release: 1
+License: Vim
+Group: Applications/Editors/Vim
+Source0: https://github.com/scrooloose/syntastic/archive/%{version}.tar.gz
+# Source0-md5: 7de3859440922dc51bca229b99abfce2
+URL: http://www.vim.org/scripts/script.php?script_id=2736
+Requires: vim-rt >= 4:7.4.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _vimdatadir %{_datadir}/vim
+
+%description
+Syntastic is a syntax checking plugin that runs files through external
+syntax checkers and displays any resulting errors to the user. This
+can be done on demand, or automatically as files are saved. If syntax
+errors are detected, the user is notified and is happy because they
+didn't have to compile their code or execute their script to find
+them.
+
+%package doc
+Summary: Documentation for syntastic Vim plugin
+Requires(post,postun): /usr/bin/vim
+Requires: %{name} = %{version}-%{release}
+Requires: vim-rt >= 4:7.4.2054-2
+
+%description doc
+Documentation for syntastic Vim plugin.
+
+%prep
+%setup -qn %{plugin}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/
+cp -pr autoload doc plugin syntax_checkers $RPM_BUILD_ROOT%{_vimdatadir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post doc
+%vim_doc_helptags
+
+%postun doc
+%vim_doc_helptags
+
+%files
+%defattr(644,root,root,755)
+%doc README.markdown CONTRIBUTING.md
+%dir %{_vimdatadir}/autoload/syntastic
+%{_vimdatadir}/autoload/syntastic/*.vim
+%{_vimdatadir}/plugin/syntastic.vim
+%dir %{_vimdatadir}/plugin/syntastic
+%{_vimdatadir}/plugin/syntastic/*.vim
+%{_vimdatadir}/syntax_checkers
+
+%files doc
+%defattr(644,root,root,755)
+%{_vimdatadir}/doc/syntastic.txt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-syntastic.git/commitdiff/b5745c55c59c379898a01dbee0358f962c0a295a
More information about the pld-cvs-commit
mailing list