]> git.pld-linux.org Git - projects/template-specs.git/blame - vim-plugin.spec
pecl: add example how to make failed tests as XFAIL
[projects/template-specs.git] / vim-plugin.spec
CommitLineData
35c80078 1# TODO:
2# - What to do with .vimup file?
ff1eb66c
ER
3%define plugin PLUGIN_NAME
4Summary: Vim plugin: PLUGIN_NAME
2f567173
ER
5Name: vim-plugin-%{plugin}
6Version: 0.1
7Release: 0.1
8License: Vim
35c80078 9Group: Applications/Editors/Vim
a844a5ab 10Source0: http://www.vim.org/scripts/download_script.php?src_id=xxx&/%{plugin}-%{version}.zip
35c80078 11# Source0-md5: -
12URL: -
13# for _vimdatadir
fcd774dd 14Requires: vim-rt >= 4:7.2.170
35c80078 15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
fcd774dd 18%define _vimdatadir %{_datadir}/vim
35c80078 19
20%description
21Vim plugin for foo and even bar.
22
23%prep
24%setup -qc
25
26%install
27rm -rf $RPM_BUILD_ROOT
28install -d $RPM_BUILD_ROOT%{_vimdatadir}
29cp -a . $RPM_BUILD_ROOT%{_vimdatadir}
30
31%clean
32rm -rf $RPM_BUILD_ROOT
33
a844a5ab
ER
34%if 0
35# if packaging doc/* files
36%post
37echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
38
39%postun
40echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
41%endif
42
35c80078 43%files
44%defattr(644,root,root,755)
2f567173
ER
45%doc %{_vimdatadir}/doc/*.txt
46%{_vimdatadir}/plugin/*.vim
This page took 0.074427 seconds and 4 git commands to generate.