commit
849d09eedc
49
felix-framework.spec
Normal file
49
felix-framework.spec
Normal file
@ -0,0 +1,49 @@
|
||||
%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
|
||||
4
felix-framework.yaml
Normal file
4
felix-framework.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: apache/felix-dev
|
||||
tag_prefix: "org.apache.felix.framework-"
|
||||
seperator: "."
|
||||
BIN
org.apache.felix.framework-5.6.0-source-release.tar.gz
Normal file
BIN
org.apache.felix.framework-5.6.0-source-release.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user