%global bundle org.apache.felix.gogo.command Name: felix-gogo-command Version: 1.0.2 Release: 1 Summary: Apache Felix Gogo command line shell for OSGi License: ASL 2.0 URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html Source0: https://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.gogo.command/%{version}/org.apache.felix.gogo.command-%{version}-source-release.tar.gz BuildRequires: maven-local mvn(org.apache.felix:gogo-parent:pom:) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.felix:org.apache.felix.gogo.runtime) BuildRequires: mvn(org.mockito:mockito-core) mvn(org.osgi:osgi.cmpn) mvn(org.osgi:osgi.core) BuildArch: noarch %description Apache Felix Gogo is a subproject of Apache Felix implementing a command line shell for OSGi. It is used in many OSGi runtimes and servers. This package implements a set of basic commands. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains API documentation for %{name}. %prep %setup -q -n %{bundle}-%{version} %mvn_file : felix/%{bundle} %pom_change_dep :org.osgi.core :osgi.core::provided %pom_change_dep :org.osgi.compendium :osgi.cmpn::provided %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Mon Aug 3 2020 leiju - 1.0.2-1 - Package init