]>
Commit | Line | Data |
---|---|---|
cbca3e07 ER |
1 | Summary: bash-completion for vim |
2 | Name: bash-completion-vim | |
3 | Version: 0.20051009 | |
4 | Release: 0.2 | |
5 | License: GPL | |
6 | Group: Applications/Shells | |
7 | Source0: ftp://ftp.linux.ee/pub/gentoo/portage/app-editors/vim/files/vim-completion | |
8 | # Source0-md5: 87fe7821e180647f3bf48ed099a22b83 | |
9 | Patch0: vim-completion-vi.patch | |
10 | BuildArch: noarch | |
11 | Requires: bash-completion | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %define _sysconfdir /etc/bash_completion.d | |
15 | ||
16 | %description | |
17 | bash-completion for vim. | |
18 | ||
19 | %prep | |
20 | %setup -q -T -c | |
21 | cp %{SOURCE0} . | |
22 | %patch0 -p1 | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_sysconfdir} | |
27 | install vim-completion $RPM_BUILD_ROOT%{_sysconfdir}/vim | |
28 | ||
29 | %clean | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | ||
32 | %files | |
33 | %defattr(644,root,root,755) | |
34 | %{_sysconfdir}/* |