postgresql-vl.spec 42 KB

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