50 lines
1.5 KiB
RPMSpec
50 lines
1.5 KiB
RPMSpec
%global bundle org.apache.felix.framework
|
|
Name: felix-framework
|
|
Version: 5.6.0
|
|
Release: 1
|
|
Summary: Apache Felix Framework
|
|
License: ASL 2.0
|
|
URL: http://felix.apache.org
|
|
Source0: http://archive.apache.org/dist/felix/org.apache.felix.framework-%{version}-source-release.tar.gz
|
|
|
|
BuildRequires: maven-local mvn(org.apache.felix:felix-parent:pom:)
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.apache.felix:org.apache.felix.resolver) >= 1.8.0
|
|
BuildRequires: mvn(org.easymock:easymock) mvn(org.osgi:org.osgi.annotation)
|
|
BuildRequires: mvn(org.ow2.asm:asm-all)
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Apache Felix Framework Interfaces and Classes.
|
|
|
|
%package javadoc
|
|
Summary: API documentation for %{name}
|
|
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{bundle}-%{version}
|
|
%pom_remove_plugin :apache-rat-plugin
|
|
%pom_remove_plugin :maven-source-plugin
|
|
rm src/test/java/org/apache/felix/framework/ServiceRegistryTest.java
|
|
rm src/test/java/org/apache/felix/framework/ConcurrencyTest.java
|
|
sed -i "/testgetOsNameWithAliases/s//ignore_&/" $(find -name NativeLibraryClauseTest.java)
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE NOTICE
|
|
%doc DEPENDENCIES
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Mon Aug 3 2020 leiju <leiju4@huawei.com> - 5.6.0-1
|
|
- Package init
|