[packages/vim-plugin-vcscommand] up to 1.99.47; update tags; verbose files
glen
glen at pld-linux.org
Wed Jun 25 08:59:17 CEST 2014
commit 4cdc1242169a1a6773a4bc1507dee7c1b2a1afe2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jun 25 09:59:02 2014 +0300
up to 1.99.47; update tags; verbose files
vim-plugin-vcscommand.spec | 57 +++++++++++++++++++++++++++++-----------------
1 file changed, 36 insertions(+), 21 deletions(-)
---
diff --git a/vim-plugin-vcscommand.spec b/vim-plugin-vcscommand.spec
index c11b1c5..3f3c586 100644
--- a/vim-plugin-vcscommand.spec
+++ b/vim-plugin-vcscommand.spec
@@ -1,42 +1,57 @@
-Summary: CVS/SVN/SVK/git integration plugin
+Summary: CVS/SVN/SVK/Git/Mercurial integration plugin
Name: vim-plugin-vcscommand
-Version: 1.99.31
+Version: 1.99.47
Release: 0.1
License: Distributable
Group: Applications/Editors/Vim
+Source0: http://www.vim.org/scripts/download_script.php?src_id=19809&/vcscommand-%{version}.zip
+# Source0-md5: 861c4e1a38664a19ce561527b9b94344
URL: http://www.vim.org/scripts/script.php?script_id=90
-BuildArch: noarch
-# Source0Download: http://www.vim.org/scripts/download_script.php?src_id=11049
-Source0: vcscommand-%{version}.zip
-# Source0-md5: a31418cdb845a6881023330498f1cb06
BuildRequires: unzip
+Requires: vim-rt >= 4:7.2.170
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _vimdatadir %{_datadir}/vim/vimfiles
+%define _vimdatadir %{_datadir}/vim
%description
-VIM 7 plugin useful for manipulating files controlled by CVS, SVN, SVK
-and git within VIM, including committing changes and performings diffs
-using the vimdiff system.
+VIM 7 plugin useful for manipulating files controlled by CVS, SVN,
+SVK, Git, Mercurial within VIM, including committing changes and
+performings diffs using the vimdiff system.
To enable this plugin define "use_vcscommand" variable somewhere in
your .vimrc file.
%prep
-%setup -q -c
+%setup -qc
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_vimdatadir}/{doc,plugin,syntax}
-install -p doc/* $RPM_BUILD_ROOT%{_vimdatadir}/doc
-install -p plugin/* $RPM_BUILD_ROOT%{_vimdatadir}/plugin
-install -p syntax/* $RPM_BUILD_ROOT%{_vimdatadir}/syntax
-
-%files
-%defattr(644,root,root,755)
-%doc %{_vimdatadir}/doc/*
-%{_vimdatadir}/plugin/*
-%{_vimdatadir}/syntax/*
+install -d $RPM_BUILD_ROOT%{_vimdatadir}
+cp -a plugin syntax doc $RPM_BUILD_ROOT%{_vimdatadir}
%clean
rm -rf $RPM_BUILD_ROOT
+
+%post
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
+
+%postun
+echo 'helptags %{_vimdatadir}/doc' | vim -e -s -V0 -R -n --noplugin
+
+%files
+%defattr(644,root,root,755)
+%doc %{_vimdatadir}/doc/vcscommand.txt
+%{_vimdatadir}/plugin/vcscommand.vim
+%{_vimdatadir}/plugin/vcsbzr.vim
+%{_vimdatadir}/plugin/vcscvs.vim
+%{_vimdatadir}/plugin/vcsgit.vim
+%{_vimdatadir}/plugin/vcshg.vim
+%{_vimdatadir}/plugin/vcssvk.vim
+%{_vimdatadir}/plugin/vcssvn.vim
+%{_vimdatadir}/syntax/vcscommit.vim
+%{_vimdatadir}/syntax/cvsannotate.vim
+%{_vimdatadir}/syntax/gitannotate.vim
+%{_vimdatadir}/syntax/hgannotate.vim
+%{_vimdatadir}/syntax/svkannotate.vim
+%{_vimdatadir}/syntax/svnannotate.vim
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-vcscommand.git/commitdiff/4cdc1242169a1a6773a4bc1507dee7c1b2a1afe2
More information about the pld-cvs-commit
mailing list