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