Author: glen                         Date: Fri Sep 17 08:31:39 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/vim-syntax-ael:
   filetype.vim (NONE -> 1.1)  (NEW), vim-syntax-ael.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim-syntax-ael/filetype.vim
diff -u /dev/null packages/vim-syntax-ael/filetype.vim:1.1
--- /dev/null   Fri Sep 17 10:31:39 2010
+++ packages/vim-syntax-ael/filetype.vim        Fri Sep 17 10:31:33 2010
@@ -0,0 +1,7 @@
+" put this file to $HOME/.vim
+if exists("have_load_filetypes")
+      finish
+endif
+augroup filetypedetect
+      au! BufRead,BufNewFile *.ael     setfiletype ael
+augroup END

================================================================
Index: packages/vim-syntax-ael/vim-syntax-ael.spec
diff -u /dev/null packages/vim-syntax-ael/vim-syntax-ael.spec:1.1
--- /dev/null   Fri Sep 17 10:31:39 2010
+++ packages/vim-syntax-ael/vim-syntax-ael.spec Fri Sep 17 10:31:33 2010
@@ -0,0 +1,46 @@
+# $Revision$, $Date$
+%define                syntax  ael
+Summary:       ael.vim : Syntax for Asterisk Extension Language (AEL)
+Name:          vim-syntax-%{syntax}
+Version:       0.3
+Release:       1
+License:       Vim
+Group:         Applications/Editors/Vim
+Source0:       
http://www.vim.org/scripts/download_script.php?src_id=12203#/%{syntax}.vim
+# Source0-md5: 3342cdd2b14ddb6427e53b5855bb99c9
+Source1:       filetype.vim
+URL:           http://www.vim.org/scripts/script.php?script_id=1900
+Requires:      vim-rt >= 4:7.2.170
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _vimdatadir     %{_datadir}/vim
+
+%description
+Includes highlighting for most of the basic structure of AEL files.
+
+%prep
+%setup -qcT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
+cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{syntax}.vim
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{syntax}.vim
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_vimdatadir}/syntax/%{syntax}.vim
+%{_vimdatadir}/ftdetect/%{syntax}.vim
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/17 08:31:33  glen
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to