maven-bundle-plugin/maven-bundle-plugin.spec

320 lines
12 KiB
RPMSpec
Raw Normal View History

2021-05-17 16:01:45 +00:00
%bcond_with bootstrap
2011-11-10 11:23:33 +00:00
Name: maven-bundle-plugin
2023-08-17 17:21:43 +00:00
Version: 5.1.9
Release: 5%{?dist}
2009-09-09 18:45:59 +00:00
Summary: Maven Bundle Plugin
License: Apache-2.0
URL: https://felix.apache.org
BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
2020-08-26 15:21:14 +00:00
Source0: https://repo1.maven.org/maven2/org/apache/felix/maven-bundle-plugin/%{version}/maven-bundle-plugin-%{version}-source-release.tar.gz
2016-02-12 13:06:16 +00:00
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: maven-local
2015-07-08 16:53:50 +00:00
BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib)
2014-05-21 16:52:21 +00:00
BuildRequires: mvn(org.apache.felix:felix-parent:pom:)
2015-07-08 16:53:50 +00:00
BuildRequires: mvn(org.apache.felix:org.apache.felix.utils)
2023-08-17 17:21:43 +00:00
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
2014-05-21 16:52:21 +00:00
BuildRequires: mvn(org.apache.maven:maven-archiver)
2023-08-17 17:21:43 +00:00
BuildRequires: mvn(org.apache.maven:maven-artifact)
2016-02-12 13:06:16 +00:00
BuildRequires: mvn(org.apache.maven:maven-compat)
2014-05-21 16:52:21 +00:00
BuildRequires: mvn(org.apache.maven:maven-core)
2023-08-17 17:21:43 +00:00
BuildRequires: mvn(org.apache.maven:maven-model)
2014-05-21 16:52:21 +00:00
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
BuildRequires: mvn(org.slf4j:slf4j-api)
2015-07-08 16:53:50 +00:00
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
%endif
# TODO remove Provides / Obsoletes on maven-plugin-bundle in Fedora 41
Provides: maven-plugin-bundle = %{version}-%{release}
Obsoletes: maven-plugin-bundle < 5.1.1-9
2009-09-09 18:45:59 +00:00
%description
Provides a maven plugin that supports creating an OSGi bundle
from the contents of the compilation classpath along with its
resources and dependencies. Plus a zillion other features.
%package javadoc
Summary: Javadoc for %{name}
# TODO remove Provides / Obsoletes on maven-plugin-bundle-javadoc in Fedora 41
Provides: maven-plugin-bundle-javadoc = %{version}-%{release}
Obsoletes: maven-plugin-bundle-javadoc < 5.1.1-9
2009-09-09 18:45:59 +00:00
%description javadoc
API documentation for %{name}.
%prep
%setup -q
2016-02-12 13:06:16 +00:00
2015-07-08 16:53:50 +00:00
find -name '*.jar' -delete
# There is forked version of maven-osgi in
# src/{main,test}/java/org/apache/maven
2011-11-10 11:23:33 +00:00
rm -rf src/main/java/org/apache/felix/obrplugin/
%pom_remove_dep :org.apache.felix.bundlerepository
rm -f src/main/java/org/apache/felix/bundleplugin/baseline/BaselineReport.java
%pom_remove_dep :doxia-sink-api
%pom_remove_dep :doxia-site-renderer
%pom_remove_dep :maven-reporting-api
2020-08-26 15:21:14 +00:00
%pom_remove_dep :org.osgi.core
%pom_remove_dep :jdom
%pom_remove_plugin :maven-invoker-plugin
2009-09-09 18:45:59 +00:00
%build
2015-07-08 16:53:50 +00:00
# Tests depend on bundled JARs
2022-09-05 08:42:29 +00:00
# source and target set explicitly for xmvn-javadoc-plugin
%mvn_build -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
2009-09-09 18:45:59 +00:00
%install
2014-05-21 16:52:21 +00:00
%mvn_install
2009-09-09 18:45:59 +00:00
2014-05-21 16:52:21 +00:00
%files -f .mfiles
%license LICENSE NOTICE
2009-09-09 18:45:59 +00:00
2014-05-21 16:52:21 +00:00
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
2009-09-09 18:45:59 +00:00
%changelog
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.1.9-5
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Sep 01 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.9-2
- Convert License tag to SPDX format
2023-08-17 17:21:43 +00:00
* Thu Aug 17 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.9-1
- Update to upstream version 5.1.9
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Feb 21 2023 Marian Koncek <mkoncek@redhat.com> - 5.1.1-9
- Rename package from maven-plugin-bundle
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-05 08:42:29 +00:00
* Mon Sep 05 2022 Marian Koncek <mkoncek@redhat.com> - 5.1.1-7
- Set source and target version to 1.8
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 5.1.1-5
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-05-17 13:50:15 +00:00
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 5.1.1-2
- Bootstrap build
2021-05-17 16:01:45 +00:00
- Non-bootstrap build
2021-05-17 13:50:15 +00:00
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-08-26 15:21:14 +00:00
* Wed Aug 26 2020 Marian Koncek <mkoncek@redhat.com> - 5.1.1-1
- Update to upstream version 5.1.1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-10 11:41:50 +00:00
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 4.2.1-2
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Sat May 16 2020 Fabio Valentini <decathorpe@gmail.com> - 4.2.1-1
- Update to version 4.2.1.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-2
- Mass rebuild for javapackages-tools 201902
2019-09-05 07:08:22 +00:00
* Mon Aug 19 2019 Marian Koncek <mkoncek@redhat.com> - 4.2.1-1
- Update to upstream version 4.2.1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-06-04 11:14:00 +00:00
* Tue Jun 04 2019 Marian Koncek <mkoncek@redhat.com> - 4.2.0-1
- Update to upstream version 4.2.0
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.0-3
- Mass rebuild for javapackages-tools 201901
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-11-05 17:04:03 +00:00
* Mon Nov 5 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.1-1
- Remove unneeded BR on doxia-core
2018-11-01 14:19:46 +00:00
* Thu Nov 01 2018 Marian Koncek <mkoncek@redhat.com> - 3.5.1-1
- Update to upstream version 3.5.1
* Thu Aug 02 2018 Michael Simacek <msimacek@redhat.com> - 3.5.0-4
- Remove spurious %%if fedora
- Use license macro
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-08 11:37:58 +00:00
* Mon Jan 08 2018 Michael Simacek <msimacek@redhat.com> - 3.5.0-1
- Update to upstream version 3.5.0
2018-01-02 13:31:49 +00:00
* Tue Jan 02 2018 Michael Simacek <msimacek@redhat.com> - 3.4.0-1
- Update to upstream version 3.4.0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-03-29 09:55:12 +00:00
* Wed Mar 29 2017 Michael Simacek <msimacek@redhat.com> - 3.3.0-1
- Update to upstream version 3.3.0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Oct 12 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.0-3
- Add conditionals for building without OBR or Maven reports
* Thu Oct 06 2016 Michael Simacek <msimacek@redhat.com> - 3.2.0-2
- Use osgi APIs instead of felix-framework
2016-07-19 13:05:29 +00:00
* Tue Jul 19 2016 Michael Simacek <msimacek@redhat.com> - 3.2.0-1
- Update to upstream version 3.2.0
2016-05-27 10:43:25 +00:00
* Thu May 26 2016 Michael Simacek <msimacek@redhat.com> - 3.0.1-4
- Remove aqute downgrade patch
2016-05-12 07:26:58 +00:00
* Thu May 12 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.1-3
- Port to plexus-utils 3.0.24
* Thu Apr 14 2016 Mat Booth <mat.booth@redhat.com> - 3.0.1-2
- Fix build against new maven-archiver, which removed some deprecated methods
that this plugin was using
2016-02-12 13:06:16 +00:00
* Fri Feb 12 2016 Michael Simacek <msimacek@redhat.com> - 3.0.1-1
- Update to upstream version 3.0.1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-07-08 16:53:50 +00:00
* Wed Jul 08 2015 Michael Simacek <msimacek@redhat.com> - 2.5.4-1
- Update to upstream version 2.5.4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2014-08-04 12:17:51 +00:00
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-14
- Add build-requires on mockito
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-05-21 16:52:21 +00:00
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-12
- Update to current packaging guidelines
2014-02-20 18:18:29 +00:00
* Thu Feb 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-11
- Remove unneeded R and BR: maven-wagon
2013-07-26 16:53:16 +00:00
* Fri Jul 26 2013 Tomas Radej <tradej@redhat.com> - 2.3.7-10
- Fixed release number
* Wed Jul 17 2013 Tomas Radej <tradej@redhat.com> - 2.3.7-9
2013-07-17 12:37:56 +00:00
- Updated source address (error 404)
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-8
- Add missing BR: maven-plugin-testing-harness
2013-03-11 15:52:20 +00:00
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-7
- Re-enable tests
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.3.7-5
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-05-21 11:54:46 +00:00
* Mon May 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.7-3
- Add kxml2 to pom as a dependency
2012-04-30 15:38:16 +00:00
* Mon Apr 30 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.7-2
- Add missing BuildRequires
2012-02-29 13:05:59 +00:00
* Wed Feb 29 2012 Jaromir Capik <jcapik@redhat.com> 2.3.7-1
- Update to 2.3.7
* Thu Jan 19 2012 Jaromir Capik <jcapik@redhat.com> 2.3.6-3
- Bundled maven sources readded (they seem to change the behaviour)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-21 15:34:55 +00:00
* Wed Dec 21 2011 Jaromir Capik <jcapik@redhat.com> 2.3.6-1
- Update to 2.3.6
* Mon Dec 19 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-3
- Minimal aqute-bndlib VR set to 1.43.0-2 (older ones are broken)
* Mon Nov 14 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-2
- OBR plugin readded (it's been merged to the bundle plugin)
2011-11-10 11:23:33 +00:00
* Mon Oct 24 2011 Jaromir Capik <jcapik@redhat.com> 2.3.5-1
- Update to 2.3.5
2011-10-11 15:05:45 +00:00
* Tue Oct 17 2011 Jaromir Capik <jcapik@redhat.com> 2.0.0-11
- aqute-bndlib renamed to aqute-bnd
2011-06-16 23:59:43 +00:00
* Fri Jun 17 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-10
- Do not depend on maven2.
2011-02-10 21:58:11 +00:00
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-9
- BR maven-surefire-provider-junit4.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-15 19:25:33 +00:00
* Wed Dec 15 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-7
- BR/R felix-parent.
2010-09-09 20:42:57 +00:00
* Thu Sep 9 2010 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-5
- Fix BuildRequires.
2009-09-18 09:33:40 +00:00
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-4
- Add missing Requires.
2009-09-09 19:10:21 +00:00
* Wed Sep 9 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-3
- BR doxia-sitetools.
2009-09-09 18:45:59 +00:00
* Mon Sep 7 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-2
- Fix BR/Rs.
* Thu Sep 3 2009 Alexander Kurtakov <akurtako@redhat.com> 2.0.0-1
- Initial import.