package init

This commit is contained in:
small_leek 2020-07-31 15:43:02 +08:00
parent c00ffe054d
commit fdd305f146
3 changed files with 48 additions and 0 deletions

43
felix-gogo-shell.spec Normal file
View File

@ -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 <liyanan032@huawei.com> - 1.1.0-1
- Package init

5
felix-gogo-shell.yaml Normal file
View File

@ -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: "."