summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Gołębiowski2006-01-19 18:11:10 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit881a4c6e53f29fd47013104861b3479419dacc13 (patch)
treed7372eb09ad4c8172c50dee1d3ea8e56d07813f9
parent571d62c52a17d98fb5a3d297eb11a394d2528078 (diff)
downloadvim-syntax-conkyrc-881a4c6e53f29fd47013104861b3479419dacc13.zip
vim-syntax-conkyrc-881a4c6e53f29fd47013104861b3479419dacc13.tar.gz
- 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
-rw-r--r--vim-syntax-conkyrc.spec18
1 files changed, 8 insertions, 10 deletions
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 <<EOF
au BufNewFile,BufRead *%{_syntax} set filetype=%{_syntax}
EOF