package init
This commit is contained in:
parent
bd53b60abf
commit
e5840ecae9
40
felix-osgi-core.spec
Normal file
40
felix-osgi-core.spec
Normal 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
5
felix-osgi-core.yaml
Normal 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: "."
|
||||||
BIN
org.osgi.core-1.4.0-project.tar.gz
Normal file
BIN
org.osgi.core-1.4.0-project.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user