source: projects/specs/trunk/p/postgresql/postgresql-vl.spec @ 12399

Revision 12399, 46.9 KB checked in by tomop, 4 years ago (diff)

updated 5 packages

clamav-0.102.3-1

galera-26.4.4-1

mariadb-10.4.13-1

php74-7.4.6-1

postgresql-12.3-1

Line 
1%bcond_with systemd
2
3%define plperl %{?_without_perl:0}%{!?_without_perl:1}
4%define plpython %{?_without_python:0}%{!?_without_python:1}
5%define non6xpamdeps 0
6
7%define tcl 1
8%define test 0
9%define pltcl 1
10%define pls 1
11%define ssl 1
12%define kerberos 0
13%define nls 1
14%define pam 1
15
16%define pgver 12
17
18Summary: PostgreSQL client programs
19Summary(ja): PostgreSQL のクライアントプログラム群
20Name: postgresql
21Version: 12.3
22Release: 1%{?_dist_release}%{?with_systemd:.systemd}
23Group: Applications/Databases
24Vendor: Project Vine
25Distribution: Vine Linux
26
27%global pgver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
28# Conventions for PostgreSQL Global Development Group RPM releases:
29#
30# Official PostgreSQL Development Group RPMS have a PGDG after the release number.
31# Integer releases are stable -- 0.1.x releases are Pre-releases, and x.y are
32# test releases.
33#
34# Pre-releases are those that are built from CVS snapshots or pre-release
35# tarballs from postgresql.org.  Official beta releases are not
36# considered pre-releases, nor are release candidates, as their beta or
37# release candidate status is reflected in the version of the tarball. Pre-
38# releases' versions do not change -- the pre-release tarball of 7.0.3, for
39# example, has the same tarball version as the final official release of 7.0.3:
40# but the tarball is different.
41#
42# Test releases are where PostgreSQL itself is not in beta, but certain parts of
43# the RPM packaging (such as the spec file, the initscript, etc) are in beta.
44#
45# Pre-release RPM's should not be put up on the public ftp.postgresql.org server
46# -- only test releases or full releases should be.
47
48License: BSD
49Url: https://www.postgresql.org/
50Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
51Source3: postgresql.init
52Source5: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
53Source6: README.rpm-dist
54Source15: postgresql-bashprofile
55Source1000: postgresql.service
56Source1001: postgresql.tmpfiles.d
57Patch2: postgresql-8.3.3-nls.patch
58Patch3: postgresql-7.4-ecpg-patch
59
60BuildRoot: %{_tmppath}/%{name}-%{version}-root
61BuildRequires: perl build-essential
62BuildRequires: bison, flex, pam-devel
63BuildRequires: libicu-devel
64%if %plpython
65BuildRequires: python python-devel
66%endif
67%if %tcl
68BuildRequires: tcl-devel
69%endif
70BuildRequires: libedit-devel
71BuildRequires: zlib-devel >= 1.0.4
72%if %ssl
73BuildRequires: openssl-devel
74%endif
75%if %kerberos
76BuildRequires: krb5-devel
77%endif
78%if %nls
79BuildRequires: gettext >= 0.10.35
80%endif
81
82%if %pam
83%if %non6xpamdeps
84BuildRequires: pam-devel
85%endif
86%endif
87
88Obsoletes: postgresql-clients
89Obsoletes: postgresql-python
90Obsoletes: postgresql7
91Conflicts: postgresql8
92Conflicts: postgresql8-jdbc
93Conflicts: postgresql-jdbc < %{pgver}
94
95%if %pls
96Obsoletes: postgresql7-plperl
97%endif
98
99Requires: /sbin/ldconfig initscripts
100Requires(pre): shadow-utils
101%if %{with systemd}
102BuildRequires: systemd-devel
103%{?systemd_requires}
104%else
105Requires(post): chkconfig
106Requires(preun): chkconfig, /sbin/service
107Requires(postun): chkconfig, /sbin/service
108%endif
109
110# This is the PostgreSQL Global Development Group Official RPMset spec file,
111# or a derivative thereof.
112# Copyright 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
113# and others listed.
114
115# Major Contributors:
116# ---------------
117# Lamar Owen
118# Trond Eivind Glomsrd <teg@redhat.com>
119# Thomas Lockhart
120# Reinhard Max
121# Karl DeBisschop
122# Peter Eisentraut
123# Joe Conway
124# and others in the Changelog....
125
126# This spec file and ancilliary files are licensed in accordance with
127# The PostgreSQL license.
128
129# On top of this file you can find the default build package list macros.  These can be overridden by defining
130# on the rpm command line:
131# rpm --define 'packagename 1' .... to force the package to build.
132# rpm --define 'packagename 0' .... to force the package NOT to build.
133# The base package, the lib package, the devel package, and the server package always get built.
134
135%description
136PostgreSQL is an advanced Object-Relational database management system
137(DBMS) that supports almost all SQL constructs (including
138transactions, subselects and user-defined types and functions). The
139postgresql package includes the client programs that you'll need
140to access a PostgreSQL DBMS server.  These PostgreSQL client programs
141are programs that directly manipulate the internal structure of
142PostgreSQL databases on a PostgreSQL server. These client programs
143can be located on the same machine with the PostgreSQL server,
144or may be on a remote machine which accesses a PostgreSQL server
145over a network connection. This package contains the docs in HTML
146for the whole package, as well as command-line utilities for managing
147PostgreSQL databases on a PostgreSQL server.
148
149If you want to manipulate a PostgreSQL database on a remote PostgreSQL
150server, you need this package. You also need to install this package
151if you're installing the postgresql-server package.
152
153%description -l ja
154PostgreSQLはSQLの構成要素(トランザクション、副問い合わせおよびユーザ
155定義型やユーザ定義関数など)のほとんどすべてをサポートした、先進的なオブ
156ジェクト指向のデータベース管理システム(DBMS)です。postgresqlのパッケー
157ジにはPostgreSQL DBMS サーバにアクセスするために必要なクライアントプロ
158グラムを収録しています。PostgreSQLクライアントプログラムは、PostgreSQL
159サーバ上のPostgreSQLデータベースの内部構造を直接操作するためのプログラ
160ムです。これらのクライアントプログラムは、PostgreSQLサーバと同じマシン
161上で動いていてもよいですし、ネットワークコネクションの向こう側にあるリ
162モートマシン上にあっても構いません。このパッケージにはPostgreSQLサーバ
163上のPostgreSQLデータベースを管理するためのユーティリティに加え、全パッ
164ケージのドキュメントがHTML形式で収録されています。
165
166リモートにあるPostgreSQLサーバ上のPostgreSQLデータベースを操作する場合
167はこのパッケージが必要です。またpostgresql-serverパッケージをインスト
168ールする場合にも、このパッケージをインストールする必要があります。
169
170%if 0
171%package libs
172Summary: The shared libraries required for any PostgreSQL clients.
173Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
174Group: System Environment/Libraries
175Obsoletes: postgresql7-libs
176Conflicts: postgresql8-libs
177Conflicts: postgresql-libs >= 9.3.0
178
179%description libs
180The postgresql-libs package provides the essential shared libraries for any
181PostgreSQL client program or interface. You will need to install this package
182to use any other PostgreSQL package or any clients that need to connect to a
183PostgreSQL server.
184
185%description -l ja libs
186postgresql-libs パッケージは、すべての PostgreSQL クライアントプログラ
187ムやインターフェースのための中核的な共有ライブラリを提供します。
188PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
189ントを使う場合には、このパッケージをインストールする必要があります。
190
191%endif
192
193%package server
194Summary: The programs needed to create and run a PostgreSQL server.
195Summary(ja): PostgreSQL サーバを構築・実行するのに必要なプログラム
196Group: Applications/Databases
197Requires: /usr/sbin/useradd /sbin/chkconfig
198Requires: %{name} = %{version}
199Obsoletes: postgresql7-server
200Conflicts: postgresql8-server
201
202%description server
203The postgresql-server package includes the programs needed to create
204and run a PostgreSQL server, which will in turn allow you to create
205and maintain PostgreSQL databases.  PostgreSQL is an advanced
206Object-Relational database management system (DBMS) that supports
207almost all SQL constructs (including transactions, subselects and
208user-defined types and functions). You should install
209postgresql-server if you want to create and maintain your own
210PostgreSQL databases and/or your own PostgreSQL server. You also need
211to install the postgresql package.
212
213%description -l ja server
214postgresql-server パッケージには、PostgreSQL サーバを生成して実行する
215ために必要なプログラムが含まれています。これらにより、PostgreSQL のデ
216ータベースを新規に作成したり、メンテナンスしたりできるようになります。
217PostgreSQL は先進的でオブジェクト指向的なデータベース管理システム(DBMS)
218であり、(トランザクション、副問い合わせ、ユーザ定義型および関数といっ
219た)ほとんどすべての SQL 構造をサポートしています。自分自身の PostgreSQL
220サーバを動かして、自分自身の PostgreSQL データベースを作成したりメン
221テナンスしたりしたい場合は postgresql-server をインストールする必要が
222あります。さらに postgresql パッケージもインストールしてください。
223
224%package llvmjit
225Summary:        Just-in-time compilation support for PostgreSQL
226Summary(ja):    PostgreSQLのJust-in-timeコンパイルサポート
227Requires:       %{name}-server%{?_isa} = %{version}-%{release}
228Requires:       llvm => 5.0
229Provides:       postgresql-llvmjit >= %{version}-%{release}
230BuildRequires:  llvm-devel
231BuildRequires:  clang-devel
232
233%description llvmjit
234The postgresql-llvmjit package contains support for
235just-in-time compiling parts of PostgreSQL queries. Using LLVM it
236compiles e.g. expressions and tuple deforming into native code, with the
237goal of accelerating analytics queries.
238
239%package docs
240Summary: Extra documentation for PostgreSQL
241Summary(ja): PostgreSQL に関するその他の文書
242Group: Applications/Documentation
243Obsoletes: postgresql7-docs
244Conflicts: postgresql8-docs
245
246%description docs
247The postgresql-docs package includes the SGML source for the documentation
248as well as the documentation in other formats, and some extra documentation.
249Install this package if you want to help with the PostgreSQL documentation
250project, or if you want to generate printed documentation.
251
252%package contrib
253Summary: Contributed source and binaries distributed with PostgreSQL
254Summary(ja): PostgreSQL と一緒に配布される、寄贈されたソースとバイナリ
255Group: Applications/Databases
256Requires: %{name} = %{version} perl-DBD-Pg
257Obsoletes: postgresql7-contrib
258Conflicts: postgresql8-contrib
259
260%description contrib
261The postgresql-contrib package contains contributed packages that are
262included in the PostgreSQL distribution.
263
264%package devel
265Summary: PostgreSQL development header files.
266Summary(ja): PostgreSQL のサーバサイド開発用ヘッダファイル
267Group: Development/Libraries
268Requires: %{name}-static = %{version}
269Requires: libicu-devel
270Requires: clang-devel
271Requires: llvm-devel
272Obsoletes: postgresql7-devel
273Conflicts: postgresql8-devel
274Conflicts: libpq-devel >= 9.3.0
275
276%description devel
277The postgresql-devel package contains the header files needed to compile
278server-side C or C++ applications.
279
280%description -l ja devel
281postgresql-devel パッケージには、PostgreSQL サーバサイド C / C++ アプリケー
282ションをコンパイルするために必要なヘッダファイルが含まれています。
283
284%package static
285Summary: PostgreSQL development libraries.
286Summary(ja): PostgreSQL のサーバサイド開発用ライブラリ
287Group: Development/Libraries
288Obsoletes: postgresql7-devel
289Conflicts: postgresql8-devel
290Conflicts: libpq-devel >= 9.3.0
291
292%description static
293The postgresql-static package contains libraries needed to compile
294 server-side C or C++ applications.
295
296%description -l ja static
297postgresql-static パッケージには、PostgreSQL サーバサイド C / C++ アプリケー
298ションをコンパイルするために必要なライブラリが含まれています。
299
300#------------
301%if %pls
302%package pl
303Summary: The PL procedural languages for PostgreSQL.
304Summary(ja): PostgreSQL 用の手続き言語 PL
305Group: Applications/Databases
306Requires: %{name} = %{version}
307Obsoletes: postgresql7-pl
308Conflicts: postgresql8-pl
309
310%description pl
311PostgreSQL is an advanced Object-Relational database management
312system.  The postgresql-pl package contains the the PL/Perl, PL/Tcl, and PL/Python
313procedural languages for the backend.  PL/Pgsql is part of the core server package.
314%endif
315
316#------------
317%if %tcl
318%package tcl
319Summary: A Tcl client library for PostgreSQL.
320Summary(ja): PostgreSQL の Tcl クライアントライブラリ
321Group: Applications/Databases
322Requires: tcl >= 8.0
323Obsoletes: postgresql7-tcl
324Conflicts: postgresql8-tcl
325
326%description tcl
327PostgreSQL is an advanced Object-Relational database management
328system.  The postgresql-tcl package contains the libpgtcl client library,
329the pg-enhanced pgtclsh,and the pg-enhanced tksh, if so configured at buildtime.
330%endif
331
332#------------
333%if %test
334%package test
335Summary: The test suite distributed with PostgreSQL.
336Summary(ja): PostgreSQL と共に配布されるテストスート
337Group: Applications/Databases
338Requires: postgresql = %{version}
339Obsoletes: postgresql7-test
340Conflicts: postgresql8-test
341
342%description test
343PostgreSQL is an advanced Object-Relational database management
344system. The postgresql-test package includes the sources and pre-built
345binaries of various tests for the PostgreSQL database management
346system, including regression tests and benchmarks.
347%endif
348
349
350%debug_package
351
352
353%prep
354%setup -q -n postgresql-%{version}
355
356
357%build
358CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
359CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
360
361# Strip out -ffast-math from CFLAGS....
362
363# to link libpq statically.
364LIBPQ_PATH=`pwd`/src/interfaces/libpq/libpq.a
365perl -pi -e "s|^libpq = .+\$|libpq = $LIBPQ_PATH -lpthread|" src/Makefile.global.in
366
367CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
368
369./configure \
370        --prefix=%{_prefix} \
371        --libdir=%{_libdir} \
372        --disable-rpath \
373%if %plperl
374        --with-perl \
375%endif
376%if %tcl
377        --with-tcl \
378        --with-tclconfig=%{_libdir} \
379%endif
380%if %plpython
381        --with-python \
382%endif
383%if %ssl
384        --with-openssl \
385%endif
386%if %pam
387        --with-pam \
388%endif
389%if %kerberos
390        --with-krb5=/usr/kerberos \
391%endif
392%if %nls
393        --enable-nls \
394%endif
395        --with-libedit-preferred \
396        --sysconfdir=%{_sysconfdir}/sysconfig/pgsql \
397        --mandir=%{_mandir} \
398        --with-docdir=%{_docdir} \
399        --includedir=%{_includedir}/pgsql \
400        --datadir=%{_datadir}/pgsql \
401        --with-icu \
402        --with-llvm \
403%if %{with systemd}
404        --with-systemd \
405%endif
406        %{nil}
407
408make %{?_smp_mflags} all
409make %{?_smp_mflags} -C contrib all
410
411%if %test
412        pushd src/test
413        make all
414        popd
415%endif
416
417
418%install
419rm -rf $RPM_BUILD_ROOT
420
421# exclude client libraries.
422perl -pi -e 's/^\tinterfaces \\\n//' src/Makefile
423
424make DESTDIR=$RPM_BUILD_ROOT install
425make -C contrib DESTDIR=$RPM_BUILD_ROOT install
426
427# copy over Makefile.global to the include dir....
428install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
429install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
430
431%if %{with systemd}
432install -Dpm0644 %{SOURCE1000} $RPM_BUILD_ROOT%{_unitdir}/postgresql.service
433# ... and make a tmpfiles script to recreate it at reboot.
434install -Dpm0644 %{SOURCE1001} $RPM_BUILD_ROOT%{_tmpfilesdir}/postgresql.conf
435%else
436# initscript
437install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
438sed -e "s/@pgver@/%{pgver}/" \
439        -e "s|@docdir@|%{_docdir}/postgresql-%{version}|" %{SOURCE3} \
440        > $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
441chmod 755 $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
442%endif
443
444# PGDATA needs removal of group and world permissions due to pg_pwd hole.
445install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/data
446
447# backups of data go here...
448install -d -m 700 $RPM_BUILD_ROOT/var/lib/pgsql/backups
449
450# postgres' .bash_profile
451install -m 644 %{SOURCE15} $RPM_BUILD_ROOT/var/lib/pgsql/.bash_profile
452
453# Create the multiple postmaster startup directory
454install -d -m 700 $RPM_BUILD_ROOT/etc/sysconfig/pgsql
455
456
457%if %test
458        # tests. There are many files included here that are unnecessary, but include
459        # them anyway for completeness.
460        mkdir -p $RPM_BUILD_ROOT%{_libdir}/pgsql/test
461        cp -a src/test/regress $RPM_BUILD_ROOT%{_libdir}/pgsql/test
462        install -m 0755 contrib/spi/refint.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
463        install -m 0755 contrib/spi/autoinc.so $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress
464        pushd  $RPM_BUILD_ROOT%{_libdir}/pgsql/test/regress/
465        strip *.so
466        popd
467%endif
468
469# Fix some more documentation
470##gzip doc/internals.ps
471cp %{SOURCE6} README.rpm-dist
472##cp -pr $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
473##rm -rf $RPM_BUILD_ROOT%{_docdir}/postgresql/html
474
475mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
476mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3
477mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man7
478install -m 644 ./doc/src/sgml/man1/* $RPM_BUILD_ROOT/%{_mandir}/man1
479install -m 644 ./doc/src/sgml/man3/* $RPM_BUILD_ROOT/%{_mandir}/man3
480install -m 644 ./doc/src/sgml/man7/* $RPM_BUILD_ROOT/%{_mandir}/man7
481
482
483%find_lang initdb-%{pgver}
484%find_lang pg_archivecleanup-%{pgver}
485%find_lang pg_basebackup-%{pgver}
486%find_lang pg_checksums-%{pgver}
487%find_lang pg_config-%{pgver}
488%find_lang pg_controldata-%{pgver}
489%find_lang pg_ctl-%{pgver}
490%find_lang pg_dump-%{pgver}
491%find_lang pg_resetwal-%{pgver}
492%find_lang pg_rewind-%{pgver}
493%find_lang pg_test_fsync-%{pgver}
494%find_lang pg_test_timing-%{pgver}
495%find_lang pg_upgrade-%{pgver}
496%find_lang pg_waldump-%{pgver}
497%find_lang pgscripts-%{pgver}
498%find_lang postgres-%{pgver}
499%find_lang psql-%{pgver}
500%ifarch !x86_64
501%find_lang scripts-%{pgver}
502%endif
503
504%find_lang plperl-%{pgver}
505%find_lang plpgsql-%{pgver}
506%find_lang plpython-%{pgver}
507%find_lang pltcl-%{pgver}
508
509cat psql-%{pgver}.lang pg_dump-%{pgver}.lang > main.lst
510cat pg_config-%{pgver}.lang > devel.lst
511cat initdb-%{pgver}.lang pg_archivecleanup-%{pgver}.lang \
512        pg_basebackup-%{pgver}.lang pg_controldata-%{pgver}.lang \
513        pg_checksums-%{pgver}.lang pg_ctl-%{pgver}.lang \
514        pg_resetwal-%{pgver}.lang pg_rewind-%{pgver}.lang \
515        pg_test_fsync-%{pgver}.lang pg_test_timing-%{pgver}.lang \
516        pg_upgrade-%{pgver}.lang pg_waldump-%{pgver}.lang \
517        postgres-%{pgver}.lang \
518        > server.lst
519%ifarch !x86_64
520cat scripts-%{pgver}.lang >> server.lst
521%endif
522
523#cat ecpg-%{pgver}.lang ecpglib6-%{pgver}.lang >> devel.lst
524cat plperl-%{pgver}.lang > pl.lst
525cat plpgsql-%{pgver}.lang >> pl.lst
526cat plpython-%{pgver}.lang >> pl.lst
527cat pltcl-%{pgver}.lang > tcl.lst
528
529rm -rf ./extension
530mv -f %{buildroot}%{_docdir}/postgresql/extension ./
531rm -f %{buildroot}%{_mandir}/man1/ecpg.*
532
533
534%pre server
535groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
536useradd -M -n -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
537        -c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
538touch /var/log/pgsql
539chown postgres.postgres /var/log/pgsql
540chmod 0700 /var/log/pgsql
541
542
543if [ $1 -gt 1 ]; then
544  if [ -e /var/lib/pgsql/data/PG_VERSION ]; then
545    PGVER=`cat /var/lib/pgsql/data/PG_VERSION`
546    if [ "x%{pgver}" != "x$PGVER" -a ! -d /var/lib/pgsql/$PGVER ]; then
547      mkdir -p /var/lib/pgsql/$PGVER/{bin,share,%{_lib}/postgresql}
548      mv -f /var/lib/pgsql/data /var/lib/pgsql/$PGVER/
549      cp -af %{_datadir}/pgsql /var/lib/pgsql/$PGVER/share/
550      for f in %{_libdir}/postgresql/*; do
551        cp -af $f /var/lib/pgsql/$PGVER/%{_lib}/postgresql/
552      done
553      for f in `rpm -ql %{name}-server | grep /usr/bin/`; do
554        cp -af $f /var/lib/pgsql/$PGVER/bin/
555      done
556
557      cat - <<EOF > /var/lib/pgsql/pgsql_upgrade.sh
558#!/bin/sh
559
560sudo -u postgres pg_upgrade -d /var/lib/pgsql/$PGVER/data/ -D /var/lib/pgsql/data -b /var/lib/pgsql/$PGVER/bin/ -B /usr/bin
561
562EOF
563      chown postgres.postgres /var/lib/pgsql/pgsql_upgrade.sh
564      chmod 700 /var/lib/pgsql/pgsql_upgrade.sh
565
566      cat - <<EOF
567 The old database was saved into /var/lib/pgsql/$PGVER/data/ and
568a migration script was created as /var/lib/pgsql/pgsql_upgrade.sh
569
570EOF
571        fi
572  fi
573fi
574
575%post server
576/sbin/ldconfig
577%if %{with systemd}
578%systemd_post postgresql.service
579%else
580chkconfig --add postgresql
581%endif
582
583%preun server
584%if %{with systemd}
585%systemd_preun postgresql.service
586%else
587if [ $1 = 0 -o -x /bin/systemctl ] ; then
588        chkconfig --del postgresql
589fi
590%endif
591
592%postun server
593/sbin/ldconfig
594%if %{with systemd}
595%systemd_postun_with_restart postgresql.service
596%else
597if [ $1 -ge 1 ]; then
598  /sbin/service postgresql condrestart >/dev/null 2>&1
599fi
600if [ $1 = 0 ] ; then
601    if [ ! -x /usr/bin/postgres ] ; then
602            userdel postgres >/dev/null 2>&1 || :
603            groupdel postgres >/dev/null 2>&1 || :
604    fi
605fi
606%endif
607
608%if %tcl
609%post -p /sbin/ldconfig   tcl
610%postun -p /sbin/ldconfig   tcl
611%endif
612
613%if %pls
614%post -p /sbin/ldconfig   pl
615%postun -p /sbin/ldconfig   pl
616%endif
617
618%if %test
619%post test
620chown -R postgres.postgres %{_datadir}/pgsql/test >/dev/null 2>&1 || :
621%endif
622
623
624%clean
625rm -rf $RPM_BUILD_ROOT
626
627
628%files -f main.lst
629%defattr(-,root,root)
630%license COPYRIGHT
631%doc doc/KNOWN_BUGS doc/MISSING_FEATURES
632%doc README HISTORY INSTALL doc/bug.template
633%doc README.rpm-dist
634##doc doc/html
635%{_bindir}/clusterdb
636%{_bindir}/createdb
637%{_bindir}/createuser
638%{_bindir}/dropdb
639%{_bindir}/dropuser
640%{_bindir}/pg_dump
641%{_bindir}/pg_dumpall
642%{_bindir}/pg_restore
643%{_bindir}/psql
644%{_bindir}/reindexdb
645%{_bindir}/vacuumdb
646%{_mandir}/man1/clusterdb.*
647%{_mandir}/man1/createdb.*
648%{_mandir}/man1/createuser.*
649%{_mandir}/man1/dropdb.*
650%{_mandir}/man1/dropuser.*
651%{_mandir}/man1/pg_dump.*
652%{_mandir}/man1/pg_dumpall.*
653%{_mandir}/man1/pg_restore.*
654%{_mandir}/man1/psql.*
655%{_mandir}/man1/reindexdb.*
656%{_mandir}/man1/vacuumdb.*
657%{_mandir}/man3/*
658%{_mandir}/man7/*
659%{_localedir}/*/LC_MESSAGES/pgscripts-%{pgver}.mo
660%dir %{_libdir}/postgresql/bitcode
661
662%files docs
663%defattr(-,root,root)
664%doc doc/src/*
665
666%files contrib
667%defattr(-,root,root)
668%doc contrib/README contrib/spi/*.example
669%{_libdir}/postgresql/_int.so
670%{_libdir}/postgresql/adminpack.so
671%{_libdir}/postgresql/amcheck.so
672%{_libdir}/postgresql/auth_delay.so
673%{_libdir}/postgresql/auto_explain.so
674%{_libdir}/postgresql/autoinc.so
675%{_libdir}/postgresql/bloom.so
676%{_libdir}/postgresql/btree_gin.so
677%{_libdir}/postgresql/btree_gist.so
678#%{_libdir}/postgresql/chkpass.so
679%{_libdir}/postgresql/citext.so
680%{_libdir}/postgresql/cube.so
681%{_libdir}/postgresql/dblink.so
682%{_libdir}/postgresql/dict_int.so
683%{_libdir}/postgresql/dict_xsyn.so
684%{_libdir}/postgresql/earthdistance.so
685%{_libdir}/postgresql/file_fdw.so
686%{_libdir}/postgresql/fuzzystrmatch.so
687%{_libdir}/postgresql/hstore.so
688%{_libdir}/postgresql/insert_username.so
689%{_libdir}/postgresql/isn.so
690%{_libdir}/postgresql/lo.so
691%{_libdir}/postgresql/ltree.so
692%{_libdir}/postgresql/moddatetime.so
693%{_libdir}/postgresql/pageinspect.so
694%{_libdir}/postgresql/passwordcheck.so
695%{_libdir}/postgresql/pg_buffercache.so
696%{_libdir}/postgresql/pg_freespacemap.so
697%{_libdir}/postgresql/pg_stat_statements.so
698%{_libdir}/postgresql/pg_trgm.so
699%{_libdir}/postgresql/pg_visibility.so
700%{_libdir}/postgresql/pgcrypto.so
701%{_libdir}/postgresql/pgoutput.so
702%{_libdir}/postgresql/pgrowlocks.so
703%{_libdir}/postgresql/pgstattuple.so
704%{_libdir}/postgresql/postgres_fdw.so
705%{_libdir}/postgresql/refint.so
706%{_libdir}/postgresql/seg.so
707%{_libdir}/postgresql/sslinfo.so
708%{_libdir}/postgresql/tablefunc.so
709%{_libdir}/postgresql/tcn.so
710%{_libdir}/postgresql/test_decoding.so
711#%{_libdir}/postgresql/timetravel.so
712%{_libdir}/postgresql/unaccent.so
713%{_bindir}/oid2name
714%{_bindir}/pg_standby
715%{_bindir}/pgbench
716%{_bindir}/vacuumlo
717%{_mandir}/man1/oid2name.*
718%{_mandir}/man1/pg_standby.*
719%{_mandir}/man1/pgbench.*
720%{_mandir}/man1/vacuumlo.*
721
722%if 0
723%files libs -f libpq5-%{pgver}.lang
724%defattr(-,root,root)
725%{_libdir}/libecpg.so.*
726%{_libdir}/libecpg_compat.so.*
727%{_libdir}/libpgtypes.so.*
728%{_libdir}/libpq.so.*
729%endif
730
731%files server -f server.lst
732%defattr(-,root,root)
733%doc extension
734%if %{with systemd}
735%{_unitdir}/postgresql.service
736%{_tmpfilesdir}/postgresql.conf
737%else
738%{_sysconfdir}/rc.d/init.d/postgresql
739%endif
740%dir %{_sysconfdir}/sysconfig/pgsql
741%{_bindir}/initdb
742%{_bindir}/pg_archivecleanup
743%{_bindir}/pg_basebackup
744%{_bindir}/pg_checksums
745%{_bindir}/pg_controldata
746%{_bindir}/pg_ctl
747%{_bindir}/pg_isready
748%{_bindir}/pg_receivewal
749%{_bindir}/pg_recvlogical
750%{_bindir}/pg_resetwal
751%{_bindir}/pg_rewind
752%{_bindir}/pg_test_fsync
753%{_bindir}/pg_test_timing
754%{_bindir}/pg_upgrade
755%{_bindir}/pg_waldump
756%{_bindir}/postgres
757%{_bindir}/postmaster
758%{_mandir}/man1/initdb.*
759##{_mandir}/man1/ipcclean.*
760%{_mandir}/man1/pg_archivecleanup.*
761%{_mandir}/man1/pg_basebackup.*
762%{_mandir}/man1/pg_checksums.*
763%{_mandir}/man1/pg_controldata.*
764%{_mandir}/man1/pg_ctl.*
765%{_mandir}/man1/pg_isready.*
766%{_mandir}/man1/pg_receivewal.*
767%{_mandir}/man1/pg_recvlogical.*
768%{_mandir}/man1/pg_resetwal.*
769%{_mandir}/man1/pg_rewind.*
770%{_mandir}/man1/pg_test_fsync.*
771%{_mandir}/man1/pg_test_timing.*
772%{_mandir}/man1/pg_upgrade.*
773%{_mandir}/man1/pg_waldump.*
774%{_mandir}/man1/postgres.*
775%{_mandir}/man1/postmaster.*
776%dir %{_libdir}/postgresql
777%{_libdir}/postgresql/dict_snowball.so
778%{_libdir}/postgresql/libpqwalreceiver.so
779%{_libdir}/postgresql/pg_prewarm.so
780%{_libdir}/postgresql/plpgsql.so
781%{_libdir}/postgresql/*_and_*.so
782%{_libdir}/postgresql/euc2004_sjis2004.so
783%{_libdir}/postgresql/tsm_system_rows.so
784%{_libdir}/postgresql/tsm_system_time.so
785%dir %{_datadir}/pgsql
786%{_datadir}/pgsql/errcodes.txt
787%{_datadir}/pgsql/extension
788%{_datadir}/pgsql/*.sql
789%{_datadir}/pgsql/postgres.bki
790%{_datadir}/pgsql/postgres.description
791%{_datadir}/pgsql/postgres.shdescription
792%{_datadir}/pgsql/*.sample
793%{_datadir}/pgsql/sql_features.txt
794%{_datadir}/pgsql/timezone
795%{_datadir}/pgsql/timezonesets
796%{_datadir}/pgsql/tsearch_data
797%attr(700,postgres,postgres) %dir /var/lib/pgsql
798%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
799%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
800%attr(644,postgres,postgres) %config(noreplace) /var/lib/pgsql/.bash_profile
801
802%files llvmjit
803%defattr(-,root,root)
804%{_libdir}/postgresql/bitcode/*
805%{_libdir}/postgresql/llvmjit.so
806%{_libdir}/postgresql/llvmjit_types.bc
807
808%files devel -f devel.lst
809%defattr(-,root,root)
810%{_includedir}/pgsql
811%{_bindir}/pg_config
812%{_libdir}/postgresql/pgxs
813%{_mandir}/man1/pg_config.*
814
815%files static
816%{_libdir}/libpgcommon.a
817%{_libdir}/libpgcommon_shlib.a
818%{_libdir}/libpgfeutils.a
819%{_libdir}/libpgport.a
820%{_libdir}/libpgport_shlib.a
821
822%if %tcl
823%files tcl -f tcl.lst
824%defattr(-,root,root)
825%endif
826
827%if %pls
828%files pl -f pl.lst
829%defattr(-,root,root)
830%if %plperl
831%{_libdir}/postgresql/plperl.so
832%{_libdir}/postgresql/hstore_plperl.so
833%{_libdir}/postgresql/jsonb_plperl.so
834%endif
835%if %pltcl
836%{_libdir}/postgresql/pltcl.so
837%endif
838%if %plpython
839#%{_libdir}/postgresql/plpython.so
840%{_libdir}/postgresql/plpython2.so
841%{_libdir}/postgresql/hstore_plpython2.so
842%{_libdir}/postgresql/ltree_plpython2.so
843%{_libdir}/postgresql/jsonb_plpython2.so
844%endif
845%endif
846
847%if %test
848%files test
849%defattr(-,postgres,postgres)
850%attr(-,postgres,postgres) %{_libdir}/postgresql/test/*
851%attr(-,postgres,postgres) %dir %{_libdir}/postgresql/test
852%endif
853
854%changelog
855* Fri May 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.3-1
856- new upstream release.
857- added systemd support (disabled as default).
858
859* Fri Feb 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.2-1
860- new upstream release.
861
862* Fri Oct 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0-1
863- new upstream release.
864
865* Fri Mar 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3-1
866- new upstream release.
867
868* Fri Apr  1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.2-1
869- new upstream release.
870
871* Tue Mar 15 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.1-1
872- new upstream release.
873
874* Sat Jan  9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.5.0-1
875- new upstream release.
876
877* Fri Oct  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.5-1
878- new upstream release.
879
880* Sat Jun 20 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.4-2
881- fixed initscript.
882- modified %%pre to prepare for pg_upgrade.
883
884* Sat Jun 13 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.4-1
885- new upstream release.
886
887* Fri Jun 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.3-1
888- new upstream release.
889
890* Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 9.3.4-2
891- rebuilt without readline to avoid GPL infection
892- added BuildRequires: libedit-devel instead of readline-devel
893- added BuildRequires: tcl-devel instead of tcl
894
895* Tue Apr 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-1
896- new upstream release.
897
898* Sun Dec 01 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
899- new upstream release.
900- built without client libraries.
901
902* Thu Feb 21 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.12-1
903- new upstream release
904
905* Thu Feb  7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.11-1
906- new upstream release
907- add Vendor and Distribution tags
908
909* Mon Jan  7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.7-2vl7
910- build with Tcl/Tk 8.5.7-1
911- fix init script (Source3): fix su(1) paramaters.
912
913* Tue Mar 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.7-1
914- new upstream release
915- move euc2004_sjis2004.so from -contrib to -server (BTS:1266)
916- remove *_and_*.so from -contrib (included in -server)
917
918* Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.4-1
919- updated postgresql to 9.0.4
920
921* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.3-1
922- updated postgresql to 9.0.3
923- separated postgresql-jdbc package
924
925* Thu Feb 03 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-1
926- updated postgresql to 8.4.7 (contains a variety of fixes)
927
928* Sat Jan 29 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.6-1
929- updated postgresql to 8.4.6
930- updated JDBC2 driver to postgresql-8.3-606.{jdbc2,jdbc2ee}.jar
931- updated JDBC3 driver to postgresql-8.4-702.jdbc3.jar
932- updated JDBC4 driver to postgresql-8.4-702.jdbc4.jar
933
934* Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.5-2
935- rebuilt with openssl-1.0.0c
936
937* Thu Oct 07 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.5-1
938- updated postgresql to 8.4.5
939
940* Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.4-1
941- updated postgresql to 8.4.4
942
943* Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.3-1
944- updated postgresql to 8.4.3
945- s/BuildPrereq/Buildrequires/
946
947* Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.2-1
948- updated postgresql to 8.4.2
949- rebuilt with new environment
950
951* Thu Sep 10 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.1-1
952- updated postgresql to 8.4.1
953
954* Fri Aug 21 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-2
955- moved dict_snowball.so from conrib to server
956
957* Tue Jul 07 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-1
958- updated postgresql to 8.4.0
959- updated jdbc3,4 to 701
960- dropt postgresql-8.3.3-nls.patch (fixed)
961- dropt postgresql-7.4-ecpg-patch (no effect)
962
963* Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.3.7-2
964- changed libs Group to System Environment/Libraries
965
966* Sun Apr 12 2009 Shu KONNO <owa@bg.wakwak.com> 8.3.7-1
967- updated postgresql to 8.3.7
968
969* Sun Jan 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-2
970- remove "-E EUC_JP --no-locale" option from initdb in postgresql.init
971
972* Thu Jan 22 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-1
973- new upstream release (postgresql to 8.3.5, jdbc to 604)
974
975* Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 8.3.3-1vl5
976- applied new versioning policy, and spec in utf-8
977- updated postgresql to 8.3.3
978- updated jdbcver to 603
979- added postgresql-8.3.3-nls.patch instead of postgresql-8.2.0-nls.patch.gz
980- added a script to replace PGVERSION in postgresql.init
981
982* Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl2
983- rebuild with tcl/tk-8.4.18
984
985* Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl1
986- updated postgresql to 8.2.6
987- included security fixes: CVE-{2007-6600, 2007-4772, 2007-6067, 2007-4769, 2007-6601}
988
989* Tue Oct 16 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl3
990- updated PGVERSION to 8.2 in postgresql.init (sorry;)
991
992* Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl2
993- rebuild with tcl/tk-8.4.16
994
995* Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl1
996- updated postgresql to 8.2.5
997- updated jdbc driver to 8.2-506, and added 8.2-506.jdbc4.jar
998- updated nls-patch to 8-2-0
999- dropt postgresql-8.1.4-Pg.patch.gz
1000
1001* Wed Sep 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 8.1.10-0vl1
1002- for VineSeed
1003- updated to 8.1.10 (8.1.9 and up has fixes for CVE-2007-2138)
1004- JDBC driver updated to 410
1005
1006* Sun Jul  1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.5-0vl1
1007- rebuilt for VineSeed
1008- fixed install script
1009
1010* Thu Nov 23 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.5-0vl0
1011- upstream release
1012- fix missing %defattr in %files server
1013
1014* Fri Sep 15 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl2
1015- fix version number in postgresql.init
1016
1017* Tue Sep 12 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl1
1018- upstream release
1019- drop rpm-pgsql-8.0.0.patch
1020- add Requires: perl-DBD-Pg for contrib
1021- add postgresql-8.1.4-Pg.patch.gz
1022- update nls patches
1023- new JDBC driver
1024
1025* Sat Mar 18 2006 Shu KONNO <owa@bg.wakwak.com> 8.0.3-0vl4
1026- added build options --without perl, --without python
1027- rebuilt for x86_64 architecture support
1028
1029* Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl3
1030- drop Provides: on postgresql-libs
1031- drop Requires: libpq.so on postgresql-server
1032
1033* Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl2
1034- change SONAME -- Provides: libpq.so.4 libpq.so.4.0 libpq.so
1035
1036* Thu May 26 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl1
1037- upstream release
1038- update nls patches
1039
1040* Fri Apr 22 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.2-0vl1
1041- upstream release
1042- update nls patches
1043
1044* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl3
1045- rebuilded with python-2.4.1-0vl1
1046
1047* Sat Mar 26 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl2
1048- Dropped PyGreSQL-3.4.tgz.
1049- Dropped PyGreSQL-3.4-setup-2.patch.
1050- Dropped plpython.so in postgresql-server, because it's exist in postgresql-pl.
1051- Dropped pyver and pynextver macros.
1052- Changed macro name "python" to "plpython" like plperl.
1053- Added "Obsoletes: postgresql-python"
1054
1055* Fri Feb 18 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.1-0vl1
1056- Major version up
1057- Obsoletes: postgresql7
1058- update nls patch(es)
1059- modify %postun not to delete postgres account on upgrade
1060
1061* Thu Jan 27 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.0-0vl1
1062- upstream release (release as a new package)
1063- Conflicts: postgresql
1064- update nls patch(es)
1065- (this package revision was rejected by Vine Project)
1066
1067* Sat Dec 04 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.6-0vl2
1068- upstream release
1069- new JDBC driver
1070- add BuildRequires: bison, flex, pam-devel
1071- drop postgresql-7.4.5-tempfile.patch (repaired)
1072
1073* Thu Nov 18 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 7.4.5-0vl2
1074- Added a security fix patch postgresql-7.4.5-tempfile.patch
1075  from Gentoo Linux (CAN-2004-0977).
1076- Changed Patch4:
1077  from PyGreSQL-3.4-setup-2.patch into PyGreSQL-3.4-setup-2.patch
1078  It is possible to compile this package without pre-installed postgresql.
1079- Removed Patch5 because Patch4 was changed.
1080
1081* Tue Aug 24 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.5-0vl1
1082- upstream release
1083
1084* Mon Jun 21 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.3-0vl1
1085- upstream release
1086- new jdbc driver
1087
1088* Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl3
1089- rebuild with python-2.3.3-0vl1
1090
1091* Tue Apr 13 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.3
1092- changed mode to 644 at Makefile.global, Makefile.shlib
1093
1094* Mon Apr 12 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.2
1095- updated python install section
1096
1097* Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.1
1098- added PyGreSQL-3.4.tgz and set python flag
1099- added PyGreSQL-3.4-setup.patch
1100- added PyGreSQL-3.4-pgmodule.patch
1101- rebuilded with python-2.3.3-0vl0.3 (for TestPkg)
1102
1103* Sun Mar 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.4.2-0vl2
1104- rebuild with new openssl
1105
1106* Wed Mar 17 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.2-0vl1
1107- upstream release
1108- change all of %{?foo:%define foo 0} -like descriptions to simple
1109  %define format for latest rpm to build.
1110
1111* Sat Feb 14 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl3
1112- rebuild on latest tcl package environment.
1113
1114* Wed Feb 11 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl2
1115- fixed lacking files at server's %files
1116
1117* Fri Dec 05 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl2
1118- include JDBC driver for 7.4
1119- fix typo in postgresql-7.4-psql-patch
1120
1121* Thu Nov 20 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl1
1122- upstream release
1123- change '--includedir=' option to avoid conflicting with unixODBC
1124- add postgresql-7.4-ecpg-patch
1125
1126* Wed Sep 10 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.4-0vl1
1127- upstream release
1128
1129* Wed Jul 23 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl2
1130- drop previous version of libpq's trash
1131
1132* Wed May 28 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl1
1133- upstream release with new nls patch
1134- fix postgresql-bashprofile (value of PGDATA)
1135- fix postgresql-init for Japanese-specific use (-E EUC_JP --no-locale)
1136
1137* Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 7.3.2-0vl2
1138- rebuild with tcltk8.4 and readline-4.3
1139
1140* Fri Mar 07 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.2-0vl1
1141- upstream release
1142
1143* Wed Dec 25 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3.1-0vl1
1144- upstream release
1145- remove garbage changelog
1146
1147* Mon Dec 23 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3-0vl1
1148- upstream release based on 7.3-2PGDG
1149- add nls patch
1150
1151* Thu Dec 05 2002 Lamar Owen <lamar.owen@ramifordistat.net>
1152- 7.3-2PGDG
1153- Fix typo in initscript.  Argh!!
1154
1155* Wed Dec 04 2002 Lamar Owen <lamar.owen@ramifordistat.net>
1156- 7.3-0.5PGDG
1157- Jerk out all perl client stuff and kludgage
1158- Rename plperl subpackage to a pl subpackage containing all but PL/Pgsql PL's
1159- Eliminate locale and multibyte explicit enables -- they are both defaults now
1160- Eliminate pgaccess code; it's not a part of the main tarball anymore
1161- Eliminate ODBC stuff -- it's also separate now.  Use unixODBC instead.
1162- Eliminated separate tk client package -- rolled the tk client into the tcl client.
1163- Moved pltcl into the pl subpackage.
1164- Added plpython to the pl subpackage.
1165- /etc/sysconfig/pgsql is sysconfdir for multiple postmaster startup.
1166
1167* Mon Dec 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
1168- 7.3-0.1PGDG (not released)
1169- Integrate 7.3 jar's courtesy Joe Conway
1170- Integrate multi-postmaster initscript courtesy Karl DeBisschop
1171- Some renames and restructures.
1172- Stripped out the last dregs of the postgresql-dump migration script.
1173- Conflicts with less than 7.3.
1174
1175- (See below for old changelogs from VineSeed)
1176
1177* Fri Oct 04 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.3-0vl1
1178- updated to 7.2.3.
1179
1180* Tue Sep 10 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl3
1181- absorbed previous patch8 into original nlspatch
1182- fixed configure options (--enable-nls and --enable-locale to be antinomy)
1183
1184* Fri Aug 30 2002 Shoji Matsumoto <shom@vinelinux.org> 7.2.2-0vl2
1185- add patch8 (ja.po for psql was invalid)
1186
1187* Thu Aug 29 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl1
1188- updated to 7.2.2.
1189- improved nlspatch to enable japanese SQL help in psql.
1190
1191* Sat Jul 06 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl3
1192- fixed garbage chars in description(ja).
1193
1194* Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl2
1195- imported & replaced changelog (following VineSeed's).
1196  add some stuff to '%%files'.
1197
1198* Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl1
1199- Modified for Vine Linux 2.5. Originaly from RHL 7.2.1-5, adding
1200  nls patch, pg_dump patch, date_part patch by Jun Kuwamura
1201
1202* Thu May 23 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1203- replace nls patch.
1204- add *.mo to '%%files'.
1205
1206* Mon Mar 04 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1207- fix initscript
1208
1209* Sun Mar 03 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
1210- add /usr/bin/pg_id to the package (fix)
1211
1212* Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 7.2-0vl1
1213- updated 7.2
1214- added nls.patch
1215- fixed spec file
1216- added New JDBC
1217-- pgjdbc1.jar(for JDK1.1.x), pgjdbc2(for Java2)
1218
1219* Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.3-4vl1
1220- updated 7.1.3
1221
1222* Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
1223- 7.1.2-7vl3
1224- merge 7.1.2-7vl2 and 7.1.2-7
1225
1226* Sun Aug 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
1227- 7.1.2-7vl2
1228- fixed spec typo (%%{_includesir} -> %%{_includedir})
1229
1230* Tue Aug 14 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.2-7vl1
1231- updated 7.1.2 (used postgresql-7.1.2-7)
1232- used psqlj patch for 7.1.2
1233- used jumbo-20010801.patch.gz
1234
1235* Mon Aug  6 2001 Trond Eivind Glomsr <teg@redhat.com> 7.1.2-7
1236- Add patches from 7.1-stable branch. This should fix #50799 and #50797
1237- Enable kerberos authentication (#50644)
1238- handle stop with stale pid file (#50499)
1239- make the test subpackage (not built by default) own /usr/lib/pgsql/test
1240
1241* Mon Jul  9 2001 Trond Eivind Glomsr <teg@redhat.com>
1242- Make the -devel subpackage depend on -libs, not the main package
1243
1244* Tue Jun 19 2001 Trond Eivind Glomsr <teg@redhat.com>
1245- Make sure the python subpackage depends on mx - otherwise, you'd get an error when importing
1246
1247* Mon Jun 18 2001 Florian La Roche <Florian.LaRoche@redhat.de>
1248- add changes for s390x
1249
1250* Fri Jun 15 2001 Trond Eivind Glomsr <teg@redhat.com>
1251- Many path fixes for contrib packages
1252- Newer intarray
1253- Don't use nested ifs for tkpkg/pgaccess
1254- Turn off test package for Red Hat Linux - it makes most sense just to use
1255  this during development
1256- One "pgacess" -> "pgaccess"
1257
1258* Wed Jun 13 2001 Lamar Owen <lamar.owen@wgcr.org> <lamar@postgresql.org>
1259- -4PGDG
1260- patchset update for pg_regress.sh
1261- can the dot in the release -- confused too many people and some programs.
1262- -3.PGDG
1263- updated README.rpm-dist
1264- updated patch to 7.1.2, fixing some places where /usr/share/pgsql
1265  was still being used where /usr/lib/pgsql was intended.
1266- PGLIB now set to /usr/lib/pgsql -- initdb doesn't use it to find the bki's.
1267
1268* Tue Jun 12 2001 Trond Eivind Glomsr <teg@redhat.com>
1269- sync
1270- Run chkconfig --add on server install
1271- Move the prereqs on useradd on chkconfig to the server package
1272- don't disable the %%clean section
1273
1274* Sat Jun 09 2001 Lamar Owen <lamar.owen@wgcr.org>
1275- Sync up with Trond Eivind's set.
1276
1277* Thu Jun  7 2001 Trond Eivind Glomsr <teg@redhat.com>
1278- Don't create postgres' .bashrc from the server post script: include it instead
1279- Move the test packages from /usr/share/pgsql to /usr/lib/pgsql
1280- Move the symlinks libpq.so, libecpg.so, libpq++.so and libpgeasy.so to the devel subpackage from
1281  libs
1282- Source the i18n data from the .bashrc instead of in the initscript
1283
1284* Mon May 28 2001 Trond Eivind Glomsr <teg@redhat.com>
1285- Handle i18n for database startup - backend needs to have the same locale everytime,
1286  but this certainly can't be hardcoded to C either
1287- Fix stop, restart in initscript (#42217)
1288- Make database init _much_ less verbose
1289- other minor fixes to the initscript
1290
1291* Fri May 25 2001 Trond Eivind Glomsr <teg@redhat.com>
1292- 7.1.2
1293
1294* Thu May 24 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1295- 7.1.2-0.1.1.PGDG PRERELEASE
1296- Changed versioning and release numbering a little for better flexibility,
1297-- particularly for distribution packagers.
1298- Release numbering comment at top of spec, where it's more useful.
1299- Trimmed changelog to 7.1.x. See the last 7.0.3's specfile for the 7.0
1300  changlog, and the last 6.5.3's specfile for the changelog prior to
1301  7.0.
1302
1303* Sun May 20 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1304- 7.1.1-4.PGDG
1305- _really_ got Python version agnosticism working.
1306
1307* Sat May 19 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1308- 7.1.1-3.PGDG Release
1309- Python version agnosticism.....
1310
1311* Tue May 15 2001 Trond Eivind Glomsr <teg@redhat.com>
1312- Use openssl
1313- Make it obsolete subpackages if they aren't built
1314
1315* Mon May 14 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1316- 7.1.1-2.PGDG Release.
1317- Appended .PGDG to release string to differentiate our RPM set from the others.
1318- /bin/sh fix in initscript
1319- README.rpm-dist updates.
1320
1321* Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 7.1.1-0.7
1322- Rebuild with new readline
1323
1324* Thu May 10 2001 Trond Eivind Glomsr <teg@redhat.com>
1325- Initial 7.1.1
1326
1327* Mon May  7 2001 Trond Eivind Glomsr <teg@redhat.com>
1328- Specify shell when running commands through su in the initscript, to avoid problems
1329  when people switch the postgres user to use tcsh
1330
1331* Thu Apr 19 2001 Trond Eivind Glomsr <teg@redhat.com>
1332- JDBC driver for Postgresql 7.1
1333
1334* Sun Apr 15 2001 Trond Eivind Glomsr <teg@redhat.com>
1335- slightly different versioning scheming, will go back to the official
1336  later when I'm sure the package is ready to use
1337
1338* Fri Apr 13 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1339- 7.1 RELEASE
1340- 7.1-1 RPM RELEASE
1341- Change to COPTS -- strip out -ffastmath -- Considered Harmful.
1342- Back to old versioning scheme, kept teg's other fixes.
1343- README.rpm-dist updated.
1344- PGVERSION updated all-around (hopefully!)
1345- Couple of fixes from Peter E.
1346- Rearrange dependencies -- only the -libs subpackage is required for most stuff
1347- Removed broken and confusing logrotate script.
1348
1349* Mon Apr  9 2001 Trond Eivind Glomsr <teg@redhat.com>
1350- chown considered harmful - removed
1351- fix dangling symlimks (pg_crc.c)
1352- libpq.so changes for maximum compatiblity
1353- different versioning scheme, to avoid trouble later
1354- remove temporary perl file from the file list
1355- fix spelling error in tcl description
1356- mark odbcinst.ini as a config file
1357- use %%defattr on packages which didn't have it
1358
1359* Sat Apr 07 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1360- Integrated the PL/Perl stuff from Karl DeBisschop --conditional.
1361- Packaging reorg: added contrib and docs subpackages.
1362- Removed sgml source docs from main package --> docs subpackage.
1363- Removed contrib tree from main package --> contrib subpackage.
1364- Contrib tree is now prebuilt -- HOWEVER, very little install work is
1365  currently done with this.
1366
1367* Fri Apr 06 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1368- Quickie RC3.  There will be a 7.1RC3-2 shortly with other stuff.
1369
1370* Tue Apr 03 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1371- RC2
1372- eliminate versioning information for ancilliary files in prep for CVS.
1373- Fix docs mixup.
1374
1375* Tue Mar 27 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
1376- RC1 quickie.
1377
1378* Tue Mar 20 2001 Lamar Owen <lamar@postgresql.org>
1379- Beta 6 initial build.
1380- Use make install-all-headers instead of cpio hack for devel headers.
1381- Split out the libs into the libs subpackage.
1382- Updated initscript to use pg_ctl to stop
1383- Updated initscript to initdb and start postmaster with LC_ALL=C to
1384  prevent index corruption.
1385
1386
1387* Sun Jan 28 2001 Lamar Owen <lamar@postgresql.org>
1388- Beta4
1389- Return to 'pgsql' directories instead of 'postgresql'
1390- Better perl patches.
1391
1392* Mon Jan 15 2001 Lamar Owen <lamar@postgresql.org>
1393- Edit patches to get rid of some cruft.
1394- Eliminate some more pre-7.1 specfile baggage that is no longer necessary.
1395- Moved pg_id to server
1396- added Makefile.global and pg_config to devel
1397- Corrected /usr/include/pgsql to /usr/include/postgresql
1398- Fixed some configure options.  Will be trying the configure macro next release
1399- Since it is terminally ill in this version pg_upgrade is _gone_.
1400- Thanks to Peter E for a good review.
1401
1402* Sun Jan 14 2001 Lamar Owen <lamar@postgresql.org>
1403- Running regression. 1 on the release-o-meter.
1404- Minor patches to get regression running right. 
1405- Initscript tweaking -- the old test for a database structure fails with 7.1's new structure.
1406
1407* Sat Jan 13 2001 Lamar Owen <lamar@postgresql.org>
1408- Perl 5 needs to be built with PREFIX set on the Makefile, not GNUmakefile....
1409- The 7.1 build is different from the 7.0 build -- see the configure line.
1410- NOTE: many files that used to be in /usr/share/postgresql are now in /usr/share/postgresql!
1411- by request, conditional packages are now supported. See the top of the spec.
1412- Fixed the server postinstall problems.
1413
1414* Mon Jan 08 2001 Lamar Owen <lamar@postgresql.org>
1415- First 7.1 beta test-build
1416
Note: See TracBrowser for help on using the repository browser.