3 # - plphp has no files section
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)
17 Summary: PostgreSQL Data Base Management System
18 Summary(de): PostgreSQL Datenbankverwaltungssystem
19 Summary(es): Gestor de Banco de Datos PostgreSQL
20 Summary(fr): Sysème de gestion de base de données PostgreSQL
21 Summary(pl): PostgreSQL - system bazodanowy
22 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
23 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
24 Summary(tr): Veri Tabaný Yönetim Sistemi
25 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
26 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
31 Group: Applications/Databases
32 Source0: ftp://ftp6.pl.postgresql.org/pub/postgresql/source/v%{version}/%{name}-%{version}.tar.bz2
33 # Source0-md5: a8a3bd5cb45c4c2747d5218912a82cfc
34 ##Source0: ftp://ftp.postgresql.org/pub/source/v%{version}beta/%{name}-%{version}%{beta}.tar.bz2
36 Source2: pgsql-Database-HOWTO-html.tar.gz
37 # Source2-md5: 5b656ddf1db41965761f85204a14398e
38 Source3: %{name}.sysconfig
39 Source8: http://www.commandprompt.com/files/plphp-8.x.tar.bz2
40 # Source8-md5: d307e4ab8cb6900a1c290a5dde1bdeee
41 Patch0: %{name}-conf.patch
42 Patch1: %{name}-absolute_dbpaths.patch
43 Patch2: %{name}-link.patch
44 Patch3: %{name}-ecpg_link.patch
45 Patch4: %{name}-ecpg-includedir.patch
46 Patch5: %{name}-pg_ctl-fix.patch
47 URL: http://www.postgresql.org/
48 BuildRequires: autoconf
49 BuildRequires: automake
50 #BuildRequires: bison >= 1.875 not needed for releases
52 BuildRequires: gettext-devel
53 %{?with_kerberos5:BuildRequires: heimdal-devel >= 0.7}
54 BuildRequires: libtool
55 BuildRequires: ncurses-devel >= 5.0
56 BuildRequires: openssl-devel >= 0.9.7d
57 BuildRequires: pam-devel
58 %{?with_perl:BuildRequires: perl-devel}
60 BuildRequires: php-devel >= 3:5.0.0
61 BuildRequires: rpmbuild(macros) >= 1.238
64 BuildRequires: python >= 1:2.3
65 BuildRequires: python-devel >= 1:2.3
66 BuildRequires: python-modules >= 1:2.3
68 BuildRequires: readline-devel >= 4.2
69 BuildRequires: rpmbuild(macros) >= 1.268
70 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
71 BuildRequires: zlib-devel
72 Requires(post,preun): /sbin/chkconfig
73 Requires(pre): /bin/id
74 Requires(pre): /usr/bin/getgid
75 Requires(pre): /usr/sbin/groupadd
76 Requires(pre): /usr/sbin/useradd
77 Requires(pre): /usr/sbin/usermod
78 Requires: %{name}-clients = %{version}-%{release}
79 Requires: %{name}-libs = %{version}-%{release}
81 Obsoletes: postgresql-server
82 Obsoletes: postgresql-test
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 %define _pgmoduledir %{_libdir}/postgresql
86 %define _pgsqldir %{_datadir}/postgresql/contrib
89 PostgreSQL Data Base Management System (formerly known as Postgres,
92 PostgreSQL is an enhancement of the POSTGRES database management
93 system, a next-generation DBMS research prototype. While PostgreSQL
94 retains the powerful data model and rich data types of POSTGRES, it
95 replaces the PostQuel query language with an extended subset of SQL.
96 PostgreSQL is free and the complete source is available.
98 PostgreSQL development is being performed by a team of Internet
99 developers who all subscribe to the PostgreSQL development mailing
100 list. The current coordinator is Marc G. Fournier
101 (scrappy@postgreSQL.org). This team is now responsible for all current
102 and future development of PostgreSQL.
104 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
105 others have contributed to the porting, testing, debugging and
106 enhancement of the code. The original Postgres code, from which
107 PostgreSQL is derived, was the effort of many graduate students,
108 undergraduate students, and staff programmers working under the
109 direction of Professor Michael Stonebraker at the University of
110 California, Berkeley.
112 The original name of the software at Berkeley was Postgres. When SQL
113 functionality was added in 1995, its name was changed to Postgres95.
114 The name was changed at the end of 1996 to PostgreSQL.
116 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
117 and most flavours of Unix.
120 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
123 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
124 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
125 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
126 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
127 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
130 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
131 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
132 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
133 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
135 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
136 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
137 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
138 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
139 Studenten und Programmierern unter der Leitung von Professor Michael
140 Stonebraker an der University of California, Berkeley.
142 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
143 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
144 entschied man sich für PostgreSQL.
146 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
147 und den meisten Unix-Systemen.
150 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
151 como Postgres, y después como Postgres95). PostgreSQL es una
152 continuación mejorada del Sistema Administrador de Banco de Datos
153 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
154 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
155 los varios tipos de datos del POSTGRES, substituye el lenguaje de
156 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
157 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
158 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
159 en la lista de desarrollo del PostgreSQL. El coordinador actual es
160 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
161 responsable por el desarrollo actual y futuro del PostgreSQL.
164 Système de gestion de bases de données PostgreSQL (D'abord nommé
165 Postgres, puis Postgres95).
167 PostgreSQL est une amélioration du système de gestion de bases de
168 données POSTGRES, un prototype de recherche de la génération suivant
169 DBMS. Tout en conservant le puissant modèle de donnée de et les types
170 de donée riches de Postgres, il remplace le langage de requêtes de
171 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
172 libre, et ses sources sont disponibles.
174 Le développement de PostgreSQL est actuellement réalisé via internet
175 parune équipe de développeurs inscrits sur la mailing-list de
176 développement de PostgreSQL. Le coordinateur actuel est Marc G
177 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
178 développemen actuel et à venir de PostgreSQL.
180 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
181 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
182 l'amélioration du code. Le code original de Postgres, duquel
183 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
184 moins haut niveau, et de programmeurs travaillant sous la direction du
185 professeur Michael Stonebraker à l'université de Berkeley Californie.
187 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
188 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
189 rebaptisé PostgreSQL en 1996.
191 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
192 et la plupart des Unix.
195 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
196 Postgres, nastêpnie jako Postgres95).
198 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
199 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
200 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
201 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
202 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
205 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
206 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
207 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
208 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
210 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
211 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
212 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
213 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
214 zespo³u programistów, którzy pracowali pod kierunkiem profesora
215 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
217 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
218 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
219 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
222 PostgreSQL mo¿e byæ uruchomiony pod nastêpuj±cymi systemami: Solaris,
223 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
225 %description -l pt_BR
226 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
227 Postgres, e depois como Postgres95).
229 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
230 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
231 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
232 dados e os vários tipos de dados do POSTGRES, ele substitui a
233 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
234 PostgreSQL é livre e tem os fontes disponíveis.
236 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
237 desenvolvedores da Internet, todos subscritores da lista de
238 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
239 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
240 desenvolvimento atual e futuro do PostgreSQL.
243 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
244 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
246 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
247 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
248 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
249 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
250 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
253 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
254 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
255 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
256 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
257 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
259 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
260 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
261 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
262 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
263 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
264 California, Berkeley.
266 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
267 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
268 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
271 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
272 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
275 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
276 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
277 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
278 sorgulama dilini koyar.
281 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
282 ÐÏÔ¦Í ÑË Postgres95).
284 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
285 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
286 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
287 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
288 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
291 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
292 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
293 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
294 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
296 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
297 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
298 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
299 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
300 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
301 California, Berkeley.
303 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
304 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
305 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
307 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
308 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
311 Summary: PostgreSQL development header files and libraries
312 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
313 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
314 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
315 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
316 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
317 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
318 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
319 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
320 Group: Development/Libraries
321 Requires: %{name}-libs = %{version}-%{release}
324 This package contains header files and libraries required to compile
325 applications that are talking directly to the PostgreSQL backend
328 %description devel -l de
329 Dieses Paket enthält die Header-Dateien und Libraries, die zum
330 Kompilieren von Applikationen notwendig sind, die direkt mit dem
331 PostgreSQL-Backend-Server kommunizieren.
333 %description devel -l es
334 Este paquete contiene archivos de inclusión y bibliotecas requeridas
335 para compilación de aplicativos que se comunican directamente con el
336 servidor backend PostgreSQL.
338 %description devel -l fr
339 Ce package contient les fichiers d'en-tête et les bibliothéques
340 nécessaires pour compiler des applications ayant des échanges directs
341 avec le serveur du backend PostgreSQL.
343 %description devel -l pl
344 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
345 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
347 %description devel -l pt_BR
348 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
349 compilação de aplicativos que se comunicam diretamente com o servidor
352 %description devel -l ru
353 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
354 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
356 %description devel -l tr
357 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
358 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
360 %description devel -l uk
361 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
362 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
364 %package backend-devel
365 Summary: PostgreSQL backend development header files
366 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
367 Group: Development/Libraries
368 Requires: %{name}-devel = %{version}-%{release}
369 Requires: %{name}-libs = %{version}-%{release}
371 %description backend-devel
372 This package contains header files required to compile functions that
373 could be loaded directly by backend
375 %description backend-devel -l pl
376 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
377 bezposrednio ladowane przez beckend serwera PostgreSQL.
380 Summary: Clients needed to access a PostgreSQL server
381 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
382 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
383 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
384 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
385 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
386 Group: Applications/Databases
387 Requires: %{name}-libs = %{version}-%{release}
390 This package includes only the clients needed to access an PostgreSQL
391 server. The server is included in the main package. If all you need is
392 to connect to another PostgreSQL server, the this is the only package
393 you need to install. Clients include several command-line utilities
394 you can use to manage your databases on a remote PostgreSQL server.
396 %description clients -l es
397 Este paquete incluye solamente los clientes necesarios para acceder un
398 servidor PostgreSQL. El servidor está en el paquete principal.
400 %description clients -l pl
401 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
402 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
403 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
405 %description clients -l pt_BR
406 Este pacote inclui somente os clientes necessários para acessar um
407 servidor PostgreSQL. O servidor está no pacote principal.
409 %description clients -l ru
410 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
411 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
412 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
413 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
415 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
416 C++, Perl É Tcl) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
419 %description clients -l uk
420 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
421 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
422 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
423 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
425 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, Perl
426 ¦ Tcl) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
429 Summary: Documentation for PostgreSQL
430 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
431 Group: Applications/Databases
434 This package includes documentation and HOWTO for programmer, admin
435 etc., in HTML format.
437 %description doc -l pl
438 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
439 administratorów w formacie HTML.
442 Summary: PostgreSQL libraries
443 Summary(es): Biblioteca compartida del PostgreSQL
444 Summary(pl): Biblioteki dzielone programu PostgreSQL
445 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
446 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
450 PostgreSQL shared libraries.
452 %description libs -l es
453 Este paquete contiene la biblioteca compartida para acceso al
456 %description libs -l pl
457 Biblioteki dzielone programu PostgreSQL.
459 %description libs -l pt_BR
460 Este pacote contém a biblioteca compartilhada para acesso ao
464 Summary: Embedded SQL in C interface
465 Summary(pl): Interfejs wbudowanego SQL-a w jêzyk C
467 Requires: %{name}-libs = %{version}-%{release}
470 Embedded SQL in C interface.
472 %description ecpg -l pl
473 Interfejs wbudowanego SQL-a w jêzyk C.
476 Summary: Embedded SQL in C interface files
477 Summary(pl): Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
478 Group: Development/Libraries
479 Requires: %{name}-devel = %{version}-%{release}
480 Requires: %{name}-ecpg = %{version}-%{release}
482 %description ecpg-devel
483 Embedded SQL in C interface files.
485 %description ecpg-devel -l pl
486 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
489 Summary: PostgreSQL static libraries
490 Summary(es): Bibliotecas estaticas PostgreSQL
491 Summary(pl): Biblioteki statyczne programu PostgreSQL
492 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
493 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
494 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
495 Group: Development/Libraries
496 Requires: %{name}-devel = %{version}-%{release}
499 PostgreSQL static libraries.
501 %description static -l es
502 Este paquete contiene bibliotecas estaticas requerida para compilación
503 de aplicativos que se comunican directamente con el servidor backend
506 %description static -l pl
507 Biblioteki statyczne programu PostgreSQL.
509 %description static -l pt_BR
510 Este pacote contém as bibliotecas estáticas requeridas para compilação
511 de aplicativos que se comunicam diretamente com o servidor backend
514 %description static -l ru
515 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
516 ×ÈÏÄÑÔ × %{name}-devel.
518 %description static -l uk
519 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
522 %package module-plpgsql
523 Summary: PL/pgSQL - PostgreSQL procedural language
524 Summary(pl): PL/pgSQL - jêzyk proceduralny bazy danych PostgreSQL
525 Group: Applications/Databases
526 Requires: %{name} = %{version}-%{release}
528 %description module-plpgsql
529 From PostgreSQL documentation:
531 Postgres supports the definition of procedural languages. In the case
532 of a function or trigger procedure defined in a procedural language,
533 the database has no built-in knowledge about how to interpret the
534 function's source text. Instead, the task is passed to a handler that
535 knows the details of the language. The handler itself is a special
536 programming language function compiled into a shared object and loaded
539 To enable PL/pgSQL procedural language for your database you have to
540 run createlang command.
542 %description module-plpgsql -l pl
543 Z dokumentacji PostgreSQL:
545 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
546 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
547 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
548 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
549 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
550 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
553 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
554 proceduralnego PL/pgSQL dla swojej bazy danych.
556 %package module-plperl
557 Summary: PL/perl - PostgreSQL procedural language
558 Summary(pl): PL/perl - jêzyk proceduralny bazy danych PostgreSQL
559 Group: Applications/Databases
560 Requires: %{name} = %{version}-%{release}
561 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
563 %description module-plperl
564 From PostgreSQL documentation:
566 Postgres supports the definition of procedural languages. In the case
567 of a function or trigger procedure defined in a procedural language,
568 the database has no built-in knowledge about how to interpret the
569 function's source text. Instead, the task is passed to a handler that
570 knows the details of the language. The handler itself is a special
571 programming language function compiled into a shared object and loaded
574 To enable PL/Perl procedural language for your database you have to
575 run createlang command.
577 %description module-plperl -l pl
578 Z dokumentacji PostgreSQL:
580 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
581 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
582 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
583 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
584 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
585 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
588 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
589 proceduralnego PL/Perl dla swojej bazy danych.
591 %package module-plphp
592 Summary: PL/PHP - PostgreSQL procedural language
593 Summary(pl): PL/PHP - jêzyk proceduralny bazy danych PostgreSQL
594 Group: Applications/Databases
595 Requires: %{name} = %{version}-%{release}
596 %{?requires_php_extension}
598 %description module-plphp
599 From PostgreSQL documentation:
601 Postgres supports the definition of procedural languages. In the case
602 of a function or trigger procedure defined in a procedural language,
603 the database has no built-in knowledge about how to interpret the
604 function's source text. Instead, the task is passed to a handler that
605 knows the details of the language. The handler itself is a special
606 programming language function compiled into a shared object and loaded
609 To enable PL/PHP procedural language for your database you have to run
612 %description module-plphp -l pl
613 Z dokumentacji PostgreSQL:
615 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
616 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
617 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
618 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
619 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
620 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
623 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
624 proceduralnego PL/PHP dla swojej bazy danych.
626 %package module-plpython
627 Summary: PL/Python - PostgreSQL procedural language
628 Summary(pl): PL/Python - jêzyk proceduralny bazy danych PostgreSQL
629 Group: Applications/Databases
630 Requires: %{name} = %{version}-%{release}
631 %pyrequires_eq python
633 %description module-plpython
634 From PostgreSQL documentation:
636 Postgres supports the definition of procedural languages. In the case
637 of a function or trigger procedure defined in a procedural language,
638 the database has no built-in knowledge about how to interpret the
639 function's source text. Instead, the task is passed to a handler that
640 knows the details of the language. The handler itself is a special
641 programming language function compiled into a shared object and loaded
644 To enable PL/Python procedural language for your database you have to
645 run createlang command.
647 %description module-plpython -l pl
648 Z dokumentacji PostgreSQL:
650 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
651 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
652 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
653 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
654 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
655 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
658 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
659 proceduralnego PL/Python dla swojej bazy danych.
661 %package module-pltcl
662 Summary: PL/Tcl - PostgreSQL procedural language
663 Summary(pl): PL/Tcl - jêzyk proceduralny bazy danych PostgreSQL
664 Group: Applications/Databases
665 Requires: %{name} = %{version}-%{release}
667 %description module-pltcl
668 From PostgreSQL documentation:
670 Postgres supports the definition of procedural languages. In the case
671 of a function or trigger procedure defined in a procedural language,
672 the database has no built-in knowledge about how to interpret the
673 function's source text. Instead, the task is passed to a handler that
674 knows the details of the language. The handler itself is a special
675 programming language function compiled into a shared object and loaded
678 To enable PL/Tcl procedural language for your database you have to run
681 %description module-pltcl -l pl
682 Z dokumentacji PostgreSQL:
684 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
685 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
686 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
687 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
688 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
689 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
692 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
693 proceduralnego PL/Tcl dla swojej bazy danych.
696 Summary: Large Objects module for PostgreSQL
697 Summary(pl): Modu³ Large Objects dla PostgreSQL-a
698 Group: Applications/Databases
699 Requires: %{name} = %{version}-%{release}
701 %description module-lo
702 Large Objects module for PostgreSQL adds a new data type 'lo', some
703 support functions and a trigger which handles the orphaning problem.
705 %description module-lo -l pl
706 Modu³ Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
707 kilka funkcji pomocniczych i wyzwalacz rozwi±zuj±cy problem
708 osieroconych obiektów.
710 %package module-pgcrypto
711 Summary: Cryptographic functions for PostgreSQL
712 Summary(pl): Funkcje kryptograficzne dla PostgreSQL-a
713 Group: Applications/Databases
714 Requires: %{name} = %{version}-%{release}
716 %description module-pgcrypto
717 Cryptographic functions for PostgreSQL.
719 %description module-pgcrypto -l pl
720 Funkcje kryptograficzne dla PostgreSQL.
722 %package module-tsearch2
723 Summary: Full text extension for PostgreSQL
724 Summary(pl): Rozszerzenie pe³notekstowe dla PostgreSQL-a
725 Group: Applications/Databases
726 Requires: %{name} = %{version}-%{release}
728 %description module-tsearch2
729 Implementation of a new data type tsvector - a searchable data type
731 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
733 %description module-tsearch2 -l pl
734 Implementacja nowego typu danych tsvector - typu danych podlegaj±cego
735 przeszukiwaniu z dostêpem poprzez indeksy:
736 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
738 %package module-pg_trgm
739 Summary: Trigram matching for PostgreSQL
740 Summary(pl): Dopasowanie trigramowe dla PostgreSQL-a
741 Group: Applications/Databases
742 Requires: %{name} = %{version}-%{release}
744 %description module-pg_trgm
745 This module provides functions and index classes for determining the
746 similarity of text based on trigram matching.
748 %description module-pg_trgm -l pl
749 Ten modu³ dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
750 w oparciu o dopasowywanie trigramowe (trigram matching).
755 %{?with_absolute_dbpaths:%patch1 -p1}
762 patch -p1 < plphp.patch
765 tar xzf doc/man*.tar.gz
768 tar zxf doc/postgres.tar.gz -C doc/unpacked
771 #find contrib -type d -name CVS -exec rm -rf {} \;
774 %{__aclocal} -I config
777 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \
780 --enable-integer-datetimes \
781 %{?with_pgsql_locale:--enable-locale} \
782 %{?with_pgsql_multibyte:--enable-multibyte} \
786 --enable-thread-safety \
787 --enable-unicode-conversion \
789 %{?with_kerberos5:--with-krb5} \
792 %{?with_perl:--with-perl} \
793 %{?with_php:--with-php=/usr/include/php} \
794 %{?with_python:--with-python} \
795 %{?with_tcl:--with-tcl} \
800 %{__make} -C contrib/lo
801 %{__make} -C contrib/pgcrypto
802 %{__make} -C contrib/tsearch2
803 %{__make} -C contrib/pg_trgm
804 %{__make} -C src/tutorial \
807 %ifnarch sparc sparcv9 sparc64 alpha
808 %{?with_tests:%{__make} check}
818 rm -rf $RPM_BUILD_ROOT
819 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
820 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
821 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
822 $RPM_BUILD_ROOT%{_mandir} \
823 $RPM_BUILD_ROOT/home/services/postgres
825 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
828 DESTDIR=$RPM_BUILD_ROOT
830 %{__cc} -shared -Wl,-soname,libpq.so.3 -o $RPM_BUILD_ROOT%{_libdir}/libpq.so.3.0.0 -L$RPM_BUILD_ROOT%{_libdir} -lpq
833 %{__make} install -C src/pl/plperl \
834 DESTDIR=$RPM_BUILD_ROOT
837 %{__make} -C contrib/lo install \
838 DESTDIR=$RPM_BUILD_ROOT
840 %{__make} -C contrib/pgcrypto install \
841 DESTDIR=$RPM_BUILD_ROOT
843 %{__make} -C contrib/tsearch2 install \
844 DESTDIR=$RPM_BUILD_ROOT
846 %{__make} -C contrib/pg_trgm install \
847 DESTDIR=$RPM_BUILD_ROOT
852 DESTDIR=$RPM_BUILD_ROOT
856 touch $RPM_BUILD_ROOT/var/log/pgsql
858 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
859 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
862 tar zxf %{SOURCE2} -C howto
864 %py_comp $RPM_BUILD_ROOT%{py_libdir}
865 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
868 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
872 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
873 cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang
875 # Remove Contrib documentation. We use macro %doc
876 rm -rf $RPM_BUILD_ROOT/contrib
879 rm -rf $RPM_BUILD_ROOT
883 if [ -f /etc/sysconfig/postgresql ]; then
884 . /etc/sysconfig/postgresql
885 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
886 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
890 for pgdir in $PG_DB_CLUSTERS; do
891 if [ -f $pgdir/PG_VERSION ]; then
892 if [ `cat $pgdir/PG_VERSION` != '8.1' ]; then
893 echo "Found database(s) in older, incompatible format in cluster $pgdir."
898 if [ "$foundold" = "1" ]; then
900 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
901 echo "and clean (or rename) those directories; then upgrade postgresql and"
902 echo "restore all data (using pg_restore or psql)."
903 echo "Remember to stop the daemon before upgrading!"
905 echo "Warning for upgrade from version *before* 7.2."
906 echo "Please note, that postgresql module path changed from"
907 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
908 echo "in dump file before restore."
910 echo "Warning for upgrade from version *before* 7.3."
911 echo "Reading following webpage is encouraged:"
912 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
916 %groupadd -g 88 -r postgres
917 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
919 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
920 /usr/sbin/usermod -d /home/services/postgres postgres
924 /sbin/chkconfig --add postgresql
925 %service postgresql restart "postgresql server"
928 if [ "$1" = "0" ]; then
929 %service postgresql stop
930 /sbin/chkconfig --del postgresql
933 %post libs -p /sbin/ldconfig
934 %postun libs -p /sbin/ldconfig
936 %post ecpg -p /sbin/ldconfig
937 %postun ecpg -p /sbin/ldconfig
940 %defattr(644,root,root,755)
941 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
942 %attr(754,root,root) /etc/rc.d/init.d/postgresql
943 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
945 %attr(755,root,root) %{_bindir}/initdb
946 %attr(755,root,root) %{_bindir}/ipcclean
947 %attr(755,root,root) %{_bindir}/pg_controldata
948 %attr(755,root,root) %{_bindir}/pg_ctl
949 %attr(755,root,root) %{_bindir}/pg_resetxlog
950 %attr(755,root,root) %{_bindir}/postgres
951 %attr(755,root,root) %{_bindir}/postmaster
953 %attr(755,root,root) %{_pgmoduledir}/ascii*
954 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
955 %attr(755,root,root) %{_pgmoduledir}/euc*
956 %attr(755,root,root) %{_pgmoduledir}/latin*
957 %attr(755,root,root) %{_pgmoduledir}/utf*
960 %dir %{_datadir}/postgresql
961 %dir %{_datadir}/postgresql/timezone
962 %{_datadir}/postgresql/*.bki
963 %{_datadir}/postgresql/*.sample
964 %{_datadir}/postgresql/*.description
965 %{_datadir}/postgresql/*.sql
966 %{_datadir}/postgresql/*.txt
967 %{_datadir}/postgresql/timezone/*
969 %attr(700,postgres,postgres) /home/services/postgres
970 %attr(700,postgres,postgres) %dir /var/lib/pgsql
971 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
973 %{_mandir}/man1/initdb.1*
974 %{_mandir}/man1/ipcclean.1*
975 %{_mandir}/man1/pg_controldata.1*
976 %{_mandir}/man1/pg_ctl.1*
977 %{_mandir}/man1/pg_resetxlog.1*
978 %{_mandir}/man1/postgres.1*
979 %{_mandir}/man1/postmaster.1*
982 %defattr(644,root,root,755)
983 %doc doc/unpacked/* doc/src/FAQ howto
984 %{_examplesdir}/%{name}-%{version}
986 %files libs -f libpq.lang
987 %defattr(644,root,root,755)
988 %attr(755,root,root) %{_libdir}/libpq.so.*.*
992 %defattr(644,root,root,755)
993 %attr(755,root,root) %{_bindir}/ecpg
994 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
995 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
996 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
997 %{_mandir}/man1/ecpg.1*
1000 %defattr(644,root,root,755)
1001 %attr(755,root,root) %{_libdir}/libecpg.so
1002 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1003 %attr(755,root,root) %{_libdir}/libpgtypes.so
1006 %files devel -f pg_config.lang
1007 %defattr(644,root,root,755)
1008 %attr(755,root,root) %{_bindir}/pg_config
1009 %attr(755,root,root) %{_libdir}/libpq.so
1010 %dir %{_includedir}/postgresql
1011 %{_includedir}/libpq-fe.h
1012 %{_includedir}/pg_config.h
1013 %{_includedir}/pg_config_manual.h
1014 %{_includedir}/pg_config_os.h
1015 %{_includedir}/postgres_ext.h
1016 %dir %{_includedir}/postgresql/internal
1017 %{_includedir}/postgresql/internal/c.h
1018 %{_includedir}/postgresql/internal/libpq-int.h
1019 %{_includedir}/postgresql/internal/port.h
1020 %{_includedir}/postgresql/internal/postgres_fe.h
1021 %{_includedir}/postgresql/internal/pqexpbuffer.h
1022 %{_includedir}/postgresql/internal/libpq
1023 %{_includedir}/libpq
1024 %{_mandir}/man1/pg_config.1*
1026 %files backend-devel
1027 %defattr(644,root,root,755)
1028 %{_includedir}/postgresql/server
1029 %dir %{_pgmoduledir}/pgxs
1030 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1031 %{_pgmoduledir}/pgxs/src
1034 %defattr(644,root,root,755)
1035 %{_libdir}/libecpg.a
1036 %{_libdir}/libecpg_compat.a
1038 %{_libdir}/libpgtypes.a
1039 %{_libdir}/libpgport.a
1041 %files clients -f clients.lang
1042 %defattr(644,root,root,755)
1043 %attr(755,root,root) %{_bindir}/clusterdb
1044 %attr(755,root,root) %{_bindir}/createdb
1045 %attr(755,root,root) %{_bindir}/createlang
1046 %attr(755,root,root) %{_bindir}/createuser
1047 %attr(755,root,root) %{_bindir}/dropdb
1048 %attr(755,root,root) %{_bindir}/droplang
1049 %attr(755,root,root) %{_bindir}/dropuser
1050 %attr(755,root,root) %{_bindir}/pg_dump
1051 %attr(755,root,root) %{_bindir}/pg_dumpall
1052 %attr(755,root,root) %{_bindir}/pg_restore
1053 %attr(755,root,root) %{_bindir}/psql
1054 %attr(755,root,root) %{_bindir}/reindexdb
1055 %attr(755,root,root) %{_bindir}/vacuumdb
1057 %{_mandir}/man1/clusterdb.1*
1058 %{_mandir}/man1/createdb.1*
1059 %{_mandir}/man1/createlang.1*
1060 %{_mandir}/man1/createuser.1*
1061 %{_mandir}/man1/dropdb.1*
1062 %{_mandir}/man1/droplang.1*
1063 %{_mandir}/man1/dropuser.1*
1064 %{_mandir}/man1/pg_dump.1*
1065 %{_mandir}/man1/pg_dumpall.1*
1066 %{_mandir}/man1/pg_restore.1*
1067 %{_mandir}/man1/psql.1*
1068 %{_mandir}/man1/reindexdb.1*
1069 %{_mandir}/man1/vacuumdb.1*
1070 %{_mandir}/man7/*.7*
1072 %files module-plpgsql
1073 %defattr(644,root,root,755)
1074 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1077 %files module-plperl
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1083 %files module-plpython
1084 %defattr(644,root,root,755)
1085 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_bindir}/pltcl_*
1092 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1096 %defattr(644,root,root,755)
1097 %doc contrib/lo/README.lo
1098 %attr(755,root,root) %{_pgmoduledir}/lo.so
1099 %{_pgsqldir}/lo*.sql
1101 %files module-pgcrypto
1102 %defattr(644,root,root,755)
1103 %doc contrib/pgcrypto/README*
1104 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1105 %{_pgsqldir}/pgcrypto.sql
1107 %files module-tsearch2
1108 %defattr(644,root,root,755)
1109 %doc contrib/tsearch2/README*
1110 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1111 %{_pgsqldir}/tsearch2.sql
1112 %{_pgsqldir}/untsearch2.sql
1115 %files module-pg_trgm
1116 %defattr(644,root,root,755)
1117 %doc contrib/pg_trgm/README*
1118 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1119 %{_pgsqldir}/pg_trgm.sql