disable pki-console

This commit is contained in:
jackie_wu 2021-09-24 15:06:25 +08:00
parent 8b25a59da8
commit b9d9291a4b

View File

@ -4,7 +4,7 @@
Name: pki-core
Version: 10.7.3
Release: 2
Release: 3
Summary: The PKI Core Package
License: GPLv2 and LGPLv2
URL: http://www.dogtagpki.org/
@ -31,6 +31,8 @@ BuildRequires: systemd zlib zlib-devel nss-tools openssl golang
Dogtag PKI is a designed enterprise software system
manage enterprise Public Key Infrastructure deployments.
%bcond_with console
%package -n pki-symkey
Summary: The PKI Symmetric Key Package
Requires: java-1.8.0-openjdk-headless jpackage-utils >= 0:1.7.5-10 jss >= 4.6.0
@ -187,6 +189,7 @@ Conflicts: pki-server-theme < %{version} pki-console-theme < %{version
%description -n pki-help
Documentation for KPI.
%if %{with console}
%package -n pki-console
Summary: The PKI Console Package
BuildArch: noarch
@ -195,6 +198,7 @@ Requires: idm-console-framework >= 1.2.0 pki-base-java = %{version}
Requires: pki-console-theme = %{version}
%description -n pki-console
The PKI console is a Java application used to manage the PKI server.
%endif
%prep
%autosetup -n pki-%{version} -p1 -S git
@ -226,7 +230,7 @@ cd build
-DWITH_PYTHON2:BOOL=OFF -DWITH_PYTHON3:BOOL=ON \
-DWITH_PYTHON3_DEFAULT:BOOL=ON -DPYTHON_EXECUTABLE=%{__python3} \
-DWITH_TEST:BOOL=ON -DWITH_JAVADOC:BOOL=ON \
-DBUILD_PKI_CONSOLE:BOOL=ON -DTHEME= \
-DBUILD_PKI_CONSOLE:BOOL=%{?with_console:OFF} -DTHEME= \
..
%install
@ -423,12 +427,17 @@ fi
%{_mandir}/man5/*
%{_mandir}/man8/*
%if %{with console}
%files -n pki-console
%doc base/console/LICENSE
%{_bindir}/pkiconsole
%{_javadir}/pki/pki-console.jar
%endif
%changelog
* Fri Sep 24 2021 wutao <wutao61@huawei.com> - 10.7.3-3
- disable pki-console
* Thu Sep 23 2021 wutao <wutao61@huawei.com> - 10.7.3-2
- change link source and delete useless information