%define eclipse_base %{_libdir}/eclipse %define install_loc %{_datadir}/eclipse/dropins/jgit Name: eclipse-jgit Version: 0.7.1 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=22d712ba515b4076bd65e651c1b8deb2fa53dcc3;sf=tbz2 Source0: jgit-22d712ba515b4076bd65e651c1b8deb2fa53dcc3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: eclipse-pde >= 1:3.4.0 Requires: eclipse-platform >= 3.4.0 %description A pure Java implementation of the Git version control system. %prep %setup -q -c %build %{eclipse_base}/buildscripts/pdebuild %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 * Mon Apr 12 2010 Jeff Johnston <jjohnstn@redhat.com> 0.7.1-1 - Rebase to 0.7.1 release. * Tue Feb 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20100208 - New git snapshot. * Thu Nov 5 2009 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20091029 - Correct release. * Thu Oct 29 2009 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.git20091029.1 - Initial package