3 # - pg_autovacuum init support? look at its readme file, please
6 %bcond_without tests # disable testing
7 %bcond_without tcl # disables Tcl support
8 %bcond_without kerberos5 # disable kerberos5 support
9 %bcond_without perl # disable Perl support
10 %bcond_without pgsql_locale # disable PostgreSQL locale
11 %bcond_without pgsql_multibyte # disable PostgreSQL multibyte
12 %bcond_without python # disable Python support
13 %bcond_with php # enable PHP support
14 %bcond_with absolute_dbpaths # enable absolute paths to create database
15 # (disabled by default because it is a security risk)
16 %bcond_without slony1 # disable Slony-I replication system
18 %define postgresql_version 8.0.1
19 %define postgresql_release 2
20 %define slony1_version 1.0.5
21 %define slony1_release 1
23 Summary: PostgreSQL Data Base Management System
24 Summary(de): PostgreSQL Datenbankverwaltungssystem
25 Summary(es): Gestor de Banco de Datos PostgreSQL
26 Summary(fr): Sysème de gestion de base de données PostgreSQL
27 Summary(pl): PostgreSQL - system bazodanowy
28 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
29 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
30 Summary(tr): Veri Tabaný Yönetim Sistemi
31 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
32 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
34 Version: %{postgresql_version}
35 Release: %{postgresql_release}
37 Group: Applications/Databases
38 Source0: ftp://ftp.postgresql.org/pub/source/v%{postgresql_version}/%{name}-%{postgresql_version}.tar.bz2
39 # Source0-md5: 075ac81c865b0af865459260bf1ca890
40 ##Source0: ftp://ftp.postgresql.org/pub/source/v%{version}beta/%{name}-%{version}%{beta}.tar.bz2
42 Source2: pgsql-Database-HOWTO-html.tar.gz
43 # Source2-md5: 5b656ddf1db41965761f85204a14398e
44 Source3: %{name}.sysconfig
45 Source4: http://developer.postgresql.org/~wieck/slony1/download/slony1-%{slony1_version}.tar.gz
46 # Source4-md5: 66fcc0f53028101e4e0f969e5f47fe43
48 Source6: slony1.pgpass
49 Source7: slony1.sysconfig
50 Source8: http://www.commandprompt.com/files/plphp-8.x.tar.bz2
51 # Source8-md5: d307e4ab8cb6900a1c290a5dde1bdeee
52 Patch0: %{name}-conf.patch
53 Patch1: %{name}-absolute_dbpaths.patch
54 Patch2: %{name}-link.patch
55 Patch3: %{name}-ecpg_link.patch
56 Patch4: %{name}-ecpg-includedir.patch
57 Patch5: %{name}-gram.patch
58 Patch6: %{name}-ac.patch
60 URL: http://www.postgresql.org/
61 BuildRequires: autoconf
62 BuildRequires: automake
63 #BuildRequires: bison >= 1.875 not needed for releases
65 BuildRequires: gettext-devel
66 %{?with_kerberos5:BuildRequires: heimdal-devel}
67 BuildRequires: libtool
68 BuildRequires: ncurses-devel >= 5.0
69 BuildRequires: openssl-devel >= 0.9.7d
70 BuildRequires: pam-devel
71 %{?with_perl:BuildRequires: perl-devel}
73 BuildRequires: php-devel
76 BuildRequires: python >= 1:2.3
77 BuildRequires: python-devel >= 1:2.3
79 BuildRequires: readline-devel >= 4.2
80 BuildRequires: sed >= 4.0
81 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
82 BuildRequires: zlib-devel
84 PreReq: %{name}-clients = %{postgresql_version}-%{postgresql_release}
85 PreReq: %{name}-libs = %{postgresql_version}-%{postgresql_release}
86 Requires(pre): /usr/bin/getgid
87 Requires(pre): /bin/id
88 Requires(pre): /usr/sbin/groupadd
89 Requires(pre): /usr/sbin/useradd
90 Requires(pre): /usr/sbin/usermod
91 Requires(post,preun): /sbin/chkconfig
92 Obsoletes: postgresql-server
93 Obsoletes: postgresql-test
94 BuildRoot: %{tmpdir}/%{name}-%{postgresql_version}-root-%(id -u -n)
96 %define _pgmoduledir %{_libdir}/postgresql
97 %define _pgsqldir %{_datadir}/postgresql/contrib
100 PostgreSQL Data Base Management System (formerly known as Postgres,
103 PostgreSQL is an enhancement of the POSTGRES database management
104 system, a next-generation DBMS research prototype. While PostgreSQL
105 retains the powerful data model and rich data types of POSTGRES, it
106 replaces the PostQuel query language with an extended subset of SQL.
107 PostgreSQL is free and the complete source is available.
109 PostgreSQL development is being performed by a team of Internet
110 developers who all subscribe to the PostgreSQL development mailing
111 list. The current coordinator is Marc G. Fournier
112 (scrappy@postgreSQL.org). This team is now responsible for all current
113 and future development of PostgreSQL.
115 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
116 others have contributed to the porting, testing, debugging and
117 enhancement of the code. The original Postgres code, from which
118 PostgreSQL is derived, was the effort of many graduate students,
119 undergraduate students, and staff programmers working under the
120 direction of Professor Michael Stonebraker at the University of
121 California, Berkeley.
123 The original name of the software at Berkeley was Postgres. When SQL
124 functionality was added in 1995, its name was changed to Postgres95.
125 The name was changed at the end of 1996 to PostgreSQL.
127 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
128 and most flavours of Unix.
131 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
134 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
135 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
136 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
137 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
138 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
141 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
142 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
143 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
144 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
146 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
147 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
148 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
149 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
150 Studenten und Programmierern unter der Leitung von Professor Michael
151 Stonebraker an der University of California, Berkeley.
153 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
154 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
155 entschied man sich für PostgreSQL.
157 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
158 und den meisten Unix-Systemen.
161 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
162 como Postgres, y después como Postgres95). PostgreSQL es una
163 continuación mejorada del Sistema Administrador de Banco de Datos
164 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
165 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
166 los varios tipos de datos del POSTGRES, substituye el lenguaje de
167 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
168 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
169 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
170 en la lista de desarrollo del PostgreSQL. El coordinador actual es
171 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
172 responsable por el desarrollo actual y futuro del PostgreSQL.
175 Système de gestion de bases de données PostgreSQL (D'abord nommé
176 Postgres, puis Postgres95).
178 PostgreSQL est une amélioration du système de gestion de bases de
179 données POSTGRES, un prototype de recherche de la génération suivant
180 DBMS. Tout en conservant le puissant modèle de donnée de et les types
181 de donée riches de Postgres, il remplace le langage de requêtes de
182 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
183 libre, et ses sources sont disponibles.
185 Le développement de PostgreSQL est actuellement réalisé via internet
186 parune équipe de développeurs inscrits sur la mailing-list de
187 développement de PostgreSQL. Le coordinateur actuel est Marc G
188 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
189 développemen actuel et à venir de PostgreSQL.
191 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
192 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
193 l'amélioration du code. Le code original de Postgres, duquel
194 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
195 moins haut niveau, et de programmeurs travaillant sous la direction du
196 professeur Michael Stonebraker à l'université de Berkeley Californie.
198 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
199 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
200 rebaptisé PostgreSQL en 1996.
202 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
203 et la plupart des Unix.
206 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
207 Postgres, nastêpnie jako Postgres95).
209 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
210 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
211 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
212 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
213 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
216 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
217 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
218 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
219 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
221 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
222 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
223 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
224 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
225 zespo³u programistów, którzy pracowali pod kierunkiem profesora
226 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
228 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
229 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
230 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
233 PostgreSQL mo¿e byæ uruchomiony pod nastêpuj±cymi systemami: Solaris,
234 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
236 %description -l pt_BR
237 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
238 Postgres, e depois como Postgres95).
240 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
241 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
242 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
243 dados e os vários tipos de dados do POSTGRES, ele substitui a
244 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
245 PostgreSQL é livre e tem os fontes disponíveis.
247 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
248 desenvolvedores da Internet, todos subscritores da lista de
249 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
250 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
251 desenvolvimento atual e futuro do PostgreSQL.
254 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
255 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
257 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
258 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
259 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
260 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
261 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
264 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
265 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
266 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
267 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
268 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
270 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
271 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
272 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
273 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
274 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
275 California, Berkeley.
277 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
278 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
279 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
282 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
283 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
286 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
287 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
288 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
289 sorgulama dilini koyar.
292 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
293 ÐÏÔ¦Í ÑË Postgres95).
295 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
296 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
297 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
298 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
299 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
302 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
303 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
304 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
305 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
307 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
308 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
309 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
310 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
311 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
312 California, Berkeley.
314 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
315 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
316 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
318 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
319 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
322 Summary: PostgreSQL development header files and libraries
323 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
324 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
325 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
326 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
327 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
328 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
329 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
330 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
331 Group: Development/Libraries
332 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
335 This package contains header files and libraries required to compile
336 applications that are talking directly to the PostgreSQL backend
339 %description devel -l de
340 Dieses Paket enthält die Header-Dateien und Libraries, die zum
341 Kompilieren von Applikationen notwendig sind, die direkt mit dem
342 PostgreSQL-Backend-Server kommunizieren.
344 %description devel -l es
345 Este paquete contiene archivos de inclusión y bibliotecas requeridas
346 para compilación de aplicativos que se comunican directamente con el
347 servidor backend PostgreSQL.
349 %description devel -l fr
350 Ce package contient les fichiers d'en-tête et les bibliothéques
351 nécessaires pour compiler des applications ayant des échanges directs
352 avec le serveur du backend PostgreSQL.
354 %description devel -l pl
355 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
356 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
358 %description devel -l pt_BR
359 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
360 compilação de aplicativos que se comunicam diretamente com o servidor
363 %description devel -l ru
364 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
365 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
367 %description devel -l tr
368 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
369 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
371 %description devel -l uk
372 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
373 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
375 %package backend-devel
376 Summary: PostgreSQL backend development header files
377 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
378 Group: Development/Libraries
379 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
381 %description backend-devel
382 This package contains header files required to compile functions that
383 could be loaded directly by backend
385 %description backend-devel -l pl
386 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
387 bezposrednio ladowane przez beckend serwera PostgreSQL.
390 Summary: Clients needed to access a PostgreSQL server
391 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
392 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
393 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
394 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
395 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
396 Group: Applications/Databases
397 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
400 This package includes only the clients needed to access an PostgreSQL
401 server. The server is included in the main package. If all you need is
402 to connect to another PostgreSQL server, the this is the only package
403 you need to install. Clients include several command-line utilities
404 you can use to manage your databases on a remote PostgreSQL server.
406 %description clients -l es
407 Este paquete incluye solamente los clientes necesarios para acceder un
408 servidor PostgreSQL. El servidor está en el paquete principal.
410 %description clients -l pl
411 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
412 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
413 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
415 %description clients -l pt_BR
416 Este pacote inclui somente os clientes necessários para acessar um
417 servidor PostgreSQL. O servidor está no pacote principal.
419 %description clients -l ru
420 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
421 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
422 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
423 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
425 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
426 C++, Perl É Tcl) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
429 %description clients -l uk
430 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
431 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
432 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
433 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
435 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, Perl
436 ¦ Tcl) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
439 Summary: Documentation for PostgreSQL
440 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
441 Group: Applications/Databases
444 This package includes documentation and HOWTO for programmer, admin
445 etc., in HTML format.
447 %description doc -l pl
448 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
449 administratorów w formacie HTML.
452 Summary: PostgreSQL libraries
453 Summary(es): Biblioteca compartida del PostgreSQL
454 Summary(pl): Biblioteki dzielone programu PostgreSQL
455 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
456 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
460 PostgreSQL shared libraries.
462 %description libs -l es
463 Este paquete contiene la biblioteca compartida para acceso al
466 %description libs -l pl
467 Biblioteki dzielone programu PostgreSQL.
469 %description libs -l pt_BR
470 Este pacote contém a biblioteca compartilhada para acesso ao
474 Summary: Embedded SQL in C interface
475 Summary(pl): Interfejs wbudowanego SQL-a w jêzyk C
477 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
480 Embedded SQL in C interface.
482 %description ecpg -l pl
483 Interfejs wbudowanego SQL-a w jêzyk C.
486 Summary: Embedded SQL in C interface files
487 Summary(pl): Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
488 Group: Development/Libraries
489 Requires: %{name}-devel = %{postgresql_version}-%{postgresql_release}
490 Requires: %{name}-ecpg = %{postgresql_version}-%{postgresql_release}
492 %description ecpg-devel
493 Embedded SQL in C interface files.
495 %description ecpg-devel -l pl
496 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
499 Summary: PostgreSQL static libraries
500 Summary(es): Bibliotecas estaticas PostgreSQL
501 Summary(pl): Biblioteki statyczne programu PostgreSQL
502 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
503 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
504 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
505 Group: Development/Libraries
506 Requires: %{name}-devel = %{postgresql_version}-%{postgresql_release}
509 PostgreSQL static libraries.
511 %description static -l es
512 Este paquete contiene bibliotecas estaticas requerida para compilación
513 de aplicativos que se comunican directamente con el servidor backend
516 %description static -l pl
517 Biblioteki statyczne programu PostgreSQL.
519 %description static -l pt_BR
520 Este pacote contém as bibliotecas estáticas requeridas para compilação
521 de aplicativos que se comunicam diretamente com o servidor backend
524 %description static -l ru
525 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
526 ×ÈÏÄÑÔ × %{name}-devel.
528 %description static -l uk
529 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
532 %package module-plpgsql
533 Summary: PL/pgSQL - PostgreSQL procedural language
534 Summary(pl): PL/pgSQL - jêzyk proceduralny bazy danych PostgreSQL
535 Group: Applications/Databases
536 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
538 %description module-plpgsql
539 From PostgreSQL documentation:
541 Postgres supports the definition of procedural languages. In the case
542 of a function or trigger procedure defined in a procedural language,
543 the database has no built-in knowledge about how to interpret the
544 function's source text. Instead, the task is passed to a handler that
545 knows the details of the language. The handler itself is a special
546 programming language function compiled into a shared object and loaded
549 To enable PL/pgSQL procedural language for your database you have to
550 run createlang command.
552 %description module-plpgsql -l pl
553 Z dokumentacji PostgreSQL:
555 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
556 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
557 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
558 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
559 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
560 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
563 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
564 proceduralnego PL/pgSQL dla swojej bazy danych.
566 %package module-plperl
567 Summary: PL/perl - PostgreSQL procedural language
568 Summary(pl): PL/perl - jêzyk proceduralny bazy danych PostgreSQL
569 Group: Applications/Databases
570 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
571 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
573 %description module-plperl
574 From PostgreSQL documentation:
576 Postgres supports the definition of procedural languages. In the case
577 of a function or trigger procedure defined in a procedural language,
578 the database has no built-in knowledge about how to interpret the
579 function's source text. Instead, the task is passed to a handler that
580 knows the details of the language. The handler itself is a special
581 programming language function compiled into a shared object and loaded
584 To enable PL/Perl procedural language for your database you have to
585 run createlang command.
587 %description module-plperl -l pl
588 Z dokumentacji PostgreSQL:
590 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
591 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
592 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
593 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
594 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
595 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
598 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
599 proceduralnego PL/Perl dla swojej bazy danych.
601 %package module-plphp
602 Summary: PL/PHP - PostgreSQL procedural language
603 Summary(pl): PL/PHP - jêzyk proceduralny bazy danych PostgreSQL
604 Group: Applications/Databases
605 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
607 %description module-plphp
608 From PostgreSQL documentation:
610 Postgres supports the definition of procedural languages. In the case
611 of a function or trigger procedure defined in a procedural language,
612 the database has no built-in knowledge about how to interpret the
613 function's source text. Instead, the task is passed to a handler that
614 knows the details of the language. The handler itself is a special
615 programming language function compiled into a shared object and loaded
618 To enable PL/PHP procedural language for your database you have to
619 run createlang command.
621 %description module-plphp -l pl
622 Z dokumentacji PostgreSQL:
624 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
625 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
626 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
627 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
628 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
629 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
632 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
633 proceduralnego PL/PHP dla swojej bazy danych.
635 %package module-plpython
636 Summary: PL/Python - PostgreSQL procedural language
637 Summary(pl): PL/Python - jêzyk proceduralny bazy danych PostgreSQL
638 Group: Applications/Databases
639 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
640 %pyrequires_eq python
642 %description module-plpython
643 From PostgreSQL documentation:
645 Postgres supports the definition of procedural languages. In the case
646 of a function or trigger procedure defined in a procedural language,
647 the database has no built-in knowledge about how to interpret the
648 function's source text. Instead, the task is passed to a handler that
649 knows the details of the language. The handler itself is a special
650 programming language function compiled into a shared object and loaded
653 To enable PL/Python procedural language for your database you have to
654 run createlang command.
656 %description module-plpython -l pl
657 Z dokumentacji PostgreSQL:
659 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
660 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
661 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
662 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
663 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
664 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
667 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
668 proceduralnego PL/Python dla swojej bazy danych.
670 %package module-pltcl
671 Summary: PL/Tcl - PostgreSQL procedural language
672 Summary(pl): PL/Tcl - jêzyk proceduralny bazy danych PostgreSQL
673 Group: Applications/Databases
674 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
676 %description module-pltcl
677 From PostgreSQL documentation:
679 Postgres supports the definition of procedural languages. In the case
680 of a function or trigger procedure defined in a procedural language,
681 the database has no built-in knowledge about how to interpret the
682 function's source text. Instead, the task is passed to a handler that
683 knows the details of the language. The handler itself is a special
684 programming language function compiled into a shared object and loaded
687 To enable PL/Tcl procedural language for your database you have to run
690 %description module-pltcl -l pl
691 Z dokumentacji PostgreSQL:
693 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
694 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
695 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
696 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
697 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
698 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
701 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
702 proceduralnego PL/Tcl dla swojej bazy danych.
704 %package module-pgcrypto
705 Summary: Cryptographic functions for PostgreSQL
706 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
707 Group: Applications/Databases
708 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
710 %description module-pgcrypto
711 Cryptographic functions for PostgreSQL.
713 %description module-pgcrypto -l pl
714 Funkcje kryptograficzne dla PostgreSQL.
716 %package module-tsearch2
717 Summary: Full text extension for PostgreSQL
718 Summary(pl): Rozszerzenie pe³notekstowe dla PostgreSQL-a
719 Group: Applications/Databases
720 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
722 %description module-tsearch2
723 Implementation of a new data type tsvector - a searchable data type
725 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
727 %description module-tsearch2 -l pl
728 Implementacja nowego typu danych tsvector - typu danych podlegaj±cego
729 przeszukiwaniu z dostêpem poprzez indeksy:
730 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
733 Summary: Slony-I - a "master to multiple slaves" replication system for PostgreSQL
734 Summary(pl): Slony-I - system replikacji dla PostgreSQL
735 Version: %{slony1_version}
736 Release: %{slony1_release}@%{postgresql_version}_%{postgresql_release}
737 URL: http://slony.info/
738 Group: Applications/Databases
739 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
740 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
742 %description -n slony1
743 Slony-I is a "master to multiple slaves" replication system with
744 cascading and failover.
746 The big picture for the development of Slony-I is a master-slave
747 system that includes all features and capabilities needed to replicate
748 large databases to a reasonably limited number of slave systems.
750 Slony-I is a system for data centers and backup sites, where the
751 normal mode of operation is that all nodes are available.
753 %description -n slony1 -l pl
754 Slony-I jest systemem replikacji dla PostgreSQL. Pozwala na replikacjê
755 typu "jeden serwer g³owny, wiele serwerów pomocniczych".
757 G³ówn± zalet± Slony-I jest system "master-slave". Zawiera on wszelk±
758 funkcjonalno¶æ potrzebn± do replikowania du¿ych baz danych na
759 okre¶lon± ilo¶æ serwerów pomocniczych lub zastêpczych.
761 Slony-I jest przeznaczony dla systemów, gdzie normalny tryb pracy
762 wymaga aby zarówno serwer g³ówny jak i wszystkie serwery pomocnicze
763 by³y ca³y czas operacyjne.
768 %{?with_absolute_dbpaths:%patch1 -p1}
773 #patch6 -p1 needed for glibc2.3.4 + gcc4
776 patch -p1 < plphp.patch
779 tar xzf doc/man*.tar.gz
782 tar zxf doc/postgres.tar.gz -C doc/unpacked
785 #find contrib -type d -name CVS -exec rm -rf {} \;
788 %{__aclocal} -I config
791 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \
794 --enable-integer-datetimes \
795 %{?with_pgsql_locale:--enable-locale} \
796 %{?with_pgsql_multibyte:--enable-multibyte} \
800 --enable-thread-safety \
801 --enable-unicode-conversion \
803 %{?with_kerberos5:--with-krb5} \
806 %{?with_perl:--with-perl} \
807 %{?with_php:--with-php=/usr/include/php} \
808 %{?with_python:--with-python} \
809 %{?with_tcl:--with-tcl} \
814 %{__make} -C contrib/pg_autovacuum
815 %{__make} -C contrib/pgcrypto
816 %{__sed} -i 's:contrib/::g' contrib/tsearch2/tsearch.sql.in
817 %{__make} -C contrib/tsearch2
818 %{__make} -C src/tutorial \
820 %ifnarch sparc sparcv9 sparc64 alpha
821 %{?with_tests:%{__make} check}
825 cd slony1-%{slony1_version}
826 install /usr/share/automake/config.* config
828 --with-pgsourcetree=`pwd`/..
840 rm -rf $RPM_BUILD_ROOT
841 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
842 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
843 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
844 $RPM_BUILD_ROOT%{_mandir} \
845 $RPM_BUILD_ROOT/home/services/postgres
847 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
850 DESTDIR=$RPM_BUILD_ROOT
853 %{__make} install -C src/pl/plperl \
854 DESTDIR=$RPM_BUILD_ROOT
857 %{__make} -C contrib/pg_autovacuum install \
858 DESTDIR=$RPM_BUILD_ROOT
860 %{__make} -C contrib/pgcrypto install \
861 DESTDIR=$RPM_BUILD_ROOT
863 %{__make} -C contrib/tsearch2 install \
864 DESTDIR=$RPM_BUILD_ROOT
867 %{__make} install -C slony1-%{slony1_version} \
868 DESTDIR=$RPM_BUILD_ROOT
869 mkdir $RPM_BUILD_ROOT/home/services/slony1
870 install %{SOURCE7} $RPM_BUILD_ROOT/etc/sysconfig/slony1
871 install %{SOURCE6} $RPM_BUILD_ROOT/home/services/slony1/.pgpass
872 install %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/slony1
878 DESTDIR=$RPM_BUILD_ROOT
882 touch $RPM_BUILD_ROOT/var/log/pgsql
884 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
885 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
892 %py_comp $RPM_BUILD_ROOT%{py_libdir}
893 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
896 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
900 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
901 cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang
903 # Remove Contrib documentation. We use macro %doc
904 rm -rf $RPM_BUILD_ROOT/contrib
907 rm -rf $RPM_BUILD_ROOT
911 if [ -f /etc/sysconfig/postgresql ]; then
912 . /etc/sysconfig/postgresql
913 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
914 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
918 for pgdir in $PG_DB_CLUSTERS; do
919 if [ -f $pgdir/PG_VERSION ]; then
920 if [ `cat $pgdir/PG_VERSION` != '8.0' ]; then
921 echo "Found database(s) in older, incompatible format in cluster $pgdir."
926 if [ "$foundold" = "1" ]; then
928 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
929 echo "and clean (or rename) those directories; then upgrade postgresql and"
930 echo "restore all data (using pg_restore or psql)."
931 echo "Remember to stop the daemon before upgrading!"
933 echo "Warning for upgrade from version *before* 7.2."
934 echo "Please note, that postgresql module path changed from"
935 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
936 echo "in dump file before restore."
938 echo "Warning for upgrade from version *before* 7.3."
939 echo "Reading following webpage is encouraged:"
940 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
944 if [ -n "`/usr/bin/getgid postgres`" ]; then
945 if [ "`/usr/bin/getgid postgres`" != "88" ]; then
946 echo "Error: group postgres doesn't have gid=88. Correct this before installing postgresql." 1>&2
950 /usr/sbin/groupadd -g 88 -r postgres
952 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
953 if [ "`/bin/id -u postgres 2>/dev/null`" != "88" ]; then
954 echo "Error: user postgres doesn't have uid=88. Correct this before installing postgresql." 1>&2
957 /usr/sbin/usermod -d /home/services/postgres postgres
959 /usr/sbin/useradd -M -o -r -u 88 \
960 -d /home/services/postgres -s /bin/sh -g postgres \
961 -c "PostgreSQL Server" postgres
965 /sbin/chkconfig --add postgresql
966 if [ -f /var/lock/subsys/postgresql ]; then
967 /etc/rc.d/init.d/postgresql restart >&2 || :
969 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
973 if [ "$1" = "0" ]; then
974 if [ -f /var/lock/subsys/postgresql ]; then
975 /etc/rc.d/init.d/postgresql stop
977 /sbin/chkconfig --del postgresql
980 %post libs -p /sbin/ldconfig
981 %postun libs -p /sbin/ldconfig
983 %post ecpg -p /sbin/ldconfig
984 %postun ecpg -p /sbin/ldconfig
987 if [ -n "`/usr/bin/getgid slony1`" ]; then
988 if [ "`/usr/bin/getgid slony1`" != "131" ]; then
989 echo "Error: group slony1 doesn't have gid=131. Correct this before installing slony1." 1>&2
993 /usr/sbin/groupadd -g 131 -r slony1
995 if [ -n "`/bin/id -u slony1 2>/dev/null`" ]; then
996 if [ "`/bin/id -u slony1 2>/dev/null`" != "131" ]; then
997 echo "Error: user postgres doesn't have uid=131. Correct this before installing slony1." 1>&2
1001 /usr/sbin/useradd -M -o -r -u 131 \
1002 -d /home/services/slony1 -s /bin/sh -g slony1 \
1003 -c "Slony-I Replicator" slony1
1007 /sbin/chkconfig --add slony1
1008 if [ -f /var/lock/subsys/slony1 ]; then
1009 /etc/rc.d/init.d/slony1 restart >&2 || :
1011 echo "Run \"/etc/rc.d/init.d/slony1 start\" to start slony1 replicator."
1015 if [ "$1" = "0" ]; then
1016 if [ -f /var/lock/subsys/slony1 ]; then
1017 /etc/rc.d/init.d/slony1 stop
1019 /sbin/chkconfig --del slony1
1023 %defattr(644,root,root,755)
1024 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
1025 %doc contrib/pg_autovacuum/README*
1026 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1027 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1029 %attr(755,root,root) %{_bindir}/initdb
1030 %attr(755,root,root) %{_bindir}/ipcclean
1031 %attr(755,root,root) %{_bindir}/pg_autovacuum
1032 %attr(755,root,root) %{_bindir}/pg_controldata
1033 %attr(755,root,root) %{_bindir}/pg_ctl
1034 %attr(755,root,root) %{_bindir}/pg_resetxlog
1035 %attr(755,root,root) %{_bindir}/postgres
1036 %attr(755,root,root) %{_bindir}/postmaster
1038 %attr(755,root,root) %{_pgmoduledir}/ascii*
1039 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
1040 %attr(755,root,root) %{_pgmoduledir}/euc*
1041 %attr(755,root,root) %{_pgmoduledir}/latin*
1042 %attr(755,root,root) %{_pgmoduledir}/utf*
1045 %dir %{_datadir}/postgresql
1046 %dir %{_datadir}/postgresql/timezone
1047 %{_datadir}/postgresql/*.bki
1048 %{_datadir}/postgresql/*.sample
1049 %{_datadir}/postgresql/*.description
1050 %{_datadir}/postgresql/*.sql
1051 %{_datadir}/postgresql/*.txt
1052 %{_datadir}/postgresql/timezone/*
1054 %attr(700,postgres,postgres) /home/services/postgres
1055 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1056 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1058 %{_mandir}/man1/initdb.1*
1059 %{_mandir}/man1/ipcclean.1*
1060 %{_mandir}/man1/pg_controldata.1*
1061 %{_mandir}/man1/pg_ctl.1*
1062 %{_mandir}/man1/pg_resetxlog.1*
1063 %{_mandir}/man1/postgres.1*
1064 %{_mandir}/man1/postmaster.1*
1067 %defattr(644,root,root,755)
1068 %doc doc/unpacked/* doc/src/FAQ howto
1069 %{_examplesdir}/%{name}-%{version}
1071 %files libs -f libpq.lang
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1074 %dir %{_pgmoduledir}
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_bindir}/ecpg
1079 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1080 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1081 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1082 %{_mandir}/man1/ecpg.1*
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_libdir}/libecpg.so
1087 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1088 %attr(755,root,root) %{_libdir}/libpgtypes.so
1091 %files devel -f pg_config.lang
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_bindir}/pg_config
1094 %attr(755,root,root) %{_libdir}/libpq.so
1095 %dir %{_includedir}/postgresql
1096 %{_includedir}/libpq-fe.h
1097 %{_includedir}/pg_config.h
1098 %{_includedir}/pg_config_manual.h
1099 %{_includedir}/pg_config_os.h
1100 %{_includedir}/postgres_ext.h
1101 %dir %{_includedir}/postgresql/internal
1102 %{_includedir}/postgresql/internal/c.h
1103 %{_includedir}/postgresql/internal/libpq-int.h
1104 %{_includedir}/postgresql/internal/port.h
1105 %{_includedir}/postgresql/internal/postgres_fe.h
1106 %{_includedir}/postgresql/internal/pqexpbuffer.h
1107 %{_includedir}/postgresql/internal/libpq
1108 %{_includedir}/libpq
1109 %{_mandir}/man1/pg_config.1*
1111 %files backend-devel
1112 %defattr(644,root,root,755)
1113 %{_includedir}/postgresql/server
1114 %dir %{_pgmoduledir}/pgxs
1115 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1116 %{_pgmoduledir}/pgxs/src
1119 %defattr(644,root,root,755)
1120 %{_libdir}/libecpg.a
1121 %{_libdir}/libecpg_compat.a
1123 %{_libdir}/libpgtypes.a
1124 %{_libdir}/libpgport.a
1126 %files clients -f clients.lang
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_bindir}/clusterdb
1129 %attr(755,root,root) %{_bindir}/createdb
1130 %attr(755,root,root) %{_bindir}/createlang
1131 %attr(755,root,root) %{_bindir}/createuser
1132 %attr(755,root,root) %{_bindir}/dropdb
1133 %attr(755,root,root) %{_bindir}/droplang
1134 %attr(755,root,root) %{_bindir}/dropuser
1135 %attr(755,root,root) %{_bindir}/pg_dump
1136 %attr(755,root,root) %{_bindir}/pg_dumpall
1137 %attr(755,root,root) %{_bindir}/pg_restore
1138 %attr(755,root,root) %{_bindir}/psql
1139 %attr(755,root,root) %{_bindir}/vacuumdb
1141 %{_mandir}/man1/clusterdb.1*
1142 %{_mandir}/man1/createdb.1*
1143 %{_mandir}/man1/createlang.1*
1144 %{_mandir}/man1/createuser.1*
1145 %{_mandir}/man1/dropdb.1*
1146 %{_mandir}/man1/droplang.1*
1147 %{_mandir}/man1/dropuser.1*
1148 %{_mandir}/man1/pg_dump.1*
1149 %{_mandir}/man1/pg_dumpall.1*
1150 %{_mandir}/man1/pg_restore.1*
1151 %{_mandir}/man1/psql.1*
1152 %{_mandir}/man1/vacuumdb.1*
1153 %{_mandir}/man7/*.7*
1155 %files module-plpgsql
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1160 %files module-plperl
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1166 %files module-plpython
1167 %defattr(644,root,root,755)
1168 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_bindir}/pltcl_*
1175 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1178 %files module-pgcrypto
1179 %defattr(644,root,root,755)
1180 %doc contrib/pgcrypto/README*
1181 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1182 %{_pgsqldir}/pgcrypto.sql
1184 %files module-tsearch2
1185 %defattr(644,root,root,755)
1186 %doc contrib/tsearch2/README*
1187 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1188 %{_pgsqldir}/tsearch2.sql
1189 %{_pgsqldir}/untsearch2.sql
1194 %defattr(644,root,root,755)
1195 %doc slony1-%{slony1_version}/doc/howto/*
1196 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/slony1
1197 %attr(754,root,root) /etc/rc.d/init.d/slony1
1198 %attr(755,root,root) %{_bindir}/slon
1199 %attr(755,root,root) %{_bindir}/slonik
1200 %attr(750,slony1,slony1) %dir /home/services/slony1
1201 %attr(600,slony1,slony1) /home/services/slony1/.pgpass
1202 %attr(755,root,root) %{_pgmoduledir}/slony1_funcs.so
1203 %attr(755,root,root) %{_pgmoduledir}/xxid.so