]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-pathogen.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / vim-plugin-pathogen.spec
1 %define         plugin  pathogen
2 Summary:        Vim plugin: Easy manipulation of 'runtimepath', 'path', 'tags', etc
3 Name:           vim-plugin-%{plugin}
4 Version:        2.4
5 Release:        1
6 License:        Vim
7 Group:          Applications/Editors/Vim
8 Source0:        https://github.com/tpope/vim-pathogen/archive/v%{version}/%{plugin}-%{version}.tar.gz
9 # Source0-md5:  b2a7c050216c3822314705f41f673097
10 URL:            http://www.vim.org/scripts/script.php?script_id=2332
11 Requires:       vim-rt >= 4:7.2.170
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _vimdatadir     %{_datadir}/vim
16
17 %description
18 Manage your 'runtimepath' with ease. In practical terms, pathogen.vim
19 makes it super easy to install plugins and runtime files in their own
20 private directories.
21
22 For management of individually installed plugins in `~/.vim/bundle`
23 adding `execute pathogen#infect()` to the top of your .vimrc is the
24 only other setup necessary.
25
26 %prep
27 %setup -qc
28 mv *-%{plugin}-*/* .
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_vimdatadir}/autoload
33 cp -p autoload/*.vim $RPM_BUILD_ROOT%{_vimdatadir}/autoload
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README.markdown CONTRIBUTING.markdown
41 %{_vimdatadir}/autoload/*.vim
This page took 0.812864 seconds and 3 git commands to generate.