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