]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-flake8.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / vim-plugin-flake8.spec
1 %define         plugin  flake8
2 Summary:        Vim plugin: flake8
3 Name:           vim-plugin-%{plugin}
4 Version:        1.4
5 Release:        1
6 License:        Vim
7 Group:          Applications/Editors/Vim
8 Source0:        https://github.com/nvie/vim-flake8/archive/%{version}.tar.gz
9 # Source0-md5:  ed3029ccf91d677129a84f5ad924cc33
10 URL:            https://github.com/nvie/vim-flake8
11 Requires:       flake8
12 Requires:       vim-rt >= 4:7.2.170
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _vimdatadir     %{_datadir}/vim
17
18 %description
19 Vim plugin that runs the currently open file through Flake8, a static
20 syntax and style checker for Python source code.
21
22 %prep
23 %setup -q -n vim-%{plugin}-%{version}
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27
28 install -d $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
29 cp -a */*.vim $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(644,root,root,755)
36 %doc README.mdown
37 %{_vimdatadir}/ftplugin/python_flake8.vim
This page took 0.35857 seconds and 3 git commands to generate.