47 lines
1.4 KiB
RPMSpec
47 lines
1.4 KiB
RPMSpec
%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
|