]> git.pld-linux.org Git - SPECS.git/blob - vim-syntax-ael.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / vim-syntax-ael.spec
1 %define         syntax  ael
2 Summary:        ael.vim : Syntax for Asterisk Extension Language (AEL)
3 Name:           vim-syntax-%{syntax}
4 Version:        0.3
5 Release:        1
6 License:        Vim
7 Group:          Applications/Editors/Vim
8 Source0:        http://www.vim.org/scripts/download_script.php?src_id=12203#/%{syntax}.vim
9 # Source0-md5:  3342cdd2b14ddb6427e53b5855bb99c9
10 Source1:        filetype.vim
11 URL:            http://www.vim.org/scripts/script.php?script_id=1900
12 Requires:       vim-rt >= 4:7.2.170
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _vimdatadir     %{_datadir}/vim
17
18 %description
19 Includes highlighting for most of the basic structure of AEL files.
20
21 %prep
22 %setup -qcT
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
27 cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_vimdatadir}/syntax/%{syntax}.vim
28 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/%{syntax}.vim
29
30 %clean
31 rm -rf $RPM_BUILD_ROOT
32
33 %files
34 %defattr(644,root,root,755)
35 %{_vimdatadir}/syntax/%{syntax}.vim
36 %{_vimdatadir}/ftdetect/%{syntax}.vim
This page took 0.687025 seconds and 3 git commands to generate.