2019-04-03 12:18:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package maven-plugin-bundle
|
|
|
|
#
|
2022-03-10 17:37:36 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-04-03 12:18:02 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-03-11 06:48:49 +00:00
|
|
|
%global site_name maven-bundle-plugin
|
2019-04-03 12:18:02 +00:00
|
|
|
Name: maven-plugin-bundle
|
2022-03-10 17:37:36 +00:00
|
|
|
Version: 5.1.1
|
2019-04-03 12:18:02 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Maven Bundle Plugin
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Libraries/Java
|
2022-03-10 18:24:32 +00:00
|
|
|
URL: https://felix.apache.org
|
2022-03-11 06:48:49 +00:00
|
|
|
Source0: https://repo1.maven.org/maven2/org/apache/felix/%{site_name}/%{version}/%{site_name}-%{version}-source-release.tar.gz
|
|
|
|
Patch0: new-reporting-api.patch
|
2019-04-03 12:18:02 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(biz.aQute.bnd:biz.aQute.bndlib)
|
|
|
|
BuildRequires: mvn(org.apache.felix:felix-parent:pom:)
|
|
|
|
BuildRequires: mvn(org.apache.felix:org.apache.felix.utils)
|
2022-03-11 06:48:49 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
|
|
|
BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
2019-04-03 12:18:02 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
2022-03-11 06:50:21 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
|
2019-04-03 12:18:02 +00:00
|
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-archiver)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-compat)
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-core)
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
2022-03-11 06:33:54 +00:00
|
|
|
BuildRequires: mvn(org.jdom:jdom)
|
2022-03-11 06:16:15 +00:00
|
|
|
BuildRequires: mvn(org.osgi:osgi.core)
|
2022-03-10 18:24:32 +00:00
|
|
|
BuildRequires: mvn(org.slf4j:slf4j-api)
|
2019-04-03 12:18:02 +00:00
|
|
|
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
|
2022-03-11 06:16:15 +00:00
|
|
|
BuildArch: noarch
|
2019-04-03 12:18:02 +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}
|
2019-04-06 15:55:10 +00:00
|
|
|
Group: Documentation/HTML
|
2019-04-03 12:18:02 +00:00
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2022-03-11 06:48:49 +00:00
|
|
|
%setup -q -n %{site_name}-%{version}
|
|
|
|
%patch0 -p1
|
2019-04-03 12:18:02 +00:00
|
|
|
|
|
|
|
find -name '*.jar' -delete
|
|
|
|
|
2022-03-11 06:40:16 +00:00
|
|
|
%pom_change_dep :org.osgi.core :osgi.core
|
2022-03-11 06:39:11 +00:00
|
|
|
|
2019-04-03 12:18:02 +00:00
|
|
|
# There is forked version of maven-osgi in
|
|
|
|
# src/{main,test}/java/org/apache/maven
|
|
|
|
|
|
|
|
rm -rf src/main/java/org/apache/felix/obrplugin/
|
|
|
|
%pom_remove_dep :org.apache.felix.bundlerepository
|
|
|
|
|
2022-03-10 17:37:36 +00:00
|
|
|
%pom_remove_plugin :maven-invoker-plugin
|
2019-04-03 12:18:02 +00:00
|
|
|
|
|
|
|
%build
|
2022-03-10 18:24:32 +00:00
|
|
|
%{mvn_build} -f -- -Dsource=8
|
2019-04-03 12:18:02 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
%fdupes -s %{buildroot}%{_javadocdir}
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE NOTICE
|
|
|
|
|
|
|
|
%changelog
|