dogtag-pki/dogtag-pki.spec

155 lines
5.4 KiB
RPMSpec
Raw Normal View History

2018-04-11 02:39:29 +00:00
################################################################################
Name: dogtag-pki
2018-04-11 02:39:29 +00:00
################################################################################
Summary: Dogtag PKI Package
URL: http://www.dogtagpki.org/
# The entire source code is GPLv2 except for 'pki-tps' which is LGPLv2
License: GPLv2 and LGPLv2
BuildArch: noarch
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
# Exclude 'aarch64' and 's390x' architectures since
# 'esc' does not exist on these two platforms
ExcludeArch: aarch64 s390x
%endif
%if 0%{?rhel}
2018-05-04 03:40:19 +00:00
Version: 10.6.1
Release: 2%{?_timestamp}%{?_commit_id}%{?dist}
2017-10-20 00:04:10 +00:00
%else
2018-05-04 03:40:19 +00:00
Version: 10.6.1
Release: 2%{?_timestamp}%{?_commit_id}%{?dist}
2017-10-20 00:04:10 +00:00
%endif
2018-04-11 02:39:29 +00:00
################################################################################
# Python
################################################################################
2018-03-29 18:50:14 +00:00
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%else
%global with_python3 0
%endif
# Make certain that this 'meta' package requires the latest version(s)
2018-05-04 03:40:19 +00:00
# of ALL PKI theme packages
2018-04-11 04:03:34 +00:00
Requires: dogtag-pki-server-theme >= %{version}
Requires: dogtag-pki-console-theme >= %{version}
# Make certain that this 'meta' package requires the latest version(s)
2018-04-11 04:03:34 +00:00
# of ALL PKI core packages
Requires: pki-base >= %{version}
Requires: pki-base-java >= %{version}
%if 0%{?with_python3}
2018-04-11 04:03:34 +00:00
Requires: pki-base-python3 >= %{version}
%endif
2018-04-11 04:03:34 +00:00
Requires: pki-tools >= %{version}
Requires: pki-server >= %{version}
Requires: pki-ca >= %{version}
Requires: pki-kra >= %{version}
Requires: pki-ocsp >= %{version}
Requires: pki-tks >= %{version}
Requires: pki-tps >= %{version}
# Make certain that this 'meta' package requires the latest version(s)
2018-04-11 04:03:34 +00:00
# of PKI console
Requires: pki-console >= %{version}
# Make certain that this 'meta' package requires the latest version(s)
2018-05-04 03:40:19 +00:00
# of ALL PKI clients
2018-04-11 04:03:34 +00:00
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
Requires: esc >= 1.1.1
%else
Requires: esc >= 1.1.0
%endif
%description
The Dogtag Public Key Infrastructure (PKI) Suite is comprised of the following
five subsystems and a client (for use by a Token Management System):
* Certificate Authority (CA)
* Key Recovery Authority (KRA)
* Online Certificate Status Protocol (OCSP) Manager
* Token Key Service (TKS)
* Token Processing System (TPS)
* Enterprise Security Client (ESC)
Additionally, it provides a console GUI application used for server and
user/group administration of CA, KRA, OCSP, and TKS, as well as various
command-line tools used to assist with a PKI deployment.
To successfully deploy instances of a CA, KRA, OCSP, TKS, or TPS,
a Tomcat Web Server must be up and running locally on this machine.
To meet the database storage requirements of each CA, KRA, OCSP, TKS, or TPS
instance, a 389 Directory Server must be up and running either locally on
this machine, or remotely over the attached network connection.
Finally, although they are no longer supplied by this 'meta' package,
javadocs are available for both JSS (jss-javadoc) and portions of
the Dogtag PKI API (pki-javadoc).
NOTE: As a convenience for standalone deployments, this 'dogtag-pki'
top-level meta package supplies Dogtag themes for use by the
certificate server packages:
* dogtag-pki-theme (Dogtag Certificate System deployments)
* dogtag-pki-server-theme
* dogtag-pki-console-theme
2018-05-04 03:40:19 +00:00
################################################################################
%prep
################################################################################
################################################################################
%build
################################################################################
2018-04-11 02:39:29 +00:00
################################################################################
2018-04-11 04:04:59 +00:00
%install
2018-04-11 02:39:29 +00:00
################################################################################
2018-04-11 04:04:59 +00:00
%{__mkdir_p} %{buildroot}%{_datadir}/doc/pki
cat > %{buildroot}%{_datadir}/doc/pki/README << EOF
This package is just a "meta-package" whose dependencies pull in all of the
packages comprising the Dogtag Public Key Infrastructure (PKI) Suite.
EOF
2018-04-11 02:39:29 +00:00
################################################################################
%files
2018-04-11 02:39:29 +00:00
################################################################################
%defattr(-,root,root,-)
2018-04-11 04:04:59 +00:00
%doc %{_datadir}/doc/pki/README
2018-04-11 02:39:29 +00:00
################################################################################
%changelog
* Fri May 4 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.1-2
- Bugzilla #1574711: pki-tools cannot be installed on current Rawhide
- Fixed rpmlint warnings
* Thu May 3 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.1-1
- Rebased to PKI 10.6.1
- Bugzilla #1559047: pki-core misses a dependency to pki-symkey
- Bugzilla #1573094: FreeIPA external CA installation fails
2018-04-11 02:39:29 +00:00
2018-05-04 03:40:19 +00:00
* Thu May 3 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.1-1
- Rebased to PKI 10.6.1
- Bugzilla #1559047: pki-core misses a dependency to pki-symkey
2018-04-12 00:27:57 +00:00
* Mon Apr 9 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.0-1
2018-04-09 20:27:10 +00:00
- Updated project URL
2018-04-11 04:03:34 +00:00
- Cleaned up spec file
2018-04-11 04:04:59 +00:00
- Fixed README location
2018-04-12 00:27:57 +00:00
- Rebased to PKI 10.6.0 final
2018-04-09 20:27:10 +00:00
2018-03-29 18:50:14 +00:00
* Thu Mar 29 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.0-0.3
- Rebased to PKI 10.6.0 beta2
* Thu Mar 15 2018 Dogtag PKI Team <pki-devel@redhat.com> - 10.6.0-0.2
- Rebased to PKI 10.6.0 beta