libpq-vl.spec 29 KB

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