2 %define plugin python-pep8-indent
3 Summary: Vim plugin: Python pep8 indent
4 Name: vim-plugin-%{plugin}
7 License: CC0 1.0 Universal
8 Group: Applications/Editors/Vim
9 Source0: https://github.com/hynek/vim-python-pep8-indent/archive/master.tar.gz
10 # Source0-md5: 8b1174311aedccb17807c9cac7c5baee
11 URL: https://github.com/hynek/vim-python-pep8-indent
12 Requires: vim-rt >= 4:6.3.058-3
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _vimdatadir %{_datadir}/vim/vimfiles
19 A nicer Python indentation style for Vim.
22 %setup -q -n vim-%{plugin}-master
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_vimdatadir}/indent
27 cp -p indent/python.vim $RPM_BUILD_ROOT%{_vimdatadir}/indent
30 rm -rf $RPM_BUILD_ROOT
33 %defattr(644,root,root,755)
34 %doc AUTHORS.rst CONTRIBUTING.rst README.rst
35 %{_vimdatadir}/indent/python.vim