]> git.pld-linux.org Git - SPECS.git/blob - vim-plugin-vcscommand.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / vim-plugin-vcscommand.spec
1 Summary:        CVS/SVN/SVK/Git/Mercurial integration plugin
2 Name:           vim-plugin-vcscommand
3 Version:        1.99.47
4 Release:        0.1
5 License:        Distributable
6 Group:          Applications/Editors/Vim
7 Source0:        http://www.vim.org/scripts/download_script.php?src_id=19809&/vcscommand-%{version}.zip
8 # Source0-md5:  861c4e1a38664a19ce561527b9b94344
9 URL:            http://www.vim.org/scripts/script.php?script_id=90
10 BuildRequires:  unzip
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 VIM 7 plugin useful for manipulating files controlled by CVS, SVN,
19 SVK, Git, Mercurial within VIM, including committing changes and
20 performings diffs using the vimdiff system.
21
22 To enable this plugin define "use_vcscommand" variable somewhere in
23 your .vimrc file.
24
25 %prep
26 %setup -qc
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_vimdatadir}
31 cp -a plugin syntax doc $RPM_BUILD_ROOT%{_vimdatadir}
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %post
37 echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
38
39 %postun
40 echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
41
42 %files
43 %defattr(644,root,root,755)
44 %doc %{_vimdatadir}/doc/vcscommand.txt
45 %{_vimdatadir}/plugin/vcscommand.vim
46 %{_vimdatadir}/plugin/vcsbzr.vim
47 %{_vimdatadir}/plugin/vcscvs.vim
48 %{_vimdatadir}/plugin/vcsgit.vim
49 %{_vimdatadir}/plugin/vcshg.vim
50 %{_vimdatadir}/plugin/vcssvk.vim
51 %{_vimdatadir}/plugin/vcssvn.vim
52 %{_vimdatadir}/syntax/vcscommit.vim
53 %{_vimdatadir}/syntax/cvsannotate.vim
54 %{_vimdatadir}/syntax/gitannotate.vim
55 %{_vimdatadir}/syntax/hgannotate.vim
56 %{_vimdatadir}/syntax/svkannotate.vim
57 %{_vimdatadir}/syntax/svnannotate.vim
This page took 0.095645 seconds and 3 git commands to generate.