!1 Package init

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

View File

@ -0,0 +1,46 @@
%global osginame org.apache.felix.resolver
Name: felix-osgi-obr-resolver
Version: 1.8.0
Release: 1
Summary: Apache Felix Resolver
License: ASL 2.0
URL: http://felix.apache.org/documentation/subprojects/apache-felix-osgi-bundle-repository.html
Source0: http://archive.apache.org/dist/felix/org.apache.felix.resolver-%{version}-source-release.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:felix-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.felix:org.apache.felix.framework)
BuildRequires: mvn(org.apache.felix:org.apache.felix.utils) mvn(org.easymock:easymock)
BuildRequires: mvn(org.mockito:mockito-all)
BuildArch: noarch
%description
This package contains the Apache Felix Resolver
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{osginame}-%{version}
%pom_remove_plugin :apache-rat-plugin
%pom_change_dep org.osgi:org.osgi.core org.apache.felix:org.apache.felix.framework
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%doc NOTICE DEPENDENCIES
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Mon Aug 3 2020 leiju <leiju4@huawei.com> - 1.8.0-1
- Package init

View File

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

Binary file not shown.