%global bundle org.apache.felix.gogo.shell Name: felix-gogo-shell Version: 1.1.0 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 BuildArch: noarch Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:gogo-parent:pom:) >= 4 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) %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 provides a simple textual user interface to interact with the command processor. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n %{bundle}-%{version} %mvn_file : felix/%{bundle} %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE NOTICE %files javadoc -f .mfiles-javadoc %license LICENSE NOTICE %changelog * Sat Jul 25 2020 yanan li - 1.1.0-1 - Package init