package init

This commit is contained in:
small_leek 2020-07-31 15:43:23 +08:00
parent 81aa2e5eca
commit 509d999110
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,39 @@
%global bundle org.osgi.foundation
Name: felix-osgi-foundation
Version: 1.2.0
Release: 1
Summary: Felix OSGi Foundation EE Bundle
License: ASL 2.0
URL: http://felix.apache.org
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0 jpackage-utils maven-local mockito felix-parent
Requires: java-headless >= 1:1.6.0
%description
OSGi Foundation Execution Environment (EE) 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}"
%mvn_alias "org.apache.felix:%{bundle}" "org.osgi:%{bundle}"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
* Sat Jul 25 2020 yanan li <liyanan032@huawei.com> - 1.2.0-1
- Package init

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.osgi.foundation-"
seperator: "."

Binary file not shown.