42 lines
1.2 KiB
RPMSpec
42 lines
1.2 KiB
RPMSpec
%global bundle org.apache.felix.shell
|
|
Name: felix-shell
|
|
Version: 1.4.3
|
|
Release: 1
|
|
Summary: Apache Felix Shell Service
|
|
License: ASL 2.0
|
|
URL: http://felix.apache.org
|
|
Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source-release.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: java-devel >= 1:1.6.0 jpackage-utils maven-local felix-osgi-core
|
|
BuildRequires: felix-osgi-compendium maven-plugin-bundle felix-parent mockito
|
|
%description
|
|
A simple OSGi command shell service.
|
|
|
|
%package help
|
|
Summary: API documentation for %{name}
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
%description help
|
|
This package contains API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{bundle}-%{version}
|
|
%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin
|
|
%mvn_file :%{bundle} "felix/%{bundle}"
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE NOTICE DEPENDENCIES
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%doc LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.4.3-1
|
|
- package init
|