SPECS: vim-ftplugin-spec.spec (NEW) - created

glen glen at pld-linux.org
Tue Sep 27 21:40:03 CEST 2005


Author: glen                         Date: Tue Sep 27 19:40:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created

---- Files affected:
SPECS:
   vim-ftplugin-spec.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/vim-ftplugin-spec.spec
diff -u /dev/null SPECS/vim-ftplugin-spec.spec:1.1
--- /dev/null	Tue Sep 27 21:40:03 2005
+++ SPECS/vim-ftplugin-spec.spec	Tue Sep 27 21:39:58 2005
@@ -0,0 +1,45 @@
+# $Revision$, $Date$
+
+Summary:	Vim plugin: .spec filetype macros
+Name:		vim-ftplugin-spec
+Version:	0.1
+Release:	0.1
+License:	GPL
+Group:		Applications/Editors/Vim
+Source0:	%{name}.vim
+# for _vimdatadir existence
+Requires:	vim >= 4:6.3.058-3
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_ftplugin	spec
+%define		_vimdatadir	%{_datadir}/vim/vimfiles
+
+%description
+This plugin provides .spec file key bindings and vim settings for
+editing (PLD Linux) .spec files.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
+install %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin/%{_ftplugin}.vim
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_vimdatadir}/ftplugin/*
+
+%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  2005/09/27 19:39:58  glen
+- created
+
================================================================



More information about the pld-cvs-commit mailing list