ab36c7e
%global install_loc      %{_datadir}/eclipse/dropins/egit
b23331d
%global version_suffix 201502260915-r
1fe93f5
Sami Wagiaalla 84b8f40
%{?scl:%scl_package eclipse-egit}
Sami Wagiaalla 84b8f40
%{!?scl:%global pkg_name %{name}}
Sami Wagiaalla 84b8f40
Chris Aniszczyk 000c2a5
Summary:          Eclipse Git Integration
Sami Wagiaalla 84b8f40
Name:             %{?scl_prefix}eclipse-egit
b23331d
Version:          3.7.0
91d680b
Release:          1%{?dist}
0a642a5
License:          EPL
Chris Aniszczyk 000c2a5
URL:              http://www.eclipse.org/egit
0972a12
Source0:          http://git.eclipse.org/c/egit/egit.git/snapshot/egit-%{version}.%{version_suffix}.tar.bz2
Ben Konrath 058913b
ab36c7e
BuildRequires:    java-devel >= 1.6.0
e43e429
BuildRequires:    %{?scl_prefix}eclipse-jgit >= 3.5.3
e43e429
BuildRequires:    %{?scl_prefix}jgit >= 3.5.3
Krzysztof Daniel bd64c57
BuildRequires:    tycho
Krzysztof Daniel bd64c57
BuildRequires:    %{?scl_prefix}eclipse-mylyn-context-team
Krzysztof Daniel bd64c57
BuildRequires:    %{?scl_prefix}eclipse-mylyn-docs-wikitext
Sami Wagiaalla 84b8f40
Requires:         %{?scl_prefix}eclipse-platform >= 1:3.5.0
e43e429
Requires:         %{?scl_prefix}eclipse-jgit >= 3.5.3
Sami Wagiaalla 84b8f40
%{?scl:Requires: %scl_runtime}
f022b0a
Ben Konrath 058913b
BuildArch:        noarch
Ben Konrath 058913b
Ben Konrath 058913b
%description
Krzysztof Daniel 07924e9
The eclipse-egit package contains Eclipse plugins for
Ben Konrath 058913b
interacting with Git repositories.
Ben Konrath 058913b
Krzysztof Daniel bd64c57
Krzysztof Daniel bd64c57
%package mylyn
Krzysztof Daniel bd64c57
Summary:     Git integration for mylyn.
Krzysztof Daniel bd64c57
Requires:    %{?scl_prefix}eclipse-mylyn-context-team
Krzysztof Daniel bd64c57
Requires:    %{?scl_prefix}eclipse-egit = %{version}-%{release}
Krzysztof Daniel bd64c57
Requires:    %{?scl_prefix}eclipse-mylyn-docs-wikitext
Krzysztof Daniel bd64c57
Krzysztof Daniel bd64c57
%description mylyn
Krzysztof Daniel bd64c57
Git integration for mylyn.
Krzysztof Daniel bd64c57
Ben Konrath 058913b
%prep
0972a12
%setup -n egit-%{version}.%{version_suffix} -q
Krzysztof Daniel bd64c57
%pom_xpath_remove "pom:repositories"
Krzysztof Daniel bd64c57
%pom_xpath_remove "pom:dependencies"
Krzysztof Daniel bd64c57
%pom_xpath_remove "pom:profiles"
Krzysztof Daniel bd64c57
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin/pom:configuration/pom:target"
Krzysztof Daniel bd64c57
%pom_xpath_remove "*[local-name() ='plugin' and (child::*[text()='tycho-packaging-plugin'])]"
Krzysztof Daniel bd64c57
%pom_xpath_remove "pom:dependencies" org.eclipse.egit.doc/pom.xml
Krzysztof Daniel bd64c57
%pom_disable_module org.eclipse.egit.target
Krzysztof Daniel bd64c57
%pom_disable_module org.eclipse.egit.core.test
Krzysztof Daniel bd64c57
%pom_disable_module org.eclipse.egit.ui.test
Krzysztof Daniel bd64c57
%pom_disable_module org.eclipse.egit.mylyn.ui.test
Krzysztof Daniel bd64c57
Krzysztof Daniel bd64c57
#TODO: revisit jgit packaging and maybe package source?
Krzysztof Daniel bd64c57
sed -i -e "15,29d" org.eclipse.egit.repository/category.xml
Krzysztof Daniel bd64c57
sed -i -e "9,11d" org.eclipse.egit.repository/category.xml
c8f0066
sed -i -e "12,14d" org.eclipse.egit.repository/category.xml
c8f0066
Ben Konrath 058913b
%build
0972a12
xmvn -o clean verify -Dmaven.test.skip=true
Ben Konrath 058913b
Ben Konrath 058913b
%install
1fe93f5
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}
Krzysztof Daniel 07924e9
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/eclipse
Krzysztof Daniel 07924e9
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/eclipse/features
Krzysztof Daniel 07924e9
install -d -m 755 $RPM_BUILD_ROOT%{install_loc}/eclipse/plugins
Krzysztof Daniel 07924e9
Krzysztof Daniel 07924e9
unzip -q -d $RPM_BUILD_ROOT%{install_loc}/eclipse org.eclipse.egit.repository/target/org.eclipse.egit.repository-%{version}.*-r.zip
Krzysztof Daniel 07924e9
pushd $RPM_BUILD_ROOT%{install_loc}/eclipse/features
Krzysztof Daniel 07924e9
  for f in * ; do
Krzysztof Daniel 07924e9
    f_name=${f/.jar//}
Krzysztof Daniel 07924e9
    mkdir -p $f_name
Krzysztof Daniel 07924e9
    unzip -d $f_name $f
Krzysztof Daniel 07924e9
    rm $f 
Krzysztof Daniel 07924e9
  done
Krzysztof Daniel 07924e9
popd
Krzysztof Daniel 07924e9
rm $RPM_BUILD_ROOT%{install_loc}/eclipse/*.jar
Ben Konrath 058913b
Ben Konrath 058913b
%files
Krzysztof Daniel bd64c57
%dir %{install_loc}
Krzysztof Daniel 07924e9
%dir %{install_loc}/eclipse
Krzysztof Daniel 07924e9
%dir %{install_loc}/eclipse/plugins
Krzysztof Daniel 07924e9
%dir %{install_loc}/eclipse/features
Krzysztof Daniel 07924e9
%{install_loc}/eclipse/features/org.eclipse.egit_*
Krzysztof Daniel 07924e9
%{install_loc}/eclipse/plugins/
Krzysztof Daniel 07924e9
%exclude %{install_loc}/eclipse/plugins/org.eclipse.egit.mylyn.ui_*.jar
1bafa88
%doc LICENSE README.md
Ben Konrath 058913b
Krzysztof Daniel bd64c57
%files mylyn
Krzysztof Daniel 07924e9
%{install_loc}/eclipse/features/org.eclipse.egit.mylyn_*
Krzysztof Daniel 07924e9
%{install_loc}/eclipse/plugins/org.eclipse.egit.mylyn.ui_*.jar
Krzysztof Daniel bd64c57
Ben Konrath 058913b
%changelog
b23331d
* Mon Mar 02 2015 Roland Grunberg <rgrunber@redhat.com> - 3.7.0-1
b23331d
- Update to upstream 3.7.0 release.
b23331d
1851400
* Fri Jan 23 2015 Alexander Kurtakov <akurtako@redhat.com> 3.6.2-1
1851400
- Update to upstream 3.6.2 release.
1851400
30a2255
* Tue Jan 6 2015 Alexander Kurtakov <akurtako@redhat.com> 3.6.1-1
30a2255
- Update to upstream 3.6.1 release.
30a2255
e43e429
* Fri Dec 19 2014 Alexander Kurtakov <akurtako@redhat.com> 3.5.3-1
e43e429
- Update to upstream 3.5.3 release.
e43e429
74bc059
* Thu Dec 18 2014 Alexander Kurtakov <akurtako@redhat.com> 3.5.2-1
74bc059
- Update to upstream 3.5.2 release.
74bc059
cec0441
* Fri Oct 03 2014 Mat Booth <mat.booth@redhat.com> - 3.5.0-1
cec0441
- Update to latest upstream release 3.5.0
cec0441
56a74ab
* Thu Jun 26 2014 Mat Booth <mat.booth@redhat.com> - 3.4.1-1
56a74ab
- Update to latest upstream release 3.4.1
56a74ab
91d680b
* Fri Jun 13 2014 Roland Grunberg <rgrunber@redhat.com> - 3.4.0-1
91d680b
- Update to 3.4.0.
91d680b
996915a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-3
996915a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
996915a
Sami Wagiaalla 1e5f71f
* Thu May 22 2014 Sami Wagiaalla <swagiaal@redhat.com> - 3.3.2-2
Sami Wagiaalla 1e5f71f
- Fix build agains the lates o.e.jface.util.Policy.
Sami Wagiaalla 1e5f71f
0972a12
* Mon Apr 28 2014 Mat Booth <mat.booth@redhat.com> - 3.3.2-1
0972a12
- Update to 3.3.2.
0972a12
10310a4
* Fri Mar 28 2014 Alexander Kurtakov <akurtako@redhat.com> 3.3.1-1
10310a4
- Update to 3.3.1.
10310a4
c8f0066
* Tue Mar 11 2014 Alexander Kurtakov <akurtako@redhat.com> 3.3.0-1
c8f0066
- Update to 3.3.0.
c8f0066
2a5f230
* Sun Dec 29 2013 Alexander Kurtakov <akurtako@redhat.com> 3.2.0-1
2a5f230
- Update to 3.2.0.
2a5f230
Krzysztof Daniel 07924e9
* Mon Oct 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-3
Krzysztof Daniel 07924e9
- Fix feature installation.
Krzysztof Daniel 07924e9
Krzysztof Daniel bd64c57
* Wed Oct 16 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-2
Krzysztof Daniel bd64c57
- Package Egit integration for mylyn.
Krzysztof Daniel bd64c57
- Changed building process to reflect upstream one.
Krzysztof Daniel bd64c57
Krzysztof Daniel 36a19e3
* Thu Oct 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-1
Krzysztof Daniel 36a19e3
- Update to Kepler SR1.
Krzysztof Daniel 36a19e3
88607a8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-4
88607a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
88607a8
nguzman 6f921d7
* Fri Jul 5 2013 Neil Brian Guzman <nguzman@redhat.com> 3.0.0-3
nguzman 6f921d7
- Bump release
nguzman 6f921d7
Neil Guzman b97b110
* Tue Jun 25 2013 Neil Brian Guzman <nguzman@redhat.com> 3.0.0-2
Neil Guzman b97b110
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Neil Guzman b97b110
Krzysztof Daniel b5e9167
* Tue Jun 25 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.0.0-1
Krzysztof Daniel b5e9167
- Update to 3.0.0.
Krzysztof Daniel b5e9167
Sami Wagiaalla fbe4dd4
* Thu Feb 21 2013 Sami Wagiaalla <swagiaal@redhat.com> 2.3.1-1
Sami Wagiaalla 84b8f40
- SCL-ized.
Sami Wagiaalla 84b8f40
Sami Wagiaalla 84b8f40
* Thu Feb 21 2013 Sami Wagiaalla <swagiaal@redhat.com> 2.3.1-1
Sami Wagiaalla fbe4dd4
- Update to 2.3.1.
Sami Wagiaalla fbe4dd4
fff7d54
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
fff7d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fff7d54
Krzysztof Daniel 59314e5
* Thu Jan 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.2.0-1
Krzysztof Daniel 59314e5
- Update to latest upstream.
Krzysztof Daniel 59314e5
1bafa88
* Mon Oct 1 2012 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-1
1bafa88
- Update to 2.1.0 release.
1bafa88
bd76095
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
bd76095
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bd76095
e229f4a
* Mon Jul 2 2012 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
e229f4a
- Update to 2.0.0 upstream release.
e229f4a
Severin Gehwolf 6f003fe
* Fri Apr 27 2012 Severin Gehwolf <sgehwolf@redhat.com> 1.3.0-3
Severin Gehwolf 6f003fe
- Use eclipse-pdebuild over pdebuild in lib.
Severin Gehwolf 6f003fe
Severin Gehwolf fc16f0f
* Thu Apr 26 2012 Severin Gehwolf <sgehwolf@redhat.com> 1.3.0-2
Severin Gehwolf fc16f0f
- Fix 1.3.0 which was previously using wrong sources.
Severin Gehwolf fc16f0f
- Fix JGit BR/R since EGit depends on the same version of JGit.
Severin Gehwolf fc16f0f
Andrew Robinson ade9cb3
* Fri Feb 17 2012 Andrew Robinson <arobinso@redhat.com> 1.3.0-1
Andrew Robinson ade9cb3
- Update to 1.3.0 upstream release.
Andrew Robinson ade9cb3
b169cd5
* Thu Jan 5 2012 Alexander Kurtakov <akurtako@redhat.com> 1.2.0-1
b169cd5
- Update to upstream 1.2.0.
b169cd5
247d820
* Fri Nov 18 2011 Alexander Kurtakov <akurtako@redhat.com> 1.1.0-2
2c755ca
- Add patch to fix New git repo wizard.
2c755ca
Neil Guzman b97b110
* Mon Jun 27 2011 Andrew Robinson <arobinso@redhat.com> 1.1.0-1
Andrew Robinson a7a415d
- Update to upstream release 1.1.0.
Andrew Robinson a7a415d
Chris Aniszczyk e7e536a
* Tue Jun 14 2011 Chris Aniszczyk <zx@redhat.com> 1.0.0-2
Chris Aniszczyk e7e536a
- Update to final upstream release v1.0.0.201106090707-r.
Chris Aniszczyk e7e536a
Chris Aniszczyk 000c2a5
* Tue Jun 07 2011 Chris Aniszczyk <zx@redhat.com> 1.0.0-1
Chris Aniszczyk 000c2a5
- Update to upstream release 1.0.0.
Chris Aniszczyk 000c2a5
Chris Aniszczyk 000c2a5
* Tue May 03 2011 Chris Aniszczyk <zx@redhat.com> 0.12.1-1
Chris Aniszczyk 000c2a5
- Update to upstream release 0.12.1.
Chris Aniszczyk 000c2a5
Chris Aniszczyk db881f2
* Tue Feb 22 2011 Chris Aniszczyk <zx@redhat.com> 0.11.3-2
Chris Aniszczyk db881f2
- Update to fix issue with GitCloneWizard file.
Chris Aniszczyk db881f2
Chris Aniszczyk a4b52b3
* Tue Feb 22 2011 Chris Aniszczyk <zx@redhat.com> 0.11.3-1
Chris Aniszczyk a4b52b3
- Update to upstream release 0.11.3.
Chris Aniszczyk a4b52b3
5386fe7
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
5386fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5386fe7
Chris Aniszczyk f2f8341
* Wed Dec 22 2010 Chris Aniszczyk <zx@redhat.com> 0.10.1-1
Chris Aniszczyk f2f8341
- Update to upstream release 0.10.1.
Chris Aniszczyk f2f8341
Chris Aniszczyk ea70b23
* Thu Oct 7 2010 Chris Aniszczyk <zx@redhat.com> 0.9.3-1
Chris Aniszczyk ea70b23
- Update to upstream release 0.9.3.
Chris Aniszczyk ea70b23
Severin Gehwolf c651766
* Wed Sep 15 2010 Severin Gehwolf <sgehwolf@redhat.com> 0.9.1-1
Severin Gehwolf c651766
- Update to upstream release 0.9.1.
Severin Gehwolf c651766
- Remove git-core dependency.
Severin Gehwolf c651766
Severin Gehwolf 07f2f63
* Thu Aug 26 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.9.0-0.1.20100825git
Severin Gehwolf 07f2f63
- Make release tag more readable (separate "0.1" and pre-release tag by ".").
Severin Gehwolf 07f2f63
Severin Gehwolf 4aa8f21
* Wed Aug 25 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.9.0-0.120100825git
Severin Gehwolf 4aa8f21
- Pre-release of EGit 0.9.0
Severin Gehwolf 4aa8f21
ab36c7e
* Thu Jun 24 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.8.4-1
ab36c7e
- Rebase to 0.8.4 release.
ab36c7e
c96b2d2
* Tue Apr 13 2010 Jeff Johnston <jjohnstn@redhat.com> 0.7.1-2
c96b2d2
- Bump up release.
c96b2d2
c96b2d2
* Tue Apr 13 2010 Jeff Johnston <jjohnstn@redhat.com> 0.7.1-1
c96b2d2
- Rebase to 0.7.1.
c96b2d2
0a642a5
* Fri Mar 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.0-1
0a642a5
- Update to 0.7.0.
0a642a5
- License is only EPL now.
0a642a5
d5120f7
* Tue Feb 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20100208
d5120f7
- New git snapshot.
d5120f7
f022b0a
* Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20091029
f022b0a
- Update to 0.6 git.
f022b0a
89b0910
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
89b0910
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89b0910
aace6a4
* Fri Jul 17 2009 Alexander Kurtakov <akurtako@redhat.com> 0.5.0-1
36a3137
- Update to 0.5.0.
36a3137
69be395
* Mon Mar 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-3.20090323
69be395
- Update to latest snapshot.
69be395
2227075
* Mon Mar 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-3.20090217
2227075
- Rebuild to not ship p2 context.xml.
2227075
c05e5ab
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2.20090217
c05e5ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c05e5ab
78fec7d
* Tue Feb 17 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-1.20090217
78fec7d
- New snapshot.
78fec7d
689f5e1
* Wed Dec 10 2008 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-1
1fe93f5
- Update to 0.4.0.
1fe93f5
79e33ab
* Wed Oct 22 2008 Alexander Kurtakov <akurtako@redhat.com> 0.3.1.20081022-3
79e33ab
- New git version.
79e33ab
fdb6925
* Wed Jul 30 2008 Andrew Overholt <overholt@redhat.com> 0.3.1-2
fdb6925
- Move files and update build for Eclipse SDK 3.4
fdb6925
- Use pdebuild
fdb6925
b5391fa
* Thu Jul 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.1-1
b5391fa
- fix license tag
b5391fa
b83c1b2
* Tue Apr 08 2008 Jesse Keating <jkeating@redhat.com> - 0.3.1-0
b83c1b2
- New upstream release 0.3.1, makes committing / diffing actually work
b83c1b2
c18b4d8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.0-3
c18b4d8
- Autorebuild for GCC 4.3
c18b4d8
Neil Guzman b97b110
* Thu Oct 04 2007 Ben Konrath <bkonrath@redhat.com> 0.3.0-2.fc8
Ben Konrath 4f6de6a
- Require git-core instead of git.
Ben Konrath 4f6de6a
- Resolves: #319321
Ben Konrath 4f6de6a
Ben Konrath 4f6de6a
* Mon Sep 24 2007 Ben Konrath <bkonrath@redhat.com> 0.3.0-1.fc8
Ben Konrath 5923e31
- 0.3.0
Ben Konrath 5923e31
Ben Konrath 2651538
* Wed Sep 19 2007 Ben Konrath <bkonrath@redhat.com> 0.2.99-0.git20070919.fc8
Ben Konrath 2651538
- 0.2.99 git20070919
Ben Konrath 2651538
Ben Konrath 829195b
* Mon Sep 17 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-2.git20070911.fc8
Ben Konrath 829195b
- Update add feature and plugin patch.
Ben Konrath 829195b
Ben Konrath b37339a
* Mon Sep 17 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-1.git20070911.fc8
Ben Konrath b37339a
- Require eclipse-platform >= 3.2.1 
Ben Konrath b37339a
Ben Konrath 4ec1d52
* Fri Sep 14 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-0.git20070911.fc8
Ben Konrath 4ec1d52
- Update to git20070911.
Ben Konrath 4ec1d52
- Update feature and accosicated branding plugin.
Ben Konrath 4ec1d52
Ben Konrath 058913b
* Wed Aug 29 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-0.git20070826.fc8
Ben Konrath 058913b
- Initial version