Author: glen Date: Mon Jul 18 15:35:35 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - use "set filetype" to get syntax applied unconditionally - unification - rel 1
---- Files affected: SPECS: vim-syntax-eruby.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SPECS/vim-syntax-eruby.spec diff -u SPECS/vim-syntax-eruby.spec:1.3 SPECS/vim-syntax-eruby.spec:1.4 --- SPECS/vim-syntax-eruby.spec:1.3 Fri May 13 18:51:12 2005 +++ SPECS/vim-syntax-eruby.spec Mon Jul 18 17:35:30 2005 @@ -6,7 +6,7 @@ Summary(pl): Opis składni dla Vima: podświetlanie bloków kodu eruby wewnątrz HTML-a Name: vim-syntax-eruby Version: 2.0 -Release: 0.2 +Release: 1 # dunno, can't find license information. License: as-is Group: Applications/Editors/Vim @@ -19,6 +19,8 @@ BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define _syntax eruby + %description This script properly highlights <%...%>, <%=...%>, and <%#...%> as ruby code within HTML. @@ -29,17 +31,17 @@ %prep %setup -q -c -T -install %{SOURCE0} eruby.vim +install %{SOURCE0} %{_syntax}.vim %patch0 -p1 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect} -install eruby.vim $RPM_BUILD_ROOT%{_vimdatadir}/syntax +install %{_syntax}.vim $RPM_BUILD_ROOT%{_vimdatadir}/syntax -cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{name}.vim <<-EOF -au BufNewFile,BufRead *.rhtml setfiletype eruby +cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{_syntax}.vim <<-EOF +au BufNewFile,BufRead *.rhtml set filetype=%{_syntax} EOF %clean @@ -56,6 +58,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2005/07/18 15:35:30 glen +- use "set filetype" to get syntax applied unconditionally +- unification +- rel 1 + Revision 1.3 2005/05/13 16:51:12 qboosh - pl ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/vim-syntax-eruby.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit