|
|
|
|
@ -28,18 +28,10 @@
|
|
|
|
|
%define V_libpqxx 4.0 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%ifndef with_openssl |
|
|
|
|
%define with_openssl no |
|
|
|
|
%endif |
|
|
|
|
%ifndef with_odbc |
|
|
|
|
%define with_odbc no |
|
|
|
|
%endif |
|
|
|
|
%ifndef with_perl |
|
|
|
|
%define with_perl no |
|
|
|
|
%endif |
|
|
|
|
%ifndef with_tcl |
|
|
|
|
%define with_tcl no |
|
|
|
|
%endif |
|
|
|
|
%option with_openssl no |
|
|
|
|
%option with_odbc no |
|
|
|
|
%option with_perl no |
|
|
|
|
%option with_tcl no |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: postgresql |
|
|
|
|
@ -51,7 +43,7 @@ Distribution: OpenPKG [BASE]
|
|
|
|
|
Group: Database |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_postgresql} |
|
|
|
|
Release: 20021222 |
|
|
|
|
Release: 20021230 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{V_postgresql}/postgresql-%{V_postgresql}.tar.gz |
|
|
|
|
@ -62,8 +54,8 @@ Source3: pg_migrate
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020416, make, gcc, readline, flex, bison, zlib |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020416 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20021230, make, gcc, readline, flex, bison, zlib |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20021230 |
|
|
|
|
%if "%{with_openssl}" == "yes" |
|
|
|
|
BuildPreReq: openssl |
|
|
|
|
%endif |
|
|
|
|
@ -88,11 +80,7 @@ AutoReqProv: no
|
|
|
|
|
and user-defined types and functions. It is the most advanced |
|
|
|
|
open-source database available anywhere. |
|
|
|
|
|
|
|
|
|
Options: |
|
|
|
|
--define 'with_openssl %{with_openssl}' |
|
|
|
|
--define 'with_odbc %{with_odbc}' |
|
|
|
|
--define 'with_perl %{with_perl}' |
|
|
|
|
--define 'with_tcl %{with_tcl}' |
|
|
|
|
%options -p12 |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup0 -q |
|
|
|
|
|