]> git.pld-linux.org Git - packages/vim-plugin-flake8.git/commitdiff
- initial master auto/th/vim-plugin-flake8-1.4-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 27 Nov 2014 21:59:48 +0000 (22:59 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 27 Nov 2014 21:59:48 +0000 (22:59 +0100)
vim-plugin-flake8.spec [new file with mode: 0644]

diff --git a/vim-plugin-flake8.spec b/vim-plugin-flake8.spec
new file mode 100644 (file)
index 0000000..aa5934b
--- /dev/null
@@ -0,0 +1,37 @@
+%define                plugin  flake8
+Summary:       Vim plugin: flake8
+Name:          vim-plugin-%{plugin}
+Version:       1.4
+Release:       1
+License:       Vim
+Group:         Applications/Editors/Vim
+Source0:       https://github.com/nvie/vim-flake8/archive/%{version}.tar.gz
+# Source0-md5: ed3029ccf91d677129a84f5ad924cc33
+URL:           https://github.com/nvie/vim-flake8
+Requires:      flake8
+Requires:      vim-rt >= 4:7.2.170
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _vimdatadir     %{_datadir}/vim
+
+%description
+Vim plugin that runs the currently open file through Flake8, a static
+syntax and style checker for Python source code.
+
+%prep
+%setup -q -n vim-%{plugin}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
+cp -a */*.vim $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.mdown
+%{_vimdatadir}/ftplugin/python_flake8.vim
This page took 0.104395 seconds and 4 git commands to generate.