postgresql-vl.spec 41 KB

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