%global eclipse_base %{_libdir}/eclipse %global install_loc %{_datadir}/eclipse/dropins/jgit Name: eclipse-jgit Version: 0.9.3 Release: 1%{?dist} Summary: Eclipse JGit Group: Development/Tools License: BSD URL: http://www.eclipse.org/egit/ #Fetched from http://egit.eclipse.org/w/?p=jgit.git;a=snapshot;h=v0.9.3;sf=tbz2 Source0: jgit-v0.9.3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: java-devel BuildRequires: eclipse-pde >= 1:3.4.0 Requires: eclipse-platform >= 3.5.0 %description A pure Java implementation of the Git version control system. %prep %setup -n eclipse-jgit -q -c %build %{eclipse_base}/buildscripts/pdebuild -f org.eclipse.jgit %install %{__rm} -rf %{buildroot} install -d -m 755 %{buildroot}%{install_loc} %{__unzip} -q -d %{buildroot}%{install_loc} \ build/rpmBuild/org.eclipse.jgit.zip %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc jgit/LICENSE %doc jgit/README %{install_loc} %changelog * Thu Oct 7 2010 Chris Aniszczyk 0.9.3-1 - Update to upstream release 0.9.3. * Wed Sep 15 2010 Severin Gehwolf 0.9.1-1 - Update to upstream release 0.9.1. * Thu Aug 26 2010 Severin Gehwolf 0.9.0-0.1.20100825git - Make release tag more readable (separate "0.1" and pre-release tag by "."). * Wed Aug 25 2010 Severin Gehwolf 0.9.0-0.120100825git - Pre-release version of JGit 0.9.0 * Fri Jun 25 2010 Severin Gehwolf 0.8.4-2 - Increase release number to make tagging work. * Wed Jun 23 2010 Severin Gehwolf 0.8.4-1 - Rebase to 0.8.4 release. * Mon Apr 12 2010 Jeff Johnston 0.7.1-1 - Rebase to 0.7.1 release. * Tue Feb 9 2010 Alexander Kurtakov 0.6.0-0.1.git20100208 - New git snapshot. * Thu Nov 5 2009 Alexander Kurtakov 0.6.0-0.1.git20091029 - Correct release. * Thu Oct 29 2009 Alexander Kurtakov 0.6.0-0.git20091029.1 - Initial package