packages: vim-plugin-gist/vim-plugin-gist.spec - up to 3.7 - intall to corr...

pawelz pawelz at pld-linux.org
Fri Jun 25 18:50:14 CEST 2010


Author: pawelz                       Date: Fri Jun 25 16:50:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.7
- intall to correct dir
- official source seems to be vim.org, not github.com

---- Files affected:
packages/vim-plugin-gist:
   vim-plugin-gist.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/vim-plugin-gist/vim-plugin-gist.spec
diff -u packages/vim-plugin-gist/vim-plugin-gist.spec:1.4 packages/vim-plugin-gist/vim-plugin-gist.spec:1.5
--- packages/vim-plugin-gist/vim-plugin-gist.spec:1.4	Fri Jun 25 18:25:43 2010
+++ packages/vim-plugin-gist/vim-plugin-gist.spec	Fri Jun 25 18:50:08 2010
@@ -1,43 +1,39 @@
 # $Revision$, $Date$
 # TODO:
 # - What to do with .vimup file?
-%define		subver 34
 %define		rel 0.1
 Summary:	Vim plugin: Gist
 Name:		vim-plugin-gist
-Version:	3.0
-Release:	%{subver}.%{rel}
+Version:	3.7
+Release:	%{rel}
 License:	BSD
 Group:		Applications/Editors/Vim
-Source0:	http://github.com/mattn/gist-vim/tarball/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	86e4ec33cf3ee0d4c98158c2702a90e3
-URL:		http://github.com/mattn/gist-vim
+Source0:	http://www.vim.org/scripts/download_script.php%3Fsrc_id%3D13105#gist.vim
+# Source0-md5:	4c7c6cbe627d3bd474a9bd3c5efb659e
+URL:		http://www.vim.org/scripts/script.php%3Dscript_id%3F2423
 Requires:	vim-rt >= 4:6.3.058-3
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_vimdatadir	%{_datadir}/vim/vimfiles
+%define		_vimplugindir	%{_datadir}/vim/plugin
 
 %description
 Vim plugin that allows to create, edit, delete and browse github
 gists.
 
 %prep
-%setup -qc
-mv mattn-gist-vim-*/* .
-rm -rf mattn-gist-vim-*
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_vimdatadir}
-cp -a . $RPM_BUILD_ROOT%{_vimdatadir}
+install -d $RPM_BUILD_ROOT%{_vimplugindir}
+install %{SOURCE0} $RPM_BUILD_ROOT%{_vimplugindir}/gist.vim
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_vimdatadir}/*
+%{_vimplugindir}/gist.vim
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -45,6 +41,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/06/25 16:50:08  pawelz
+- up to 3.7
+- intall to correct dir
+- official source seems to be vim.org, not github.com
+
 Revision 1.4  2010/06/25 16:25:43  pawelz
 - unified macros (%rel, %subver) and github download source.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-plugin-gist/vim-plugin-gist.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list