!1 Package init

Merge pull request !1 from 雷炬/master
This commit is contained in:
openeuler-ci-bot 2020-08-29 16:05:17 +08:00 committed by Gitee
commit d170223433
3 changed files with 50 additions and 0 deletions

46
felix-main.spec Normal file
View File

@ -0,0 +1,46 @@
%global bundle org.apache.felix.main
Name: felix-main
Version: 5.4.0
Release: 1
Summary: Apache Felix Main
License: ASL 2.0
URL: http://felix.apache.org
Source0: http://archive.apache.org/dist/felix/org.apache.felix.main-%{version}-source-release.tar.gz
BuildRequires: java-devel >= 1:1.6.0 jpackage-utils felix-bundlerepository felix-gogo-command
BuildRequires: felix-gogo-runtime felix-gogo-shell felix-osgi-compendium felix-osgi-core
BuildRequires: felix-parent felix-framework >= 4.2.0 maven-local maven-antrun-plugin
BuildRequires: maven-dependency-plugin maven-plugin-bundle maven-source-plugin
BuildRequires: maven-surefire-provider-junit mockito
Requires: felix-bundlerepository felix-gogo-command felix-gogo-runtime felix-gogo-shell
Requires: felix-osgi-compendium felix-osgi-core felix-framework >= 4.2.0
BuildArch: noarch
%description
Apache Felix Main Classes.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
%mvn_file :%{bundle} "felix/%{bundle}"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE DEPENDENCIES
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Mon Aug 3 2020 leiju <leiju4@huawei.com> - 5.4.0-1
- Package init

4
felix-main.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: apache/felix-dev
tag_prefix: "org.apache.felix.main.distribution-"
seperator: "."

Binary file not shown.