%global svnrev 351 %global eclipse_base %{_libdir}/eclipse Name: eclipse-vrapper Version: 0.15.0 Release: 0.2.svn%{svnrev}%{?dist} Summary: Vim-like editing in Eclipse Group: Development/Tools License: GPLv3+ URL: http://vrapper.sourceforge.net Source0: vrapper-%{version}-r%{svnrev}.tar.bz2 # Source gathered via: # svn co -r r351 https://vrapper.svn.sourceforge.net/svnroot/vrapper vrapper-0.15.0 # tar cjvpf vrapper-0.15.0-r351.tar.bz2 vrapper-0.15.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java-devel >= 1.5.0 BuildRequires: eclipse-pde Requires: eclipse-platform %description Vrapper is an eclipse plugin which acts as a wrapper for eclipse text editors to provide a Vim-like input scheme for moving around and editing text. %prep %setup -q -n vrapper-%{version} %build pushd trunk %{eclipse_base}/buildscripts/pdebuild -f net.sourceforge.vrapper %{eclipse_base}/buildscripts/pdebuild -f net.sourceforge.vrapper.plugin.surround popd %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/eclipse/dropins/vrapper unzip -q -d $RPM_BUILD_ROOT%{_datadir}/eclipse/dropins/vrapper \ trunk/build/rpmBuild/net.sourceforge.vrapper.zip unzip -q -d $RPM_BUILD_ROOT%{_datadir}/eclipse/dropins/vrapper \ trunk/build/rpmBuild/net.sourceforge.vrapper.plugin.surround.zip %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_datadir}/eclipse/dropins/vrapper %changelog * Mon Dec 06 2010 Jesse Keating - 0.15.0-0.2.svn - Build the surround plugin too * Fri Dec 03 2010 Jesse Keating - 0.15.0-0.1.svn351 - Build from trunk, which is 0.15.0 pre-release/snapshot * Fri Dec 03 2010 Jesse Keating - 0.14.0-2 - Build from the 0.14 branch * Fri Dec 03 2010 Jesse Keating - 0.14.0-1 - Initial package