postgresql-vl.spec 42 KB

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