|
@@ -15,13 +15,14 @@
|
|
|
%define nls 1
|
|
|
%define pam 1
|
|
|
|
|
|
-%define pgver 10
|
|
|
+%define pgver 12
|
|
|
|
|
|
-Summary: PostgreSQL client programs and libraries.
|
|
|
-Summary(ja): PostgreSQL のクライアントプログラム群およびライブラリ
|
|
|
+Summary: PostgreSQL client programs
|
|
|
+Summary(ja): PostgreSQL のクライアントプログラム群
|
|
|
Name: postgresql
|
|
|
-Version: %{pgver}.3
|
|
|
+Version: 12.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
+%global pgver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
|
|
|
# Conventions for PostgreSQL Global Development Group RPM releases:
|
|
|
#
|
|
|
# Official PostgreSQL Development Group RPMS have a PGDG after the release number.
|
|
@@ -44,9 +45,9 @@ Release: 1%{?_dist_release}
|
|
|
|
|
|
License: BSD
|
|
|
Group: Applications/Databases
|
|
|
-Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
|
+Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
|
Source3: postgresql.init
|
|
|
-Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
|
|
+Source5: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
|
|
Source6: README.rpm-dist
|
|
|
Source15: postgresql-bashprofile
|
|
|
Patch2: postgresql-8.3.3-nls.patch
|
|
@@ -124,15 +125,15 @@ Distribution: Vine Linux
|
|
|
PostgreSQL is an advanced Object-Relational database management system
|
|
|
(DBMS) that supports almost all SQL constructs (including
|
|
|
transactions, subselects and user-defined types and functions). The
|
|
|
-postgresql package includes the client programs and libraries that
|
|
|
-you'll need to access a PostgreSQL DBMS server. These PostgreSQL
|
|
|
-client programs are programs that directly manipulate the internal
|
|
|
-structure of PostgreSQL databases on a PostgreSQL server. These client
|
|
|
-programs can be located on the same machine with the PostgreSQL
|
|
|
-server, or may be on a remote machine which accesses a PostgreSQL
|
|
|
-server over a network connection. This package contains the docs
|
|
|
-in HTML for the whole package, as well as command-line utilities for
|
|
|
-managing PostgreSQL databases on a PostgreSQL server.
|
|
|
+postgresql package includes the client programs that you'll need
|
|
|
+to access a PostgreSQL DBMS server. These PostgreSQL client programs
|
|
|
+are programs that directly manipulate the internal structure of
|
|
|
+PostgreSQL databases on a PostgreSQL server. These client programs
|
|
|
+can be located on the same machine with the PostgreSQL server,
|
|
|
+or may be on a remote machine which accesses a PostgreSQL server
|
|
|
+over a network connection. This package contains the docs in HTML
|
|
|
+for the whole package, as well as command-line utilities for managing
|
|
|
+PostgreSQL databases on a PostgreSQL server.
|
|
|
|
|
|
If you want to manipulate a PostgreSQL database on a remote PostgreSQL
|
|
|
server, you need this package. You also need to install this package
|
|
@@ -143,13 +144,13 @@ PostgreSQLはSQLの構成要素(トランザクション、副問い合わせお
|
|
|
定義型やユーザ定義関数など)のほとんどすべてをサポートした、先進的なオブ
|
|
|
ジェクト指向のデータベース管理システム(DBMS)です。postgresqlのパッケー
|
|
|
ジにはPostgreSQL DBMS サーバにアクセスするために必要なクライアントプロ
|
|
|
-グラムおよびライブラリを収録しています。PostgreSQLクライアントプログラ
|
|
|
-ムは、PostgreSQLサーバ上のPostgreSQLデータベースの内部構造を直接操作す
|
|
|
-るためのプログラムです。これらのクライアントプログラムは、PostgreSQLサ
|
|
|
-ーバと同じマシン上で動いていてもよいですし、ネットワークコネクションの
|
|
|
-向こう側にあるリモートマシン上にあっても構いません。このパッケージには
|
|
|
-PostgreSQLサーバ上のPostgreSQLデータベースを管理するためのユーティリテ
|
|
|
-ィに加え、全パッケージのドキュメントがHTML形式で収録されています。
|
|
|
+グラムを収録しています。PostgreSQLクライアントプログラムは、PostgreSQL
|
|
|
+サーバ上のPostgreSQLデータベースの内部構造を直接操作するためのプログラ
|
|
|
+ムです。これらのクライアントプログラムは、PostgreSQLサーバと同じマシン
|
|
|
+上で動いていてもよいですし、ネットワークコネクションの向こう側にあるリ
|
|
|
+モートマシン上にあっても構いません。このパッケージにはPostgreSQLサーバ
|
|
|
+上のPostgreSQLデータベースを管理するためのユーティリティに加え、全パッ
|
|
|
+ケージのドキュメントがHTML形式で収録されています。
|
|
|
|
|
|
リモートにあるPostgreSQLサーバ上のPostgreSQLデータベースを操作する場合
|
|
|
はこのパッケージが必要です。またpostgresql-serverパッケージをインスト
|
|
@@ -442,6 +443,7 @@ install -m 644 ./doc/src/sgml/man7/* $RPM_BUILD_ROOT/%{_mandir}/man7
|
|
|
%find_lang initdb-%{pgver}
|
|
|
%find_lang pg_archivecleanup-%{pgver}
|
|
|
%find_lang pg_basebackup-%{pgver}
|
|
|
+%find_lang pg_checksums-%{pgver}
|
|
|
%find_lang pg_config-%{pgver}
|
|
|
%find_lang pg_controldata-%{pgver}
|
|
|
%find_lang pg_ctl-%{pgver}
|
|
@@ -468,10 +470,11 @@ cat psql-%{pgver}.lang pg_dump-%{pgver}.lang > main.lst
|
|
|
cat pg_config-%{pgver}.lang > devel.lst
|
|
|
cat initdb-%{pgver}.lang pg_archivecleanup-%{pgver}.lang \
|
|
|
pg_basebackup-%{pgver}.lang pg_controldata-%{pgver}.lang \
|
|
|
- pg_ctl-%{pgver}.lang pg_resetwal-%{pgver}.lang \
|
|
|
- pg_rewind-%{pgver}.lang pg_test_fsync-%{pgver}.lang \
|
|
|
- pg_test_timing-%{pgver}.lang pg_upgrade-%{pgver}.lang \
|
|
|
- pg_waldump-%{pgver}.lang postgres-%{pgver}.lang \
|
|
|
+ pg_checksums-%{pgver}.lang pg_ctl-%{pgver}.lang \
|
|
|
+ pg_resetwal-%{pgver}.lang pg_rewind-%{pgver}.lang \
|
|
|
+ pg_test_fsync-%{pgver}.lang pg_test_timing-%{pgver}.lang \
|
|
|
+ pg_upgrade-%{pgver}.lang pg_waldump-%{pgver}.lang \
|
|
|
+ postgres-%{pgver}.lang \
|
|
|
> server.lst
|
|
|
%ifarch !x86_64
|
|
|
cat scripts-%{pgver}.lang >> server.lst
|
|
@@ -571,8 +574,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f main.lst
|
|
|
%defattr(-,root,root)
|
|
|
+%license COPYRIGHT
|
|
|
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES
|
|
|
-%doc COPYRIGHT README HISTORY INSTALL doc/bug.template
|
|
|
+%doc README HISTORY INSTALL doc/bug.template
|
|
|
%doc README.rpm-dist
|
|
|
##doc doc/html
|
|
|
%{_bindir}/clusterdb
|
|
@@ -619,7 +623,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postgresql/bloom.so
|
|
|
%{_libdir}/postgresql/btree_gin.so
|
|
|
%{_libdir}/postgresql/btree_gist.so
|
|
|
-%{_libdir}/postgresql/chkpass.so
|
|
|
+#%{_libdir}/postgresql/chkpass.so
|
|
|
%{_libdir}/postgresql/citext.so
|
|
|
%{_libdir}/postgresql/cube.so
|
|
|
%{_libdir}/postgresql/dblink.so
|
|
@@ -652,7 +656,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postgresql/tablefunc.so
|
|
|
%{_libdir}/postgresql/tcn.so
|
|
|
%{_libdir}/postgresql/test_decoding.so
|
|
|
-%{_libdir}/postgresql/timetravel.so
|
|
|
+#%{_libdir}/postgresql/timetravel.so
|
|
|
%{_libdir}/postgresql/unaccent.so
|
|
|
%{_bindir}/oid2name
|
|
|
%{_bindir}/pg_standby
|
|
@@ -680,6 +684,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_bindir}/initdb
|
|
|
%{_bindir}/pg_archivecleanup
|
|
|
%{_bindir}/pg_basebackup
|
|
|
+%{_bindir}/pg_checksums
|
|
|
%{_bindir}/pg_controldata
|
|
|
%{_bindir}/pg_ctl
|
|
|
%{_bindir}/pg_isready
|
|
@@ -697,6 +702,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
##{_mandir}/man1/ipcclean.*
|
|
|
%{_mandir}/man1/pg_archivecleanup.*
|
|
|
%{_mandir}/man1/pg_basebackup.*
|
|
|
+%{_mandir}/man1/pg_checksums.*
|
|
|
%{_mandir}/man1/pg_controldata.*
|
|
|
%{_mandir}/man1/pg_ctl.*
|
|
|
%{_mandir}/man1/pg_isready.*
|
|
@@ -710,6 +716,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/man1/pg_waldump.*
|
|
|
%{_mandir}/man1/postgres.*
|
|
|
%{_mandir}/man1/postmaster.*
|
|
|
+%dir %{_libdir}/postgresql
|
|
|
%{_libdir}/postgresql/dict_snowball.so
|
|
|
%{_libdir}/postgresql/libpqwalreceiver.so
|
|
|
%{_libdir}/postgresql/pg_prewarm.so
|
|
@@ -718,6 +725,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postgresql/euc2004_sjis2004.so
|
|
|
%{_libdir}/postgresql/tsm_system_rows.so
|
|
|
%{_libdir}/postgresql/tsm_system_time.so
|
|
|
+%dir %{_datadir}/pgsql
|
|
|
+%{_datadir}/pgsql/errcodes.txt
|
|
|
%{_datadir}/pgsql/extension
|
|
|
%{_datadir}/pgsql/*.sql
|
|
|
%{_datadir}/pgsql/postgres.bki
|
|
@@ -728,8 +737,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/pgsql/timezone
|
|
|
%{_datadir}/pgsql/timezonesets
|
|
|
%{_datadir}/pgsql/tsearch_data
|
|
|
-%dir %{_libdir}/postgresql
|
|
|
-%dir %{_datadir}/pgsql
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/data
|
|
|
%attr(700,postgres,postgres) %dir /var/lib/pgsql/backups
|
|
@@ -744,8 +751,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files static
|
|
|
%{_libdir}/libpgcommon.a
|
|
|
+%{_libdir}/libpgcommon_shlib.a
|
|
|
%{_libdir}/libpgfeutils.a
|
|
|
%{_libdir}/libpgport.a
|
|
|
+%{_libdir}/libpgport_shlib.a
|
|
|
|
|
|
%if %tcl
|
|
|
%files tcl -f tcl.lst
|
|
@@ -758,6 +767,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%if %plperl
|
|
|
%{_libdir}/postgresql/plperl.so
|
|
|
%{_libdir}/postgresql/hstore_plperl.so
|
|
|
+%{_libdir}/postgresql/jsonb_plperl.so
|
|
|
%endif
|
|
|
%if %pltcl
|
|
|
%{_libdir}/postgresql/pltcl.so
|
|
@@ -767,6 +777,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postgresql/plpython2.so
|
|
|
%{_libdir}/postgresql/hstore_plpython2.so
|
|
|
%{_libdir}/postgresql/ltree_plpython2.so
|
|
|
+%{_libdir}/postgresql/jsonb_plpython2.so
|
|
|
%endif
|
|
|
%endif
|
|
|
|
|
@@ -778,6 +789,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Oct 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Fri Mar 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.3-1
|
|
|
- new upstream release.
|
|
|
|