commit c1012169c28b085ec09df4abf9e65e5ef35f5b17
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Dec 5 17:10:52 2013 +0200

    new, version 2.03

 vim-plugin-checksyntax.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/vim-plugin-checksyntax.spec b/vim-plugin-checksyntax.spec
new file mode 100644
index 0000000..7010d34
--- /dev/null
+++ b/vim-plugin-checksyntax.spec
@@ -0,0 +1,43 @@
+%define                plugin  checksyntax
+Summary:       Check a file's syntax when saving a file (PHP, Ruby, Tex ...) 
with Vim
+Name:          vim-plugin-%{plugin}
+Version:       2.03
+Release:       1
+License:       GPL
+Group:         Applications/Editors/Vim
+Source0:       
https://github.com/tomtom/checksyntax_vim/archive/%{version}/%{plugin}-%{version}.tar.gz
+# Source0-md5: 235de7ae32b861262d74c4bf0212da90
+URL:           https://github.com/tomtom/checksyntax_vim
+Requires:      vim-rt >= 4:7.2.170
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _vimdatadir     %{_datadir}/vim
+
+%description
+The checksyntax plugin runs an external syntax checker for the current
+buffer whenever the buffer is saved. Syntax errors are managed as
+location or quickfix lists. If any syntax error occurs, the
+location-list is opened. You can use any location-list related command
+to navigate the list of syntax errors.
+
+%prep
+%setup -qn checksyntax_vim-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}
+cp -a autoload doc plugin $RPM_BUILD_ROOT%{_vimdatadir}
+
+gzip -9nf $RPM_BUILD_ROOT%{_vimdatadir}/doc/checksyntax.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README CHANGES.TXT
+%{_vimdatadir}/autoload/*.vim
+%{_vimdatadir}/autoload/checksyntax
+%{_vimdatadir}/doc/checksyntax.txt*
+%{_vimdatadir}/plugin/checksyntax.vim
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-checksyntax.git/commitdiff/c1012169c28b085ec09df4abf9e65e5ef35f5b17

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to