41 lines
1.2 KiB
RPMSpec
41 lines
1.2 KiB
RPMSpec
%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
|