felix-gogo-runtime/felix-gogo-runtime.spec
2023-04-24 17:24:06 +08:00

56 lines
1.6 KiB
RPMSpec

%global bundle org.apache.felix.gogo.runtime
Name: felix-gogo-runtime
Version: 1.1.6
Release: 1
Summary: Apache Felix Gogo command line shell for OSGi
License: ASL 2.0 and MIT
URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html
Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:gogo-parent:pom:) >= 4
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) mvn(org.mockito:mockito-core)
BuildRequires: mvn(org.osgi:osgi.cmpn) mvn(org.osgi:osgi.core)
%description
Apache Felix Gogo is a subproject of Apache Felix implementing a command
line shell for OSGi. It is used in many OSGi runtimes and servers.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
# Use compendium dep
%pom_remove_dep :org.osgi.namespace.service
%pom_remove_dep :org.osgi.service.component.annotations
%pom_remove_dep :org.osgi.service.event
%pom_xpath_inject "pom:dependencies" "
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.cmpn</artifactId>
</dependency>"
%mvn_file : felix/%{bundle}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Mon Apr 24 2023 liyanan <thistleslyn@163.com> - 1.1.6-1
- upgrade 1.1.6
* Sat Jul 25 2020 yanan li <liyanan032@huawei.com> - 1.1.0-1
- Package init