- we are now building PostgreSQL 9.2.3 and psql 9.2.3 from source - we are building pgadmin3 1.16.1 from source - we can build both a 32-bit and 64-bit version of PostgreSQL, psql, and pgadmin3 - the following extensions are also built with PostgreSQL: * geos 3.3.7 * postgis 2.0.2 * proj 4.8.0 * gdal 1.9.2 - database creation scripts and configuration have been updated for compatibility - removed remaining references to prefixed psql and postgresql rpms - removed unused sql scripts from the baseline - we are now using modified versions of the PostgreSQL 9.2.3 postgresql.conf file - updated the postgresql jdbc drivers Change-Id: Ibe61cfcb2540cd4d8b9fae492688109d8bd715d8 Former-commit-id:321660e016
[formerly211307edfd
] [formerly9e99447eee
] [formerly4fd4786ae5
[formerly9e99447eee
[formerly 8faf829eb0a8721093a181fe1335d5ee15a1fbaa]]] Former-commit-id:4fd4786ae5
Former-commit-id: dced69266300d616b3126d8ab0a9ce82349c7fc0 [formerlyfcc7b102ad
] Former-commit-id:d40863c38f
60 lines
No EOL
1.4 KiB
RPMSpec
60 lines
No EOL
1.4 KiB
RPMSpec
#
|
|
# AWIPS II Database Standalone Configuration Spec File
|
|
#
|
|
Name: awips2-database-standalone-configuration
|
|
Summary: AWIPS II Database Standalone Configuration
|
|
Version: %{_component_version}
|
|
Release: %{_component_release}
|
|
Group: AWIPSII
|
|
BuildRoot: /tmp
|
|
BuildArch: noarch
|
|
URL: N/A
|
|
License: N/A
|
|
Distribution: N/A
|
|
Vendor: Raytheon
|
|
Packager: Bryan Kowal
|
|
|
|
AutoReq: no
|
|
requires: awips2-postgresql
|
|
provides: awips2-database-standalone-configuration
|
|
provides: awips2-database-configuration
|
|
|
|
%description
|
|
AWIPS II Database Server Configuration - contains the AWIPS II server
|
|
configuration files optimized for a standalone environment.
|
|
|
|
%prep
|
|
# Verify That The User Has Specified A BuildRoot.
|
|
if [ "${RPM_BUILD_ROOT}" = "/tmp" ]
|
|
then
|
|
echo "An Actual BuildRoot Must Be Specified. Use The --buildroot Parameter."
|
|
echo "Unable To Continue ... Terminating"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/awips2/data
|
|
|
|
%build
|
|
|
|
%install
|
|
PROJECT_DIR="Installer.database-standalone-configuration"
|
|
CONFIGURATION_DIR="rpms/awips2.core/${PROJECT_DIR}/configuration"
|
|
CONF_FILE="postgresql.conf"
|
|
|
|
cp %{_baseline_workspace}/${CONFIGURATION_DIR}/${CONF_FILE} \
|
|
${RPM_BUILD_ROOT}/awips2/data
|
|
|
|
%pre
|
|
# Remove any existing postgresql.conf files
|
|
if [ -f /awips2/data/postgresql.conf ]; then
|
|
rm -f /awips2/data/postgresql.conf
|
|
fi
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%files
|
|
%defattr(644,awips,fxalpha,755)
|
|
%dir /awips2
|
|
%dir /awips2/data
|
|
/awips2/data/postgresql.conf |