%global eclipse_base %{_libdir}/eclipse
%global install_loc %{_datadir}/eclipse/dropins/jgit
Name: eclipse-jgit
Version: 0.10.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=v0.10.1;sf=tbz2
Source0: jgit-v0.10.1.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
* Tue Jan 11 2011 Severin Gehwolf <sgehwolf@redhat.com> 0.10.1-1
- Update to upstream release 0.10.1.
* Wed Oct 13 2010 Severin Gehwolf <sgehwolf@redhat.com> 0.9.3-1
- Update to upstream release 0.9.3 (rawhide merge).
* Wed Oct 4 2010 Severin Gehwolf <sgehwolf@redhat.com> 0.9.1-1
- Merge from rawhide.
* Thu Aug 26 2010 Severin Gehwolf <sgehwolf at, redhat.com> 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 <sgehwolf at, redhat.com> 0.9.0-0.120100825git
- Pre-release version of JGit 0.9.0
* Fri Jun 25 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.8.4-2
- Increase release number to make tagging work.
* Wed Jun 23 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.8.4-1
- Rebase to 0.8.4 release.
* 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