libpq-vl.spec 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. #%define rel 0
  2. %define beta 0
  3. %{?beta:%define __os_install_post /usr/lib/rpm/brp-compress}
  4. %define ssl 1
  5. %define kerberos 0
  6. %define nls 1
  7. %define pam 1
  8. %define pgver 9.4
  9. %define pq_soname 5
  10. %define ecpg_soname 6
  11. Summary: The shared libraries required for any PostgreSQL clients.
  12. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  13. Name: libpq
  14. Group: System Environment/Libraries
  15. Version: %{pgver}.3
  16. Release: 1%{?_dist_release}
  17. License: BSD
  18. Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
  19. Source3: postgresql.init
  20. Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
  21. Source6: README.rpm-dist
  22. Source15: postgresql-bashprofile
  23. Patch2: postgresql-8.3.3-nls.patch
  24. Patch3: postgresql-7.4-ecpg-patch
  25. Buildrequires: perl build-essential
  26. Buildrequires: libedit-devel
  27. Buildrequires: zlib-devel >= 1.0.4
  28. BuildRequires: bison, flex, pam-devel
  29. %if %ssl
  30. Buildrequires: openssl-devel
  31. %endif
  32. %if %kerberos
  33. Buildrequires: krb5-devel
  34. %endif
  35. %if %nls
  36. Buildrequires: gettext >= 0.10.35
  37. %endif
  38. %if %pam
  39. Buildrequires: pam-devel
  40. %endif
  41. Url: http://www.postgresql.org/
  42. Buildroot: %{_tmppath}/%{name}-%{version}-root
  43. Vendor: Project Vine
  44. Distribution: Vine Linux
  45. %description
  46. The %{name} package provides the essential shared libraries for any
  47. PostgreSQL client program or interface. You will need to install this package
  48. to use any other PostgreSQL package or any clients that need to connect to a
  49. PostgreSQL server.
  50. %description -l ja
  51. %{name} パッケージは、すべての PostgreSQL クライアントプログラ
  52. ムやインターフェースのための中核的な共有ライブラリを提供します。
  53. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  54. ントを使う場合には、このパッケージをインストールする必要があります。
  55. %package -n libpq%{pq_soname}
  56. Summary: The shared libraries required for any PostgreSQL clients.
  57. Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
  58. Group: System Environment/Libraries
  59. Requires(post): /sbin/ldconfig
  60. Requires(postun): /sbin/ldconfig
  61. Obsoletes: postgresql7-libs
  62. Obsoletes: postgresql8-libs
  63. Obsoletes: postgresql-libs < 9.3.0
  64. Conflicts: postgresql-libs >= 9.3.0
  65. %description -n libpq%{pq_soname}
  66. The %{name} package provides the essential shared libraries for any
  67. PostgreSQL client program or interface. You will need to install this package
  68. to use any other PostgreSQL package or any clients that need to connect to a
  69. PostgreSQL server.
  70. %description -n libpq%{pq_soname} -l ja
  71. %{name} パッケージは、すべての PostgreSQL クライアントプログラ
  72. ムやインターフェースのための中核的な共有ライブラリを提供します。
  73. PostgreSQL サーバに接続する必要のある、PostgreSQL パッケージやクライア
  74. ントを使う場合には、このパッケージをインストールする必要があります。
  75. %package devel
  76. Summary: PostgreSQL development header files and libraries.
  77. Summary(ja): PostgreSQL の開発用ヘッダファイルとライブラリ群
  78. Group: Development/Libraries
  79. Requires: libpq%{pq_soname} = %{version}
  80. Obsoletes: postgresql7-devel
  81. Obsoletes: postgresql8-devel
  82. Obsoletes: postgresql-devel < 9.3.0
  83. %description devel
  84. The %{name}-devel package contains the header files and libraries
  85. needed to compile C or C++ applications which will directly interact
  86. with a PostgreSQL database management server and the ecpg Embedded C
  87. Postgres preprocessor. You need to install this package if you want to
  88. develop applications which will interact with a PostgreSQL server.
  89. %description -l ja devel
  90. %{name}-devel パッケージには、PostgreSQL データベースと直接に会話
  91. するための C / C++ アプリケーションをコンパイルするのに必要なヘッダフ
  92. ァイルとライブラリ、および C 言語埋め込み型の PostgreSQL プリプロセサ
  93. が含まれています。PostgreSQL サーバと会話するアプリケーションを開発
  94. したい場合にはこのパッケージをインストールしてください。
  95. %prep
  96. %setup -q -n postgresql-%{version}
  97. %build
  98. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
  99. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
  100. # Strip out -ffast-math from CFLAGS....
  101. CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
  102. ./configure \
  103. --prefix=%{_prefix} \
  104. --libdir=%{_libdir} \
  105. --disable-rpath \
  106. %if %beta
  107. --enable-debug \
  108. --enable-cassert \
  109. %endif
  110. %if %ssl
  111. --with-openssl \
  112. %endif
  113. %if %pam
  114. --with-pam \
  115. %endif
  116. %if %kerberos
  117. --with-krb5=/usr/kerberos \
  118. %endif
  119. %if %nls
  120. --enable-nls \
  121. %endif
  122. --sysconfdir=%{_sysconfdir}/sysconfig/pgsql \
  123. --mandir=%{_mandir} \
  124. --with-docdir=%{_docdir} \
  125. --includedir=%{_includedir}/pgsql \
  126. --datadir=%{_datadir}/pgsql
  127. make %{?_smp_mflags} -C ./src/interfaces all
  128. make %{?_smp_mflags} -C ./src/bin/pg_config all
  129. make %{?_smp_mflags} -C ./src/backend utils/errcodes.h
  130. make %{?_smp_mflags} -C ./src/backend utils/fmgroids.h
  131. %install
  132. rm -rf $RPM_BUILD_ROOT
  133. make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
  134. make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
  135. cp -f ./src/backend/utils/fmgroids.h ./src/include/utils/
  136. make DESTDIR=$RPM_BUILD_ROOT -C ./src/include install
  137. # copy over Makefile.global to the include dir....
  138. install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
  139. install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
  140. # install missing header
  141. mkdir -p $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  142. install -m644 src/include/libpq/libpq-fs.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  143. install -m644 src/include/libpq/pqcomm.h $RPM_BUILD_ROOT%{_includedir}/pgsql/libpq
  144. install -m644 src/include/postgres_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  145. install -m644 src/include/pg_config*.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  146. install -m644 src/include/c.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  147. install -m644 src/include/port.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  148. install -m644 src/include/postgres_fe.h $RPM_BUILD_ROOT%{_includedir}/pgsql
  149. # Fix some more documentation
  150. ##gzip doc/internals.ps
  151. cp %{SOURCE6} README.rpm-dist
  152. ##cp -pr $RPM_BUILD_ROOT%{_docdir}/postgresql/html doc
  153. ##rm -rf $RPM_BUILD_ROOT%{_docdir}/postgresql/html
  154. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
  155. install -m 644 ./doc/src/sgml/man1/* $RPM_BUILD_ROOT/%{_mandir}/man1
  156. %find_lang libpq5-%{pgver}
  157. %find_lang ecpg-%{pgver}
  158. %find_lang ecpglib%{ecpg_soname}-%{pgver}
  159. #%find_lang pg_config-%{pgver}
  160. cat libpq5-%{pgver}.lang > libpq.lst
  161. cat ecpg-%{pgver}.lang >> libpq.lst
  162. cat ecpglib%{ecpg_soname}-%{pgver}.lang >> libpq.lst
  163. #cat pg_config-%{pgver}.lang > devel.lst
  164. rm -rf %{buildroot}%{_libdir}/lib*.a
  165. rm -rf %{buildroot}%{_datadir}/pgsql
  166. find %{buildroot}%{_mandir}/man1 -type f | grep -v ecpg.1 | xargs rm -f
  167. rm -f %{buildroot}%{_includedir}/pgsql/Makefile*
  168. find %{buildroot}%{_includedir}/pgsql -type f | perl -pi -e 's|^%{buildroot}||g'> devel.lst
  169. %post
  170. /sbin/ldconfig
  171. %postun
  172. /sbin/ldconfig
  173. %clean
  174. rm -rf $RPM_BUILD_ROOT
  175. %files -n libpq%{pq_soname} -f libpq.lst
  176. %defattr(-,root,root)
  177. %doc COPYRIGHT HISTORY INSTALL README*
  178. %{_libdir}/libecpg.so.*
  179. %{_libdir}/libecpg_compat.so.*
  180. %{_libdir}/libpgtypes.so.*
  181. %{_libdir}/libpq.so.*
  182. %files devel -f devel.lst
  183. %defattr(-,root,root)
  184. %{_bindir}/ecpg
  185. %{_bindir}/pg_config
  186. %{_libdir}/libecpg.so
  187. %{_libdir}/libecpg_compat.so
  188. %{_libdir}/libpgtypes.so
  189. %{_libdir}/libpq.so
  190. %{_libdir}/pkgconfig/*
  191. %{_datadir}/locale/*/LC_MESSAGES/*.mo
  192. %{_mandir}/man1/ecpg.*
  193. #%{_mandir}/man1/pg_config.*
  194. %changelog
  195. * Fri Jun 12 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.4.3-1
  196. - new upstream release.
  197. * Thu Jul 10 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-4
  198. - added all headers for a strange client.
  199. * Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-3
  200. - add pgconfig
  201. - add pg_config*.h and libpq/libpq-fs.h
  202. * Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-2
  203. - add postgres_ext.h and pg_config_ext.h
  204. * Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-1
  205. - new upstream release
  206. * Sat Nov 30 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.1-1
  207. - made to build client libraries only.
  208. * Thu Feb 21 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.12-1
  209. - new upstream release
  210. * Thu Feb 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.11-1
  211. - new upstream release
  212. - add Vendor and Distribution tags
  213. * Mon Jan 7 2013 IWAI, Masaharu <iwai@alib.jp> 9.0.7-2vl7
  214. - build with Tcl/Tk 8.5.7-1
  215. - fix init script (Source3): fix su(1) paramaters.
  216. * Tue Mar 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 9.0.7-1
  217. - new upstream release
  218. - move euc2004_sjis2004.so from -contrib to -server (BTS:1266)
  219. - remove *_and_*.so from -contrib (included in -server)
  220. * Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.4-1
  221. - updated postgresql to 9.0.4
  222. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 9.0.3-1
  223. - updated postgresql to 9.0.3
  224. - separated postgresql-jdbc package
  225. * Thu Feb 03 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.7-1
  226. - updated postgresql to 8.4.7 (contains a variety of fixes)
  227. * Sat Jan 29 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.6-1
  228. - updated postgresql to 8.4.6
  229. - updated JDBC2 driver to postgresql-8.3-606.{jdbc2,jdbc2ee}.jar
  230. - updated JDBC3 driver to postgresql-8.4-702.jdbc3.jar
  231. - updated JDBC4 driver to postgresql-8.4-702.jdbc4.jar
  232. * Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 8.4.5-2
  233. - rebuilt with openssl-1.0.0c
  234. * Thu Oct 07 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.5-1
  235. - updated postgresql to 8.4.5
  236. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.4-1
  237. - updated postgresql to 8.4.4
  238. * Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.3-1
  239. - updated postgresql to 8.4.3
  240. - s/BuildPrereq/Buildrequires/
  241. * Wed Feb 17 2010 Shu KONNO <owa@bg.wakwak.com> 8.4.2-1
  242. - updated postgresql to 8.4.2
  243. - rebuilt with new environment
  244. * Thu Sep 10 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.1-1
  245. - updated postgresql to 8.4.1
  246. * Fri Aug 21 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-2
  247. - moved dict_snowball.so from conrib to server
  248. * Tue Jul 07 2009 Shu KONNO <owa@bg.wakwak.com> 8.4.0-1
  249. - updated postgresql to 8.4.0
  250. - updated jdbc3,4 to 701
  251. - dropt postgresql-8.3.3-nls.patch (fixed)
  252. - dropt postgresql-7.4-ecpg-patch (no effect)
  253. * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.3.7-2
  254. - changed libs Group to System Environment/Libraries
  255. * Sun Apr 12 2009 Shu KONNO <owa@bg.wakwak.com> 8.3.7-1
  256. - updated postgresql to 8.3.7
  257. * Sun Jan 25 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-2
  258. - remove "-E EUC_JP --no-locale" option from initdb in postgresql.init
  259. * Thu Jan 22 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 8.3.5-1
  260. - new upstream release (postgresql to 8.3.5, jdbc to 604)
  261. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 8.3.3-1vl5
  262. - applied new versioning policy, and spec in utf-8
  263. - updated postgresql to 8.3.3
  264. - updated jdbcver to 603
  265. - added postgresql-8.3.3-nls.patch instead of postgresql-8.2.0-nls.patch.gz
  266. - added a script to replace PGVERSION in postgresql.init
  267. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl2
  268. - rebuild with tcl/tk-8.4.18
  269. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 8.2.6-0vl1
  270. - updated postgresql to 8.2.6
  271. - included security fixes: CVE-{2007-6600, 2007-4772, 2007-6067, 2007-4769, 2007-6601}
  272. * Tue Oct 16 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl3
  273. - updated PGVERSION to 8.2 in postgresql.init (sorry;)
  274. * Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl2
  275. - rebuild with tcl/tk-8.4.16
  276. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 8.2.5-0vl1
  277. - updated postgresql to 8.2.5
  278. - updated jdbc driver to 8.2-506, and added 8.2-506.jdbc4.jar
  279. - updated nls-patch to 8-2-0
  280. - dropt postgresql-8.1.4-Pg.patch.gz
  281. * Wed Sep 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 8.1.10-0vl1
  282. - for VineSeed
  283. - updated to 8.1.10 (8.1.9 and up has fixes for CVE-2007-2138)
  284. - JDBC driver updated to 410
  285. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.1.5-0vl1
  286. - rebuilt for VineSeed
  287. - fixed install script
  288. * Thu Nov 23 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.5-0vl0
  289. - upstream release
  290. - fix missing %defattr in %files server
  291. * Fri Sep 15 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl2
  292. - fix version number in postgresql.init
  293. * Tue Sep 12 2006 HOTTA Michihide <hotta@net-newbie.com> 8.1.4-0vl1
  294. - upstream release
  295. - drop rpm-pgsql-8.0.0.patch
  296. - add Requires: perl-DBD-Pg for contrib
  297. - add postgresql-8.1.4-Pg.patch.gz
  298. - update nls patches
  299. - new JDBC driver
  300. * Sat Mar 18 2006 Shu KONNO <owa@bg.wakwak.com> 8.0.3-0vl4
  301. - added build options --without perl, --without python
  302. - rebuilt for x86_64 architecture support
  303. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl3
  304. - drop Provides: on postgresql-libs
  305. - drop Requires: libpq.so on postgresql-server
  306. * Tue May 31 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl2
  307. - change SONAME -- Provides: libpq.so.4 libpq.so.4.0 libpq.so
  308. * Thu May 26 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.3-0vl1
  309. - upstream release
  310. - update nls patches
  311. * Fri Apr 22 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.2-0vl1
  312. - upstream release
  313. - update nls patches
  314. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl3
  315. - rebuilded with python-2.4.1-0vl1
  316. * Sat Mar 26 2005 Shu KONNO <owa@bg.wakwak.com> 8.0.1-0vl2
  317. - Dropped PyGreSQL-3.4.tgz.
  318. - Dropped PyGreSQL-3.4-setup-2.patch.
  319. - Dropped plpython.so in postgresql-server, because it's exist in postgresql-pl.
  320. - Dropped pyver and pynextver macros.
  321. - Changed macro name "python" to "plpython" like plperl.
  322. - Added "Obsoletes: postgresql-python"
  323. * Fri Feb 18 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.1-0vl1
  324. - Major version up
  325. - Obsoletes: postgresql7
  326. - update nls patch(es)
  327. - modify %postun not to delete postgres account on upgrade
  328. * Thu Jan 27 2005 HOTTA Michihide <hotta@net-newbie.com> 8.0.0-0vl1
  329. - upstream release (release as a new package)
  330. - Conflicts: postgresql
  331. - update nls patch(es)
  332. - (this package revision was rejected by Vine Project)
  333. * Sat Dec 04 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.6-0vl2
  334. - upstream release
  335. - new JDBC driver
  336. - add BuildRequires: bison, flex, pam-devel
  337. - drop postgresql-7.4.5-tempfile.patch (repaired)
  338. * Thu Nov 18 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 7.4.5-0vl2
  339. - Added a security fix patch postgresql-7.4.5-tempfile.patch
  340. from Gentoo Linux (CAN-2004-0977).
  341. - Changed Patch4:
  342. from PyGreSQL-3.4-setup-2.patch into PyGreSQL-3.4-setup-2.patch
  343. It is possible to compile this package without pre-installed postgresql.
  344. - Removed Patch5 because Patch4 was changed.
  345. * Tue Aug 24 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.5-0vl1
  346. - upstream release
  347. * Mon Jun 21 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.3-0vl1
  348. - upstream release
  349. - new jdbc driver
  350. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl3
  351. - rebuild with python-2.3.3-0vl1
  352. * Tue Apr 13 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.3
  353. - changed mode to 644 at Makefile.global, Makefile.shlib
  354. * Mon Apr 12 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.2
  355. - updated python install section
  356. * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 7.4.2-0vl2.1
  357. - added PyGreSQL-3.4.tgz and set python flag
  358. - added PyGreSQL-3.4-setup.patch
  359. - added PyGreSQL-3.4-pgmodule.patch
  360. - rebuilded with python-2.3.3-0vl0.3 (for TestPkg)
  361. * Sun Mar 28 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.4.2-0vl2
  362. - rebuild with new openssl
  363. * Wed Mar 17 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.2-0vl1
  364. - upstream release
  365. - change all of %{?foo:%define foo 0} -like descriptions to simple
  366. %define format for latest rpm to build.
  367. * Sat Feb 14 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl3
  368. - rebuild on latest tcl package environment.
  369. * Wed Feb 11 2004 HOTTA Michihide <hotta@net-newbie.com> 7.4.1-0vl2
  370. - fixed lacking files at server's %files
  371. * Fri Dec 05 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl2
  372. - include JDBC driver for 7.4
  373. - fix typo in postgresql-7.4-psql-patch
  374. * Thu Nov 20 2003 HOTTA Michihide <hotta@net-newbie.com> 7.4-0vl1
  375. - upstream release
  376. - change '--includedir=' option to avoid conflicting with unixODBC
  377. - add postgresql-7.4-ecpg-patch
  378. * Wed Sep 10 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.4-0vl1
  379. - upstream release
  380. * Wed Jul 23 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl2
  381. - drop previous version of libpq's trash
  382. * Wed May 28 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.3-0vl1
  383. - upstream release with new nls patch
  384. - fix postgresql-bashprofile (value of PGDATA)
  385. - fix postgresql-init for Japanese-specific use (-E EUC_JP --no-locale)
  386. * Wed Apr 02 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 7.3.2-0vl2
  387. - rebuild with tcltk8.4 and readline-4.3
  388. * Fri Mar 07 2003 HOTTA Michihide <hotta@net-newbie.com> 7.3.2-0vl1
  389. - upstream release
  390. * Wed Dec 25 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3.1-0vl1
  391. - upstream release
  392. - remove garbage changelog
  393. * Mon Dec 23 2002 HOTTA Michihide <hotta@net-newbie.com> 7.3-0vl1
  394. - upstream release based on 7.3-2PGDG
  395. - add nls patch
  396. * Thu Dec 05 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  397. - 7.3-2PGDG
  398. - Fix typo in initscript. Argh!!
  399. * Wed Dec 04 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  400. - 7.3-0.5PGDG
  401. - Jerk out all perl client stuff and kludgage
  402. - Rename plperl subpackage to a pl subpackage containing all but PL/Pgsql PL's
  403. - Eliminate locale and multibyte explicit enables -- they are both defaults now
  404. - Eliminate pgaccess code; it's not a part of the main tarball anymore
  405. - Eliminate ODBC stuff -- it's also separate now. Use unixODBC instead.
  406. - Eliminated separate tk client package -- rolled the tk client into the tcl client.
  407. - Moved pltcl into the pl subpackage.
  408. - Added plpython to the pl subpackage.
  409. - /etc/sysconfig/pgsql is sysconfdir for multiple postmaster startup.
  410. * Mon Dec 02 2002 Lamar Owen <lamar.owen@ramifordistat.net>
  411. - 7.3-0.1PGDG (not released)
  412. - Integrate 7.3 jar's courtesy Joe Conway
  413. - Integrate multi-postmaster initscript courtesy Karl DeBisschop
  414. - Some renames and restructures.
  415. - Stripped out the last dregs of the postgresql-dump migration script.
  416. - Conflicts with less than 7.3.
  417. - (See below for old changelogs from VineSeed)
  418. * Fri Oct 04 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.3-0vl1
  419. - updated to 7.2.3.
  420. * Tue Sep 10 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl3
  421. - absorbed previous patch8 into original nlspatch
  422. - fixed configure options (--enable-nls and --enable-locale to be antinomy)
  423. * Fri Aug 30 2002 Shoji Matsumoto <shom@vinelinux.org> 7.2.2-0vl2
  424. - add patch8 (ja.po for psql was invalid)
  425. * Thu Aug 29 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.2-0vl1
  426. - updated to 7.2.2.
  427. - improved nlspatch to enable japanese SQL help in psql.
  428. * Sat Jul 06 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl3
  429. - fixed garbage chars in description(ja).
  430. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl2
  431. - imported & replaced changelog (following VineSeed's).
  432. add some stuff to '%%files'.
  433. * Wed Jul 03 2002 HOTTA Michihide <hotta@net-newbie.com> 7.2.1-5vl1
  434. - Modified for Vine Linux 2.5. Originaly from RHL 7.2.1-5, adding
  435. nls patch, pg_dump patch, date_part patch by Jun Kuwamura
  436. * Thu May 23 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  437. - replace nls patch.
  438. - add *.mo to '%%files'.
  439. * Mon Mar 04 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  440. - fix initscript
  441. * Sun Mar 03 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net>
  442. - add /usr/bin/pg_id to the package (fix)
  443. * Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 7.2-0vl1
  444. - updated 7.2
  445. - added nls.patch
  446. - fixed spec file
  447. - added New JDBC
  448. -- pgjdbc1.jar(for JDK1.1.x), pgjdbc2(for Java2)
  449. * Sat Sep 22 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.3-4vl1
  450. - updated 7.1.3
  451. * Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  452. - 7.1.2-7vl3
  453. - merge 7.1.2-7vl2 and 7.1.2-7
  454. * Sun Aug 19 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  455. - 7.1.2-7vl2
  456. - fixed spec typo (%%{_includesir} -> %%{_includedir})
  457. * Tue Aug 14 2001 Satoshi MACHINO <machino@vinelinux.org> 7.1.2-7vl1
  458. - updated 7.1.2 (used postgresql-7.1.2-7)
  459. - used psqlj patch for 7.1.2
  460. - used jumbo-20010801.patch.gz
  461. * Mon Aug 6 2001 Trond Eivind Glomsr <teg@redhat.com> 7.1.2-7
  462. - Add patches from 7.1-stable branch. This should fix #50799 and #50797
  463. - Enable kerberos authentication (#50644)
  464. - handle stop with stale pid file (#50499)
  465. - make the test subpackage (not built by default) own /usr/lib/pgsql/test
  466. * Mon Jul 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  467. - Make the -devel subpackage depend on -libs, not the main package
  468. * Tue Jun 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  469. - Make sure the python subpackage depends on mx - otherwise, you'd get an error when importing
  470. * Mon Jun 18 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  471. - add changes for s390x
  472. * Fri Jun 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  473. - Many path fixes for contrib packages
  474. - Newer intarray
  475. - Don't use nested ifs for tkpkg/pgaccess
  476. - Turn off test package for Red Hat Linux - it makes most sense just to use
  477. this during development
  478. - One "pgacess" -> "pgaccess"
  479. * Wed Jun 13 2001 Lamar Owen <lamar.owen@wgcr.org> <lamar@postgresql.org>
  480. - -4PGDG
  481. - patchset update for pg_regress.sh
  482. - can the dot in the release -- confused too many people and some programs.
  483. - -3.PGDG
  484. - updated README.rpm-dist
  485. - updated patch to 7.1.2, fixing some places where /usr/share/pgsql
  486. was still being used where /usr/lib/pgsql was intended.
  487. - PGLIB now set to /usr/lib/pgsql -- initdb doesn't use it to find the bki's.
  488. * Tue Jun 12 2001 Trond Eivind Glomsr <teg@redhat.com>
  489. - sync
  490. - Run chkconfig --add on server install
  491. - Move the prereqs on useradd on chkconfig to the server package
  492. - don't disable the %%clean section
  493. * Sat Jun 09 2001 Lamar Owen <lamar.owen@wgcr.org>
  494. - Sync up with Trond Eivind's set.
  495. * Thu Jun 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  496. - Don't create postgres' .bashrc from the server post script: include it instead
  497. - Move the test packages from /usr/share/pgsql to /usr/lib/pgsql
  498. - Move the symlinks libpq.so, libecpg.so, libpq++.so and libpgeasy.so to the devel subpackage from
  499. libs
  500. - Source the i18n data from the .bashrc instead of in the initscript
  501. * Mon May 28 2001 Trond Eivind Glomsr <teg@redhat.com>
  502. - Handle i18n for database startup - backend needs to have the same locale everytime,
  503. but this certainly can't be hardcoded to C either
  504. - Fix stop, restart in initscript (#42217)
  505. - Make database init _much_ less verbose
  506. - other minor fixes to the initscript
  507. * Fri May 25 2001 Trond Eivind Glomsr <teg@redhat.com>
  508. - 7.1.2
  509. * Thu May 24 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  510. - 7.1.2-0.1.1.PGDG PRERELEASE
  511. - Changed versioning and release numbering a little for better flexibility,
  512. -- particularly for distribution packagers.
  513. - Release numbering comment at top of spec, where it's more useful.
  514. - Trimmed changelog to 7.1.x. See the last 7.0.3's specfile for the 7.0
  515. changlog, and the last 6.5.3's specfile for the changelog prior to
  516. 7.0.
  517. * Sun May 20 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  518. - 7.1.1-4.PGDG
  519. - _really_ got Python version agnosticism working.
  520. * Sat May 19 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  521. - 7.1.1-3.PGDG Release
  522. - Python version agnosticism.....
  523. * Tue May 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  524. - Use openssl
  525. - Make it obsolete subpackages if they aren't built
  526. * Mon May 14 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  527. - 7.1.1-2.PGDG Release.
  528. - Appended .PGDG to release string to differentiate our RPM set from the others.
  529. - /bin/sh fix in initscript
  530. - README.rpm-dist updates.
  531. * Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 7.1.1-0.7
  532. - Rebuild with new readline
  533. * Thu May 10 2001 Trond Eivind Glomsr <teg@redhat.com>
  534. - Initial 7.1.1
  535. * Mon May 7 2001 Trond Eivind Glomsr <teg@redhat.com>
  536. - Specify shell when running commands through su in the initscript, to avoid problems
  537. when people switch the postgres user to use tcsh
  538. * Thu Apr 19 2001 Trond Eivind Glomsr <teg@redhat.com>
  539. - JDBC driver for Postgresql 7.1
  540. * Sun Apr 15 2001 Trond Eivind Glomsr <teg@redhat.com>
  541. - slightly different versioning scheming, will go back to the official
  542. later when I'm sure the package is ready to use
  543. * Fri Apr 13 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  544. - 7.1 RELEASE
  545. - 7.1-1 RPM RELEASE
  546. - Change to COPTS -- strip out -ffastmath -- Considered Harmful.
  547. - Back to old versioning scheme, kept teg's other fixes.
  548. - README.rpm-dist updated.
  549. - PGVERSION updated all-around (hopefully!)
  550. - Couple of fixes from Peter E.
  551. - Rearrange dependencies -- only the -libs subpackage is required for most stuff
  552. - Removed broken and confusing logrotate script.
  553. * Mon Apr 9 2001 Trond Eivind Glomsr <teg@redhat.com>
  554. - chown considered harmful - removed
  555. - fix dangling symlimks (pg_crc.c)
  556. - libpq.so changes for maximum compatiblity
  557. - different versioning scheme, to avoid trouble later
  558. - remove temporary perl file from the file list
  559. - fix spelling error in tcl description
  560. - mark odbcinst.ini as a config file
  561. - use %%defattr on packages which didn't have it
  562. * Sat Apr 07 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  563. - Integrated the PL/Perl stuff from Karl DeBisschop --conditional.
  564. - Packaging reorg: added contrib and docs subpackages.
  565. - Removed sgml source docs from main package --> docs subpackage.
  566. - Removed contrib tree from main package --> contrib subpackage.
  567. - Contrib tree is now prebuilt -- HOWEVER, very little install work is
  568. currently done with this.
  569. * Fri Apr 06 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  570. - Quickie RC3. There will be a 7.1RC3-2 shortly with other stuff.
  571. * Tue Apr 03 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  572. - RC2
  573. - eliminate versioning information for ancilliary files in prep for CVS.
  574. - Fix docs mixup.
  575. * Tue Mar 27 2001 Lamar Owen <lamar@postgresql.org> <lamar.owen@wgcr.org>
  576. - RC1 quickie.
  577. * Tue Mar 20 2001 Lamar Owen <lamar@postgresql.org>
  578. - Beta 6 initial build.
  579. - Use make install-all-headers instead of cpio hack for devel headers.
  580. - Split out the libs into the libs subpackage.
  581. - Updated initscript to use pg_ctl to stop
  582. - Updated initscript to initdb and start postmaster with LC_ALL=C to
  583. prevent index corruption.
  584. * Sun Jan 28 2001 Lamar Owen <lamar@postgresql.org>
  585. - Beta4
  586. - Return to 'pgsql' directories instead of 'postgresql'
  587. - Better perl patches.
  588. * Mon Jan 15 2001 Lamar Owen <lamar@postgresql.org>
  589. - Edit patches to get rid of some cruft.
  590. - Eliminate some more pre-7.1 specfile baggage that is no longer necessary.
  591. - Moved pg_id to server
  592. - added Makefile.global and pg_config to devel
  593. - Corrected /usr/include/pgsql to /usr/include/postgresql
  594. - Fixed some configure options. Will be trying the configure macro next release
  595. - Since it is terminally ill in this version pg_upgrade is _gone_.
  596. - Thanks to Peter E for a good review.
  597. * Sun Jan 14 2001 Lamar Owen <lamar@postgresql.org>
  598. - Running regression. 1 on the release-o-meter.
  599. - Minor patches to get regression running right.
  600. - Initscript tweaking -- the old test for a database structure fails with 7.1's new structure.
  601. * Sat Jan 13 2001 Lamar Owen <lamar@postgresql.org>
  602. - Perl 5 needs to be built with PREFIX set on the Makefile, not GNUmakefile....
  603. - The 7.1 build is different from the 7.0 build -- see the configure line.
  604. - NOTE: many files that used to be in /usr/share/postgresql are now in /usr/share/postgresql!
  605. - by request, conditional packages are now supported. See the top of the spec.
  606. - Fixed the server postinstall problems.
  607. * Mon Jan 08 2001 Lamar Owen <lamar@postgresql.org>
  608. - First 7.1 beta test-build