]> git.pld-linux.org Git - SPECS.git/blob - vim-syntax-conkyrc.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / vim-syntax-conkyrc.spec
1 %define         _syntax conkyrc
2 %define         _vimdatadir     %{_datadir}/vim/vimfiles
3 %define         _snap   20050923
4 Summary:        Vim syntax: Highlight code in conky config file
5 Summary(pl.UTF-8):      Opis składni dla Vima: podświetlanie kodu wewnątrz plików konfiguracyjnych conky'ego
6 Name:           vim-syntax-conkyrc
7 Version:        %{_snap}
8 Release:        1
9 # can't find license information.
10 License:        as-is
11 Group:          Applications/Editors/Vim
12 Source0:        http://vim.sourceforge.net/scripts/download_script.php?src_id=4621
13 # Source0-md5:  14af15829b26e101df5e020397fa0536
14 URL:            http://vim.sourceforge.net/scripts/script.php?script_id=1367
15 # for _vimdatadir existence
16 Requires:       vim-rt >= 4:6.3.058-3
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This script highlights code in conky config file.
22
23 %description -l pl.UTF-8
24 Ten skrypt podświetla kod w pliku konfiguracyjnym conky'ego.
25
26 %prep
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
32 install %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{_syntax}.vim
33
34 cat > $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{_syntax}.vim <<EOF
35 au BufNewFile,BufRead *%{_syntax} set filetype=%{_syntax}
36 EOF
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %{_vimdatadir}/syntax/*
44 %{_vimdatadir}/ftdetect/*
This page took 0.022875 seconds and 3 git commands to generate.