3 # - remove postgresql-configure patch and create postgresql-doc patch,
4 # which will prevent documentation and manulas installation (the routine
5 # is bad and we install docs and mans manually, at all) or create good
6 # routine and send it to postgresql team...
9 # _with_jdbc - with JDBC driver
12 %include /usr/lib/rpm/macros.python
14 Summary: PostgreSQL Data Base Management System
15 Summary(de): PostgreSQL Datenbankverwaltungssystem
16 Summary(es): Gestor de Banco de Datos PostgreSQL
17 Summary(fr): Sysème de gestion de base de données PostgreSQL
18 Summary(pl): PostgreSQL - system bazodanowy
19 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
20 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
21 Summary(tr): Veri Tabaný Yönetim Sistemi
22 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
23 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
28 Group: Applications/Databases
29 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.gz
31 Source2: pgsql-Database-HOWTO-html.tar.gz
32 Source3: %{name}.sysconfig
33 Patch0: %{name}-configure.patch
34 Patch1: %{name}-pg_ctl-silent.patch
35 Patch2: %{name}-pg_ctl-nopsql.patch
37 URL: http://www.postgresql.org/
38 BuildRequires: autoconf
39 BuildRequires: automake
40 BuildRequires: ncurses-devel >= 5.0
41 BuildRequires: openssl-devel >= 0.9.6a
42 BuildRequires: perl-devel
43 BuildRequires: python-devel >= 2.2.1
44 BuildRequires: readline-devel >= 4.2
45 BuildRequires: rpm-pythonprov
46 BuildRequires: tcl-devel >= 8.3.2
47 BuildRequires: tk-devel >= 8.3.2
48 BuildRequires: XFree86-devel
49 BuildRequires: zlib-devel
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 Prereq: /sbin/chkconfig
53 Prereq: %{name}-clients = %{version}
54 Prereq: %{name}-libs = %{version}
55 Requires(pre): /usr/bin/getgid
56 Requires(pre): /bin/id
57 Requires(pre): /usr/sbin/groupadd
58 Requires(pre): /usr/sbin/useradd
59 Requires(pre): /usr/sbin/usermod
60 Obsoletes: postgresql-server
61 Obsoletes: postgresql-test
63 %define _pgmoduledir %{_libdir}/postgresql
64 %define _pgsqldir %{_pgmoduledir}/sql
67 PostgreSQL Data Base Management System (formerly known as Postgres,
70 PostgreSQL is an enhancement of the POSTGRES database management
71 system, a next-generation DBMS research prototype. While PostgreSQL
72 retains the powerful data model and rich data types of POSTGRES, it
73 replaces the PostQuel query language with an extended subset of SQL.
74 PostgreSQL is free and the complete source is available.
76 PostgreSQL development is being performed by a team of Internet
77 developers who all subscribe to the PostgreSQL development mailing
78 list. The current coordinator is Marc G. Fournier
79 (scrappy@postgreSQL.org). This team is now responsible for all current
80 and future development of PostgreSQL.
82 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
83 others have contributed to the porting, testing, debugging and
84 enhancement of the code. The original Postgres code, from which
85 PostgreSQL is derived, was the effort of many graduate students,
86 undergraduate students, and staff programmers working under the
87 direction of Professor Michael Stonebraker at the University of
90 The original name of the software at Berkeley was Postgres. When SQL
91 functionality was added in 1995, its name was changed to Postgres95.
92 The name was changed at the end of 1996 to PostgreSQL.
94 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
95 and most flavours of Unix.
98 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
101 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
102 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
103 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
104 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
105 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
108 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
109 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
110 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
111 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
113 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
114 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
115 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
116 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
117 Studenten und Programmierern unter der Leitung von Professor Michael
118 Stonebraker an der University of California, Berkeley.
120 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
121 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
122 entschied man sich für PostgreSQL.
124 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
125 und den meisten Unix-Systemen.
128 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
129 como Postgres, y después como Postgres95). PostgreSQL es una
130 continuación mejorada del Sistema Administrador de Banco de Datos
131 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
132 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
133 los varios tipos de datos del POSTGRES, substituye el lenguaje de
134 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
135 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
136 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
137 en la lista de desarrollo del PostgreSQL. El coordinador actual es
138 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
139 responsable por el desarrollo actual y futuro del PostgreSQL.
142 Système de gestion de bases de données PostgreSQL (D'abord nommé
143 Postgres, puis Postgres95).
145 PostgreSQL est une amélioration du système de gestion de bases de
146 données POSTGRES, un prototype de recherche de la génération suivant
147 DBMS. Tout en conservant le puissant modèle de donnée de et les types
148 de donée riches de Postgres, il remplace le langage de requêtes de
149 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
150 libre, et ses sources sont disponibles.
152 Le développement de PostgreSQL est actuellement réalisé via internet
153 parune équipe de développeurs inscrits sur la mailing-list de
154 développement de PostgreSQL. Le coordinateur actuel est Marc G
155 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
156 développemen actuel et à venir de PostgreSQL.
158 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
159 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
160 l'amélioration du code. Le code original de Postgres, duquel
161 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
162 moins haut niveau, et de programmeurs travaillant sous la direction du
163 professeur Michael Stonebraker à l'université de Berkeley Californie.
165 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
166 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
167 rebaptisé PostgreSQL en 1996.
169 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
170 et la plupart des Unix.
173 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
174 Postgres, nastêpnie jako Postgres95).
176 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
177 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
178 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
179 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
180 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
183 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
184 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
185 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
186 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
188 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
189 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
190 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
191 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
192 zespo³u programistów, którzy pracowali pod kierunkiem profesora
193 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
195 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
196 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
197 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
200 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
201 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
203 %description -l pt_BR
204 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
205 Postgres, e depois como Postgres95).
207 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
208 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
209 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
210 dados e os vários tipos de dados do POSTGRES, ele substitui a
211 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
212 PostgreSQL é livre e tem os fontes disponíveis.
214 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
215 desenvolvedores da Internet, todos subscritores da lista de
216 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
217 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
218 desenvolvimento atual e futuro do PostgreSQL.
221 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
222 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
224 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
225 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
226 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
227 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
228 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
231 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
232 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
233 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
234 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
235 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
237 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
238 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
239 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
240 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
241 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
242 California, Berkeley.
244 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
245 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
246 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
249 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
250 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
253 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
254 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
255 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
256 sorgulama dilini koyar.
259 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
260 ÐÏÔ¦Í ÑË Postgres95).
262 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
263 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
264 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
265 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
266 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
269 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
270 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
271 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
272 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
274 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
275 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
276 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
277 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
278 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
279 California, Berkeley.
281 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
282 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
283 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
285 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
286 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
289 Summary: PostgreSQL development header files and libraries
290 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
291 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
292 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
293 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
294 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
295 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
296 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
297 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
298 Group: Development/Libraries
299 Requires: %{name}-libs = %{version}
302 This package contains header files and libraries required to compile
303 applications that are talking directly to the PostgreSQL backend
306 %description devel -l de
307 Dieses Paket enthält die Header-Dateien und Libraries, die zum
308 Kompilieren von Applikationen notwendig sind, die direkt mit dem
309 PostgreSQL-Backend-Server kommunizieren.
311 %description devel -l es
312 Este paquete contiene archivos de inclusión y bibliotecas requeridas
313 para compilación de aplicativos que se comunican directamente con el
314 servidor backend PostgreSQL.
316 %description devel -l fr
317 Ce package contient les fichiers d'en-tête et les bibliothéques
318 nécessaires pour compiler des applications ayant des échanges directs
319 avec le serveur du backend PostgreSQL.
321 %description devel -l pl
322 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
323 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
325 %description devel -l pt_BR
326 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
327 compilação de aplicativos que se comunicam diretamente com o servidor
330 %description devel -l ru
331 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
332 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
334 %description devel -l tr
335 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
336 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
338 %description devel -l uk
339 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
340 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
342 %package backend-devel
343 Summary: PostgreSQL backend development header files
344 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
345 Group: Development/Libraries
346 Requires: %{name}-libs = %{version}
348 %description backend-devel
349 This package contains header files required to compile functions that
350 could be loaded directly by backend
352 %description backend-devel -l pl
353 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
354 bezposrednio ladowane przez beckend serwera PostgreSQL.
357 Summary: Clients needed to access a PostgreSQL server
358 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
359 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
360 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
361 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
362 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
363 Group: Applications/Databases
364 Requires: %{name}-libs = %{version}
367 This package includes only the clients needed to access an PostgreSQL
368 server. The server is included in the main package. If all you need is
369 to connect to another PostgreSQL server, the this is the only package
370 you need to install. Clients include several command-line utilities
371 you can use to manage your databases on a remote PostgreSQL server.
373 %description clients -l es
374 Este paquete incluye solamente los clientes necesarios para acceder un
375 servidor PostgreSQL. El servidor está en el paquete principal.
377 %description clients -l pl
378 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
379 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
380 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
382 %description clients -l pt_BR
383 Este pacote inclui somente os clientes necessários para acessar um
384 servidor PostgreSQL. O servidor está no pacote principal.
386 %description clients -l ru
387 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
388 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
389 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
390 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
392 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
393 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
396 %description clients -l uk
397 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
398 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
399 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
400 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
402 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
403 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
405 %package -n python-postgresql
406 Summary: The python-based client programs needed for accessing a PostgreSQL server
407 Summary(es): Módulo Python para acceder un servidor PostgreSQL
408 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
409 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
410 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
411 Group: Libraries/Python
412 Requires: python >= 2.0
413 Requires: python-mx-DateTime
414 Requires: %{name}-libs = %{version}
415 Obsoletes: python-PyGreSQL
416 Obsoletes: postgresql-python
418 %description -n python-postgresql
419 postgresql-python includes the python-based client programs and client
420 libraries that you'll need to access a PostgreSQL database management
423 %description -n python-postgresql -l es
424 Módulo Python para acceder un servidor PostgreSQL
426 %description -n python-postgresql -l pl
427 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
428 do dostêpu do serwera baz danych PostgreSQL.
430 %description -n python-postgresql -l pt_BR
431 Módulo Python para acesso ao servidor PostgreSQL.
434 Summary: Documentation for PostgreSQL
435 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
436 Group: Applications/Databases
439 This package includes documentation and HOWTO for programmer, admin
440 etc., in HTML format.
442 %description doc -l pl
443 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
444 administratorów w formacie HTML.
447 Summary: PostgreSQL libraries
448 Summary(es): Biblioteca compartida del PostgreSQL
449 Summary(pl): Biblioteki dzielone programu PostgreSQL
450 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
451 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â.
455 PostgreSQL shared libraries.
457 %description libs -l es
458 Este paquete contiene la biblioteca compartida para acceso al
461 %description libs -l pl
462 Biblioteki dzielone programu PostgreSQL.
464 %description libs -l pt_BR
465 Este pacote contém a biblioteca compartilhada para acesso ao
469 Summary: PostgreSQL static libraries
470 Summary(es): Bibliotecas estaticas PostgreSQL
471 Summary(pl): Biblioteki statyczne programu PostgreSQL
472 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
473 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
474 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
475 Group: Development/Libraries
476 Requires: %{name}-devel = %{version}
479 PostgreSQL static libraries.
481 %description static -l es
482 Este paquete contiene bibliotecas estaticas requerida para compilación
483 de aplicativos que se comunican directamente con el servidor backend
486 %description static -l pl
487 Biblioteki statyczne programu PostgreSQL.
489 %description static -l pt_BR
490 Este pacote contém as bibliotecas estáticas requeridas para compilação
491 de aplicativos que se comunicam diretamente com o servidor backend
494 %description static -l ru
495 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
496 ×ÈÏÄÑÔ × %{name}-devel.
498 %description static -l uk
499 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
503 Summary: tcl interface for PostgreSQL
504 Summary(es): Bibliotecas y shell TCL para acceder un servidor PostgreSQL
505 Summary(pl): Interfejs tcl dla PostgreSQL
506 Summary(pt_BR): Bibliotecas e shell para programas em TCL acessarem o servidor PostgreSQL
507 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ tcl
508 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú tcl
509 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
510 Group: Development/Languages/Tcl
511 Requires: %{name}-libs = %{version}
514 tcl interface for PostgreSQL.
516 %description tcl -l es
517 Bibliotecas y shell TCL para acceder un servidor PostgreSQL
519 %description tcl -l pl
520 Interfejs tcl dla PostgreSQL.
522 %description tcl -l pt_BR
523 Bibliotecas e shell para programas em TCL acessarem o servidor
526 %description tcl -l ru
527 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ tcl.
529 %description tcl -l uk
530 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É tcl.
533 Summary: Development part of tcl interface for PostgreSQL
534 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
535 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
536 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
537 Group: Development/Languages/Tcl
538 Requires: %{name}-tcl = %{version}
539 Requires: %{name}-devel = %{version}
541 %description tcl-devel
542 Development part of tcl interface for PostgreSQL.
544 %description tcl-devel -l pl
545 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
547 %description tcl-devel -l ru
548 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
549 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
550 ËÏÄ ÉÌÉ API libtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
552 %description tcl-devel -l uk
553 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
554 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
555 API libtcl (tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
558 Summary: Static libraries of tcl interface for PostgreSQL
559 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
560 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
561 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
562 Group: Development/Languages/Tcl
563 Requires: %{name}-tcl-devel = %{version}
565 %description tcl-static
566 Static libraries of tcl interface for PostgreSQL.
568 %description tcl-static -l pl
569 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
571 %description tcl-static -l ru
572 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
573 ×ÈÏÄÑÔ × %{_name}-tcl-devel.
575 %description tcl-static -l uk
576 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
579 %package module-plpgsql
580 Summary: PL/pgSQL - PostgreSQL procedural language
581 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
582 Group: Applications/Databases
583 Requires: %{name} = %{version}
585 %description module-plpgsql
586 From PostgreSQL documentation.
588 Postgres supports the definition of procedural languages. In the case
589 of a function or trigger procedure defined in a procedural language,
590 the database has no built-in knowledge about how to interpret the
591 function's source text. Instead, the task is passed to a handler that
592 knows the details of the language. The handler itself is a special
593 programming language function compiled into a shared object and loaded
596 To enable PL/pgSQL procedural language for your database you have to
597 run createlang command.
599 %description module-plpgsql -l pl
600 Z dokumentacji PostgreSQL.
602 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
603 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
604 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
605 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
606 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
607 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
610 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
611 proceduralnego PL/pgSQL dla swojej bazy danych.
613 %package module-plperl
614 Summary: PL/perl - PostgreSQL procedural language
615 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
616 Group: Applications/Databases
617 Requires: %{name} = %{version}
620 %description module-plperl
621 From PostgreSQL documentation.
623 Postgres supports the definition of procedural languages. In the case
624 of a function or trigger procedure defined in a procedural language,
625 the database has no built-in knowledge about how to interpret the
626 function's source text. Instead, the task is passed to a handler that
627 knows the details of the language. The handler itself is a special
628 programming language function compiled into a shared object and loaded
631 To enable PL/perl procedural language for your database you have to
632 run createlang command.
634 %description module-plperl -l pl
635 Z dokumentacji PostgreSQL.
637 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
638 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
639 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
640 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
641 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
642 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
645 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
646 proceduralnego PL/perl dla swojej bazy danych.
648 %package module-plpython
649 Summary: PL/python - PostgreSQL procedural language
650 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
651 Group: Applications/Databases
652 Requires: %{name} = %{version}
653 %pyrequires_eq python
655 %description module-plpython
656 From PostgreSQL documentation.
658 Postgres supports the definition of procedural languages. In the case
659 of a function or trigger procedure defined in a procedural language,
660 the database has no built-in knowledge about how to interpret the
661 function's source text. Instead, the task is passed to a handler that
662 knows the details of the language. The handler itself is a special
663 programming language function compiled into a shared object and loaded
666 To enable PL/python procedural language for your database you have to
667 run createlang command.
669 %description module-plpython -l pl
670 Z dokumentacji PostgreSQL.
672 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
673 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
674 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
675 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
676 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
677 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
680 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
681 proceduralnego PL/python dla swojej bazy danych.
683 %package module-pltcl
684 Summary: PL/TCL - PostgreSQL procedural language
685 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
686 Group: Applications/Databases
687 Requires: %{name} = %{version}
689 %description module-pltcl
690 From PostgreSQL documentation.
692 Postgres supports the definition of procedural languages. In the case
693 of a function or trigger procedure defined in a procedural language,
694 the database has no built-in knowledge about how to interpret the
695 function's source text. Instead, the task is passed to a handler that
696 knows the details of the language. The handler itself is a special
697 programming language function compiled into a shared object and loaded
700 To enable PL/TCL procedural language for your database you have to run
703 %description module-pltcl -l pl
704 Z dokumentacji PostgreSQL.
706 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
707 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
708 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
709 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
710 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
711 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
714 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
715 proceduralnego PL/TCL dla swojej bazy danych.
723 tar xzf doc/man*.tar.gz
726 tar zxf doc/postgres.tar.gz -C doc/unpacked
729 rm -fR `find contrib/ -type d -name CVS`
732 rm -f config/libtool.m4
733 %{__aclocal} -I config
736 %{!?_without_pgsql_locale:--enable-locale} \
737 %{!?_without_pgsql_multibyte:--enable-multibyte} \
742 --enable-unicode-conversion \
751 %{?_with_jdbc: --with-java}
754 %ifnarch sparc sparcv9 sparc64 alpha ppc
755 %{!?_without_tests: %{__make} check }
759 rm -rf $RPM_BUILD_ROOT
760 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
761 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
762 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
763 $RPM_BUILD_ROOT/home/services/postgres
765 %{__make} install install-all-headers \
766 DESTDIR=$RPM_BUILD_ROOT
768 %{__make} install -C src/pl/plperl \
769 DESTDIR=$RPM_BUILD_ROOT
771 touch $RPM_BUILD_ROOT/var/log/pgsql
773 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
774 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
776 cp -a man? $RPM_BUILD_ROOT%{_mandir}
778 # there are html installed, remove them
779 rm -rf $RPM_BUILD_ROOT%{_infodir}
783 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
786 %py_comp $RPM_BUILD_ROOT%{py_libdir}
787 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
790 rm -rf $RPM_BUILD_ROOT
793 echo "If you are upgrading from *pre* 7.3 version,"
794 echo "then please downgrade and dump your databases."
796 echo "Warning for upgrade from version *before* 7.2."
797 echo "Please note, that postgresql module path changed from"
798 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
799 echo "in dump file before restore."
801 echo "Warning for upgrade from version *before* 7.3."
802 echo "Reading following webpage is encouraged:"
803 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
805 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
806 if id postgres >/dev/null 2>&1 ; then
807 /usr/sbin/usermod -d /home/services/postgres postgres
809 /usr/sbin/useradd -M -o -r -u 88 \
810 -d /home/services/postgres -s /bin/sh -g postgres \
811 -c "PostgreSQL Server" postgres
815 /sbin/chkconfig --add postgresql
817 if [ -f /var/lock/subsys/postgresql ]; then
818 /etc/rc.d/init.d/postgresql restart >&2
820 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
824 if [ "$1" = "0" ]; then
825 if [ -f /var/lock/subsys/postgresql ]; then
826 /etc/rc.d/init.d/postgresql stop
828 /sbin/chkconfig --del postgresql
831 %post libs -p /sbin/ldconfig
832 %postun libs -p /sbin/ldconfig
834 %post tcl -p /sbin/ldconfig
835 %postun tcl -p /sbin/ldconfig
838 %defattr(644,root,root,755)
839 %attr(754,root,root) /etc/rc.d/init.d/*
840 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
842 %attr(755,root,root) %{_bindir}/clusterdb
843 %attr(755,root,root) %{_bindir}/createdb
844 %attr(755,root,root) %{_bindir}/createlang
845 %attr(755,root,root) %{_bindir}/createuser
846 %attr(755,root,root) %{_bindir}/dropdb
847 %attr(755,root,root) %{_bindir}/droplang
848 %attr(755,root,root) %{_bindir}/dropuser
849 %attr(755,root,root) %{_bindir}/initdb
850 %attr(755,root,root) %{_bindir}/initlocation
851 %attr(755,root,root) %{_bindir}/ipcclean
852 %attr(755,root,root) %{_bindir}/pg_config
853 %attr(755,root,root) %{_bindir}/pg_controldata
854 %attr(755,root,root) %{_bindir}/pg_ctl
855 %attr(755,root,root) %{_bindir}/pg_encoding
856 %attr(755,root,root) %{_bindir}/pg_resetxlog
857 %attr(755,root,root) %{_bindir}/postgres
858 %attr(755,root,root) %{_bindir}/postmaster
860 %attr(755,root,root) %{_pgmoduledir}/ascii*
861 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
862 %attr(755,root,root) %{_pgmoduledir}/euc*
863 %attr(755,root,root) %{_pgmoduledir}/latin*
864 %attr(755,root,root) %{_pgmoduledir}/utf*
868 %{_datadir}/postgresql/*.bki
869 %{_datadir}/postgresql/*.sample
870 %{_datadir}/postgresql/*.description
871 %{_datadir}/postgresql/*.sql
873 %attr(700,postgres,postgres) /home/services/postgres
874 %attr(700,postgres,postgres) %dir /var/lib/pgsql
875 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
877 %{_mandir}/man1/clusterdb.1*
878 %{_mandir}/man1/createdb.1*
879 %{_mandir}/man1/createlang.1*
880 %{_mandir}/man1/createuser.1*
881 %{_mandir}/man1/dropdb.1*
882 %{_mandir}/man1/droplang.1*
883 %{_mandir}/man1/dropuser.1*
884 %{_mandir}/man1/initdb.1*
885 %{_mandir}/man1/initlocation.1*
886 %{_mandir}/man1/ipcclean.1*
887 %{_mandir}/man1/pg_config.1*
888 %{_mandir}/man1/pg_controldata.1*
889 %{_mandir}/man1/pg_ctl.1*
890 %{_mandir}/man1/pg_resetxlog.1*
891 %{_mandir}/man1/postgres.1*
892 %{_mandir}/man1/postmaster.1*
897 %doc doc/FAQ* doc/README*
898 %doc COPYRIGHT README HISTORY doc/bug.template
901 %defattr(644,root,root,755)
906 %defattr(644,root,root,755)
907 %attr(755,root,root) %{_libdir}/libpq.so.*.*
908 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
909 %attr(755,root,root) %{_bindir}/pg_id
912 %defattr(644,root,root,755)
913 %attr(755,root,root) %{_bindir}/ecpg
914 %attr(755,root,root) %{_libdir}/libecpg.so
915 %attr(755,root,root) %{_libdir}/libpq.so
916 %dir %{_includedir}/postgresql
917 %{_includedir}/pg_config.h
918 %{_includedir}/pg_config_os.h
919 %{_includedir}/ecpgerrno.h
920 %{_includedir}/ecpglib.h
921 %{_includedir}/ecpgtype.h
922 %{_includedir}/libpq-fe.h
923 %{_includedir}/postgres_ext.h
924 %{_includedir}/sql3types.h
925 %{_includedir}/sqlca.h
926 %dir %{_includedir}/postgresql/internal
927 %{_includedir}/postgresql/internal/c.h
928 %{_includedir}/postgresql/internal/libpq-int.h
929 %{_includedir}/postgresql/internal/postgres_fe.h
930 %{_includedir}/postgresql/internal/pqexpbuffer.h
931 %{_includedir}/postgresql/internal/lib
932 %{_includedir}/postgresql/internal/libpq
934 %{_mandir}/man1/ecpg.1*
937 %defattr(644,root,root,755)
938 %{_includedir}/postgresql/server
941 %defattr(644,root,root,755)
946 %defattr(644,root,root,755)
947 %attr(755,root,root) %{_bindir}/pg_dump
948 %attr(755,root,root) %{_bindir}/pg_dumpall
949 %attr(755,root,root) %{_bindir}/pg_restore
950 %attr(755,root,root) %{_bindir}/psql
951 %attr(755,root,root) %{_bindir}/vacuumdb
953 %{_mandir}/man1/pg_dump.1*
954 %{_mandir}/man1/pg_dumpall.1*
955 %{_mandir}/man1/pg_restore.1*
956 %{_mandir}/man1/psql.1*
957 %{_mandir}/man1/vacuumdb.1*
960 %files -n python-postgresql
961 %defattr(644,root,root,755)
962 %doc src/interfaces/python/{README*,ChangeLog}
965 %attr(755,root,root) %{py_sitedir}/*.so
968 %defattr(644,root,root,755)
969 %attr(755,root,root) %{_libdir}/libpgtcl.so
970 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
971 %attr(755,root,root) %{_bindir}/pgtclsh
972 %attr(755,root,root) %{_bindir}/pgtksh
973 %{_mandir}/man1/pgtclsh.1*
974 %{_mandir}/man1/pgtksh.1*
977 %defattr(644,root,root,755)
978 %{_includedir}/libpgtcl.h
981 %defattr(644,root,root,755)
982 %{_libdir}/libpgtcl.a
984 %files module-plpgsql
985 %defattr(644,root,root,755)
986 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
989 %defattr(644,root,root,755)
990 %attr(755,root,root) %{_pgmoduledir}/plperl.so
992 %files module-plpython
993 %defattr(644,root,root,755)
994 %attr(755,root,root) %{_pgmoduledir}/plpython.so
997 %defattr(644,root,root,755)
998 %attr(755,root,root) %{_bindir}/pltcl_*
999 %attr(755,root,root) %{_pgmoduledir}/pltcl.so