Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #47 from kai4785/master
Browse files Browse the repository at this point in the history
Adding an rpm spec file
  • Loading branch information
whiteinge committed Jul 1, 2017
2 parents 28061c8 + 25d4def commit 6ca9e35
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions salt-vim.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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 <kai@gnukai.com> - 0.0.1-1
- Initial RPM spec


0 comments on commit 6ca9e35

Please sign in to comment.