!1 Package init

Merge pull request !1 from 雷炬/master
This commit is contained in:
openeuler-ci-bot 2020-08-29 16:00:17 +08:00 committed by Gitee
commit 849d09eedc
3 changed files with 53 additions and 0 deletions

49
felix-framework.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: apache/felix-dev
tag_prefix: "org.apache.felix.framework-"
seperator: "."

Binary file not shown.