Advertisement
Guest User

Untitled

a guest
Jan 18th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.98 KB | None | 0 0
  1. %{?scl:%scl_package eclipse-egit}
  2. %{!?scl:%global pkg_name %{pkg_name}}
  3. %{?java_common_find_provides_and_requires}
  4.  
  5. %global baserelease 1
  6.  
  7. # EGit and Mylyn have circular dependencies
  8. # EGit can build bootstrapped when Mylyn not present
  9. %global bootstrap 0
  10. %global version_suffix 201511131810-r
  11.  
  12. Name: %{?scl_prefix}eclipse-egit
  13. Version: 4.1.1
  14. Release: 1.%{baserelease}%{?dist}
  15. Summary: Eclipse Git Integration
  16.  
  17. License: EPL
  18. URL: http://www.eclipse.org/egit
  19. Source0: http://git.eclipse.org/c/egit/egit.git/snapshot/egit-%{version}.%{version_suffix}.tar.xz
  20. %if %{bootstrap}
  21. Patch0: remove-mylyn-dep.patch
  22. %endif
  23.  
  24. BuildRequires: %{?scl_prefix}tycho
  25. BuildRequires: %{?scl_prefix}eclipse-jgit >= %{version}
  26. BuildRequires: eclipse-e4-importer
  27. %if ! %{bootstrap}
  28. BuildRequires: %{?scl_prefix}eclipse-mylyn
  29. BuildRequires: %{?scl_prefix}eclipse-mylyn-docs-wikitext
  30. %endif
  31. Requires: %{?scl_prefix}eclipse-jgit >= %{version}
  32.  
  33. BuildArch: noarch
  34.  
  35. %description
  36. The eclipse-egit package contains Eclipse plugins for
  37. interacting with Git repositories.
  38.  
  39. %if ! %{bootstrap}
  40.  
  41. %package mylyn
  42. Summary: Git integration for mylyn.
  43.  
  44. %description mylyn
  45. Git integration for mylyn.
  46. %endif
  47.  
  48. %prep
  49. %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
  50. %setup -q -n egit-%{version}.%{version_suffix}
  51. %if %{bootstrap}
  52. %patch0
  53. %endif
  54.  
  55. %pom_xpath_remove "pom:repositories"
  56. %pom_xpath_remove "pom:dependencies"
  57. %pom_xpath_remove "pom:profiles"
  58. %pom_xpath_remove "pom:build/pom:plugins/pom:plugin/pom:configuration/pom:target"
  59. %pom_xpath_remove "*[local-name() ='plugin' and (child::*[text()='tycho-packaging-plugin'])]"
  60. %pom_xpath_remove "pom:dependencies" org.eclipse.egit.doc/pom.xml
  61. %pom_disable_module org.eclipse.egit.repository
  62. %pom_disable_module org.eclipse.egit.source-feature
  63. %pom_disable_module org.eclipse.egit.target
  64. %pom_disable_module org.eclipse.egit.core.test
  65. %pom_disable_module org.eclipse.egit.ui.test
  66. %pom_disable_module org.eclipse.egit.ui.importer.tests
  67. %pom_disable_module org.eclipse.egit.gitflow.test
  68. %pom_disable_module org.eclipse.egit.mylyn.ui.test
  69.  
  70. %if %{bootstrap}
  71. #to avoid mylyn circular dependancy
  72. %pom_disable_module org.eclipse.egit.mylyn.ui
  73. %pom_disable_module org.eclipse.egit.mylyn-feature
  74. %endif
  75.  
  76. %mvn_package "::pom::" __noinstall
  77. %if ! %{bootstrap}
  78. %mvn_package :*mylyn* mylyn
  79. %endif
  80. %mvn_package :* egit
  81.  
  82. %{?scl:EOF}
  83.  
  84. %build
  85. %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
  86. %mvn_build -j -f
  87.  
  88. %{?scl:EOF}
  89.  
  90. %install
  91. %{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
  92. %mvn_install
  93.  
  94. %{?scl:EOF}
  95.  
  96. %files -f .mfiles-egit
  97. %doc LICENSE README.md
  98.  
  99. %if ! %{bootstrap}
  100.  
  101. %files mylyn -f .mfiles-mylyn
  102. %doc LICENSE README.md
  103. %endif
  104.  
  105. %changelog
  106. * Mon Jan 18 2016 Sopot Cela <scela@redhat.com> - 4.1.1-1.1
  107. - Import latest from Fedora
  108.  
  109. * Tue Dec 08 2015 Mat Booth <mat.booth@redhat.com> - 4.1.1-1
  110. - Update to latest upstream release
  111.  
  112. * Wed Sep 30 2015 Mat Booth <mat.booth@redhat.com> - 4.1.0-1
  113. - Update to 4.1.0 release
  114.  
  115. * Mon Sep 14 2015 Roland Grunberg <rgrunber@redhat.com> - 4.0.1-5
  116. - Rebuild as an Eclipse p2 Droplet.
  117.  
  118. * Mon Jul 13 2015 Alexander Kurtakov <akurtako@redhat.com> 4.0.1-4
  119. - Enable importer plugin.
  120.  
  121. * Wed Jul 08 2015 Mat Booth <mat.booth@redhat.com> - 4.0.1-3
  122. - Fix bootstrap build
  123.  
  124. * Thu Jul 02 2015 Mat Booth <mat.booth@redhat.com> - 4.0.1-2
  125. - Drop incomplete SCL macros
  126.  
  127. * Wed Jun 24 2015 Alexander Kurtakov <akurtako@redhat.com> 4.0.1-1
  128. - Update to 4.0.1.
  129.  
  130. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-2
  131. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  132.  
  133. * Wed Jun 10 2015 Alexander Kurtakov <akurtako@redhat.com> 4.0.0-1
  134. - Update to 4.0 final.
  135.  
  136. * Mon Jun 1 2015 Alexander Kurtakov <akurtako@redhat.com> 4.0.0-0.2.rc2
  137. - Rebuild for jgit.
  138.  
  139. * Thu May 28 2015 Alexander Kurtakov <akurtako@redhat.com> 4.0.0-0.1.rc2
  140. - Update to 4.0 rc2.
  141.  
  142. * Thu May 14 2015 Alexander Kurtakov <akurtako@redhat.com> 3.7.1-1
  143. - Update to upstream 3.7.1 release.
  144.  
  145. * Mon Mar 02 2015 Roland Grunberg <rgrunber@redhat.com> - 3.7.0-1
  146. - Update to upstream 3.7.0 release.
  147.  
  148. * Fri Jan 23 2015 Alexander Kurtakov <akurtako@redhat.com> 3.6.2-1
  149. - Update to upstream 3.6.2 release.
  150.  
  151. * Mon Jan 19 2015 Roland Grunberg <rgrunber@redhat.com> - 3.6.1-2
  152. - Add bootstrapping capability.
  153.  
  154. * Mon Jan 5 2015 Alexander Kurtakov <akurtako@redhat.com> 3.6.1-1
  155. - Update to upstream 3.6.1 release.
  156.  
  157. * Fri Dec 19 2014 Alexander Kurtakov <akurtako@redhat.com> 3.5.3-1
  158. - Update to upstream 3.5.3 release.
  159.  
  160. * Thu Dec 18 2014 Alexander Kurtakov <akurtako@redhat.com> 3.5.2-1
  161. - Update to upstream 3.5.2 release.
  162.  
  163. * Fri Nov 07 2014 Mat Booth <mat.booth@redhat.com> - 3.5.0-2
  164. - Build/install with mvn_build/mvn_install
  165.  
  166. * Fri Oct 03 2014 Mat Booth <mat.booth@redhat.com> - 3.5.0-1
  167. - Update to latest upstream release 3.5.0
  168.  
  169. * Thu Jun 26 2014 Mat Booth <mat.booth@redhat.com> - 3.4.1-1
  170. - Update to latest upstream release 3.4.1
  171.  
  172. * Fri Jun 13 2014 Roland Grunberg <rgrunber@redhat.com> - 3.4.0-1
  173. - Update to 3.4.0.
  174.  
  175. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-3
  176. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  177.  
  178. * Thu May 22 2014 Sami Wagiaalla <swagiaal@redhat.com> - 3.3.2-2
  179. - Fix build agains the lates o.e.jface.util.Policy.
  180.  
  181. * Mon Apr 28 2014 Mat Booth <mat.booth@redhat.com> - 3.3.2-1
  182. - Update to 3.3.2.
  183.  
  184. * Fri Mar 28 2014 Alexander Kurtakov <akurtako@redhat.com> 3.3.1-1
  185. - Update to 3.3.1.
  186.  
  187. * Tue Mar 11 2014 Alexander Kurtakov <akurtako@redhat.com> 3.3.0-1
  188. - Update to 3.3.0.
  189.  
  190. * Sun Dec 29 2013 Alexander Kurtakov <akurtako@redhat.com> 3.2.0-1
  191. - Update to 3.2.0.
  192.  
  193. * Mon Oct 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-3
  194. - Fix feature installation.
  195.  
  196. * Wed Oct 16 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-2
  197. - Package Egit integration for mylyn.
  198. - Changed building process to reflect upstream one.
  199.  
  200. * Thu Oct 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.1.0-1
  201. - Update to Kepler SR1.
  202.  
  203. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-4
  204. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  205.  
  206. * Fri Jul 5 2013 Neil Brian Guzman <nguzman@redhat.com> 3.0.0-3
  207. - Bump release
  208.  
  209. * Tue Jun 25 2013 Neil Brian Guzman <nguzman@redhat.com> 3.0.0-2
  210. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  211.  
  212. * Tue Jun 25 2013 Krzysztof Daniel <kdaniel@redhat.com> 3.0.0-1
  213. - Update to 3.0.0.
  214.  
  215. * Thu Feb 21 2013 Sami Wagiaalla <swagiaal@redhat.com> 2.3.1-1
  216. - SCL-ized.
  217.  
  218. * Thu Feb 21 2013 Sami Wagiaalla <swagiaal@redhat.com> 2.3.1-1
  219. - Update to 2.3.1.
  220.  
  221. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
  222. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  223.  
  224. * Thu Jan 3 2013 Krzysztof Daniel <kdaniel@redhat.com> 2.2.0-1
  225. - Update to latest upstream.
  226.  
  227. * Mon Oct 1 2012 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-1
  228. - Update to 2.1.0 release.
  229.  
  230. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
  231. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  232.  
  233. * Mon Jul 2 2012 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
  234. - Update to 2.0.0 upstream release.
  235.  
  236. * Fri Apr 27 2012 Severin Gehwolf <sgehwolf@redhat.com> 1.3.0-3
  237. - Use eclipse-pdebuild over pdebuild in lib.
  238.  
  239. * Thu Apr 26 2012 Severin Gehwolf <sgehwolf@redhat.com> 1.3.0-2
  240. - Fix 1.3.0 which was previously using wrong sources.
  241. - Fix JGit BR/R since EGit depends on the same version of JGit.
  242.  
  243. * Fri Feb 17 2012 Andrew Robinson <arobinso@redhat.com> 1.3.0-1
  244. - Update to 1.3.0 upstream release.
  245.  
  246. * Thu Jan 5 2012 Alexander Kurtakov <akurtako@redhat.com> 1.2.0-1
  247. - Update to upstream 1.2.0.
  248.  
  249. * Fri Nov 18 2011 Alexander Kurtakov <akurtako@redhat.com> 1.1.0-2
  250. - Add patch to fix New git repo wizard.
  251.  
  252. * Mon Jun 27 2011 Andrew Robinson <arobinso@redhat.com> 1.1.0-1
  253. - Update to upstream release 1.1.0.
  254.  
  255. * Tue Jun 14 2011 Chris Aniszczyk <zx@redhat.com> 1.0.0-2
  256. - Update to final upstream release v1.0.0.201106090707-r.
  257.  
  258. * Tue Jun 07 2011 Chris Aniszczyk <zx@redhat.com> 1.0.0-1
  259. - Update to upstream release 1.0.0.
  260.  
  261. * Tue May 03 2011 Chris Aniszczyk <zx@redhat.com> 0.12.1-1
  262. - Update to upstream release 0.12.1.
  263.  
  264. * Tue Feb 22 2011 Chris Aniszczyk <zx@redhat.com> 0.11.3-2
  265. - Update to fix issue with GitCloneWizard file.
  266.  
  267. * Tue Feb 22 2011 Chris Aniszczyk <zx@redhat.com> 0.11.3-1
  268. - Update to upstream release 0.11.3.
  269.  
  270. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-2
  271. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  272.  
  273. * Wed Dec 22 2010 Chris Aniszczyk <zx@redhat.com> 0.10.1-1
  274. - Update to upstream release 0.10.1.
  275.  
  276. * Thu Oct 7 2010 Chris Aniszczyk <zx@redhat.com> 0.9.3-1
  277. - Update to upstream release 0.9.3.
  278.  
  279. * Wed Sep 15 2010 Severin Gehwolf <sgehwolf@redhat.com> 0.9.1-1
  280. - Update to upstream release 0.9.1.
  281. - Remove git-core dependency.
  282.  
  283. * Thu Aug 26 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.9.0-0.1.20100825git
  284. - Make release tag more readable (separate "0.1" and pre-release tag by ".").
  285.  
  286. * Wed Aug 25 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.9.0-0.120100825git
  287. - Pre-release of EGit 0.9.0
  288.  
  289. * Thu Jun 24 2010 Severin Gehwolf <sgehwolf at, redhat.com> 0.8.4-1
  290. - Rebase to 0.8.4 release.
  291.  
  292. * Tue Apr 13 2010 Jeff Johnston <jjohnstn@redhat.com> 0.7.1-2
  293. - Bump up release.
  294.  
  295. * Tue Apr 13 2010 Jeff Johnston <jjohnstn@redhat.com> 0.7.1-1
  296. - Rebase to 0.7.1.
  297.  
  298. * Fri Mar 19 2010 Alexander Kurtakov <akurtako@redhat.com> 0.7.0-1
  299. - Update to 0.7.0.
  300. - License is only EPL now.
  301.  
  302. * Tue Feb 9 2010 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20100208
  303. - New git snapshot.
  304.  
  305. * Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 0.6.0-0.1.git20091029
  306. - Update to 0.6 git.
  307.  
  308. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
  309. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  310.  
  311. * Fri Jul 17 2009 Alexander Kurtakov <akurtako@redhat.com> 0.5.0-1
  312. - Update to 0.5.0.
  313.  
  314. * Mon Mar 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-3.20090323
  315. - Update to latest snapshot.
  316.  
  317. * Mon Mar 23 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-3.20090217
  318. - Rebuild to not ship p2 context.xml.
  319.  
  320. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2.20090217
  321. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  322.  
  323. * Tue Feb 17 2009 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-1.20090217
  324. - New snapshot.
  325.  
  326. * Wed Dec 10 2008 Alexander Kurtakov <akurtako@redhat.com> 0.4.0-1
  327. - Update to 0.4.0.
  328.  
  329. * Wed Oct 22 2008 Alexander Kurtakov <akurtako@redhat.com> 0.3.1.20081022-3
  330. - New git version.
  331.  
  332. * Wed Jul 30 2008 Andrew Overholt <overholt@redhat.com> 0.3.1-2
  333. - Move files and update build for Eclipse SDK 3.4
  334. - Use pdebuild
  335.  
  336. * Thu Jul 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.1-1
  337. - fix license tag
  338.  
  339. * Tue Apr 08 2008 Jesse Keating <jkeating@redhat.com> - 0.3.1-0
  340. - New upstream release 0.3.1, makes committing / diffing actually work
  341.  
  342. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.0-3
  343. - Autorebuild for GCC 4.3
  344.  
  345. * Thu Oct 04 2007 Ben Konrath <bkonrath@redhat.com> 0.3.0-2.fc8
  346. - Require git-core instead of git.
  347. - Resolves: #319321
  348.  
  349. * Mon Sep 24 2007 Ben Konrath <bkonrath@redhat.com> 0.3.0-1.fc8
  350. - 0.3.0
  351.  
  352. * Wed Sep 19 2007 Ben Konrath <bkonrath@redhat.com> 0.2.99-0.git20070919.fc8
  353. - 0.2.99 git20070919
  354.  
  355. * Mon Sep 17 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-2.git20070911.fc8
  356. - Update add feature and plugin patch.
  357.  
  358. * Mon Sep 17 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-1.git20070911.fc8
  359. - Require eclipse-platform >= 3.2.1
  360.  
  361. * Fri Sep 14 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-0.git20070911.fc8
  362. - Update to git20070911.
  363. - Update feature and accosicated branding plugin.
  364.  
  365. * Wed Aug 29 2007 Ben Konrath <bkonrath@redhat.com> 0.2.2-0.git20070826.fc8
  366. - Initial version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement