forked from vmware-archive/salt-vim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
salt-vim.spec
42 lines (30 loc) · 1.05 KB
/
salt-vim.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: salt-vim
Version: 0.0.1
Release: 1%{?dist}
Summary: Vim files for working on Salt files
Group: Applications/Editors
License: ASL 2.0
URL: https://github.com/saltstack/salt-vim
Source0: https://github.com/saltstack/salt-vim/archive/master.tar.gz
Requires: vim >= 7
%description
Vim files for working on Salt files
%prep
%setup -q -n salt-vim-master
%build
%install
mkdir -p %{buildroot}%{_defaultlicensedir}/%{name}-%{version}
mkdir -p %{buildroot}%{_datarootdir}/vim/vimfiles/{syntax,ftdetect,ftplugin}
cp syntax/sls.vim %{buildroot}%{_datarootdir}/vim/vimfiles/syntax/
cp ftdetect/sls.vim %{buildroot}%{_datarootdir}/vim/vimfiles/ftdetect/
cp ftplugin/sls.vim %{buildroot}%{_datarootdir}/vim/vimfiles/ftplugin/
cp LICENSE %{buildroot}%{_defaultlicensedir}/%{name}-%{version}
%files
%{_datarootdir}/vim/vimfiles/syntax/sls.vim
%{_datarootdir}/vim/vimfiles/ftdetect/sls.vim
%{_datarootdir}/vim/vimfiles/ftplugin/sls.vim
%{_defaultlicensedir}/%{name}-%{version}/LICENSE
%doc
%changelog
* Mon Dec 19 2016 Kai Meyer <[email protected]> - 0.0.1-1
- Initial RPM spec