summaryrefslogtreecommitdiffstats
path: root/pki/dogtag/silent/pki-silent.spec
diff options
context:
space:
mode:
Diffstat (limited to 'pki/dogtag/silent/pki-silent.spec')
-rw-r--r--pki/dogtag/silent/pki-silent.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/pki/dogtag/silent/pki-silent.spec b/pki/dogtag/silent/pki-silent.spec
new file mode 100644
index 000000000..ddc785966
--- /dev/null
+++ b/pki/dogtag/silent/pki-silent.spec
@@ -0,0 +1,76 @@
+Name: pki-silent
+Version: 9.0.0
+Release: 1%{?dist}
+Summary: Dogtag Certificate System - Silent Installer
+URL: http://pki.fedoraproject.org/
+License: GPLv2
+Group: System Environment/Base
+
+BuildArch: noarch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: ant
+BuildRequires: java-devel >= 1:1.6.0
+BuildRequires: jpackage-utils
+BuildRequires: jss >= 4.2.6
+BuildRequires: pki-common
+BuildRequires: pki-util
+
+Requires: java >= 1:1.6.0
+Requires: pki-common
+
+%if 0%{?rhel}
+#rhel has no java on ppc
+ExcludeArch: ppc
+%endif
+
+Source0: http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz
+
+%description
+Dogtag Certificate System is an enterprise software system designed
+to manage enterprise Public Key Infrastructure (PKI) deployments.
+
+The Dogtag Silent Installer may be used to "automatically" configure
+the following Dogtag PKI subsystems in a non-graphical (batch) fashion
+including:
+
+ the Dogtag Certificate Authority,
+ the Dogtag Data Recovery Manager,
+ the Dogtag Online Certificate Status Protocol Manager,
+ the Dogtag Registration Authority,
+ the Dogtag Token Key Service, and/or
+ the Dogtag Token Processing System.
+
+%prep
+
+%setup -q
+
+%build
+ant \
+ -Dproduct.ui.flavor.prefix="" \
+ -Dproduct.prefix="pki" \
+ -Dproduct="silent" \
+ -Dversion="%{version}"
+
+%install
+rm -rf %{buildroot}
+cd dist/binary
+unzip %{name}-%{version}.zip -d %{buildroot}
+cd %{buildroot}%{_javadir}/pki
+mv pki-silent.jar pki-silent-%{version}.jar
+ln -s pki-silent-%{version}.jar pki-silent.jar
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_bindir}/*
+%{_javadir}/pki/
+%{_datadir}/pki/
+
+%changelog
+* Fri Nov 19 2010 Matthew Harmsen <mharmsen@redhat.com> 9.0.0-1
+- Updated Dogtag 1.3.x --> Dogtag 2.0.0 --> Dogtag 9.0.0.