SPECS: vim-syntax-conkyrc.spec - let the data be version of the pa...
adamg
adamg at pld-linux.org
Thu Jan 19 19:11:16 CET 2006
Author: adamg Date: Thu Jan 19 18:11:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 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
---- Files affected:
SPECS:
vim-syntax-conkyrc.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/vim-syntax-conkyrc.spec
diff -u SPECS/vim-syntax-conkyrc.spec:1.1 SPECS/vim-syntax-conkyrc.spec:1.2
--- SPECS/vim-syntax-conkyrc.spec:1.1 Thu Jan 19 19:03:29 2006
+++ SPECS/vim-syntax-conkyrc.spec Thu Jan 19 19:11:10 2006
@@ -1,23 +1,23 @@
# $Revision$, $Date$
+%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.
@@ -25,16 +25,14 @@
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 <<EOF
au BufNewFile,BufRead *%{_syntax} set filetype=%{_syntax}
EOF
@@ -46,13 +44,16 @@
%{_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.2 2006/01/19 18:11:10 adamg
+- 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
+
Revision 1.1 2006/01/19 18:03:29 adamg
- new, from kermit1715 (at) wp.pl
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/vim-syntax-conkyrc.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list