felix-gogo-command/felix-gogo-command.spec
2024-01-09 10:31:43 +08:00

56 lines
1.9 KiB
RPMSpec

%global bundle org.apache.felix.gogo.command
Name: felix-gogo-command
Version: 1.1.2
Release: 1
Summary: Apache Felix Gogo command line shell for OSGi
License: ASL 2.0
URL: http://felix.apache.org/documentation/subprojects/apache-felix-gogo.html
Source0: https://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.gogo.command/%{version}/org.apache.felix.gogo.command-%{version}-source-release.tar.gz
Source1: https://repo1.maven.org/maven2/org/apache/felix/gogo-parent/6/gogo-parent-6.pom
BuildRequires: maven-local mvn(org.apache.felix:gogo-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.felix:org.apache.felix.gogo.runtime)
BuildRequires: mvn(org.mockito:mockito-core) mvn(org.osgi:osgi.cmpn) mvn(org.osgi:osgi.core)
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
BuildArch: noarch
%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.
This package implements a set of basic commands.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains API documentation for %{name}.
%prep
%setup -q -n %{bundle}-%{version}
mkdir ../gogo-parent
cp %{SOURCE1} ../gogo-parent/pom.xml
%mvn_file : felix/%{bundle}
%build
%mvn_build -b
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Tue Jan 9 2024 Ge Wang <wang__ge@126.com> - 1.1.2-1
- Update to version 1.1.2
* Mon Aug 3 2020 leiju <leiju4@huawei.com> - 1.0.2-1
- Package init