]> git.pld-linux.org Git - packages/vim-plugin-syntastic.git/commitdiff
new; version 3.7.0
authorJan Palus <atler@pld-linux.org>
Mon, 1 Aug 2016 15:55:48 +0000 (17:55 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 1 Aug 2016 15:55:48 +0000 (17:55 +0200)
vim-plugin-syntastic.spec [new file with mode: 0644]

diff --git a/vim-plugin-syntastic.spec b/vim-plugin-syntastic.spec
new file mode 100644 (file)
index 0000000..1f59a24
--- /dev/null
@@ -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
This page took 0.086915 seconds and 4 git commands to generate.