package init

This commit is contained in:
small_leek 2020-07-31 15:43:17 +08:00
parent bd53b60abf
commit e5840ecae9
3 changed files with 45 additions and 0 deletions

40
felix-osgi-core.spec Normal file
View File

@ -0,0 +1,40 @@
%global bundle org.osgi.core
Name: felix-osgi-core
Version: 1.4.0
Release: 1
Summary: Felix OSGi R4 Core Bundle
License: ASL 2.0
URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-core.html
BuildArch: noarch
Source0: http://www.apache.org/dist/felix/%{bundle}-%{version}-project.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:felix-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%description
OSGi Service Platform Release 4 Core Interfaces and 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
export LC_ALL=C.utf8
%mvn_build -- -Drat.numUnapprovedLicenses=50
%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.4.0-1
- Package init

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

Binary file not shown.