packages: vim-plugin-cvim/vim-plugin-cvim.spec (NEW) - initial (needs more ...

uzsolt uzsolt at pld-linux.org
Mon May 10 16:05:01 CEST 2010


Author: uzsolt                       Date: Mon May 10 14:05:01 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial (needs more work)

---- Files affected:
packages/vim-plugin-cvim:
   vim-plugin-cvim.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim-plugin-cvim/vim-plugin-cvim.spec
diff -u /dev/null packages/vim-plugin-cvim/vim-plugin-cvim.spec:1.1
--- /dev/null	Mon May 10 16:05:01 2010
+++ packages/vim-plugin-cvim/vim-plugin-cvim.spec	Mon May 10 16:04:56 2010
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+Summary:	C/C++ IDE --  Write and run programs. Insert statements, idioms, comments etc.
+Name:		vim-plugin-cvim
+Version:	5.10
+Release:	0.1
+License:	vim
+Group:		Applications/Editors/Vim
+Source0:	http://carme.pld-linux.org/~uzsolt/sources/%{name}-%{version}.zip
+# Source0-md5:	c471cd4cee46ccd4faf91f59da170361
+URL:		http://vim-latex.sourceforge.net/
+# for _vimdatadir existence
+Requires:	vim-rt >= 4:7.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_vimdatadir	%{_datadir}/vim/vimfiles
+
+%description
+C/C++ IDE -- Write and run programs. Insert statements, idioms,
+comments etc.
+
+%prep
+%setup -qc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_vimdatadir}
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
+install ftplugin/c.vim $RPM_BUILD_ROOT%{_vimdatadir}/ftplugin
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/plugin
+install plugin/c.vim $RPM_BUILD_ROOT%{_vimdatadir}/plugin
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/doc
+install doc/csupport.txt $RPM_BUILD_ROOT%{_vimdatadir}/doc
+
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/c-support
+cp -r c-support/{codesnippets,rc,scripts,templates,wordlists} \
+	$RPM_BUILD_ROOT%{_vimdatadir}/c-support
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_vimdatadir}/ftplugin/*
+%{_vimdatadir}/plugin/*
+%{_vimdatadir}/doc/*
+%{_vimdatadir}/c-support
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/05/10 14:04:56  uzsolt
+- initial (needs more work)
+
================================================================


More information about the pld-cvs-commit mailing list