3 # - fix postgresql-configure.patch (it puts html doc into /usr/share/info
7 # _with_jdbc - with JDBC driver
10 %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}%{relc}.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: XFree86-devel
39 BuildRequires: autoconf
40 BuildRequires: automake
41 BuildRequires: tcl-devel >= 8.3.2
42 BuildRequires: tk-devel >= 8.3.2
43 BuildRequires: readline-devel >= 4.2
44 BuildRequires: ncurses-devel >= 5.0
45 BuildRequires: openssl-devel >= 0.9.6a
46 BuildRequires: python-devel >= 2.2.1
47 BuildRequires: rpm-pythonprov
48 BuildRequires: zlib-devel
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 Prereq: /sbin/chkconfig
52 Prereq: %{name}-clients = %{version}
53 Prereq: %{name}-libs = %{version}
54 Requires(pre): /usr/bin/getgid
55 Requires(pre): /bin/id
56 Requires(pre): /usr/sbin/groupadd
57 Requires(pre): /usr/sbin/useradd
58 Requires(pre): /usr/sbin/usermod
59 Obsoletes: postgresql-server
60 Obsoletes: postgresql-test
62 %define _pgmoduledir %{_libdir}/postgresql
63 %define _pgsqldir %{_pgmoduledir}/sql
66 PostgreSQL Data Base Management System (formerly known as Postgres,
69 PostgreSQL is an enhancement of the POSTGRES database management
70 system, a next-generation DBMS research prototype. While PostgreSQL
71 retains the powerful data model and rich data types of POSTGRES, it
72 replaces the PostQuel query language with an extended subset of SQL.
73 PostgreSQL is free and the complete source is available.
75 PostgreSQL development is being performed by a team of Internet
76 developers who all subscribe to the PostgreSQL development mailing
77 list. The current coordinator is Marc G. Fournier
78 (scrappy@postgreSQL.org). This team is now responsible for all current
79 and future development of PostgreSQL.
81 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
82 others have contributed to the porting, testing, debugging and
83 enhancement of the code. The original Postgres code, from which
84 PostgreSQL is derived, was the effort of many graduate students,
85 undergraduate students, and staff programmers working under the
86 direction of Professor Michael Stonebraker at the University of
89 The original name of the software at Berkeley was Postgres. When SQL
90 functionality was added in 1995, its name was changed to Postgres95.
91 The name was changed at the end of 1996 to PostgreSQL.
93 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
94 and most flavours of Unix.
97 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
100 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
101 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
102 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
103 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
104 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
107 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
108 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
109 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
110 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
112 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
113 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
114 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
115 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
116 Studenten und Programmierern unter der Leitung von Professor Michael
117 Stonebraker an der University of California, Berkeley.
119 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
120 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
121 entschied man sich für PostgreSQL.
123 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
124 und den meisten Unix-Systemen.
127 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
128 como Postgres, y después como Postgres95). PostgreSQL es una
129 continuación mejorada del Sistema Administrador de Banco de Datos
130 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
131 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
132 los varios tipos de datos del POSTGRES, substituye el lenguaje de
133 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
134 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
135 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
136 en la lista de desarrollo del PostgreSQL. El coordinador actual es
137 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
138 responsable por el desarrollo actual y futuro del PostgreSQL.
141 Système de gestion de bases de données PostgreSQL (D'abord nommé
142 Postgres, puis Postgres95).
144 PostgreSQL est une amélioration du système de gestion de bases de
145 données POSTGRES, un prototype de recherche de la génération suivant
146 DBMS. Tout en conservant le puissant modèle de donnée de et les types
147 de donée riches de Postgres, il remplace le langage de requêtes de
148 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
149 libre, et ses sources sont disponibles.
151 Le développement de PostgreSQL est actuellement réalisé via internet
152 parune équipe de développeurs inscrits sur la mailing-list de
153 développement de PostgreSQL. Le coordinateur actuel est Marc G
154 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
155 développemen actuel et à venir de PostgreSQL.
157 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
158 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
159 l'amélioration du code. Le code original de Postgres, duquel
160 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
161 moins haut niveau, et de programmeurs travaillant sous la direction du
162 professeur Michael Stonebraker à l'université de Berkeley Californie.
164 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
165 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
166 rebaptisé PostgreSQL en 1996.
168 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
169 et la plupart des Unix.
172 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
173 Postgres, nastêpnie jako Postgres95).
175 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
176 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
177 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
178 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
179 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
182 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
183 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
184 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
185 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
187 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
188 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
189 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
190 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
191 zespo³u programistów, którzy pracowali pod kierunkiem profesora
192 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
194 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
195 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
196 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
199 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
200 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
202 %description -l pt_BR
203 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
204 Postgres, e depois como Postgres95).
206 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
207 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
208 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
209 dados e os vários tipos de dados do POSTGRES, ele substitui a
210 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
211 PostgreSQL é livre e tem os fontes disponíveis.
213 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
214 desenvolvedores da Internet, todos subscritores da lista de
215 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
216 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
217 desenvolvimento atual e futuro do PostgreSQL.
220 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
221 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
223 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
224 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
225 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
226 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
227 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
230 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
231 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
232 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
233 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
234 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
236 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
237 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
238 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
239 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
240 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
241 California, Berkeley.
243 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
244 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
245 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
248 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
249 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
252 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
253 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
254 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
255 sorgulama dilini koyar.
258 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
259 ÐÏÔ¦Í ÑË Postgres95).
261 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
262 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
263 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
264 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
265 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
268 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
269 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
270 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
271 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
273 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
274 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
275 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
276 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
277 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
278 California, Berkeley.
280 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
281 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
282 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
284 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
285 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
288 Summary: PostgreSQL development header files and libraries
289 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
290 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
291 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
292 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
293 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
294 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
295 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
296 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
297 Group: Development/Libraries
298 Requires: %{name}-libs = %{version}
301 This package contains header files and libraries required to compile
302 applications that are talking directly to the PostgreSQL backend
305 %description devel -l de
306 Dieses Paket enthält die Header-Dateien und Libraries, die zum
307 Kompilieren von Applikationen notwendig sind, die direkt mit dem
308 PostgreSQL-Backend-Server kommunizieren.
310 %description devel -l es
311 Este paquete contiene archivos de inclusión y bibliotecas requeridas
312 para compilación de aplicativos que se comunican directamente con el
313 servidor backend PostgreSQL.
315 %description devel -l fr
316 Ce package contient les fichiers d'en-tête et les bibliothéques
317 nécessaires pour compiler des applications ayant des échanges directs
318 avec le serveur du backend PostgreSQL.
320 %description devel -l pl
321 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
322 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
324 %description devel -l pt_BR
325 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
326 compilação de aplicativos que se comunicam diretamente com o servidor
329 %description devel -l ru
330 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
331 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
333 %description devel -l tr
334 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
335 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
337 %description devel -l uk
338 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
339 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
341 %package backend-devel
342 Summary: PostgreSQL backend development header files
343 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
344 Group: Development/Libraries
345 Requires: %{name}-libs = %{version}
347 %description backend-devel
348 This package contains header files required to compile functions that
349 could be loaded directly by backend
351 %description backend-devel -l pl
352 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
353 bezposrednio ladowane przez beckend serwera PostgreSQL.
356 Summary: Clients needed to access a PostgreSQL server
357 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
358 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
359 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
360 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
361 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
362 Group: Applications/Databases
363 Requires: %{name}-libs = %{version}
366 This package includes only the clients needed to access an PostgreSQL
367 server. The server is included in the main package. If all you need is
368 to connect to another PostgreSQL server, the this is the only package
369 you need to install. Clients include several command-line utilities
370 you can use to manage your databases on a remote PostgreSQL server.
372 %description clients -l es
373 Este paquete incluye solamente los clientes necesarios para acceder un
374 servidor PostgreSQL. El servidor está en el paquete principal.
376 %description clients -l pl
377 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
378 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
379 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
381 %description clients -l pt_BR
382 Este pacote inclui somente os clientes necessários para acessar um
383 servidor PostgreSQL. O servidor está no pacote principal.
385 %description clients -l ru
386 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
387 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
388 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
389 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
391 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
392 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
395 %description clients -l uk
396 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
397 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
398 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
399 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
401 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
402 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
404 %package -n python-postgresql
405 Summary: The python-based client programs needed for accessing a PostgreSQL server
406 Summary(es): Módulo Python para acceder un servidor PostgreSQL
407 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
408 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
409 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
410 Group: Libraries/Python
411 Requires: python >= 2.0
412 Requires: python-mx-DateTime
413 Requires: %{name}-libs = %{version}
414 Obsoletes: python-PyGreSQL
415 Obsoletes: postgresql-python
417 %description -n python-postgresql
418 postgresql-python includes the python-based client programs and client
419 libraries that you'll need to access a PostgreSQL database management
422 %description -n python-postgresql -l es
423 Módulo Python para acceder un servidor PostgreSQL
425 %description -n python-postgresql -l pl
426 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
427 do dostêpu do serwera baz danych PostgreSQL.
429 %description -n python-postgresql -l pt_BR
430 Módulo Python para acesso ao servidor PostgreSQL.
433 Summary: Documentation for PostgreSQL
434 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
435 Group: Applications/Databases
438 This package includes documentation and HOWTO for programmer, admin
439 etc., in HTML format.
441 %description doc -l pl
442 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
443 administratorów w formacie HTML.
446 Summary: PostgreSQL libraries
447 Summary(es): Biblioteca compartida del PostgreSQL
448 Summary(pl): Biblioteki dzielone programu PostgreSQL
449 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
450 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â.
454 PostgreSQL shared libraries.
456 %description libs -l es
457 Este paquete contiene la biblioteca compartida para acceso al
460 %description libs -l pl
461 Biblioteki dzielone programu PostgreSQL.
463 %description libs -l pt_BR
464 Este pacote contém a biblioteca compartilhada para acesso ao
468 Summary: PostgreSQL static libraries
469 Summary(es): Bibliotecas estaticas PostgreSQL
470 Summary(pl): Biblioteki statyczne programu PostgreSQL
471 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
472 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
473 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
474 Group: Development/Libraries
475 Requires: %{name}-devel = %{version}
478 PostgreSQL static libraries.
480 %description static -l es
481 Este paquete contiene bibliotecas estaticas requerida para compilación
482 de aplicativos que se comunican directamente con el servidor backend
485 %description static -l pl
486 Biblioteki statyczne programu PostgreSQL.
488 %description static -l pt_BR
489 Este pacote contém as bibliotecas estáticas requeridas para compilação
490 de aplicativos que se comunicam diretamente com o servidor backend
493 %description static -l ru
494 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
495 ×ÈÏÄÑÔ × %{name}-devel.
497 %description static -l uk
498 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
502 Summary: tcl interface for PostgreSQL
503 Summary(es): Bibliotecas y shell TCL para acceder un servidor PostgreSQL
504 Summary(pl): Interfejs tcl dla PostgreSQL
505 Summary(pt_BR): Bibliotecas e shell para programas em TCL acessarem o servidor PostgreSQL
506 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ tcl
507 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú tcl
508 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
509 Group: Development/Languages/Tcl
510 Requires: %{name}-libs = %{version}
513 tcl interface for PostgreSQL.
515 %description tcl -l es
516 Bibliotecas y shell TCL para acceder un servidor PostgreSQL
518 %description tcl -l pl
519 Interfejs tcl dla PostgreSQL.
521 %description tcl -l pt_BR
522 Bibliotecas e shell para programas em TCL acessarem o servidor
525 %description tcl -l ru
526 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ tcl.
528 %description tcl -l uk
529 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É tcl.
532 Summary: Development part of tcl interface for PostgreSQL
533 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
534 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
535 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
536 Group: Development/Languages/Tcl
537 Requires: %{name}-tcl = %{version}
538 Requires: %{name}-devel = %{version}
540 %description tcl-devel
541 Development part of tcl interface for PostgreSQL.
543 %description tcl-devel -l pl
544 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
546 %description tcl-devel -l ru
547 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
548 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
549 ËÏÄ ÉÌÉ API libtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
551 %description tcl-devel -l uk
552 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
553 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
554 API libtcl (tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
557 Summary: Static libraries of tcl interface for PostgreSQL
558 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
559 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
560 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
561 Group: Development/Languages/Tcl
562 Requires: %{name}-tcl-devel = %{version}
564 %description tcl-static
565 Static libraries of tcl interface for PostgreSQL.
567 %description tcl-static -l pl
568 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
570 %description tcl-static -l ru
571 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
572 ×ÈÏÄÑÔ × %{_name}-tcl-devel.
574 %description tcl-static -l uk
575 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
578 %package module-plpgsql
579 Summary: PL/pgSQL - PostgreSQL procedural language
580 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
581 Group: Applications/Databases
582 Requires: %{name} = %{version}
584 %description module-plpgsql
585 From PostgreSQL documentation.
587 Postgres supports the definition of procedural languages. In the case
588 of a function or trigger procedure defined in a procedural language,
589 the database has no built-in knowledge about how to interpret the
590 function's source text. Instead, the task is passed to a handler that
591 knows the details of the language. The handler itself is a special
592 programming language function compiled into a shared object and loaded
595 To enable PL/pgSQL procedural language for your database you have to
596 run createlang command.
598 %description module-plpgsql -l pl
599 Z dokumentacji PostgreSQL.
601 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
602 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
603 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
604 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
605 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
606 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
609 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
610 proceduralnego PL/pgSQL dla swojej bazy danych.
612 %package module-plperl
613 Summary: PL/perl - PostgreSQL procedural language
614 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
615 Group: Applications/Databases
616 Requires: %{name} = %{version}
619 %description module-plperl
620 From PostgreSQL documentation.
622 Postgres supports the definition of procedural languages. In the case
623 of a function or trigger procedure defined in a procedural language,
624 the database has no built-in knowledge about how to interpret the
625 function's source text. Instead, the task is passed to a handler that
626 knows the details of the language. The handler itself is a special
627 programming language function compiled into a shared object and loaded
630 To enable PL/perl procedural language for your database you have to
631 run createlang command.
633 %description module-plperl -l pl
634 Z dokumentacji PostgreSQL.
636 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
637 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
638 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
639 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
640 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
641 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
644 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
645 proceduralnego PL/perl dla swojej bazy danych.
647 %package module-plpython
648 Summary: PL/python - PostgreSQL procedural language
649 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
650 Group: Applications/Databases
651 Requires: %{name} = %{version}
652 %pyrequires_eq python
654 %description module-plpython
655 From PostgreSQL documentation.
657 Postgres supports the definition of procedural languages. In the case
658 of a function or trigger procedure defined in a procedural language,
659 the database has no built-in knowledge about how to interpret the
660 function's source text. Instead, the task is passed to a handler that
661 knows the details of the language. The handler itself is a special
662 programming language function compiled into a shared object and loaded
665 To enable PL/python procedural language for your database you have to
666 run createlang command.
668 %description module-plpython -l pl
669 Z dokumentacji PostgreSQL.
671 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
672 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
673 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
674 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
675 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
676 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
679 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
680 proceduralnego PL/python dla swojej bazy danych.
682 %package module-pltcl
683 Summary: PL/TCL - PostgreSQL procedural language
684 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
685 Group: Applications/Databases
686 Requires: %{name} = %{version}
688 %description module-pltcl
689 From PostgreSQL documentation.
691 Postgres supports the definition of procedural languages. In the case
692 of a function or trigger procedure defined in a procedural language,
693 the database has no built-in knowledge about how to interpret the
694 function's source text. Instead, the task is passed to a handler that
695 knows the details of the language. The handler itself is a special
696 programming language function compiled into a shared object and loaded
699 To enable PL/TCL procedural language for your database you have to run
702 %description module-pltcl -l pl
703 Z dokumentacji PostgreSQL.
705 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
706 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
707 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
708 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
709 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
710 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
713 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
714 proceduralnego PL/TCL dla swojej bazy danych.
717 %setup -q -n %{name}-%{version}%{relc}
722 tar xzf doc/man*.tar.gz
725 tar zxf doc/postgres.tar.gz -C doc/unpacked
728 rm -fR `find contrib/ -type d -name CVS`
731 rm -f config/libtool.m4
732 %{__aclocal} -I config
735 %{!?_without_pgsql_locale:--enable-locale} \
736 %{!?_without_pgsql_multibyte:--enable-multibyte} \
741 --enable-unicode-conversion \
750 %{?_with_jdbc: --with-java}
753 %ifnarch sparc sparcv9 sparc64 alpha ppc
754 %{!?_without_tests: %{__make} check }
758 rm -rf $RPM_BUILD_ROOT
759 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
760 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
761 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
762 $RPM_BUILD_ROOT/home/services/postgres
764 %{__make} install install-all-headers \
765 DESTDIR=$RPM_BUILD_ROOT
767 %{__make} install -C src/pl/plperl \
768 DESTDIR=$RPM_BUILD_ROOT
770 touch $RPM_BUILD_ROOT/var/log/pgsql
772 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
773 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
775 cp -a man? $RPM_BUILD_ROOT%{_mandir}
779 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
782 %py_comp $RPM_BUILD_ROOT%{py_libdir}
783 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
786 rm -rf $RPM_BUILD_ROOT
787 rm -f /tmp/tmp_perl_info
790 if [ -f /etc/sysconfig/postgresql ]; then
791 POSTGRES_DATA_DIR=/var/lib/pgsql
792 . /etc/sysconfig/postgresql
793 if [ -f $POSTGRES_DATA_DIR/PG_VERSION ]; then
794 if [ `cat $POSTGRES_DATA_DIR/PG_VERSION` != '7.3' ]; then
795 echo "Database(s) in older, incompatible format exist in $POSTGRES_DATA_DIR."
796 echo "Dump them and clean $POSTGRES_DATA_DIR, then upgrade postgresql and"
797 echo "restore database(s)."
799 echo "Warning for upgrade from version *before* 7.2."
800 echo "Please note, that postgresql module path changed from"
801 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
802 echo "in dump file before restore."
804 echo "Reading following webpage is encouraged:"
805 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
812 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
813 if id postgres >/dev/null 2>&1 ; then
814 /usr/sbin/usermod -d /home/services/postgres postgres
816 /usr/sbin/useradd -M -o -r -u 88 \
817 -d /home/services/postgres -s /bin/sh -g postgres \
818 -c "PostgreSQL Server" postgres
822 /sbin/chkconfig --add postgresql
824 if [ -f /var/lock/subsys/postgresql ]; then
825 /etc/rc.d/init.d/postgresql restart >&2
827 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
831 if [ "$1" = "0" ]; then
832 if [ -f /var/lock/subsys/postgresql ]; then
833 /etc/rc.d/init.d/postgresql stop
835 /sbin/chkconfig --del postgresql
838 %post libs -p /sbin/ldconfig
839 %postun libs -p /sbin/ldconfig
841 %post tcl -p /sbin/ldconfig
842 %postun tcl -p /sbin/ldconfig
845 %defattr(644,root,root,755)
846 %attr(754,root,root) /etc/rc.d/init.d/*
847 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
849 %attr(755,root,root) %{_bindir}/createdb
850 %attr(755,root,root) %{_bindir}/createuser
851 %attr(755,root,root) %{_bindir}/dropdb
852 %attr(755,root,root) %{_bindir}/dropuser
853 %attr(755,root,root) %{_bindir}/initdb
854 %attr(755,root,root) %{_bindir}/initlocation
855 %attr(755,root,root) %{_bindir}/pg_ctl
856 %attr(755,root,root) %{_bindir}/pg_config
857 %attr(755,root,root) %{_bindir}/pg_encoding
858 %attr(755,root,root) %{_bindir}/postgres
859 %attr(755,root,root) %{_bindir}/postmaster
860 %attr(755,root,root) %{_bindir}/ipcclean
861 %attr(755,root,root) %{_bindir}/createlang
862 %attr(755,root,root) %{_bindir}/droplang
866 %{_datadir}/postgresql/*.bki
867 %{_datadir}/postgresql/*.sample
868 %{_datadir}/postgresql/*.description
870 %attr(700,postgres,postgres) /home/services/postgres
871 %attr(700,postgres,postgres) %dir /var/lib/pgsql
872 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
874 %{_mandir}/man1/createdb.1*
875 %{_mandir}/man1/createlang.1*
876 %{_mandir}/man1/createuser.1*
877 %{_mandir}/man1/dropdb.1*
878 %{_mandir}/man1/droplang.1*
879 %{_mandir}/man1/dropuser.1*
880 %{_mandir}/man1/initdb.1*
881 %{_mandir}/man1/initlocation.1*
882 %{_mandir}/man1/pg_ctl.1*
883 %{_mandir}/man1/pg_config.1*
884 %{_mandir}/man1/postgres.1*
885 %{_mandir}/man1/postmaster.1*
886 %{_mandir}/man1/ipcclean.1*
889 %doc doc/FAQ* doc/README*
890 %doc COPYRIGHT README HISTORY doc/bug.template
893 %defattr(644,root,root,755)
898 %defattr(644,root,root,755)
899 %attr(755,root,root) %{_libdir}/libpq.so.*.*
900 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
901 %attr(755,root,root) %{_bindir}/pg_id
904 %defattr(644,root,root,755)
905 %attr(755,root,root) %{_bindir}/ecpg
906 %attr(755,root,root) %{_libdir}/libecpg.so
907 %attr(755,root,root) %{_libdir}/libpq.so
908 %dir %{_includedir}/postgresql
909 %{_includedir}/pg_config.h
910 %{_includedir}/pg_config_os.h
911 %{_includedir}/ecpgerrno.h
912 %{_includedir}/ecpglib.h
913 %{_includedir}/ecpgtype.h
914 %{_includedir}/libpq-fe.h
915 %{_includedir}/postgres_ext.h
916 %{_includedir}/sql3types.h
917 %{_includedir}/sqlca.h
918 %dir %{_includedir}/postgresql/internal
919 %{_includedir}/postgresql/internal/c.h
920 %{_includedir}/postgresql/internal/libpq-int.h
921 %{_includedir}/postgresql/internal/postgres_fe.h
922 %{_includedir}/postgresql/internal/pqexpbuffer.h
923 %{_includedir}/postgresql/internal/lib
924 %{_includedir}/postgresql/internal/libpq
925 %{_mandir}/man1/ecpg.1*
928 %defattr(644,root,root,755)
929 %{_includedir}/postgresql/server
932 %defattr(644,root,root,755)
937 %defattr(644,root,root,755)
938 %attr(755,root,root) %{_bindir}/pg_dump
939 %attr(755,root,root) %{_bindir}/pg_dumpall
940 %attr(755,root,root) %{_bindir}/pg_restore
941 %attr(755,root,root) %{_bindir}/psql
942 %attr(755,root,root) %{_bindir}/vacuumdb
944 %{_mandir}/man1/pg_dump.1*
945 %{_mandir}/man1/pg_dumpall.1*
946 %{_mandir}/man1/pg_restore.1*
947 %{_mandir}/man1/psql.1*
948 %{_mandir}/man1/vacuumdb.1*
951 %files -n python-postgresql
952 %defattr(644,root,root,755)
953 %doc src/interfaces/python/{README*,ChangeLog}
956 %attr(755,root,root) %{py_sitedir}/*.so
959 %defattr(644,root,root,755)
960 %attr(755,root,root) %{_libdir}/libpgtcl.so
961 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
962 %attr(755,root,root) %{_bindir}/pgtclsh
963 %attr(755,root,root) %{_bindir}/pgtksh
964 %{_mandir}/man1/pgtclsh.1*
965 %{_mandir}/man1/pgtksh.1*
968 %defattr(644,root,root,755)
969 %{_includedir}/libpgtcl.h
972 %defattr(644,root,root,755)
973 %{_libdir}/libpgtcl.a
975 %files module-plpgsql
976 %defattr(644,root,root,755)
977 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
980 %defattr(644,root,root,755)
981 %attr(755,root,root) %{_pgmoduledir}/plperl.so
983 %files module-plpython
984 %defattr(644,root,root,755)
985 %attr(755,root,root) %{_pgmoduledir}/plpython.so
988 %defattr(644,root,root,755)
989 %attr(755,root,root) %{_pgmoduledir}/pltcl.so