diff --git a/felix-gogo-command.spec b/felix-gogo-command.spec new file mode 100644 index 0000000..3904177 --- /dev/null +++ b/felix-gogo-command.spec @@ -0,0 +1,47 @@ +%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 diff --git a/felix-gogo-command.yaml b/felix-gogo-command.yaml new file mode 100644 index 0000000..f1394fe --- /dev/null +++ b/felix-gogo-command.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: apache/felix-dev +tag_prefix: "org.apache.felix.gogo.command-" +seperator: "." diff --git a/org.apache.felix.gogo.command-1.0.2-source-release.tar.gz b/org.apache.felix.gogo.command-1.0.2-source-release.tar.gz new file mode 100644 index 0000000..a312a83 Binary files /dev/null and b/org.apache.felix.gogo.command-1.0.2-source-release.tar.gz differ