Krzysztof Daniel 6198823
Name:           cbi-plugins
f5d9d8f
Version:        1.1.5
0b43fdb
Release:        5%{?dist}
Krzysztof Daniel 6198823
Summary:        A set of helpers for Eclipse CBI
0b43fdb
License:        EPL-1.0
f5d9d8f
URL:            https://git.eclipse.org/c/cbi/org.eclipse.cbi.git/tree/maven-plugins/README.md
Krzysztof Daniel 6198823
BuildArch:      noarch
Krzysztof Daniel 6198823
f5d9d8f
Source0:        https://git.eclipse.org/c/cbi/org.eclipse.cbi.git/snapshot/org.eclipse.cbi-org.eclipse.cbi.maven.plugins_maven-plugin-parent_%{version}.tar.xz
28ef505
12fe554
BuildRequires:  maven-local
b0c1056
BuildRequires:  mvn(com.google.auto.value:auto-value)
f5d9d8f
BuildRequires:  mvn(com.google.guava:guava:20.0)
28ef505
BuildRequires:  mvn(de.pdark:decentxml)
b0c1056
BuildRequires:  mvn(org.apache.commons:commons-compress)
28ef505
BuildRequires:  mvn(org.apache.httpcomponents:httpclient)
28ef505
BuildRequires:  mvn(org.apache.httpcomponents:httpmime)
28ef505
BuildRequires:  mvn(org.apache.maven:maven-core)
28ef505
BuildRequires:  mvn(org.apache.maven:maven-plugin-api)
28ef505
BuildRequires:  mvn(org.apache.maven.plugins:maven-plugin-plugin)
28ef505
BuildRequires:  mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
28ef505
BuildRequires:  mvn(org.eclipse.tycho:tycho-core)
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%description
Krzysztof Daniel 6198823
A set of helpers for Eclipse CBI.
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%package javadoc
f5d9d8f
Summary: Javadoc for %{name}
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%description javadoc
Krzysztof Daniel 6198823
API documentation for %{name}.
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%prep
b0c1056
%setup -q -n org.eclipse.cbi-org.eclipse.cbi.maven.plugins_maven-plugin-parent_%{version}
b0c1056
%pom_disable_module eclipse-macsigner-plugin maven-plugins
b0c1056
%pom_disable_module eclipse-winsigner-plugin maven-plugins
0b43fdb
%pom_disable_module eclipse-dmg-packager maven-plugins
0b43fdb
%pom_disable_module eclipse-flatpak-packager maven-plugins
b0c1056
827fb3d
# Disable plugins not needed for RPM builds
b0c1056
%pom_remove_plugin :findbugs-maven-plugin
b0c1056
%pom_remove_plugin :maven-checkstyle-plugin
827fb3d
%pom_remove_plugin :maven-enforcer-plugin
b0c1056
f5d9d8f
# We don't have findbugs annotations
f5d9d8f
%pom_change_dep com.google.code.findbugs: com.google.code.findbugs:jsr305 . maven-plugins/eclipse-flatpak-packager
f5d9d8f
sed -i -e '/SuppressFBWarnings/d' maven-plugins/eclipse-flatpak-packager/src/main/java/org/eclipse/cbi/maven/plugins/flatpakager/model/Source.java
f5d9d8f
b0c1056
# Build the common module
b0c1056
%pom_xpath_inject pom:modules "<module>../common/</module>" maven-plugins
b0c1056
%pom_remove_dep org.eclipse.cbi:checkstyle common
b0c1056
b0c1056
# Parent pom and common module are "released" independently, but actually nothing changed yet since last releases
f5d9d8f
sed -i -e 's/1\.0\.5-SNAPSHOT/1.0.4/' pom.xml
f5d9d8f
sed -i -e 's/1\.2\.3-SNAPSHOT/1.2.2/' common/pom.xml
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%build
b0c1056
# Tests require jimfs which is not in Fedora
b0c1056
%mvn_build -f -- -f maven-plugins/pom.xml -Dproject.build.sourceEncoding=UTF-8
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%install
deac8c2
%mvn_install
Krzysztof Daniel 6198823
Krzysztof Daniel ef766a7
%files -f .mfiles
Krzysztof Daniel 6198823
deac8c2
%files javadoc -f .mfiles-javadoc
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
%changelog
0b43fdb
* Fri Feb 15 2019 Mat Booth <mat.booth@redhat.com> - 1.1.5-5
0b43fdb
- Disable plugins that are not relevant for RPM builds (reduces the dep tree)
0b43fdb
- Fix license tag
0b43fdb
6469561
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-4
6469561
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6469561
82762b7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
82762b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
82762b7
827fb3d
* Sun Apr 29 2018 Mat Booth <mat.booth@redhat.com> - 1.1.5-2
827fb3d
- Disable unnecessary enforcer checks
827fb3d
f5d9d8f
* Thu Apr 26 2018 Mat Booth <mat.booth@redhat.com> - 1.1.5-1
f5d9d8f
- Update to latest upstream release
f5d9d8f
4ebef66
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
4ebef66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4ebef66
afec3e1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
afec3e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
afec3e1
02f2771
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
02f2771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
02f2771
b0c1056
* Fri Dec 09 2016 Mat Booth <mat.booth@redhat.com> - 1.1.3-1
b0c1056
- Update to 1.1.3 release
b0c1056
28ef505
* Fri Dec  9 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.2-5
28ef505
- Regenerate build-requires
28ef505
- Resolves: rhbz#1403033
28ef505
85c6521
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
85c6521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
85c6521
12fe554
* Mon Jun 22 2015 Mat Booth <mat.booth@redhat.com> - 1.1.2-3
12fe554
- Drop unnecessary requires
12fe554
53eaecf
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
53eaecf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
53eaecf
ca92bb3
* Fri May 22 2015 Alexander Kurtakov <akurtako@redhat.com> 1.1.2-1
ca92bb3
- Update to upstream 1.1.2 release.
ca92bb3
124aa7d
* Mon Jul 28 2014 Roland Grunberg <rgrunber@redhat.com> - 1.1.1-2
124aa7d
- Update to 1.1.1 Release.
124aa7d
b09fee4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-4
b09fee4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b09fee4
1aecaaf
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.0.5-3
1aecaaf
- Use Requires: java-headless rebuild (#1067528)
1aecaaf
0e4fc39
* Wed Nov 13 2013 Alexander Kurtakov <akurtako@redhat.com> 1.0.5-2
0e4fc39
- Disable win/mac signers.
0e4fc39
deac8c2
* Wed Nov 13 2013 Alexander Kurtakov <akurtako@redhat.com> 1.0.5-1
deac8c2
- Update to latest upstream.
deac8c2
Krzysztof Daniel 903923e
* Mon Sep 30 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.4-1
Krzysztof Daniel 903923e
- Update to latest upstream.
Krzysztof Daniel 903923e
d023287
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
d023287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d023287
Krzysztof Daniel 4203b20
* Mon May 27 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.3-1
Krzysztof Daniel 4203b20
- Update to latest upstream.
Krzysztof Daniel 4203b20
Krzysztof Daniel ef766a7
* Thu Mar 14 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.1-0.4.git734d40
Krzysztof Daniel ef766a7
- Update to latest upstream.
Krzysztof Daniel ef766a7
Krzysztof Daniel 21cfc4b
* Thu Feb 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.1-0.3.git120561
Krzysztof Daniel 21cfc4b
- Delete empty line from sources.
Krzysztof Daniel 21cfc4b
Krzysztof Daniel 6198823
* Thu Feb 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.1-0.2.git120561
Krzysztof Daniel 6198823
- Review remarks fixed.
Krzysztof Daniel 6198823
Krzysztof Daniel 6198823
* Thu Feb 21 2013 Krzysztof Daniel <kdaniel@redhat.com> 1.0.1-0.1.git120561
Krzysztof Daniel 6198823
- Initial contribution.