4040fcf
%global mpc_repo_tag a119914510f8a2ecae0542a4b3934eec05a51788
4040fcf
%global uss_repo_tag 816eae2b45937929d5955246489d6b8ce443acb9
Chris Aniszczyk 2eb7186
Chris Aniszczyk 2eb7186
Name:           eclipse-mpc
4040fcf
Version:        1.7.7
4040fcf
Release:        1%{?dist}
Chris Aniszczyk 2eb7186
Summary:        Eclipse Marketplace Client
Chris Aniszczyk 2eb7186
492f558
License:        EPL-2.0
Chris Aniszczyk 2eb7186
URL:            http://www.eclipse.org/mpc/
6542dd0
Source0:        http://git.eclipse.org/c/mpc/org.eclipse.epp.mpc.git/snapshot/org.eclipse.epp.mpc-%{mpc_repo_tag}.tar.xz
6542dd0
6542dd0
# This could be broken out into a separate srpm if something else requires it in the future
0fa095d
Source1:        http://git.eclipse.org/c/usssdk/org.eclipse.usssdk.git/snapshot/org.eclipse.usssdk-%{uss_repo_tag}.tar.xz
22d7b60
Chris Aniszczyk 2eb7186
BuildArch: noarch
Chris Aniszczyk 2eb7186
369ab9d
# Upstream Eclipse no longer supports non-64bit arches
369ab9d
ExcludeArch: s390 %{arm} %{ix86}
369ab9d
0f14151
BuildRequires: eclipse-pde
0f14151
BuildRequires: eclipse-p2-discovery
dd88077
BuildRequires: tycho
dd88077
BuildRequires: tycho-extras
c7cc3ef
BuildRequires: maven-plugin-build-helper
edf03ee
BuildRequires: maven-enforcer-plugin
492f558
BuildRequires: eclipse-license2
6542dd0
BuildRequires: httpcomponents-client
0f14151
Requires: eclipse-platform
0f14151
Requires: eclipse-p2-discovery
Chris Aniszczyk 2eb7186
Chris Aniszczyk 2eb7186
%description
Chris Aniszczyk 2eb7186
The Eclipse Marketplace Client provides access to extension catalogs.
Chris Aniszczyk 2eb7186
Chris Aniszczyk 2eb7186
%prep
6542dd0
%setup -q -n org.eclipse.epp.mpc-%{mpc_repo_tag}
6542dd0
6542dd0
# Add USS plug-ins to the build
4040fcf
tar --strip-components=1 -xf %{SOURCE1} org.eclipse.usssdk-%{uss_repo_tag}/org.eclipse.userstorage{,.ui,.oauth,-feature}
4040fcf
%pom_xpath_inject "pom:modules" "<module>org.eclipse.userstorage</module><module>org.eclipse.userstorage.ui</module><module>org.eclipse.userstorage.oauth</module><module>org.eclipse.userstorage-feature</module>"
4040fcf
for b in org.eclipse.userstorage{,.ui,.oauth,-feature} ; do
fd42d6a
%pom_set_parent "org.eclipse.epp.mpc:org.eclipse.epp.mpc-bundle:%{version}-SNAPSHOT" $b
fd42d6a
%pom_xpath_inject "pom:parent" "<relativePath>../org.eclipse.epp.mpc-parent/bundle</relativePath>" $b
fd42d6a
done
4040fcf
sed -i -e '/license-feature-version/s/2\.0\.0/0.0.0/' org.eclipse.userstorage-feature/feature.xml
0fa095d
18a8f48
# PMD and findbugs is unnecessary to the build
fd42d6a
%pom_remove_plugin org.apache.maven.plugins:maven-pmd-plugin org.eclipse.epp.mpc-parent
18a8f48
%pom_remove_plugin org.apache.maven.plugins:maven-pmd-plugin org.eclipse.epp.mpc-parent/bundle
369ab9d
%pom_remove_plugin :spotbugs-maven-plugin org.eclipse.epp.mpc-parent
369ab9d
%pom_remove_plugin :spotbugs-maven-plugin org.eclipse.epp.mpc-parent/bundle
18a8f48
fd42d6a
# Remove bundles that are not applicable to Linux
fd42d6a
%pom_disable_module org.eclipse.epp.mpc.core.win32
fd42d6a
%pom_xpath_remove "feature/plugin[@id='org.eclipse.epp.mpc.core.win32']" org.eclipse.epp.mpc.feature/feature.xml
fd42d6a
fd42d6a
# Don't need to build update sites or target platforms for RPM builds
fd42d6a
%pom_disable_module org.eclipse.epp.mpc.site
fd42d6a
%pom_disable_module org.eclipse.epp.mpc-target
b824784
%pom_remove_plugin org.eclipse.tycho:target-platform-configuration org.eclipse.epp.mpc-parent/pom.xml
fd42d6a
b824784
%pom_xpath_remove "pom:build/pom:pluginManagement/pom:plugins/pom:plugin[pom:artifactId='tycho-packaging-plugin']" org.eclipse.epp.mpc-parent/pom.xml
6542dd0
%pom_disable_module org.eclipse.epp.mpc.tests
6542dd0
%pom_disable_module org.eclipse.epp.mpc.tests.catalog
fd42d6a
%pom_disable_module org.eclipse.epp.mpc.dependencies.feature
dd88077
d181110
# Non-strict compiler checking
d181110
sed -i -e '/strictCompilerTarget/d' org.eclipse.epp.mpc-parent/pom.xml
d181110
0f14151
%mvn_package "::pom::" __noinstall
08f73b7
%mvn_package "::jar:sources{,-feature}:"
Krzysztof Daniel b4e2e9c
Chris Aniszczyk 2eb7186
%build
fd42d6a
# Qualifier generated from last modification time of source tarball
fd42d6a
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
2be4944
%mvn_build -j -f -- -DforceContextQualifier=$QUALIFIER
Chris Aniszczyk 2eb7186
Chris Aniszczyk 2eb7186
%install
dd88077
%mvn_install
Chris Aniszczyk 2eb7186
dd88077
%files -f .mfiles
Chris Aniszczyk 2eb7186
Chris Aniszczyk 2eb7186
%changelog
4040fcf
* Tue Jun 11 2019 Mat Booth <mat.booth@redhat.com> - 1.7.7-1
4040fcf
- Update to latest upstream release
4040fcf
51e94e9
* Fri Mar 15 2019 Mat Booth <mat.booth@redhat.com> - 1.7.5-2
51e94e9
- Fix widget is disposed error on start up
51e94e9
369ab9d
* Wed Mar 13 2019 Mat Booth <mat.booth@redhat.com> - 1.7.5-1
369ab9d
- Update to 2019-03 release
369ab9d
- Restrict to same architectures as Eclipse itself
369ab9d
- Don't package common license feature
369ab9d
73406ee
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-2
73406ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
73406ee
c9cd57e
* Fri Dec 07 2018 Mat Booth <mat.booth@redhat.com> - 1.7.3-1
c9cd57e
- Update for 2018-12 release
c9cd57e
a0094c9
* Wed Aug 22 2018 Mat Booth <mat.booth@redhat.com> - 1.7.2-1
a0094c9
- Update to latest release
a0094c9
777edf8
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
777edf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
777edf8
492f558
* Tue Jun 12 2018 Mat Booth <mat.booth@redhat.com> - 1.7.0-1
492f558
- Update to Photon release
492f558
5c0eca4
* Tue Mar 20 2018 Mat Booth <mat.booth@redhat.com> - 1.6.4-1
5c0eca4
- Update to latest release
5c0eca4
3595c8f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
3595c8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3595c8f
5230539
* Mon Oct 02 2017 Mat Booth <mat.booth@redhat.com> - 1.6.2-1
5230539
- Update to Oxygen.1a release
5230539
b7d935f
* Sun Sep 17 2017 Mat Booth <mat.booth@redhat.com> - 1.6.1-1
b7d935f
- Update to Oxygen.1 release
b7d935f
00da970
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-0.4.gitfce01a1
00da970
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
00da970
2be4944
* Thu Jun 22 2017 Mat Booth <mat.booth@redhat.com> - 1.6.0-0.3.gitfce01a1
2be4944
- Correct typo in qualifier
2be4944
fd42d6a
* Thu Jun 22 2017 Mat Booth <mat.booth@redhat.com> - 1.6.0-0.2.gitfce01a1
fd42d6a
- Update to latest Oxygen snapshot
fd42d6a
0fa095d
* Mon May 08 2017 Mat Booth <mat.booth@redhat.com> - 1.6.0-0.1
0fa095d
- Update to Oxygen compatibile snapshot
0fa095d
94d4edb
* Wed Mar 29 2017 Mat Booth <mat.booth@redhat.com> - 1.5.4-1
94d4edb
- Update to latest upstream version
94d4edb
9140ea5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
9140ea5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9140ea5
ad60502
* Wed Jan 11 2017 Mat Booth <mat.booth@redhat.com> - 1.5.3-1
ad60502
- Update to latest release
ad60502
0418e25
* Thu Oct 13 2016 Mat Booth <mat.booth@redhat.com> - 1.5.2-1
0418e25
- Update to 1.5.2 for Neon.1a
0418e25
f3c0304
* Tue Oct 04 2016 Mat Booth <mat.booth@redhat.com> - 1.5.1-1
f3c0304
- Update to Neon.1 version
f3c0304
18a8f48
* Mon Aug 01 2016 Mat Booth <mat.booth@redhat.com> - 1.5.0-3
18a8f48
- Drop usage of PMD plugin
18a8f48
edf03ee
* Mon Jul 11 2016 Mat Booth <mat.booth@redhat.com> - 1.5.0-2
edf03ee
- Add missing BR
edf03ee
6542dd0
* Mon Jul 11 2016 Mat Booth <mat.booth@redhat.com> - 1.5.0-1
6542dd0
- Update to neon release
6542dd0
c7cc3ef
* Wed Jun 15 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.2-2
c7cc3ef
- Add missing build-requires
c7cc3ef
08f73b7
* Wed Mar 09 2016 Mat Booth <mat.booth@redhat.com> - 1.4.2-1
08f73b7
- Update to Mars.2 release
08f73b7
197d5bf
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
197d5bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
197d5bf
0f14151
* Mon Oct 05 2015 Mat Booth <mat.booth@redhat.com> - 1.4.1-1
0f14151
- Update to Mars.1 release
0f14151
1993b9e
* Mon Sep 14 2015 Roland Grunberg <rgrunber@redhat.com> - 1.4.0-2
1993b9e
- Rebuild as an Eclipse p2 Droplet.
1993b9e
832453e
* Thu Jul 2 2015 Alexander Kurtakov <akurtako@redhat.com> 1.4.0-1
832453e
- Update to upstream 1.4.0 release.
832453e
50efd0f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
50efd0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
50efd0f
d181110
* Fri Mar 06 2015 Mat Booth <mat.booth@redhat.com> - 1.3.2-1
d181110
- Update to Luna SR2 release
d181110
5fcc959
* Fri Feb  6 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.3.1-5
5fcc959
- Rebuild to generate missing OSGi auto-requires
5fcc959
22d7b60
* Tue Jan 20 2015 Mat Booth <mat.booth@redhat.com> - 1.3.1-4
22d7b60
- Make direct hamcrest use explicit in manifest
22d7b60
dd88077
* Wed Dec 3 2014 Alexander Kurtakov <akurtako@redhat.com> 1.3.1-3
dd88077
- Build with xmvn.
dd88077
ba4ecde
* Fri Nov 7 2014 Alexander Kurtakov <akurtako@redhat.com> 1.3.1-2
ba4ecde
- Prepend v to qualifier to make update center not proposing updates.
ba4ecde
d010741
* Tue Oct 07 2014 Roland Grunberg <rgrunber@redhat.com> - 1.3.1-1
d010741
- Update to upstream 1.3.1 release.
d010741
6429dfd
* Mon Oct 06 2014 Roland Grunberg <rgrunber@redhat.com> - 1.3.0-2
6429dfd
- Make org.eclipse.epp.mpc.core a singleton bundle.
6429dfd
- Resolves: rhbz#1149469
6429dfd
b824784
* Thu Sep 11 2014 Alexander Kurtakov <akurtako@redhat.com> 1.3.0-1
b824784
- Update to upstream 1.3.0 release.
b824784
fe5af0d
* Thu Sep 4 2014 Alexander Kurtakov <akurtako@redhat.com> 1.2.2-1
fe5af0d
- Update to official 1.2.2 release.
fe5af0d
36671fa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-0.2.git519e70b
36671fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
36671fa
db454e8
* Mon Nov 11 2013 Alexander Kurtakov <akurtako@redhat.com> 1.2.1-0.1.git519e70b
db454e8
- This is gonna be version 1.2.1.
db454e8
Krzysztof Daniel a2993e6
* Tue Oct 1 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.2-0.6.git7feb49
Krzysztof Daniel a2993e6
- Fix the build (remove jgit timestamp provider).
Krzysztof Daniel a2993e6
Krzysztof Daniel e12aafc
* Tue Oct 1 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.2-0.4.git7feb49
Krzysztof Daniel e12aafc
- Update to latest upstream.
Krzysztof Daniel e12aafc
b1239f7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-0.4.git00b427
b1239f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b1239f7
Krzysztof Daniel b1cce2b
* Thu Jun 20 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.2-0.3.git00b427
Krzysztof Daniel b1cce2b
- Update to latest upstream (likely Kepler, but not tagged yet).
Krzysztof Daniel b1cce2b
Krzysztof Daniel 49e2f61
* Tue May 7 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.2-0.2.gitb114a5
Krzysztof Daniel 49e2f61
- Tranistion to tycho build. 
Krzysztof Daniel 49e2f61
Krzysztof Daniel b4e2e9c
* Mon May 6 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.2-0.1.gitb114a5
Krzysztof Daniel b4e2e9c
- Update to latest upstream.
Krzysztof Daniel b4e2e9c
Krzysztof Daniel 8f23afd
* Thu Feb 14 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.1.1-4
Krzysztof Daniel 8f23afd
- Fix the build.
Krzysztof Daniel 8f23afd
bb24540
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
bb24540
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bb24540
8013c3f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
8013c3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8013c3f
3e055ce
* Fri Feb 10 2012 Alexander Kurtakov <akurtako@redhat.com> 1.1.1-1
3e055ce
- Update to upstream 1.1.1 release.
3e055ce
a0b9a2c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
a0b9a2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a0b9a2c
af53fc5
* Wed Jul 13 2011 Alexander Kurtakov <akurtako@redhat.com> 1.1.0-2
af53fc5
- Use upstream sources.
af53fc5
- Adapt to current guidelines.
af53fc5
Chris Aniszczyk 4ca4e69
* Thu Jun 02 2011 Chris Aniszczyk <zx@redhat.com> 1.1.0-1
Chris Aniszczyk 4ca4e69
- Updating to the 1.1.0 release
Chris Aniszczyk 4ca4e69
1aa1b32
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
1aa1b32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1aa1b32
Chris Aniszczyk 2eb7186
* Thu Sep 9 2010 Chris Aniszczyk <zx@redhat.com> 1.0.1-1
Chris Aniszczyk 2eb7186
- Initial packaging