!2 Package init

Merge pull request !2 from lyn/master
This commit is contained in:
openeuler-ci-bot 2020-08-24 19:37:23 +08:00 committed by Gitee
commit 3bee8ecc06
3 changed files with 46 additions and 0 deletions

41
felix-shell.spec Normal file
View File

@ -0,0 +1,41 @@
%global bundle org.apache.felix.shell
Name: felix-shell
Version: 1.4.3
Release: 1
Summary: Apache Felix Shell Service
License: ASL 2.0
URL: http://felix.apache.org
Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0 jpackage-utils maven-local felix-osgi-core
BuildRequires: felix-osgi-compendium maven-plugin-bundle felix-parent mockito
%description
A simple OSGi command shell service.
%package help
Summary: API documentation for %{name}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
This package contains API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin
%mvn_file :%{bundle} "felix/%{bundle}"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE DEPENDENCIES
%files help -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.4.3-1
- package init

5
felix-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.shell-"
seperator: "."

Binary file not shown.