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