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: pam-devel
43 BuildRequires: perl-devel
44 BuildRequires: python-devel >= 2.2.1
45 BuildRequires: readline-devel >= 4.2
46 BuildRequires: rpm-pythonprov
47 BuildRequires: tcl-devel >= 8.3.2
48 BuildRequires: tk-devel >= 8.3.2
49 BuildRequires: XFree86-devel
50 BuildRequires: zlib-devel
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 Prereq: /sbin/chkconfig
54 Prereq: %{name}-clients = %{version}
55 Prereq: %{name}-libs = %{version}
56 Requires(pre): /usr/bin/getgid
57 Requires(pre): /bin/id
58 Requires(pre): /usr/sbin/groupadd
59 Requires(pre): /usr/sbin/useradd
60 Requires(pre): /usr/sbin/usermod
61 Obsoletes: postgresql-server
62 Obsoletes: postgresql-test
64 %define _pgmoduledir %{_libdir}/postgresql
65 %define _pgsqldir %{_pgmoduledir}/sql
68 PostgreSQL Data Base Management System (formerly known as Postgres,
71 PostgreSQL is an enhancement of the POSTGRES database management
72 system, a next-generation DBMS research prototype. While PostgreSQL
73 retains the powerful data model and rich data types of POSTGRES, it
74 replaces the PostQuel query language with an extended subset of SQL.
75 PostgreSQL is free and the complete source is available.
77 PostgreSQL development is being performed by a team of Internet
78 developers who all subscribe to the PostgreSQL development mailing
79 list. The current coordinator is Marc G. Fournier
80 (scrappy@postgreSQL.org). This team is now responsible for all current
81 and future development of PostgreSQL.
83 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
84 others have contributed to the porting, testing, debugging and
85 enhancement of the code. The original Postgres code, from which
86 PostgreSQL is derived, was the effort of many graduate students,
87 undergraduate students, and staff programmers working under the
88 direction of Professor Michael Stonebraker at the University of
91 The original name of the software at Berkeley was Postgres. When SQL
92 functionality was added in 1995, its name was changed to Postgres95.
93 The name was changed at the end of 1996 to PostgreSQL.
95 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
96 and most flavours of Unix.
99 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
102 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
103 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
104 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
105 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
106 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
109 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
110 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
111 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
112 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
114 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
115 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
116 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
117 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
118 Studenten und Programmierern unter der Leitung von Professor Michael
119 Stonebraker an der University of California, Berkeley.
121 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
122 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
123 entschied man sich für PostgreSQL.
125 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
126 und den meisten Unix-Systemen.
129 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
130 como Postgres, y después como Postgres95). PostgreSQL es una
131 continuación mejorada del Sistema Administrador de Banco de Datos
132 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
133 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
134 los varios tipos de datos del POSTGRES, substituye el lenguaje de
135 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
136 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
137 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
138 en la lista de desarrollo del PostgreSQL. El coordinador actual es
139 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
140 responsable por el desarrollo actual y futuro del PostgreSQL.
143 Système de gestion de bases de données PostgreSQL (D'abord nommé
144 Postgres, puis Postgres95).
146 PostgreSQL est une amélioration du système de gestion de bases de
147 données POSTGRES, un prototype de recherche de la génération suivant
148 DBMS. Tout en conservant le puissant modèle de donnée de et les types
149 de donée riches de Postgres, il remplace le langage de requêtes de
150 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
151 libre, et ses sources sont disponibles.
153 Le développement de PostgreSQL est actuellement réalisé via internet
154 parune équipe de développeurs inscrits sur la mailing-list de
155 développement de PostgreSQL. Le coordinateur actuel est Marc G
156 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
157 développemen actuel et à venir de PostgreSQL.
159 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
160 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
161 l'amélioration du code. Le code original de Postgres, duquel
162 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
163 moins haut niveau, et de programmeurs travaillant sous la direction du
164 professeur Michael Stonebraker à l'université de Berkeley Californie.
166 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
167 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
168 rebaptisé PostgreSQL en 1996.
170 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
171 et la plupart des Unix.
174 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
175 Postgres, nastêpnie jako Postgres95).
177 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
178 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
179 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
180 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
181 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
184 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
185 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
186 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
187 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
189 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
190 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
191 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
192 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
193 zespo³u programistów, którzy pracowali pod kierunkiem profesora
194 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
196 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
197 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
198 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
201 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
202 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
204 %description -l pt_BR
205 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
206 Postgres, e depois como Postgres95).
208 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
209 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
210 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
211 dados e os vários tipos de dados do POSTGRES, ele substitui a
212 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
213 PostgreSQL é livre e tem os fontes disponíveis.
215 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
216 desenvolvedores da Internet, todos subscritores da lista de
217 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
218 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
219 desenvolvimento atual e futuro do PostgreSQL.
222 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
223 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
225 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
226 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
227 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
228 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
229 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
232 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
233 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
234 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
235 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
236 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
238 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
239 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
240 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
241 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
242 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
243 California, Berkeley.
245 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
246 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
247 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
250 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
251 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
254 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
255 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
256 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
257 sorgulama dilini koyar.
260 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
261 ÐÏÔ¦Í ÑË Postgres95).
263 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
264 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
265 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
266 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
267 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
270 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
271 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
272 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
273 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
275 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
276 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
277 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
278 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
279 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
280 California, Berkeley.
282 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
283 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
284 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
286 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
287 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
290 Summary: PostgreSQL development header files and libraries
291 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
292 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
293 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
294 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
295 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
296 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
297 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
298 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
299 Group: Development/Libraries
300 Requires: %{name}-libs = %{version}
303 This package contains header files and libraries required to compile
304 applications that are talking directly to the PostgreSQL backend
307 %description devel -l de
308 Dieses Paket enthält die Header-Dateien und Libraries, die zum
309 Kompilieren von Applikationen notwendig sind, die direkt mit dem
310 PostgreSQL-Backend-Server kommunizieren.
312 %description devel -l es
313 Este paquete contiene archivos de inclusión y bibliotecas requeridas
314 para compilación de aplicativos que se comunican directamente con el
315 servidor backend PostgreSQL.
317 %description devel -l fr
318 Ce package contient les fichiers d'en-tête et les bibliothéques
319 nécessaires pour compiler des applications ayant des échanges directs
320 avec le serveur du backend PostgreSQL.
322 %description devel -l pl
323 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
324 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
326 %description devel -l pt_BR
327 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
328 compilação de aplicativos que se comunicam diretamente com o servidor
331 %description devel -l ru
332 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
333 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
335 %description devel -l tr
336 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
337 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
339 %description devel -l uk
340 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
341 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
343 %package backend-devel
344 Summary: PostgreSQL backend development header files
345 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
346 Group: Development/Libraries
347 Requires: %{name}-libs = %{version}
349 %description backend-devel
350 This package contains header files required to compile functions that
351 could be loaded directly by backend
353 %description backend-devel -l pl
354 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
355 bezposrednio ladowane przez beckend serwera PostgreSQL.
358 Summary: Clients needed to access a PostgreSQL server
359 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
360 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
361 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
362 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
363 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
364 Group: Applications/Databases
365 Requires: %{name}-libs = %{version}
368 This package includes only the clients needed to access an PostgreSQL
369 server. The server is included in the main package. If all you need is
370 to connect to another PostgreSQL server, the this is the only package
371 you need to install. Clients include several command-line utilities
372 you can use to manage your databases on a remote PostgreSQL server.
374 %description clients -l es
375 Este paquete incluye solamente los clientes necesarios para acceder un
376 servidor PostgreSQL. El servidor está en el paquete principal.
378 %description clients -l pl
379 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
380 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
381 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
383 %description clients -l pt_BR
384 Este pacote inclui somente os clientes necessários para acessar um
385 servidor PostgreSQL. O servidor está no pacote principal.
387 %description clients -l ru
388 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
389 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
390 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
391 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
393 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
394 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
397 %description clients -l uk
398 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
399 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
400 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
401 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
403 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
404 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
406 %package -n python-postgresql
407 Summary: The python-based client programs needed for accessing a PostgreSQL server
408 Summary(es): Módulo Python para acceder un servidor PostgreSQL
409 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
410 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
411 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
412 Group: Libraries/Python
413 Requires: python >= 2.0
414 Requires: python-mx-DateTime
415 Requires: %{name}-libs = %{version}
416 Obsoletes: python-PyGreSQL
417 Obsoletes: postgresql-python
419 %description -n python-postgresql
420 postgresql-python includes the python-based client programs and client
421 libraries that you'll need to access a PostgreSQL database management
424 %description -n python-postgresql -l es
425 Módulo Python para acceder un servidor PostgreSQL
427 %description -n python-postgresql -l pl
428 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
429 do dostêpu do serwera baz danych PostgreSQL.
431 %description -n python-postgresql -l pt_BR
432 Módulo Python para acesso ao servidor PostgreSQL.
435 Summary: Documentation for PostgreSQL
436 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
437 Group: Applications/Databases
440 This package includes documentation and HOWTO for programmer, admin
441 etc., in HTML format.
443 %description doc -l pl
444 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
445 administratorów w formacie HTML.
448 Summary: PostgreSQL libraries
449 Summary(es): Biblioteca compartida del PostgreSQL
450 Summary(pl): Biblioteki dzielone programu PostgreSQL
451 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
452 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
456 PostgreSQL shared libraries.
458 %description libs -l es
459 Este paquete contiene la biblioteca compartida para acceso al
462 %description libs -l pl
463 Biblioteki dzielone programu PostgreSQL.
465 %description libs -l pt_BR
466 Este pacote contém a biblioteca compartilhada para acesso ao
470 Summary: PostgreSQL static libraries
471 Summary(es): Bibliotecas estaticas PostgreSQL
472 Summary(pl): Biblioteki statyczne programu PostgreSQL
473 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
474 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
475 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
476 Group: Development/Libraries
477 Requires: %{name}-devel = %{version}
480 PostgreSQL static libraries.
482 %description static -l es
483 Este paquete contiene bibliotecas estaticas requerida para compilación
484 de aplicativos que se comunican directamente con el servidor backend
487 %description static -l pl
488 Biblioteki statyczne programu PostgreSQL.
490 %description static -l pt_BR
491 Este pacote contém as bibliotecas estáticas requeridas para compilação
492 de aplicativos que se comunicam diretamente com o servidor backend
495 %description static -l ru
496 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
497 ×ÈÏÄÑÔ × %{name}-devel.
499 %description static -l uk
500 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
504 Summary: tcl interface for PostgreSQL
505 Summary(es): Bibliotecas y shell TCL para acceder un servidor PostgreSQL
506 Summary(pl): Interfejs tcl dla PostgreSQL
507 Summary(pt_BR): Bibliotecas e shell para programas em TCL acessarem o servidor PostgreSQL
508 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ tcl
509 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú tcl
510 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
511 Group: Development/Languages/Tcl
512 Requires: %{name}-libs = %{version}
515 tcl interface for PostgreSQL.
517 %description tcl -l es
518 Bibliotecas y shell TCL para acceder un servidor PostgreSQL
520 %description tcl -l pl
521 Interfejs tcl dla PostgreSQL.
523 %description tcl -l pt_BR
524 Bibliotecas e shell para programas em TCL acessarem o servidor
527 %description tcl -l ru
528 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ tcl.
530 %description tcl -l uk
531 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É tcl.
534 Summary: Development part of tcl interface for PostgreSQL
535 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
536 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
537 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
538 Group: Development/Languages/Tcl
539 Requires: %{name}-tcl = %{version}
540 Requires: %{name}-devel = %{version}
542 %description tcl-devel
543 Development part of tcl interface for PostgreSQL.
545 %description tcl-devel -l pl
546 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
548 %description tcl-devel -l ru
549 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
550 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
551 ËÏÄ ÉÌÉ API libtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
553 %description tcl-devel -l uk
554 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
555 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
556 API libtcl (tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
559 Summary: Static libraries of tcl interface for PostgreSQL
560 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
561 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
562 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
563 Group: Development/Languages/Tcl
564 Requires: %{name}-tcl-devel = %{version}
566 %description tcl-static
567 Static libraries of tcl interface for PostgreSQL.
569 %description tcl-static -l pl
570 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
572 %description tcl-static -l ru
573 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
574 ×ÈÏÄÑÔ × %{_name}-tcl-devel.
576 %description tcl-static -l uk
577 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
580 %package module-plpgsql
581 Summary: PL/pgSQL - PostgreSQL procedural language
582 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
583 Group: Applications/Databases
584 Requires: %{name} = %{version}
586 %description module-plpgsql
587 From PostgreSQL documentation.
589 Postgres supports the definition of procedural languages. In the case
590 of a function or trigger procedure defined in a procedural language,
591 the database has no built-in knowledge about how to interpret the
592 function's source text. Instead, the task is passed to a handler that
593 knows the details of the language. The handler itself is a special
594 programming language function compiled into a shared object and loaded
597 To enable PL/pgSQL procedural language for your database you have to
598 run createlang command.
600 %description module-plpgsql -l pl
601 Z dokumentacji PostgreSQL.
603 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
604 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
605 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
606 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
607 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
608 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
611 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
612 proceduralnego PL/pgSQL dla swojej bazy danych.
614 %package module-plperl
615 Summary: PL/perl - PostgreSQL procedural language
616 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
617 Group: Applications/Databases
618 Requires: %{name} = %{version}
621 %description module-plperl
622 From PostgreSQL documentation.
624 Postgres supports the definition of procedural languages. In the case
625 of a function or trigger procedure defined in a procedural language,
626 the database has no built-in knowledge about how to interpret the
627 function's source text. Instead, the task is passed to a handler that
628 knows the details of the language. The handler itself is a special
629 programming language function compiled into a shared object and loaded
632 To enable PL/perl procedural language for your database you have to
633 run createlang command.
635 %description module-plperl -l pl
636 Z dokumentacji PostgreSQL.
638 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
639 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
640 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
641 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
642 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
643 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
646 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
647 proceduralnego PL/perl dla swojej bazy danych.
649 %package module-plpython
650 Summary: PL/python - PostgreSQL procedural language
651 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
652 Group: Applications/Databases
653 Requires: %{name} = %{version}
654 %pyrequires_eq python
656 %description module-plpython
657 From PostgreSQL documentation.
659 Postgres supports the definition of procedural languages. In the case
660 of a function or trigger procedure defined in a procedural language,
661 the database has no built-in knowledge about how to interpret the
662 function's source text. Instead, the task is passed to a handler that
663 knows the details of the language. The handler itself is a special
664 programming language function compiled into a shared object and loaded
667 To enable PL/python procedural language for your database you have to
668 run createlang command.
670 %description module-plpython -l pl
671 Z dokumentacji PostgreSQL.
673 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
674 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
675 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
676 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
677 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
678 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
681 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
682 proceduralnego PL/python dla swojej bazy danych.
684 %package module-pltcl
685 Summary: PL/TCL - PostgreSQL procedural language
686 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
687 Group: Applications/Databases
688 Requires: %{name} = %{version}
690 %description module-pltcl
691 From PostgreSQL documentation.
693 Postgres supports the definition of procedural languages. In the case
694 of a function or trigger procedure defined in a procedural language,
695 the database has no built-in knowledge about how to interpret the
696 function's source text. Instead, the task is passed to a handler that
697 knows the details of the language. The handler itself is a special
698 programming language function compiled into a shared object and loaded
701 To enable PL/TCL procedural language for your database you have to run
704 %description module-pltcl -l pl
705 Z dokumentacji PostgreSQL.
707 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
708 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
709 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
710 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
711 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
712 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
715 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
716 proceduralnego PL/TCL dla swojej bazy danych.
724 tar xzf doc/man*.tar.gz
727 tar zxf doc/postgres.tar.gz -C doc/unpacked
730 rm -fR `find contrib/ -type d -name CVS`
733 rm -f config/libtool.m4
734 %{__aclocal} -I config
737 %{!?_without_pgsql_locale:--enable-locale} \
738 %{!?_without_pgsql_multibyte:--enable-multibyte} \
743 --enable-unicode-conversion \
752 %{?_with_jdbc: --with-java}
755 %ifnarch sparc sparcv9 sparc64 alpha ppc
756 %{!?_without_tests: %{__make} check }
760 rm -rf $RPM_BUILD_ROOT
761 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
762 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
763 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
764 $RPM_BUILD_ROOT/home/services/postgres
766 %{__make} install install-all-headers \
767 DESTDIR=$RPM_BUILD_ROOT
769 %{__make} install -C src/pl/plperl \
770 DESTDIR=$RPM_BUILD_ROOT
772 touch $RPM_BUILD_ROOT/var/log/pgsql
774 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
775 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
777 cp -a man? $RPM_BUILD_ROOT%{_mandir}
779 # there are html installed, remove them
780 rm -rf $RPM_BUILD_ROOT%{_infodir}
784 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
787 %py_comp $RPM_BUILD_ROOT%{py_libdir}
788 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
791 rm -rf $RPM_BUILD_ROOT
794 echo "If you are upgrading from *pre* 7.3 version,"
795 echo "then please downgrade and dump your databases."
797 echo "Warning for upgrade from version *before* 7.2."
798 echo "Please note, that postgresql module path changed from"
799 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
800 echo "in dump file before restore."
802 echo "Warning for upgrade from version *before* 7.3."
803 echo "Reading following webpage is encouraged:"
804 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
806 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
807 if id postgres >/dev/null 2>&1 ; then
808 /usr/sbin/usermod -d /home/services/postgres postgres
810 /usr/sbin/useradd -M -o -r -u 88 \
811 -d /home/services/postgres -s /bin/sh -g postgres \
812 -c "PostgreSQL Server" postgres
816 /sbin/chkconfig --add postgresql
818 if [ -f /var/lock/subsys/postgresql ]; then
819 /etc/rc.d/init.d/postgresql restart >&2
821 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
825 if [ "$1" = "0" ]; then
826 if [ -f /var/lock/subsys/postgresql ]; then
827 /etc/rc.d/init.d/postgresql stop
829 /sbin/chkconfig --del postgresql
832 %post libs -p /sbin/ldconfig
833 %postun libs -p /sbin/ldconfig
835 %post tcl -p /sbin/ldconfig
836 %postun tcl -p /sbin/ldconfig
839 %defattr(644,root,root,755)
840 %attr(754,root,root) /etc/rc.d/init.d/*
841 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
843 %attr(755,root,root) %{_bindir}/clusterdb
844 %attr(755,root,root) %{_bindir}/createdb
845 %attr(755,root,root) %{_bindir}/createlang
846 %attr(755,root,root) %{_bindir}/createuser
847 %attr(755,root,root) %{_bindir}/dropdb
848 %attr(755,root,root) %{_bindir}/droplang
849 %attr(755,root,root) %{_bindir}/dropuser
850 %attr(755,root,root) %{_bindir}/initdb
851 %attr(755,root,root) %{_bindir}/initlocation
852 %attr(755,root,root) %{_bindir}/ipcclean
853 %attr(755,root,root) %{_bindir}/pg_config
854 %attr(755,root,root) %{_bindir}/pg_controldata
855 %attr(755,root,root) %{_bindir}/pg_ctl
856 %attr(755,root,root) %{_bindir}/pg_encoding
857 %attr(755,root,root) %{_bindir}/pg_resetxlog
858 %attr(755,root,root) %{_bindir}/postgres
859 %attr(755,root,root) %{_bindir}/postmaster
861 %attr(755,root,root) %{_pgmoduledir}/ascii*
862 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
863 %attr(755,root,root) %{_pgmoduledir}/euc*
864 %attr(755,root,root) %{_pgmoduledir}/latin*
865 %attr(755,root,root) %{_pgmoduledir}/utf*
869 %{_datadir}/postgresql/*.bki
870 %{_datadir}/postgresql/*.sample
871 %{_datadir}/postgresql/*.description
872 %{_datadir}/postgresql/*.sql
874 %attr(700,postgres,postgres) /home/services/postgres
875 %attr(700,postgres,postgres) %dir /var/lib/pgsql
876 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
878 %{_mandir}/man1/clusterdb.1*
879 %{_mandir}/man1/createdb.1*
880 %{_mandir}/man1/createlang.1*
881 %{_mandir}/man1/createuser.1*
882 %{_mandir}/man1/dropdb.1*
883 %{_mandir}/man1/droplang.1*
884 %{_mandir}/man1/dropuser.1*
885 %{_mandir}/man1/initdb.1*
886 %{_mandir}/man1/initlocation.1*
887 %{_mandir}/man1/ipcclean.1*
888 %{_mandir}/man1/pg_config.1*
889 %{_mandir}/man1/pg_controldata.1*
890 %{_mandir}/man1/pg_ctl.1*
891 %{_mandir}/man1/pg_resetxlog.1*
892 %{_mandir}/man1/postgres.1*
893 %{_mandir}/man1/postmaster.1*
898 %doc doc/FAQ* doc/README*
899 %doc COPYRIGHT README HISTORY doc/bug.template
902 %defattr(644,root,root,755)
907 %defattr(644,root,root,755)
908 %attr(755,root,root) %{_libdir}/libpq.so.*.*
909 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
910 %attr(755,root,root) %{_bindir}/pg_id
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{_bindir}/ecpg
915 %attr(755,root,root) %{_libdir}/libecpg.so
916 %attr(755,root,root) %{_libdir}/libpq.so
917 %dir %{_includedir}/postgresql
918 %{_includedir}/pg_config.h
919 %{_includedir}/pg_config_os.h
920 %{_includedir}/ecpgerrno.h
921 %{_includedir}/ecpglib.h
922 %{_includedir}/ecpgtype.h
923 %{_includedir}/libpq-fe.h
924 %{_includedir}/postgres_ext.h
925 %{_includedir}/sql3types.h
926 %{_includedir}/sqlca.h
927 %dir %{_includedir}/postgresql/internal
928 %{_includedir}/postgresql/internal/c.h
929 %{_includedir}/postgresql/internal/libpq-int.h
930 %{_includedir}/postgresql/internal/postgres_fe.h
931 %{_includedir}/postgresql/internal/pqexpbuffer.h
932 %{_includedir}/postgresql/internal/lib
933 %{_includedir}/postgresql/internal/libpq
935 %{_mandir}/man1/ecpg.1*
938 %defattr(644,root,root,755)
939 %{_includedir}/postgresql/server
942 %defattr(644,root,root,755)
947 %defattr(644,root,root,755)
948 %attr(755,root,root) %{_bindir}/pg_dump
949 %attr(755,root,root) %{_bindir}/pg_dumpall
950 %attr(755,root,root) %{_bindir}/pg_restore
951 %attr(755,root,root) %{_bindir}/psql
952 %attr(755,root,root) %{_bindir}/vacuumdb
954 %{_mandir}/man1/pg_dump.1*
955 %{_mandir}/man1/pg_dumpall.1*
956 %{_mandir}/man1/pg_restore.1*
957 %{_mandir}/man1/psql.1*
958 %{_mandir}/man1/vacuumdb.1*
961 %files -n python-postgresql
962 %defattr(644,root,root,755)
963 %doc src/interfaces/python/{README*,ChangeLog}
966 %attr(755,root,root) %{py_sitedir}/*.so
969 %defattr(644,root,root,755)
970 %attr(755,root,root) %{_libdir}/libpgtcl.so
971 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
972 %attr(755,root,root) %{_bindir}/pgtclsh
973 %attr(755,root,root) %{_bindir}/pgtksh
974 %{_mandir}/man1/pgtclsh.1*
975 %{_mandir}/man1/pgtksh.1*
978 %defattr(644,root,root,755)
979 %{_includedir}/libpgtcl.h
982 %defattr(644,root,root,755)
983 %{_libdir}/libpgtcl.a
985 %files module-plpgsql
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
990 %defattr(644,root,root,755)
991 %attr(755,root,root) %{_pgmoduledir}/plperl.so
993 %files module-plpython
994 %defattr(644,root,root,755)
995 %attr(755,root,root) %{_pgmoduledir}/plpython.so
998 %defattr(644,root,root,755)
999 %attr(755,root,root) %{_bindir}/pltcl_*
1000 %attr(755,root,root) %{_pgmoduledir}/pltcl.so