postgresql-vl.spec 41 KB

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