postgresql-vl.spec 42 KB

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