%global bundle org.apache.felix.gogo.runtime Name: felix-gogo-runtime 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 Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz BuildArch: noarch BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:gogo-parent:pom:) >= 4 BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.mockito:mockito-core) BuildRequires: 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. %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