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