SPECS: vim-syntax-conkyrc.spec (NEW) - new, from kermit1715 (at) w...

adamg adamg at pld-linux.org
Thu Jan 19 19:03:34 CET 2006


Author: adamg                        Date: Thu Jan 19 18:03:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, from kermit1715 (at) wp.pl

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

---- Diffs:

================================================================
Index: SPECS/vim-syntax-conkyrc.spec
diff -u /dev/null SPECS/vim-syntax-conkyrc.spec:1.1
--- /dev/null	Thu Jan 19 19:03:34 2006
+++ SPECS/vim-syntax-conkyrc.spec	Thu Jan 19 19:03:29 2006
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define		_vimdatadir	%{_datadir}/vim/vimfiles
+%define 	_rc 20050923
+Summary:	Vim syntax: Highlight code in conky config file 
+Summary(pl):	Opis składni dla Vima: podświetlanie kodu wewnatrz plikow konfiguracyjnych conky'ego.
+Name:		vim-syntax-conkyrc
+Version:	1.0
+Release:	0.%{_rc}.1
+# can't find license information.
+License:	as-is
+Group:		Applications/Editors/Vim
+Source0:	http://vim.sourceforge.net/scripts/download_script.php?src_id=4621
+# Source0-md5:	14af15829b26e101df5e020397fa0536
+URL:		http://vim.sourceforge.net/scripts/script.php?script_id=1367
+Requires:	vim >= 6.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_syntax conkyrc
+
+%description
+This script highlights code in conky config file.
+
+%description -l pl
+Ten skrypt podświetla kod w pliku konfiguracyjnym conky'ego.
+
+%prep
+%setup -q -c -T
+install %{SOURCE0} %{_syntax}.vim
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
+install %{_syntax}.vim $RPM_BUILD_ROOT%{_vimdatadir}/syntax
+
+cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{_syntax}.vim <<-EOF
+au BufNewFile,BufRead *%{_syntax} set filetype=%{_syntax}
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_vimdatadir}/syntax/*
+%{_vimdatadir}/ftdetect/*
+
+
+%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  2006/01/19 18:03:29  adamg
+- new, from kermit1715 (at) wp.pl
+
================================================================


More information about the pld-cvs-commit mailing list