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