]> git.pld-linux.org Git - packages/vim-plugin-python-pep8-indent.git/commitdiff
- initial but not usable since vim/indent/python.vim conflicts with vim-rt one
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 Aug 2015 08:00:03 +0000 (10:00 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 Aug 2015 08:00:03 +0000 (10:00 +0200)
vim-plugin-python-pep8-indent.spec [new file with mode: 0644]

diff --git a/vim-plugin-python-pep8-indent.spec b/vim-plugin-python-pep8-indent.spec
new file mode 100644 (file)
index 0000000..00ee81f
--- /dev/null
@@ -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
This page took 0.057062 seconds and 4 git commands to generate.