From a0c19f8abc7b9d14731cb42832b42cd5ea6da763 Mon Sep 17 00:00:00 2001 From: mharmsen Date: Fri, 28 Nov 2008 23:02:37 +0000 Subject: Bugzilla Bug #445402: Renamed all pki/dogtag/ "*-ui" component spec files to have a prefix of "dogtag-". git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@154 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec | 239 +++++++++++++++++++++++ pki/dogtag/ca-ui/pki-ca-ui.spec | 239 ----------------------- pki/dogtag/common-ui/dogtag-pki-common-ui.spec | 237 ++++++++++++++++++++++ pki/dogtag/common-ui/pki-common-ui.spec | 237 ---------------------- pki/dogtag/console-ui/dogtag-pki-console-ui.spec | 233 ++++++++++++++++++++++ pki/dogtag/console-ui/pki-console-ui.spec | 233 ---------------------- pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec | 233 ++++++++++++++++++++++ pki/dogtag/kra-ui/pki-kra-ui.spec | 233 ---------------------- pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec | 231 ++++++++++++++++++++++ pki/dogtag/ocsp-ui/pki-ocsp-ui.spec | 231 ---------------------- pki/dogtag/ra-ui/dogtag-pki-ra-ui.spec | 233 ++++++++++++++++++++++ pki/dogtag/ra-ui/pki-ra-ui.spec | 233 ---------------------- pki/dogtag/tks-ui/dogtag-pki-tks-ui.spec | 231 ++++++++++++++++++++++ pki/dogtag/tks-ui/pki-tks-ui.spec | 231 ---------------------- pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec | 233 ++++++++++++++++++++++ pki/dogtag/tps-ui/pki-tps-ui.spec | 233 ---------------------- 16 files changed, 1870 insertions(+), 1870 deletions(-) create mode 100644 pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec delete mode 100644 pki/dogtag/ca-ui/pki-ca-ui.spec create mode 100644 pki/dogtag/common-ui/dogtag-pki-common-ui.spec delete mode 100644 pki/dogtag/common-ui/pki-common-ui.spec create mode 100644 pki/dogtag/console-ui/dogtag-pki-console-ui.spec delete mode 100644 pki/dogtag/console-ui/pki-console-ui.spec create mode 100644 pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec delete mode 100644 pki/dogtag/kra-ui/pki-kra-ui.spec create mode 100644 pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec delete mode 100644 pki/dogtag/ocsp-ui/pki-ocsp-ui.spec create mode 100644 pki/dogtag/ra-ui/dogtag-pki-ra-ui.spec delete mode 100644 pki/dogtag/ra-ui/pki-ra-ui.spec create mode 100644 pki/dogtag/tks-ui/dogtag-pki-tks-ui.spec delete mode 100644 pki/dogtag/tks-ui/pki-tks-ui.spec create mode 100644 pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec delete mode 100644 pki/dogtag/tps-ui/pki-tps-ui.spec diff --git a/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec b/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec new file mode 100644 index 000000000..be2310a0f --- /dev/null +++ b/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec @@ -0,0 +1,239 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Certificate Authority User Interface +%define base_component ca-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 6 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_ca}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-6 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Tue Nov 18 2008 Christina Fu 1.0.0-5 +- Bugzilla Bug #471622 - Need Renewal feature via enrollment profile Framework (phase 1) +* Wed Oct 15 2008 Andrew Wnuk 1.0.0-4 +- Fix for Bug 466064: Search filters built by CA servlets are not always correct +* Wed Oct 8 2008 Jack Magne 1.0.0-3 +- Bugzilla bug #405451, Vista client support. +* Tue Oct 7 2008 Andrew Wnuk 1.0.0-2 +- Bugzilla bug #445436 - Bad search filter is reported by Revoke Certificates in Agent Interface +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/ca-ui/pki-ca-ui.spec b/pki/dogtag/ca-ui/pki-ca-ui.spec deleted file mode 100644 index be2310a0f..000000000 --- a/pki/dogtag/ca-ui/pki-ca-ui.spec +++ /dev/null @@ -1,239 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Certificate Authority User Interface -%define base_component ca-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 6 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_ca}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-6 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Tue Nov 18 2008 Christina Fu 1.0.0-5 -- Bugzilla Bug #471622 - Need Renewal feature via enrollment profile Framework (phase 1) -* Wed Oct 15 2008 Andrew Wnuk 1.0.0-4 -- Fix for Bug 466064: Search filters built by CA servlets are not always correct -* Wed Oct 8 2008 Jack Magne 1.0.0-3 -- Bugzilla bug #405451, Vista client support. -* Tue Oct 7 2008 Andrew Wnuk 1.0.0-2 -- Bugzilla bug #445436 - Bad search filter is reported by Revoke Certificates in Agent Interface -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/common-ui/dogtag-pki-common-ui.spec b/pki/dogtag/common-ui/dogtag-pki-common-ui.spec new file mode 100644 index 000000000..94f00c1e9 --- /dev/null +++ b/pki/dogtag/common-ui/dogtag-pki-common-ui.spec @@ -0,0 +1,237 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product PKI Common Framework User Interface +%define base_component common-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 5 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{base_entity} PKI Common Framework. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-5 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Mon Oct 27 2008 alee 1.0.0-4 +- Fix for Bug# 223324. +* Wed Sep 24 2008 alee 1.0.0-3 +- Fix for Bug# 223367 and 224902. +* Fri May 03 2008 jmagne 1.0.0-2 +- Fix for Bug# 440079. +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/common-ui/pki-common-ui.spec b/pki/dogtag/common-ui/pki-common-ui.spec deleted file mode 100644 index 94f00c1e9..000000000 --- a/pki/dogtag/common-ui/pki-common-ui.spec +++ /dev/null @@ -1,237 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product PKI Common Framework User Interface -%define base_component common-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 5 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{base_entity} PKI Common Framework. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-5 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Mon Oct 27 2008 alee 1.0.0-4 -- Fix for Bug# 223324. -* Wed Sep 24 2008 alee 1.0.0-3 -- Fix for Bug# 223367 and 224902. -* Fri May 03 2008 jmagne 1.0.0-2 -- Fix for Bug# 440079. -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/console-ui/dogtag-pki-console-ui.spec b/pki/dogtag/console-ui/dogtag-pki-console-ui.spec new file mode 100644 index 000000000..9b764446b --- /dev/null +++ b/pki/dogtag/console-ui/dogtag-pki-console-ui.spec @@ -0,0 +1,233 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product PKI Console User Interface +%define base_component console-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 2 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2, java-devel >= 1.6.0, jpackage-utils >= 1.6.0, jss >= 4.2.4, ldapjdk >= 4.17 + +## Without Requires something, rpmbuild will abort! +Requires: jss >= 4.2.4, ldapjdk >= 4.17 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{base_entity} PKI Console. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} +cd ${RPM_BUILD_ROOT}/usr/share/java/%{base_prefix} +ln -s cms-theme-%{version}_en.jar cms-theme_en.jar + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/java/%{base_prefix} + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/console-ui/pki-console-ui.spec b/pki/dogtag/console-ui/pki-console-ui.spec deleted file mode 100644 index 9b764446b..000000000 --- a/pki/dogtag/console-ui/pki-console-ui.spec +++ /dev/null @@ -1,233 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product PKI Console User Interface -%define base_component console-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 2 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2, java-devel >= 1.6.0, jpackage-utils >= 1.6.0, jss >= 4.2.4, ldapjdk >= 4.17 - -## Without Requires something, rpmbuild will abort! -Requires: jss >= 4.2.4, ldapjdk >= 4.17 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{base_entity} PKI Console. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} -cd ${RPM_BUILD_ROOT}/usr/share/java/%{base_prefix} -ln -s cms-theme-%{version}_en.jar cms-theme_en.jar - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/java/%{base_prefix} - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec b/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec new file mode 100644 index 000000000..6c4266643 --- /dev/null +++ b/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec @@ -0,0 +1,233 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Data Recovery Authority User Interface +%define base_component kra-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 3 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_drm}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Tue May 6 2008 Matthew Harmsen 1.0.0-2 +- Fixed typo - bugzilla bug #304668 +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/kra-ui/pki-kra-ui.spec b/pki/dogtag/kra-ui/pki-kra-ui.spec deleted file mode 100644 index 6c4266643..000000000 --- a/pki/dogtag/kra-ui/pki-kra-ui.spec +++ /dev/null @@ -1,233 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Data Recovery Authority User Interface -%define base_component kra-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 3 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_drm}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Tue May 6 2008 Matthew Harmsen 1.0.0-2 -- Fixed typo - bugzilla bug #304668 -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec b/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec new file mode 100644 index 000000000..f7568817e --- /dev/null +++ b/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec @@ -0,0 +1,231 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Online Certificate Status Protocol User Interface +%define base_component ocsp-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 2 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_ocsp}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/ocsp-ui/pki-ocsp-ui.spec b/pki/dogtag/ocsp-ui/pki-ocsp-ui.spec deleted file mode 100644 index f7568817e..000000000 --- a/pki/dogtag/ocsp-ui/pki-ocsp-ui.spec +++ /dev/null @@ -1,231 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Online Certificate Status Protocol User Interface -%define base_component ocsp-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 2 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_ocsp}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/ra-ui/dogtag-pki-ra-ui.spec b/pki/dogtag/ra-ui/dogtag-pki-ra-ui.spec new file mode 100644 index 000000000..840f1d937 --- /dev/null +++ b/pki/dogtag/ra-ui/dogtag-pki-ra-ui.spec @@ -0,0 +1,233 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Registration Authority User Interface +%define base_component ra-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 3 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_ra}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Thu Oct 02 2008 Jack Magne 1.0.0-2 +- Fix for Vista support, #405451 +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/ra-ui/pki-ra-ui.spec b/pki/dogtag/ra-ui/pki-ra-ui.spec deleted file mode 100644 index 840f1d937..000000000 --- a/pki/dogtag/ra-ui/pki-ra-ui.spec +++ /dev/null @@ -1,233 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Registration Authority User Interface -%define base_component ra-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 3 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_ra}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Thu Oct 02 2008 Jack Magne 1.0.0-2 -- Fix for Vista support, #405451 -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/tks-ui/dogtag-pki-tks-ui.spec b/pki/dogtag/tks-ui/dogtag-pki-tks-ui.spec new file mode 100644 index 000000000..4043338af --- /dev/null +++ b/pki/dogtag/tks-ui/dogtag-pki-tks-ui.spec @@ -0,0 +1,231 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Token Key Service User Interface +%define base_component tks-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 2 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_tks}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/tks-ui/pki-tks-ui.spec b/pki/dogtag/tks-ui/pki-tks-ui.spec deleted file mode 100644 index 4043338af..000000000 --- a/pki/dogtag/tks-ui/pki-tks-ui.spec +++ /dev/null @@ -1,231 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Token Key Service User Interface -%define base_component tks-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 2 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_tks}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-2 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - diff --git a/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec b/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec new file mode 100644 index 000000000..a88367d64 --- /dev/null +++ b/pki/dogtag/tps-ui/dogtag-pki-tps-ui.spec @@ -0,0 +1,233 @@ +# BEGIN COPYRIGHT BLOCK +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (C) 2007 Red Hat, Inc. +# All rights reserved. +# END COPYRIGHT BLOCK + +############################################################################### +### D E F I N I T I O N S ### +############################################################################### + +## Entity Definitions +%define base_entity Dogtag +%define base_prefix pki +%define base_ui_prefix linux + +## Product Definitions +%define base_system Certificate System +%define base_product Token Processing System User Interface +%define base_component tps-ui +%define base_pki %{base_entity} %{base_system} + +## Package Header Definitions +%define base_name %{base_prefix}-%{base_component} +%define base_version 1.0.0 +%define base_release 3 +%define base_group System Environment/Base +%define base_vendor Red Hat, Inc. +%define base_license GPLv2 with exceptions +%define base_packager %{base_vendor} +%define base_summary %{base_pki} - %{base_product} +%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation + +## Helper Definitions +%define pki_ca %{base_entity} Certificate Authority +%define pki_drm %{base_entity} Data Recovery Manager +%define pki_ds Fedora Directory Server +%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager +%define pki_ra %{base_entity} Registration Authority +%define pki_tks %{base_entity} Token Key Service +%define pki_tps %{base_entity} Token Processing System + +## Don't build the debug packages +%define debug_package %{nil} + + +##===================## +## Linux Definitions ## +##===================## +%ifos Linux +## A distribution model is required on certain Linux operating systems! +## +## check for a pre-defined distribution model +%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) +%if %{undefined_distro} +%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) +%if %{is_fedora} +## define a default distribution model on Fedora Linux +%define dist_prefix .fc +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%else +%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) +%if %{is_redhat} +## define a default distribution model on Red Hat Linux +%define dist_prefix .el +%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) +%define dist %{dist_prefix}%{dist_version} +%endif +%endif +%endif +%endif + + + +############################################################################### +### P A C K A G E H E A D E R ### +############################################################################### + +Name: %{base_name} +Version: %{base_version} +Release: %{base_release}%{?dist} +Summary: %{base_summary} +Vendor: %{base_vendor} +URL: %{base_url} +License: %{base_license} +Packager: %{base_packager} +Group: %{base_group} + + +## Without AutoReqProv: no, rpmbuild finds all sorts of crazy +## dependencies that we don't care about, and refuses to install +AutoReqProv: no + +BuildArch: noarch +BuildRoot: %{_builddir}/%{base_name}-root + + +## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" +## packages as well as the "rpm" and "rpm-build" packages. +## +## Technically, "ant" should not need to be in "BuildRequires" since +## it is the Java equivalent of "make" (and/or "Autotools"). +## +BuildRequires: ant >= 1.6.2 + +## Without Requires something, rpmbuild will abort! +Requires: bash >= 3.0 +Provides: %{base_prefix}-%{base_component} + + +## This package is non-relocatable! +#Prefix: + +Source0: %{base_name}-%{base_version}.tar.gz + +## This package currently contains no patches! +#Patch0: + + +%description +%{base_pki} is an enterprise software system designed +to manage enterprise Public Key Infrastructure (PKI) deployments. + +The %{base_entity} %{base_product} contains the graphical +user interface for the %{pki_tps}. + + + +############################################################################### +### P R E P A R A T I O N & S E T U P ### +############################################################################### + +## On Linux systems, prep and setup expect there to be a Source file +## in the /usr/src/redhat/SOURCES directory - it will be unpacked +## in the _builddir (not BuildRoot) +%prep + + +%setup -q + + +## This package currently contains no patches! +#%patch0 +# patches + + + +############################################################################### +### B U I L D P R O C E S S ### +############################################################################### + +%build +ant -Dspecfile=%{base_name}.spec + + + +############################################################################### +### I N S T A L L A T I O N P R O C E S S ### +############################################################################### + +%install +cd dist/binary +unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} + + + +############################################################################### +### C L E A N U P P R O C E S S ### +############################################################################### + +%clean +rm -rf ${RPM_BUILD_ROOT} + + + +############################################################################### +### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### +############################################################################### + +## This package currently contains no pre-installation process! +#%pre + + +## This package currently contains no post-installation process! +#%post + + +## This package currently contains no pre-uninstallation process! +#%preun + + +## This package currently contains no post-uninstallation process! +#%postun + + + +############################################################################### +### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### +############################################################################### + +%files +%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* +%attr(-,root,root) %{_datadir}/%{base_prefix}/* + + + +############################################################################### +### C H A N G E L O G ### +############################################################################### + +%changelog +* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 +- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed +- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 +- Changed "java-sdk" to "java-devel" for consistency +* Thu Apr 3 2008 Jack Magne 1.0.0-2 +- Get default external Enrollment UI working. Bug#440960. +* Tue Feb 19 2008 PKI Team 1.0.0-1 +- Initial open source version based upon proprietary + Red Hat Certificate System (RHCS) 7.3. + diff --git a/pki/dogtag/tps-ui/pki-tps-ui.spec b/pki/dogtag/tps-ui/pki-tps-ui.spec deleted file mode 100644 index a88367d64..000000000 --- a/pki/dogtag/tps-ui/pki-tps-ui.spec +++ /dev/null @@ -1,233 +0,0 @@ -# BEGIN COPYRIGHT BLOCK -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# -# (C) 2007 Red Hat, Inc. -# All rights reserved. -# END COPYRIGHT BLOCK - -############################################################################### -### D E F I N I T I O N S ### -############################################################################### - -## Entity Definitions -%define base_entity Dogtag -%define base_prefix pki -%define base_ui_prefix linux - -## Product Definitions -%define base_system Certificate System -%define base_product Token Processing System User Interface -%define base_component tps-ui -%define base_pki %{base_entity} %{base_system} - -## Package Header Definitions -%define base_name %{base_prefix}-%{base_component} -%define base_version 1.0.0 -%define base_release 3 -%define base_group System Environment/Base -%define base_vendor Red Hat, Inc. -%define base_license GPLv2 with exceptions -%define base_packager %{base_vendor} -%define base_summary %{base_pki} - %{base_product} -%define base_url http://pki-svn.fedora.redhat.com/wiki/PKI_Documentation - -## Helper Definitions -%define pki_ca %{base_entity} Certificate Authority -%define pki_drm %{base_entity} Data Recovery Manager -%define pki_ds Fedora Directory Server -%define pki_ocsp %{base_entity} Online Certificate Status Protocol Manager -%define pki_ra %{base_entity} Registration Authority -%define pki_tks %{base_entity} Token Key Service -%define pki_tps %{base_entity} Token Processing System - -## Don't build the debug packages -%define debug_package %{nil} - - -##===================## -## Linux Definitions ## -##===================## -%ifos Linux -## A distribution model is required on certain Linux operating systems! -## -## check for a pre-defined distribution model -%define undefined_distro %(test "%{dist}" = "" && echo 1 || echo 0) -%if %{undefined_distro} -%define is_fedora %(test -e /etc/fedora-release && echo 1 || echo 0) -%if %{is_fedora} -## define a default distribution model on Fedora Linux -%define dist_prefix .fc -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/fedora-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%else -%define is_redhat %(test -e /etc/redhat-release && echo 1 || echo 0) -%if %{is_redhat} -## define a default distribution model on Red Hat Linux -%define dist_prefix .el -%define dist_version %(echo `rpm -qf --qf='%{VERSION}' /etc/redhat-release` | tr -d [A-Za-z]) -%define dist %{dist_prefix}%{dist_version} -%endif -%endif -%endif -%endif - - - -############################################################################### -### P A C K A G E H E A D E R ### -############################################################################### - -Name: %{base_name} -Version: %{base_version} -Release: %{base_release}%{?dist} -Summary: %{base_summary} -Vendor: %{base_vendor} -URL: %{base_url} -License: %{base_license} -Packager: %{base_packager} -Group: %{base_group} - - -## Without AutoReqProv: no, rpmbuild finds all sorts of crazy -## dependencies that we don't care about, and refuses to install -AutoReqProv: no - -BuildArch: noarch -BuildRoot: %{_builddir}/%{base_name}-root - - -## NOTE: This spec file may require a specific JDK, "gcc", and/or "gcc-c++" -## packages as well as the "rpm" and "rpm-build" packages. -## -## Technically, "ant" should not need to be in "BuildRequires" since -## it is the Java equivalent of "make" (and/or "Autotools"). -## -BuildRequires: ant >= 1.6.2 - -## Without Requires something, rpmbuild will abort! -Requires: bash >= 3.0 -Provides: %{base_prefix}-%{base_component} - - -## This package is non-relocatable! -#Prefix: - -Source0: %{base_name}-%{base_version}.tar.gz - -## This package currently contains no patches! -#Patch0: - - -%description -%{base_pki} is an enterprise software system designed -to manage enterprise Public Key Infrastructure (PKI) deployments. - -The %{base_entity} %{base_product} contains the graphical -user interface for the %{pki_tps}. - - - -############################################################################### -### P R E P A R A T I O N & S E T U P ### -############################################################################### - -## On Linux systems, prep and setup expect there to be a Source file -## in the /usr/src/redhat/SOURCES directory - it will be unpacked -## in the _builddir (not BuildRoot) -%prep - - -%setup -q - - -## This package currently contains no patches! -#%patch0 -# patches - - - -############################################################################### -### B U I L D P R O C E S S ### -############################################################################### - -%build -ant -Dspecfile=%{base_name}.spec - - - -############################################################################### -### I N S T A L L A T I O N P R O C E S S ### -############################################################################### - -%install -cd dist/binary -unzip %{name}-%{version}.zip -d ${RPM_BUILD_ROOT} - - - -############################################################################### -### C L E A N U P P R O C E S S ### -############################################################################### - -%clean -rm -rf ${RPM_BUILD_ROOT} - - - -############################################################################### -### P R E & P O S T I N S T A L L / U N I N S T A L L S C R I P T S ### -############################################################################### - -## This package currently contains no pre-installation process! -#%pre - - -## This package currently contains no post-installation process! -#%post - - -## This package currently contains no pre-uninstallation process! -#%preun - - -## This package currently contains no post-uninstallation process! -#%postun - - - -############################################################################### -### I N V E N T O R Y O F F I L E S A N D D I R E C T O R I E S ### -############################################################################### - -%files -%attr(-,root,root) %{_datadir}/doc/%{base_name}-%{base_version}/* -%attr(-,root,root) %{_datadir}/%{base_prefix}/* - - - -############################################################################### -### C H A N G E L O G ### -############################################################################### - -%changelog -* Sat Nov 22 2008 Matthew Harmsen 1.0.0-3 -- Bugzilla Bug #472305 - "equality" tests in all spec files need to be fixed -- Bumped "java" and "java-devel" 1.4.2 and 1.5.0 dependencies to 1.6.0 -- Changed "java-sdk" to "java-devel" for consistency -* Thu Apr 3 2008 Jack Magne 1.0.0-2 -- Get default external Enrollment UI working. Bug#440960. -* Tue Feb 19 2008 PKI Team 1.0.0-1 -- Initial open source version based upon proprietary - Red Hat Certificate System (RHCS) 7.3. - -- cgit