diff --git a/felix-gogo-shell.spec b/felix-gogo-shell.spec new file mode 100644 index 0000000..f3bfa6f --- /dev/null +++ b/felix-gogo-shell.spec @@ -0,0 +1,43 @@ +%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 diff --git a/felix-gogo-shell.yaml b/felix-gogo-shell.yaml new file mode 100644 index 0000000..6c7db4f --- /dev/null +++ b/felix-gogo-shell.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/apache/felix-dev.git +version_control: github +src_repo: apache/felix-dev +tag_prefix: "org.apache.felix.gogo.shell-" +seperator: "." diff --git a/org.apache.felix.gogo.shell-1.1.0-source-release.tar.gz b/org.apache.felix.gogo.shell-1.1.0-source-release.tar.gz new file mode 100644 index 0000000..f196fd5 Binary files /dev/null and b/org.apache.felix.gogo.shell-1.1.0-source-release.tar.gz differ