Blob Blame History Raw
%define eclipse_base   %{_libdir}/eclipse
%define install_loc    %{_datadir}/eclipse/dropins/jgit

Name:           eclipse-jgit
Version:        0.6.0
Release:        0.1.git20091029%{?dist}
Summary:        Eclipse JGit

Group:          Development/Tools
License:        BSD
URL:            http://www.eclipse.org/egit/
#Fetched from http://egit.eclipse.org/w/?p=egit/parallelip-jgit.git;a=snapshot;h=379be2db47ef5dfd8ed5d5dbb9dcd3eba15ea48c;sf=tbz2
Source0:        parallelip-jgit-379be2db47ef5dfd8ed5d5dbb9dcd3eba15ea48c.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 parallelip-jgit/LICENSE 
%doc parallelip-jgit/README
%{install_loc}

%changelog
* 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