]> git.pld-linux.org Git - packages/vim-plugin-python-pep8-indent.git/blob - vim-plugin-python-pep8-indent.spec
install to vimfiles dir to override system file
[packages/vim-plugin-python-pep8-indent.git] / vim-plugin-python-pep8-indent.spec
1 %define         snap    20150817
2 %define         plugin  python-pep8-indent
3 Summary:        Vim plugin: Python pep8 indent
4 Name:           vim-plugin-%{plugin}
5 Version:        0.1
6 Release:        0.%{snap}.1
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
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _vimdatadir     %{_datadir}/vim/vimfiles
17
18 %description
19 A nicer Python indentation style for Vim.
20
21 %prep
22 %setup -q -n vim-%{plugin}-master
23
24 %install
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
28
29 %clean
30 rm -rf $RPM_BUILD_ROOT
31
32 %files
33 %defattr(644,root,root,755)
34 %doc AUTHORS.rst CONTRIBUTING.rst README.rst 
35 %{_vimdatadir}/indent/python.vim
This page took 0.058717 seconds and 3 git commands to generate.