From: Arkadiusz Miƛkiewicz Date: Mon, 17 Aug 2015 08:00:03 +0000 (+0200) Subject: - initial but not usable since vim/indent/python.vim conflicts with vim-rt one X-Git-Tag: auto/th/vim-plugin-python-pep8-indent-0.1-0.20150817.1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=5fb410042351a55425bead100a9fc3d080628441;p=packages%2Fvim-plugin-python-pep8-indent.git - initial but not usable since vim/indent/python.vim conflicts with vim-rt one --- 5fb410042351a55425bead100a9fc3d080628441 diff --git a/vim-plugin-python-pep8-indent.spec b/vim-plugin-python-pep8-indent.spec new file mode 100644 index 0000000..00ee81f --- /dev/null +++ b/vim-plugin-python-pep8-indent.spec @@ -0,0 +1,36 @@ +%define snap 20150817 +%define plugin python-pep8-indent +Summary: Vim plugin: Python pep8 indent +Name: vim-plugin-%{plugin} +Version: 0.1 +Release: 0.%{snap}.1 +License: CC0 1.0 Universal +Group: Applications/Editors/Vim +Source0: https://github.com/hynek/vim-python-pep8-indent/archive/master.tar.gz +# Source0-md5: 8b1174311aedccb17807c9cac7c5baee +URL: https://github.com/hynek/vim-python-pep8-indent +Requires: vim-rt >= 4:7.2.170 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _vimdatadir %{_datadir}/vim + +%description +A nicer Python indentation style for vim. + +%prep +%setup -q -n vim-%{plugin}-master + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_vimdatadir}/indent +cp -a indent/python.vim $RPM_BUILD_ROOT%{_vimdatadir}/indent + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS.rst CONTRIBUTING.rst README.rst +%{_vimdatadir}/indent/python.vim