2 # - put pgcrypto docs into docdir
3 # - put pgcrypto sql files in %{_datadir}/postgresql
4 # - remove postgresql-configure patch and create postgresql-doc patch,
5 # which will prevent documentation and manuals installation (the routine
6 # is bad and we install docs and mans manually, at all) or create good
7 # routine and send it to postgresql team...
10 # _with_jdbc - with JDBC driver
11 # _with_absolute_dbpaths - allow absolute paths to create database
12 # (disallowed by default because it is a security risk)
15 %include /usr/lib/rpm/macros.python
19 Summary: PostgreSQL Data Base Management System
20 Summary(de): PostgreSQL Datenbankverwaltungssystem
21 Summary(es): Gestor de Banco de Datos PostgreSQL
22 Summary(fr): Sysème de gestion de base de données PostgreSQL
23 Summary(pl): PostgreSQL - system bazodanowy
24 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
25 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
26 Summary(tr): Veri Tabaný Yönetim Sistemi
27 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
28 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
33 Group: Applications/Databases
34 Source0: ftp://ftp3.us.postgresql.org/pub/postgresql/source/v%{version}/%{name}-%{version}%{beta}.tar.bz2
35 # Source0-md5: d41d8cd98f00b204e9800998ecf8427e
37 Source2: pgsql-Database-HOWTO-html.tar.gz
38 # Source2-md5: 5b656ddf1db41965761f85204a14398e
39 Source3: %{name}.sysconfig
40 Patch0: %{name}-configure.patch
41 Patch1: %{name}-pg_ctl-silent.patch
42 Patch2: %{name}-pg_ctl-nopsql.patch
43 Patch3: %{name}-conf.patch
44 Patch4: %{name}-absolute_dbpaths.patch
45 Patch5: %{name}-link.patch
47 URL: http://www.postgresql.org/
48 BuildRequires: XFree86-devel
49 BuildRequires: autoconf
50 BuildRequires: automake
51 BuildRequires: ncurses-devel >= 5.0
52 BuildRequires: openssl-devel >= 0.9.7
53 BuildRequires: pam-devel
54 BuildRequires: perl-devel
55 BuildRequires: python-devel >= 2.3
56 BuildRequires: readline-devel >= 4.2
57 BuildRequires: rpm-pythonprov
58 BuildRequires: tcl-devel >= 8.4.3
59 BuildRequires: tk-devel >= 8.4.3
60 BuildRequires: zlib-devel
61 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63 PreReq: %{name}-clients = %{version}
64 PreReq: %{name}-libs = %{version}
65 Requires(pre): /usr/bin/getgid
66 Requires(pre): /bin/id
67 Requires(pre): /usr/sbin/groupadd
68 Requires(pre): /usr/sbin/useradd
69 Requires(pre): /usr/sbin/usermod
70 Requires(post,preun): /sbin/chkconfig
71 Obsoletes: postgresql-server
72 Obsoletes: postgresql-test
74 %define _pgmoduledir %{_libdir}/postgresql
75 %define _pgsqldir %{_pgmoduledir}/sql
78 PostgreSQL Data Base Management System (formerly known as Postgres,
81 PostgreSQL is an enhancement of the POSTGRES database management
82 system, a next-generation DBMS research prototype. While PostgreSQL
83 retains the powerful data model and rich data types of POSTGRES, it
84 replaces the PostQuel query language with an extended subset of SQL.
85 PostgreSQL is free and the complete source is available.
87 PostgreSQL development is being performed by a team of Internet
88 developers who all subscribe to the PostgreSQL development mailing
89 list. The current coordinator is Marc G. Fournier
90 (scrappy@postgreSQL.org). This team is now responsible for all current
91 and future development of PostgreSQL.
93 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
94 others have contributed to the porting, testing, debugging and
95 enhancement of the code. The original Postgres code, from which
96 PostgreSQL is derived, was the effort of many graduate students,
97 undergraduate students, and staff programmers working under the
98 direction of Professor Michael Stonebraker at the University of
101 The original name of the software at Berkeley was Postgres. When SQL
102 functionality was added in 1995, its name was changed to Postgres95.
103 The name was changed at the end of 1996 to PostgreSQL.
105 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
106 and most flavours of Unix.
109 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
112 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
113 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
114 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
115 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
116 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
119 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
120 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
121 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
122 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
124 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
125 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
126 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
127 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
128 Studenten und Programmierern unter der Leitung von Professor Michael
129 Stonebraker an der University of California, Berkeley.
131 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
132 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
133 entschied man sich für PostgreSQL.
135 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
136 und den meisten Unix-Systemen.
139 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
140 como Postgres, y después como Postgres95). PostgreSQL es una
141 continuación mejorada del Sistema Administrador de Banco de Datos
142 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
143 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
144 los varios tipos de datos del POSTGRES, substituye el lenguaje de
145 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
146 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
147 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
148 en la lista de desarrollo del PostgreSQL. El coordinador actual es
149 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
150 responsable por el desarrollo actual y futuro del PostgreSQL.
153 Système de gestion de bases de données PostgreSQL (D'abord nommé
154 Postgres, puis Postgres95).
156 PostgreSQL est une amélioration du système de gestion de bases de
157 données POSTGRES, un prototype de recherche de la génération suivant
158 DBMS. Tout en conservant le puissant modèle de donnée de et les types
159 de donée riches de Postgres, il remplace le langage de requêtes de
160 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
161 libre, et ses sources sont disponibles.
163 Le développement de PostgreSQL est actuellement réalisé via internet
164 parune équipe de développeurs inscrits sur la mailing-list de
165 développement de PostgreSQL. Le coordinateur actuel est Marc G
166 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
167 développemen actuel et à venir de PostgreSQL.
169 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
170 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
171 l'amélioration du code. Le code original de Postgres, duquel
172 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
173 moins haut niveau, et de programmeurs travaillant sous la direction du
174 professeur Michael Stonebraker à l'université de Berkeley Californie.
176 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
177 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
178 rebaptisé PostgreSQL en 1996.
180 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
181 et la plupart des Unix.
184 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
185 Postgres, nastêpnie jako Postgres95).
187 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
188 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
189 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
190 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
191 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
194 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
195 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
196 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
197 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
199 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
200 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
201 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
202 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
203 zespo³u programistów, którzy pracowali pod kierunkiem profesora
204 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
206 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
207 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
208 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
211 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
212 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
214 %description -l pt_BR
215 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
216 Postgres, e depois como Postgres95).
218 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
219 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
220 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
221 dados e os vários tipos de dados do POSTGRES, ele substitui a
222 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
223 PostgreSQL é livre e tem os fontes disponíveis.
225 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
226 desenvolvedores da Internet, todos subscritores da lista de
227 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
228 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
229 desenvolvimento atual e futuro do PostgreSQL.
232 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
233 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
235 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
236 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
237 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
238 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
239 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
242 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
243 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
244 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
245 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
246 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
248 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
249 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
250 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
251 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
252 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
253 California, Berkeley.
255 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
256 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
257 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
260 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
261 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
264 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
265 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
266 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
267 sorgulama dilini koyar.
270 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
271 ÐÏÔ¦Í ÑË Postgres95).
273 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
274 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
275 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
276 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
277 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
280 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
281 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
282 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
283 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
285 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
286 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
287 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
288 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
289 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
290 California, Berkeley.
292 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
293 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
294 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
296 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
297 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
300 Summary: PostgreSQL development header files and libraries
301 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
302 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
303 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
304 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
305 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
306 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
307 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
308 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
309 Group: Development/Libraries
310 Requires: %{name}-libs = %{version}
313 This package contains header files and libraries required to compile
314 applications that are talking directly to the PostgreSQL backend
317 %description devel -l de
318 Dieses Paket enthält die Header-Dateien und Libraries, die zum
319 Kompilieren von Applikationen notwendig sind, die direkt mit dem
320 PostgreSQL-Backend-Server kommunizieren.
322 %description devel -l es
323 Este paquete contiene archivos de inclusión y bibliotecas requeridas
324 para compilación de aplicativos que se comunican directamente con el
325 servidor backend PostgreSQL.
327 %description devel -l fr
328 Ce package contient les fichiers d'en-tête et les bibliothéques
329 nécessaires pour compiler des applications ayant des échanges directs
330 avec le serveur du backend PostgreSQL.
332 %description devel -l pl
333 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
334 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
336 %description devel -l pt_BR
337 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
338 compilação de aplicativos que se comunicam diretamente com o servidor
341 %description devel -l ru
342 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
343 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
345 %description devel -l tr
346 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
347 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
349 %description devel -l uk
350 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
351 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
353 %package backend-devel
354 Summary: PostgreSQL backend development header files
355 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
356 Group: Development/Libraries
357 Requires: %{name}-libs = %{version}
359 %description backend-devel
360 This package contains header files required to compile functions that
361 could be loaded directly by backend
363 %description backend-devel -l pl
364 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
365 bezposrednio ladowane przez beckend serwera PostgreSQL.
368 Summary: Clients needed to access a PostgreSQL server
369 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
370 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
371 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
372 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
373 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
374 Group: Applications/Databases
375 Requires: %{name}-libs = %{version}
378 This package includes only the clients needed to access an PostgreSQL
379 server. The server is included in the main package. If all you need is
380 to connect to another PostgreSQL server, the this is the only package
381 you need to install. Clients include several command-line utilities
382 you can use to manage your databases on a remote PostgreSQL server.
384 %description clients -l es
385 Este paquete incluye solamente los clientes necesarios para acceder un
386 servidor PostgreSQL. El servidor está en el paquete principal.
388 %description clients -l pl
389 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
390 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
391 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
393 %description clients -l pt_BR
394 Este pacote inclui somente os clientes necessários para acessar um
395 servidor PostgreSQL. O servidor está no pacote principal.
397 %description clients -l ru
398 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
399 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
400 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
401 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
403 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
404 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
407 %description clients -l uk
408 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
409 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
410 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
411 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
413 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
414 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
416 #%package -n python-postgresql
417 #Summary: The python-based client programs needed for accessing a PostgreSQL server
418 #Summary(es): Módulo Python para acceder un servidor PostgreSQL
419 #Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
420 #Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
421 #Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
422 #Group: Libraries/Python
423 #Requires: python >= 2.0
424 #Requires: python-mx-DateTime
425 #Requires: %{name}-libs = %{version}
426 #Obsoletes: python-PyGreSQL
427 #Obsoletes: postgresql-python
429 #%description -n python-postgresql
430 #postgresql-python includes the python-based client programs and client
431 #libraries that you'll need to access a PostgreSQL database management
434 #%description -n python-postgresql -l es
435 #Módulo Python para acceder un servidor PostgreSQL
437 #%description -n python-postgresql -l pl
438 #Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
439 #do dostêpu do serwera baz danych PostgreSQL.
441 #%description -n python-postgresql -l pt_BR
442 #Módulo Python para acesso ao servidor PostgreSQL.
445 Summary: Documentation for PostgreSQL
446 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
447 Group: Applications/Databases
450 This package includes documentation and HOWTO for programmer, admin
451 etc., in HTML format.
453 %description doc -l pl
454 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
455 administratorów w formacie HTML.
458 Summary: PostgreSQL libraries
459 Summary(es): Biblioteca compartida del PostgreSQL
460 Summary(pl): Biblioteki dzielone programu PostgreSQL
461 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
462 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
466 PostgreSQL shared libraries.
468 %description libs -l es
469 Este paquete contiene la biblioteca compartida para acceso al
472 %description libs -l pl
473 Biblioteki dzielone programu PostgreSQL.
475 %description libs -l pt_BR
476 Este pacote contém a biblioteca compartilhada para acesso ao
480 Summary: PostgreSQL static libraries
481 Summary(es): Bibliotecas estaticas PostgreSQL
482 Summary(pl): Biblioteki statyczne programu PostgreSQL
483 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
484 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
485 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
486 Group: Development/Libraries
487 Requires: %{name}-devel = %{version}
490 PostgreSQL static libraries.
492 %description static -l es
493 Este paquete contiene bibliotecas estaticas requerida para compilación
494 de aplicativos que se comunican directamente con el servidor backend
497 %description static -l pl
498 Biblioteki statyczne programu PostgreSQL.
500 %description static -l pt_BR
501 Este pacote contém as bibliotecas estáticas requeridas para compilação
502 de aplicativos que se comunicam diretamente com o servidor backend
505 %description static -l ru
506 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
507 ×ÈÏÄÑÔ × %{name}-devel.
509 %description static -l uk
510 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
514 Summary: tcl interface for PostgreSQL
515 Summary(es): Bibliotecas y shell TCL para acceder un servidor PostgreSQL
516 Summary(pl): Interfejs tcl dla PostgreSQL
517 Summary(pt_BR): Bibliotecas e shell para programas em TCL acessarem o servidor PostgreSQL
518 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ tcl
519 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú tcl
520 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
521 Group: Development/Languages/Tcl
522 Requires: %{name}-libs = %{version}
525 tcl interface for PostgreSQL.
527 %description tcl -l es
528 Bibliotecas y shell TCL para acceder un servidor PostgreSQL
530 %description tcl -l pl
531 Interfejs tcl dla PostgreSQL.
533 %description tcl -l pt_BR
534 Bibliotecas e shell para programas em TCL acessarem o servidor
537 %description tcl -l ru
538 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ tcl.
540 %description tcl -l uk
541 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É tcl.
544 Summary: Development part of tcl interface for PostgreSQL
545 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
546 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
547 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
548 Group: Development/Languages/Tcl
549 Requires: %{name}-tcl = %{version}
550 Requires: %{name}-devel = %{version}
552 %description tcl-devel
553 Development part of tcl interface for PostgreSQL.
555 %description tcl-devel -l pl
556 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
558 %description tcl-devel -l ru
559 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
560 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
561 ËÏÄ ÉÌÉ API libtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
563 %description tcl-devel -l uk
564 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
565 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
566 API libtcl (tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
569 Summary: Static libraries of tcl interface for PostgreSQL
570 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
571 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
572 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
573 Group: Development/Languages/Tcl
574 Requires: %{name}-tcl-devel = %{version}
576 %description tcl-static
577 Static libraries of tcl interface for PostgreSQL.
579 %description tcl-static -l pl
580 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
582 %description tcl-static -l ru
583 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
584 ×ÈÏÄÑÔ × %{_name}-tcl-devel.
586 %description tcl-static -l uk
587 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
590 %package module-plpgsql
591 Summary: PL/pgSQL - PostgreSQL procedural language
592 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
593 Group: Applications/Databases
594 Requires: %{name} = %{version}
596 %description module-plpgsql
597 From PostgreSQL documentation.
599 Postgres supports the definition of procedural languages. In the case
600 of a function or trigger procedure defined in a procedural language,
601 the database has no built-in knowledge about how to interpret the
602 function's source text. Instead, the task is passed to a handler that
603 knows the details of the language. The handler itself is a special
604 programming language function compiled into a shared object and loaded
607 To enable PL/pgSQL procedural language for your database you have to
608 run createlang command.
610 %description module-plpgsql -l pl
611 Z dokumentacji PostgreSQL.
613 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
614 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
615 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
616 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
617 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
618 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
621 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
622 proceduralnego PL/pgSQL dla swojej bazy danych.
624 %package module-plperl
625 Summary: PL/perl - PostgreSQL procedural language
626 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
627 Group: Applications/Databases
628 Requires: %{name} = %{version}
631 %description module-plperl
632 From PostgreSQL documentation.
634 Postgres supports the definition of procedural languages. In the case
635 of a function or trigger procedure defined in a procedural language,
636 the database has no built-in knowledge about how to interpret the
637 function's source text. Instead, the task is passed to a handler that
638 knows the details of the language. The handler itself is a special
639 programming language function compiled into a shared object and loaded
642 To enable PL/perl procedural language for your database you have to
643 run createlang command.
645 %description module-plperl -l pl
646 Z dokumentacji PostgreSQL.
648 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
649 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
650 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
651 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
652 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
653 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
656 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
657 proceduralnego PL/perl dla swojej bazy danych.
659 %package module-plpython
660 Summary: PL/python - PostgreSQL procedural language
661 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
662 Group: Applications/Databases
663 Requires: %{name} = %{version}
664 %pyrequires_eq python
666 %description module-plpython
667 From PostgreSQL documentation.
669 Postgres supports the definition of procedural languages. In the case
670 of a function or trigger procedure defined in a procedural language,
671 the database has no built-in knowledge about how to interpret the
672 function's source text. Instead, the task is passed to a handler that
673 knows the details of the language. The handler itself is a special
674 programming language function compiled into a shared object and loaded
677 To enable PL/python procedural language for your database you have to
678 run createlang command.
680 %description module-plpython -l pl
681 Z dokumentacji PostgreSQL.
683 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
684 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
685 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
686 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
687 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
688 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
691 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
692 proceduralnego PL/python dla swojej bazy danych.
694 %package module-pltcl
695 Summary: PL/TCL - PostgreSQL procedural language
696 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
697 Group: Applications/Databases
698 Requires: %{name} = %{version}
700 %description module-pltcl
701 From PostgreSQL documentation.
703 Postgres supports the definition of procedural languages. In the case
704 of a function or trigger procedure defined in a procedural language,
705 the database has no built-in knowledge about how to interpret the
706 function's source text. Instead, the task is passed to a handler that
707 knows the details of the language. The handler itself is a special
708 programming language function compiled into a shared object and loaded
711 To enable PL/TCL procedural language for your database you have to run
714 %description module-pltcl -l pl
715 Z dokumentacji PostgreSQL.
717 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
718 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
719 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
720 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
721 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
722 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
725 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
726 proceduralnego PL/TCL dla swojej bazy danych.
728 %package module-pgcrypto
729 Summary: Cryptographic functions for PostgreSQL
730 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
731 Group: Applications/Databases
732 Requires: %{name} = %{version}
734 %description module-pgcrypto
735 Cryptographic functions for PostgreSQL.
737 %description module-pgcrypto -l pl
738 Funkcje kryptograficzne dla PostgreSQL.
741 %setup -q -n %{name}-%{version}%{beta}
746 %{?_with_absolute_dbpaths:%patch4 -p1}
749 tar xzf doc/man*.tar.gz
752 tar zxf doc/postgres.tar.gz -C doc/unpacked
755 rm -fR `find contrib/ -type d -name CVS`
758 rm -f config/libtool.m4
759 %{__aclocal} -I config
762 %{!?_without_pgsql_locale:--enable-locale} \
763 %{!?_without_pgsql_multibyte:--enable-multibyte} \
768 --enable-unicode-conversion \
777 %{?_with_jdbc: --with-java}
780 %ifnarch sparc sparcv9 sparc64 alpha ppc
781 %{!?_without_tests: %{__make} check }
788 rm -rf $RPM_BUILD_ROOT
789 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
790 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
791 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
792 $RPM_BUILD_ROOT/home/services/postgres
794 %{__make} install install-all-headers \
795 DESTDIR=$RPM_BUILD_ROOT
797 %{__make} install -C src/pl/plperl \
798 DESTDIR=$RPM_BUILD_ROOT
800 touch $RPM_BUILD_ROOT/var/log/pgsql
802 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
803 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
805 cp -a man? $RPM_BUILD_ROOT%{_mandir}
807 # there are html installed, remove them
808 rm -rf $RPM_BUILD_ROOT%{_infodir}
812 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
815 %py_comp $RPM_BUILD_ROOT%{py_libdir}
816 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
819 %{__make} install DESTDIR=$RPM_BUILD_ROOT
822 rm -rf $RPM_BUILD_ROOT
826 if [ -f /etc/sysconfig/postgresql ]; then
827 . /etc/sysconfig/postgresql
828 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
829 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
833 for pgdir in $PG_DB_CLUSTERS; do
834 if [ -f $pgdir/PG_VERSION ]; then
835 if [ `cat $pgdir/PG_VERSION` != '7.3' ]; then
836 echo "Found database(s) in older, incompatible format in cluster $pgdir."
841 if [ "$foundold" = "1" ]; then
843 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
844 echo "and clean (or rename) those directories; then upgrade postgresql and"
845 echo "restore all data (using pg_restore or psql)."
846 echo "Remember to stop the daemon before upgrading!"
848 echo "Warning for upgrade from version *before* 7.2."
849 echo "Please note, that postgresql module path changed from"
850 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
851 echo "in dump file before restore."
853 echo "Warning for upgrade from version *before* 7.3."
854 echo "Reading following webpage is encouraged:"
855 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
859 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
860 if id postgres >/dev/null 2>&1 ; then
861 /usr/sbin/usermod -d /home/services/postgres postgres
863 /usr/sbin/useradd -M -o -r -u 88 \
864 -d /home/services/postgres -s /bin/sh -g postgres \
865 -c "PostgreSQL Server" postgres
869 /sbin/chkconfig --add postgresql
870 if [ -f /var/lock/subsys/postgresql ]; then
871 /etc/rc.d/init.d/postgresql restart >&2 || :
873 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
877 if [ "$1" = "0" ]; then
878 if [ -f /var/lock/subsys/postgresql ]; then
879 /etc/rc.d/init.d/postgresql stop
881 /sbin/chkconfig --del postgresql
884 %post libs -p /sbin/ldconfig
885 %postun libs -p /sbin/ldconfig
887 %post tcl -p /sbin/ldconfig
888 %postun tcl -p /sbin/ldconfig
891 %defattr(644,root,root,755)
892 %attr(754,root,root) /etc/rc.d/init.d/*
893 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
895 %attr(755,root,root) %{_bindir}/clusterdb
896 %attr(755,root,root) %{_bindir}/createdb
897 %attr(755,root,root) %{_bindir}/createlang
898 %attr(755,root,root) %{_bindir}/createuser
899 %attr(755,root,root) %{_bindir}/dropdb
900 %attr(755,root,root) %{_bindir}/droplang
901 %attr(755,root,root) %{_bindir}/dropuser
902 %attr(755,root,root) %{_bindir}/initdb
903 %attr(755,root,root) %{_bindir}/initlocation
904 %attr(755,root,root) %{_bindir}/ipcclean
905 %attr(755,root,root) %{_bindir}/pg_config
906 %attr(755,root,root) %{_bindir}/pg_controldata
907 %attr(755,root,root) %{_bindir}/pg_ctl
908 %attr(755,root,root) %{_bindir}/pg_encoding
909 %attr(755,root,root) %{_bindir}/pg_resetxlog
910 %attr(755,root,root) %{_bindir}/postgres
911 %attr(755,root,root) %{_bindir}/postmaster
913 %attr(755,root,root) %{_pgmoduledir}/ascii*
914 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
915 %attr(755,root,root) %{_pgmoduledir}/euc*
916 %attr(755,root,root) %{_pgmoduledir}/latin*
917 %attr(755,root,root) %{_pgmoduledir}/utf*
921 %dir %{_datadir}/postgresql
922 %{_datadir}/postgresql/*.bki
923 %{_datadir}/postgresql/*.sample
924 %{_datadir}/postgresql/*.description
925 %{_datadir}/postgresql/*.sql
926 %{_datadir}/postgresql/*.txt
928 %attr(700,postgres,postgres) /home/services/postgres
929 %attr(700,postgres,postgres) %dir /var/lib/pgsql
930 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
932 %{_mandir}/man1/clusterdb.1*
933 %{_mandir}/man1/createdb.1*
934 %{_mandir}/man1/createlang.1*
935 %{_mandir}/man1/createuser.1*
936 %{_mandir}/man1/dropdb.1*
937 %{_mandir}/man1/droplang.1*
938 %{_mandir}/man1/dropuser.1*
939 %{_mandir}/man1/initdb.1*
940 %{_mandir}/man1/initlocation.1*
941 %{_mandir}/man1/ipcclean.1*
942 %{_mandir}/man1/pg_config.1*
943 %{_mandir}/man1/pg_controldata.1*
944 %{_mandir}/man1/pg_ctl.1*
945 %{_mandir}/man1/pg_resetxlog.1*
946 %{_mandir}/man1/postgres.1*
947 %{_mandir}/man1/postmaster.1*
952 %doc doc/FAQ* doc/README*
953 %doc COPYRIGHT README HISTORY doc/bug.template
956 %defattr(644,root,root,755)
961 %defattr(644,root,root,755)
962 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
963 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
964 %attr(755,root,root) %{_libdir}/libpq.so.*.*
965 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
966 %attr(755,root,root) %{_bindir}/pg_id
969 %defattr(644,root,root,755)
970 %attr(755,root,root) %{_bindir}/ecpg
971 %attr(755,root,root) %{_libdir}/libecpg.so
972 %attr(755,root,root) %{_libdir}/libecpg_compat.so
973 %attr(755,root,root) %{_libdir}/libpq.so
974 %attr(755,root,root) %{_libdir}/libpgtypes.so
975 %dir %{_includedir}/postgresql
976 %{_includedir}/pg_config.h
977 %{_includedir}/pg_config_os.h
978 %{_includedir}/ecpgerrno.h
979 %{_includedir}/ecpglib.h
980 %{_includedir}/ecpgtype.h
981 %{_includedir}/libpq-fe.h
982 %{_includedir}/postgres_ext.h
983 %{_includedir}/sql3types.h
984 %{_includedir}/sqlca.h
985 %{_includedir}/pgtypes_date.h
986 %{_includedir}/pgtypes_error.h
987 %{_includedir}/pgtypes_interval.h
988 %{_includedir}/pgtypes_numeric.h
989 %{_includedir}/pgtypes_timestamp.h
990 %dir %{_includedir}/postgresql/internal
991 %{_includedir}/postgresql/internal/c.h
992 %{_includedir}/postgresql/internal/libpq-int.h
993 %{_includedir}/postgresql/internal/postgres_fe.h
994 %{_includedir}/postgresql/internal/pqexpbuffer.h
995 %{_includedir}/postgresql/internal/lib
996 %{_includedir}/postgresql/internal/libpq
998 %{_mandir}/man1/ecpg.1*
1000 %files backend-devel
1001 %defattr(644,root,root,755)
1002 %{_includedir}/postgresql/server
1005 %defattr(644,root,root,755)
1006 %{_libdir}/libecpg.a
1007 %{_libdir}/libecpg_compat.a
1009 %{_libdir}/libpgtypes.a
1012 %defattr(644,root,root,755)
1013 %attr(755,root,root) %{_bindir}/pg_dump
1014 %attr(755,root,root) %{_bindir}/pg_dumpall
1015 %attr(755,root,root) %{_bindir}/pg_restore
1016 %attr(755,root,root) %{_bindir}/psql
1017 %attr(755,root,root) %{_bindir}/vacuumdb
1019 %{_mandir}/man1/pg_dump.1*
1020 %{_mandir}/man1/pg_dumpall.1*
1021 %{_mandir}/man1/pg_restore.1*
1022 %{_mandir}/man1/psql.1*
1023 %{_mandir}/man1/vacuumdb.1*
1024 %{_mandir}/manl/*.l*
1026 #%files -n python-postgresql
1027 #%defattr(644,root,root,755)
1028 #%doc src/interfaces/python/{README*,ChangeLog}
1029 #%{py_sitedir}/*.pyc
1030 #%{py_sitedir}/*.pyo
1031 #%attr(755,root,root) %{py_sitedir}/*.so
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_libdir}/libpgtcl.so
1036 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1037 %attr(755,root,root) %{_bindir}/pgtclsh
1038 %attr(755,root,root) %{_bindir}/pgtksh
1039 %{_mandir}/man1/pgtclsh.1*
1040 %{_mandir}/man1/pgtksh.1*
1043 %defattr(644,root,root,755)
1044 %{_includedir}/libpgtcl.h
1047 %defattr(644,root,root,755)
1048 %{_libdir}/libpgtcl.a
1050 %files module-plpgsql
1051 %defattr(644,root,root,755)
1052 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1054 %files module-plperl
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1058 %files module-plpython
1059 %defattr(644,root,root,755)
1060 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1063 %defattr(644,root,root,755)
1064 %attr(755,root,root) %{_bindir}/pltcl_*
1065 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1067 %files module-pgcrypto
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1070 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1071 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1072 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz