From 881a4c6e53f29fd47013104861b3479419dacc13 Mon Sep 17 00:00:00 2001 From: Adam GoÅ‚Ä™biowski Date: Thu, 19 Jan 2006 18:11:10 +0000 Subject: - let the data be version of the package - added missing epoch in R: vim - there's nothing to be done in prep, we can do everything in %install Changed files: vim-syntax-conkyrc.spec -> 1.2 diff --git a/vim-syntax-conkyrc.spec b/vim-syntax-conkyrc.spec index fffacad..c59fac5 100644 --- a/vim-syntax-conkyrc.spec +++ b/vim-syntax-conkyrc.spec @@ -1,22 +1,22 @@ +%define _syntax conkyrc %define _vimdatadir %{_datadir}/vim/vimfiles -%define _rc 20050923 +%define _snap 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 +Version: %{_snap} +Release: 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 +Requires: vim >= 4:6.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _syntax conkyrc - %description This script highlights code in conky config file. @@ -24,16 +24,14 @@ This script highlights code in conky config file. 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 +install %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{_syntax}.vim -cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{_syntax}.vim <<-EOF +cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{_syntax}.vim <