postgresql-vl.spec 42 KB

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