SPECS: vim-syntax-spec.spec (NEW) - separated from vim.spec as has...
glen
glen at pld-linux.org
Sun Jan 27 02:43:58 CET 2008
Author: glen Date: Sun Jan 27 01:43:58 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- separated from vim.spec as has different release intervals
---- Files affected:
SPECS:
vim-syntax-spec.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/vim-syntax-spec.spec
diff -u /dev/null SPECS/vim-syntax-spec.spec:1.1
--- /dev/null Sun Jan 27 02:43:58 2008
+++ SPECS/vim-syntax-spec.spec Sun Jan 27 02:43:53 2008
@@ -0,0 +1,45 @@
+# $Revision$, $Date$
+Summary: Vim syntax: RPM specfiles
+Name: vim-syntax-spec
+Version: 1.70
+Release: 1
+License: Charityware
+Group: Applications/Editors/Vim
+Source0: spec.vim
+Source1: vim-ftplugin-spec.vim
+# for _vimdatadir existence
+Requires: vim >= 4:6.3.058-3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _vimdatadir %{_datadir}/vim/vimfiles
+%define syntax spec
+
+%description
+This plugin provides syntax highlighting for RPM spec files.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftplugin}
+install %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/spec.vim
+install %{SOURCE1} $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin/spec.vim
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_vimdatadir}/syntax/spec.vim
+%{_vimdatadir}/ftplugin/spec.vim
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-01-27 01:43:53 glen
+- separated from vim.spec as has different release intervals
+
================================================================
More information about the pld-cvs-commit
mailing list