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.3
19 %define postgresql_release 1
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: c0914a133ce6c1e0f1d8b93982d6e881
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}-ac.patch
59 URL: http://www.postgresql.org/
60 BuildRequires: autoconf
61 BuildRequires: automake
62 #BuildRequires: bison >= 1.875 not needed for releases
64 BuildRequires: gettext-devel
65 %{?with_kerberos5:BuildRequires: heimdal-devel}
66 BuildRequires: libtool
67 BuildRequires: ncurses-devel >= 5.0
68 BuildRequires: openssl-devel >= 0.9.7d
69 BuildRequires: pam-devel
70 %{?with_perl:BuildRequires: perl-devel}
72 BuildRequires: php-devel
75 BuildRequires: python >= 1:2.3
76 BuildRequires: python-devel >= 1:2.3
78 BuildRequires: readline-devel >= 4.2
79 BuildRequires: rpmbuild(macros) >= 1.202
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}-devel = %{postgresql_version}-%{postgresql_release}
380 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
382 %description backend-devel
383 This package contains header files required to compile functions that
384 could be loaded directly by backend
386 %description backend-devel -l pl
387 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
388 bezposrednio ladowane przez beckend serwera PostgreSQL.
391 Summary: Clients needed to access a PostgreSQL server
392 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
393 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
394 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
395 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
396 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
397 Group: Applications/Databases
398 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
401 This package includes only the clients needed to access an PostgreSQL
402 server. The server is included in the main package. If all you need is
403 to connect to another PostgreSQL server, the this is the only package
404 you need to install. Clients include several command-line utilities
405 you can use to manage your databases on a remote PostgreSQL server.
407 %description clients -l es
408 Este paquete incluye solamente los clientes necesarios para acceder un
409 servidor PostgreSQL. El servidor está en el paquete principal.
411 %description clients -l pl
412 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
413 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
414 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
416 %description clients -l pt_BR
417 Este pacote inclui somente os clientes necessários para acessar um
418 servidor PostgreSQL. O servidor está no pacote principal.
420 %description clients -l ru
421 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
422 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
423 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
424 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
426 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
427 C++, Perl É Tcl) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
430 %description clients -l uk
431 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
432 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
433 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
434 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
436 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, Perl
437 ¦ Tcl) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
440 Summary: Documentation for PostgreSQL
441 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
442 Group: Applications/Databases
445 This package includes documentation and HOWTO for programmer, admin
446 etc., in HTML format.
448 %description doc -l pl
449 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
450 administratorów w formacie HTML.
453 Summary: PostgreSQL libraries
454 Summary(es): Biblioteca compartida del PostgreSQL
455 Summary(pl): Biblioteki dzielone programu PostgreSQL
456 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
457 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
461 PostgreSQL shared libraries.
463 %description libs -l es
464 Este paquete contiene la biblioteca compartida para acceso al
467 %description libs -l pl
468 Biblioteki dzielone programu PostgreSQL.
470 %description libs -l pt_BR
471 Este pacote contém a biblioteca compartilhada para acesso ao
475 Summary: Embedded SQL in C interface
476 Summary(pl): Interfejs wbudowanego SQL-a w jêzyk C
478 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
481 Embedded SQL in C interface.
483 %description ecpg -l pl
484 Interfejs wbudowanego SQL-a w jêzyk C.
487 Summary: Embedded SQL in C interface files
488 Summary(pl): Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
489 Group: Development/Libraries
490 Requires: %{name}-devel = %{postgresql_version}-%{postgresql_release}
491 Requires: %{name}-ecpg = %{postgresql_version}-%{postgresql_release}
493 %description ecpg-devel
494 Embedded SQL in C interface files.
496 %description ecpg-devel -l pl
497 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
500 Summary: PostgreSQL static libraries
501 Summary(es): Bibliotecas estaticas PostgreSQL
502 Summary(pl): Biblioteki statyczne programu PostgreSQL
503 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
504 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
505 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
506 Group: Development/Libraries
507 Requires: %{name}-devel = %{postgresql_version}-%{postgresql_release}
510 PostgreSQL static libraries.
512 %description static -l es
513 Este paquete contiene bibliotecas estaticas requerida para compilación
514 de aplicativos que se comunican directamente con el servidor backend
517 %description static -l pl
518 Biblioteki statyczne programu PostgreSQL.
520 %description static -l pt_BR
521 Este pacote contém as bibliotecas estáticas requeridas para compilação
522 de aplicativos que se comunicam diretamente com o servidor backend
525 %description static -l ru
526 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
527 ×ÈÏÄÑÔ × %{name}-devel.
529 %description static -l uk
530 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
533 %package module-plpgsql
534 Summary: PL/pgSQL - PostgreSQL procedural language
535 Summary(pl): PL/pgSQL - jêzyk proceduralny bazy danych PostgreSQL
536 Group: Applications/Databases
537 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
539 %description module-plpgsql
540 From PostgreSQL documentation:
542 Postgres supports the definition of procedural languages. In the case
543 of a function or trigger procedure defined in a procedural language,
544 the database has no built-in knowledge about how to interpret the
545 function's source text. Instead, the task is passed to a handler that
546 knows the details of the language. The handler itself is a special
547 programming language function compiled into a shared object and loaded
550 To enable PL/pgSQL procedural language for your database you have to
551 run createlang command.
553 %description module-plpgsql -l pl
554 Z dokumentacji PostgreSQL:
556 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
557 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
558 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
559 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
560 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
561 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
564 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
565 proceduralnego PL/pgSQL dla swojej bazy danych.
567 %package module-plperl
568 Summary: PL/perl - PostgreSQL procedural language
569 Summary(pl): PL/perl - jêzyk proceduralny bazy danych PostgreSQL
570 Group: Applications/Databases
571 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
572 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
574 %description module-plperl
575 From PostgreSQL documentation:
577 Postgres supports the definition of procedural languages. In the case
578 of a function or trigger procedure defined in a procedural language,
579 the database has no built-in knowledge about how to interpret the
580 function's source text. Instead, the task is passed to a handler that
581 knows the details of the language. The handler itself is a special
582 programming language function compiled into a shared object and loaded
585 To enable PL/Perl procedural language for your database you have to
586 run createlang command.
588 %description module-plperl -l pl
589 Z dokumentacji PostgreSQL:
591 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
592 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
593 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
594 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
595 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
596 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
599 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
600 proceduralnego PL/Perl dla swojej bazy danych.
602 %package module-plphp
603 Summary: PL/PHP - PostgreSQL procedural language
604 Summary(pl): PL/PHP - jêzyk proceduralny bazy danych PostgreSQL
605 Group: Applications/Databases
606 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
608 %description module-plphp
609 From PostgreSQL documentation:
611 Postgres supports the definition of procedural languages. In the case
612 of a function or trigger procedure defined in a procedural language,
613 the database has no built-in knowledge about how to interpret the
614 function's source text. Instead, the task is passed to a handler that
615 knows the details of the language. The handler itself is a special
616 programming language function compiled into a shared object and loaded
619 To enable PL/PHP procedural language for your database you have to
620 run createlang command.
622 %description module-plphp -l pl
623 Z dokumentacji PostgreSQL:
625 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
626 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
627 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
628 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
629 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
630 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
633 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
634 proceduralnego PL/PHP dla swojej bazy danych.
636 %package module-plpython
637 Summary: PL/Python - PostgreSQL procedural language
638 Summary(pl): PL/Python - jêzyk proceduralny bazy danych PostgreSQL
639 Group: Applications/Databases
640 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
641 %pyrequires_eq python
643 %description module-plpython
644 From PostgreSQL documentation:
646 Postgres supports the definition of procedural languages. In the case
647 of a function or trigger procedure defined in a procedural language,
648 the database has no built-in knowledge about how to interpret the
649 function's source text. Instead, the task is passed to a handler that
650 knows the details of the language. The handler itself is a special
651 programming language function compiled into a shared object and loaded
654 To enable PL/Python procedural language for your database you have to
655 run createlang command.
657 %description module-plpython -l pl
658 Z dokumentacji PostgreSQL:
660 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
661 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
662 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
663 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
664 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
665 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
668 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
669 proceduralnego PL/Python dla swojej bazy danych.
671 %package module-pltcl
672 Summary: PL/Tcl - PostgreSQL procedural language
673 Summary(pl): PL/Tcl - jêzyk proceduralny bazy danych PostgreSQL
674 Group: Applications/Databases
675 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
677 %description module-pltcl
678 From PostgreSQL documentation:
680 Postgres supports the definition of procedural languages. In the case
681 of a function or trigger procedure defined in a procedural language,
682 the database has no built-in knowledge about how to interpret the
683 function's source text. Instead, the task is passed to a handler that
684 knows the details of the language. The handler itself is a special
685 programming language function compiled into a shared object and loaded
688 To enable PL/Tcl procedural language for your database you have to run
691 %description module-pltcl -l pl
692 Z dokumentacji PostgreSQL:
694 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
695 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
696 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
697 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
698 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
699 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
702 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
703 proceduralnego PL/Tcl dla swojej bazy danych.
705 %package module-pgcrypto
706 Summary: Cryptographic functions for PostgreSQL
707 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
708 Group: Applications/Databases
709 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
711 %description module-pgcrypto
712 Cryptographic functions for PostgreSQL.
714 %description module-pgcrypto -l pl
715 Funkcje kryptograficzne dla PostgreSQL.
717 %package module-tsearch2
718 Summary: Full text extension for PostgreSQL
719 Summary(pl): Rozszerzenie pe³notekstowe dla PostgreSQL-a
720 Group: Applications/Databases
721 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
723 %description module-tsearch2
724 Implementation of a new data type tsvector - a searchable data type
726 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
728 %description module-tsearch2 -l pl
729 Implementacja nowego typu danych tsvector - typu danych podlegaj±cego
730 przeszukiwaniu z dostêpem poprzez indeksy:
731 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
734 Summary: Slony-I - a "master to multiple slaves" replication system for PostgreSQL
735 Summary(pl): Slony-I - system replikacji dla PostgreSQL
736 Version: %{slony1_version}
737 Release: %{slony1_release}@%{postgresql_version}_%{postgresql_release}
738 URL: http://slony.info/
739 Group: Applications/Databases
740 Requires: %{name} = %{postgresql_version}-%{postgresql_release}
741 Requires: %{name}-libs = %{postgresql_version}-%{postgresql_release}
743 %description -n slony1
744 Slony-I is a "master to multiple slaves" replication system with
745 cascading and failover.
747 The big picture for the development of Slony-I is a master-slave
748 system that includes all features and capabilities needed to replicate
749 large databases to a reasonably limited number of slave systems.
751 Slony-I is a system for data centers and backup sites, where the
752 normal mode of operation is that all nodes are available.
754 %description -n slony1 -l pl
755 Slony-I jest systemem replikacji dla PostgreSQL. Pozwala na replikacjê
756 typu "jeden serwer g³owny, wiele serwerów pomocniczych".
758 G³ówn± zalet± Slony-I jest system "master-slave". Zawiera on wszelk±
759 funkcjonalno¶æ potrzebn± do replikowania du¿ych baz danych na
760 okre¶lon± ilo¶æ serwerów pomocniczych lub zastêpczych.
762 Slony-I jest przeznaczony dla systemów, gdzie normalny tryb pracy
763 wymaga aby zarówno serwer g³ówny jak i wszystkie serwery pomocnicze
764 by³y ca³y czas operacyjne.
769 %{?with_absolute_dbpaths:%patch1 -p1}
773 #patch5 -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
888 tar zxf %{SOURCE2} -C howto
890 %py_comp $RPM_BUILD_ROOT%{py_libdir}
891 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
894 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
898 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
899 cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang
901 # Remove Contrib documentation. We use macro %doc
902 rm -rf $RPM_BUILD_ROOT/contrib
905 rm -rf $RPM_BUILD_ROOT
909 if [ -f /etc/sysconfig/postgresql ]; then
910 . /etc/sysconfig/postgresql
911 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
912 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
916 for pgdir in $PG_DB_CLUSTERS; do
917 if [ -f $pgdir/PG_VERSION ]; then
918 if [ `cat $pgdir/PG_VERSION` != '8.0' ]; then
919 echo "Found database(s) in older, incompatible format in cluster $pgdir."
924 if [ "$foundold" = "1" ]; then
926 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
927 echo "and clean (or rename) those directories; then upgrade postgresql and"
928 echo "restore all data (using pg_restore or psql)."
929 echo "Remember to stop the daemon before upgrading!"
931 echo "Warning for upgrade from version *before* 7.2."
932 echo "Please note, that postgresql module path changed from"
933 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
934 echo "in dump file before restore."
936 echo "Warning for upgrade from version *before* 7.3."
937 echo "Reading following webpage is encouraged:"
938 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
942 %groupadd -g 88 -r postgres
943 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
945 # TODO: move this to trigger!
946 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
947 /usr/sbin/usermod -d /home/services/postgres postgres
951 /sbin/chkconfig --add postgresql
952 if [ -f /var/lock/subsys/postgresql ]; then
953 /etc/rc.d/init.d/postgresql restart >&2 || :
955 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
959 if [ "$1" = "0" ]; then
960 if [ -f /var/lock/subsys/postgresql ]; then
961 /etc/rc.d/init.d/postgresql stop
963 /sbin/chkconfig --del postgresql
966 %post libs -p /sbin/ldconfig
967 %postun libs -p /sbin/ldconfig
969 %post ecpg -p /sbin/ldconfig
970 %postun ecpg -p /sbin/ldconfig
973 %groupadd -P slony1 -g 131 -r slony1
974 %useradd -P slony1 -M -o -r -u 131 -d /home/services/slony1 -s /bin/sh -g slony1 -c "Slony-I Replicator" slony1
978 /sbin/chkconfig --add slony1
979 if [ -f /var/lock/subsys/slony1 ]; then
980 /etc/rc.d/init.d/slony1 restart >&2 || :
982 echo "Run \"/etc/rc.d/init.d/slony1 start\" to start slony1 replicator."
986 if [ "$1" = "0" ]; then
987 # FIXME: no slony1 user removal?
988 if [ -f /var/lock/subsys/slony1 ]; then
989 /etc/rc.d/init.d/slony1 stop
991 /sbin/chkconfig --del slony1
995 %defattr(644,root,root,755)
996 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
997 %doc contrib/pg_autovacuum/README*
998 %attr(754,root,root) /etc/rc.d/init.d/postgresql
999 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1001 %attr(755,root,root) %{_bindir}/initdb
1002 %attr(755,root,root) %{_bindir}/ipcclean
1003 %attr(755,root,root) %{_bindir}/pg_autovacuum
1004 %attr(755,root,root) %{_bindir}/pg_controldata
1005 %attr(755,root,root) %{_bindir}/pg_ctl
1006 %attr(755,root,root) %{_bindir}/pg_resetxlog
1007 %attr(755,root,root) %{_bindir}/postgres
1008 %attr(755,root,root) %{_bindir}/postmaster
1010 %attr(755,root,root) %{_pgmoduledir}/ascii*
1011 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
1012 %attr(755,root,root) %{_pgmoduledir}/euc*
1013 %attr(755,root,root) %{_pgmoduledir}/latin*
1014 %attr(755,root,root) %{_pgmoduledir}/utf*
1017 %dir %{_datadir}/postgresql
1018 %dir %{_datadir}/postgresql/timezone
1019 %{_datadir}/postgresql/*.bki
1020 %{_datadir}/postgresql/*.sample
1021 %{_datadir}/postgresql/*.description
1022 %{_datadir}/postgresql/*.sql
1023 %{_datadir}/postgresql/*.txt
1024 %{_datadir}/postgresql/timezone/*
1026 %attr(700,postgres,postgres) /home/services/postgres
1027 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1028 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1030 %{_mandir}/man1/initdb.1*
1031 %{_mandir}/man1/ipcclean.1*
1032 %{_mandir}/man1/pg_controldata.1*
1033 %{_mandir}/man1/pg_ctl.1*
1034 %{_mandir}/man1/pg_resetxlog.1*
1035 %{_mandir}/man1/postgres.1*
1036 %{_mandir}/man1/postmaster.1*
1039 %defattr(644,root,root,755)
1040 %doc doc/unpacked/* doc/src/FAQ howto
1041 %{_examplesdir}/%{name}-%{version}
1043 %files libs -f libpq.lang
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1046 %dir %{_pgmoduledir}
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_bindir}/ecpg
1051 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1052 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1053 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1054 %{_mandir}/man1/ecpg.1*
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libdir}/libecpg.so
1059 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1060 %attr(755,root,root) %{_libdir}/libpgtypes.so
1063 %files devel -f pg_config.lang
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_bindir}/pg_config
1066 %attr(755,root,root) %{_libdir}/libpq.so
1067 %dir %{_includedir}/postgresql
1068 %{_includedir}/libpq-fe.h
1069 %{_includedir}/pg_config.h
1070 %{_includedir}/pg_config_manual.h
1071 %{_includedir}/pg_config_os.h
1072 %{_includedir}/postgres_ext.h
1073 %dir %{_includedir}/postgresql/internal
1074 %{_includedir}/postgresql/internal/c.h
1075 %{_includedir}/postgresql/internal/libpq-int.h
1076 %{_includedir}/postgresql/internal/port.h
1077 %{_includedir}/postgresql/internal/postgres_fe.h
1078 %{_includedir}/postgresql/internal/pqexpbuffer.h
1079 %{_includedir}/postgresql/internal/libpq
1080 %{_includedir}/libpq
1081 %{_mandir}/man1/pg_config.1*
1083 %files backend-devel
1084 %defattr(644,root,root,755)
1085 %{_includedir}/postgresql/server
1086 %dir %{_pgmoduledir}/pgxs
1087 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1088 %{_pgmoduledir}/pgxs/src
1091 %defattr(644,root,root,755)
1092 %{_libdir}/libecpg.a
1093 %{_libdir}/libecpg_compat.a
1095 %{_libdir}/libpgtypes.a
1096 %{_libdir}/libpgport.a
1098 %files clients -f clients.lang
1099 %defattr(644,root,root,755)
1100 %attr(755,root,root) %{_bindir}/clusterdb
1101 %attr(755,root,root) %{_bindir}/createdb
1102 %attr(755,root,root) %{_bindir}/createlang
1103 %attr(755,root,root) %{_bindir}/createuser
1104 %attr(755,root,root) %{_bindir}/dropdb
1105 %attr(755,root,root) %{_bindir}/droplang
1106 %attr(755,root,root) %{_bindir}/dropuser
1107 %attr(755,root,root) %{_bindir}/pg_dump
1108 %attr(755,root,root) %{_bindir}/pg_dumpall
1109 %attr(755,root,root) %{_bindir}/pg_restore
1110 %attr(755,root,root) %{_bindir}/psql
1111 %attr(755,root,root) %{_bindir}/vacuumdb
1113 %{_mandir}/man1/clusterdb.1*
1114 %{_mandir}/man1/createdb.1*
1115 %{_mandir}/man1/createlang.1*
1116 %{_mandir}/man1/createuser.1*
1117 %{_mandir}/man1/dropdb.1*
1118 %{_mandir}/man1/droplang.1*
1119 %{_mandir}/man1/dropuser.1*
1120 %{_mandir}/man1/pg_dump.1*
1121 %{_mandir}/man1/pg_dumpall.1*
1122 %{_mandir}/man1/pg_restore.1*
1123 %{_mandir}/man1/psql.1*
1124 %{_mandir}/man1/vacuumdb.1*
1125 %{_mandir}/man7/*.7*
1127 %files module-plpgsql
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1132 %files module-plperl
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1138 %files module-plpython
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_bindir}/pltcl_*
1147 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1150 %files module-pgcrypto
1151 %defattr(644,root,root,755)
1152 %doc contrib/pgcrypto/README*
1153 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1154 %{_pgsqldir}/pgcrypto.sql
1156 %files module-tsearch2
1157 %defattr(644,root,root,755)
1158 %doc contrib/tsearch2/README*
1159 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1160 %{_pgsqldir}/tsearch2.sql
1161 %{_pgsqldir}/untsearch2.sql
1166 %defattr(644,root,root,755)
1167 %doc slony1-%{slony1_version}/doc/howto/*
1168 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/slony1
1169 %attr(754,root,root) /etc/rc.d/init.d/slony1
1170 %attr(755,root,root) %{_bindir}/slon
1171 %attr(755,root,root) %{_bindir}/slonik
1172 %attr(750,slony1,slony1) %dir /home/services/slony1
1173 %attr(600,slony1,slony1) /home/services/slony1/.pgpass
1174 %attr(755,root,root) %{_pgmoduledir}/slony1_funcs.so
1175 %attr(755,root,root) %{_pgmoduledir}/xxid.so