2 # - put pgcrypto docs into docdir
3 # - put pgcrypto sql files in %{_datadir}/postgresql
4 # - remove postgresql-configure patch and create postgresql-doc patch,
5 # which will prevent documentation and manuals installation (the routine
6 # is bad and we install docs and mans manually, at all) or create good
7 # routine and send it to postgresql team...
10 %bcond_without tcl # disables Tcl support
11 %bcond_with jdbc # enable JDBC driver
12 %bcond_with absolute_dbpaths # enable absolute paths to create database
13 # (disabled by default because it is a security risk)
15 %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: %{version}/%{name}-%{version}%{_rc}.tar.bz2
35 #Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}%{_rc}.tar.bz2
36 # Source0-md5: ac449e3b83f226476cedfc09bef30ead
38 Source2: pgsql-Database-HOWTO-html.tar.gz
39 # Source2-md5: 5b656ddf1db41965761f85204a14398e
40 Source3: %{name}.sysconfig
41 Patch0: %{name}-configure.patch
42 Patch1: %{name}-pg_ctl-silent.patch
43 Patch2: %{name}-pg_ctl-nopsql.patch
44 Patch3: %{name}-conf.patch
45 Patch4: %{name}-absolute_dbpaths.patch
46 Patch5: %{name}-link.patch
48 URL: http://www.postgresql.org/
49 BuildRequires: autoconf
50 BuildRequires: automake
51 BuildRequires: bison >= 1.875
52 BuildRequires: ncurses-devel >= 5.0
53 BuildRequires: openssl-devel >= 0.9.7c
54 BuildRequires: pam-devel
55 BuildRequires: perl-devel
56 BuildRequires: python-devel >= 2.3
57 BuildRequires: readline-devel >= 4.2
58 BuildRequires: rpm-pythonprov
59 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
60 %{?with_tcl:BuildRequires: tk-devel >= 8.4.3}
61 BuildRequires: zlib-devel
62 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 PreReq: %{name}-clients = %{version}
65 PreReq: %{name}-libs = %{version}
66 Requires(pre): /usr/bin/getgid
67 Requires(pre): /bin/id
68 Requires(pre): /usr/sbin/groupadd
69 Requires(pre): /usr/sbin/useradd
70 Requires(pre): /usr/sbin/usermod
71 Requires(post,preun): /sbin/chkconfig
72 Obsoletes: postgresql-server
73 Obsoletes: postgresql-test
75 %define _pgmoduledir %{_libdir}/postgresql
76 %define _pgsqldir %{_pgmoduledir}/sql
79 PostgreSQL Data Base Management System (formerly known as Postgres,
82 PostgreSQL is an enhancement of the POSTGRES database management
83 system, a next-generation DBMS research prototype. While PostgreSQL
84 retains the powerful data model and rich data types of POSTGRES, it
85 replaces the PostQuel query language with an extended subset of SQL.
86 PostgreSQL is free and the complete source is available.
88 PostgreSQL development is being performed by a team of Internet
89 developers who all subscribe to the PostgreSQL development mailing
90 list. The current coordinator is Marc G. Fournier
91 (scrappy@postgreSQL.org). This team is now responsible for all current
92 and future development of PostgreSQL.
94 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
95 others have contributed to the porting, testing, debugging and
96 enhancement of the code. The original Postgres code, from which
97 PostgreSQL is derived, was the effort of many graduate students,
98 undergraduate students, and staff programmers working under the
99 direction of Professor Michael Stonebraker at the University of
100 California, Berkeley.
102 The original name of the software at Berkeley was Postgres. When SQL
103 functionality was added in 1995, its name was changed to Postgres95.
104 The name was changed at the end of 1996 to PostgreSQL.
106 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
107 and most flavours of Unix.
110 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
113 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
114 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
115 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
116 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
117 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
120 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
121 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
122 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
123 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
125 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
126 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
127 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
128 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
129 Studenten und Programmierern unter der Leitung von Professor Michael
130 Stonebraker an der University of California, Berkeley.
132 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
133 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
134 entschied man sich für PostgreSQL.
136 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
137 und den meisten Unix-Systemen.
140 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
141 como Postgres, y después como Postgres95). PostgreSQL es una
142 continuación mejorada del Sistema Administrador de Banco de Datos
143 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
144 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
145 los varios tipos de datos del POSTGRES, substituye el lenguaje de
146 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
147 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
148 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
149 en la lista de desarrollo del PostgreSQL. El coordinador actual es
150 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
151 responsable por el desarrollo actual y futuro del PostgreSQL.
154 Système de gestion de bases de données PostgreSQL (D'abord nommé
155 Postgres, puis Postgres95).
157 PostgreSQL est une amélioration du système de gestion de bases de
158 données POSTGRES, un prototype de recherche de la génération suivant
159 DBMS. Tout en conservant le puissant modèle de donnée de et les types
160 de donée riches de Postgres, il remplace le langage de requêtes de
161 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
162 libre, et ses sources sont disponibles.
164 Le développement de PostgreSQL est actuellement réalisé via internet
165 parune équipe de développeurs inscrits sur la mailing-list de
166 développement de PostgreSQL. Le coordinateur actuel est Marc G
167 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
168 développemen actuel et à venir de PostgreSQL.
170 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
171 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
172 l'amélioration du code. Le code original de Postgres, duquel
173 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
174 moins haut niveau, et de programmeurs travaillant sous la direction du
175 professeur Michael Stonebraker à l'université de Berkeley Californie.
177 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
178 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
179 rebaptisé PostgreSQL en 1996.
181 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
182 et la plupart des Unix.
185 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
186 Postgres, nastêpnie jako Postgres95).
188 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
189 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
190 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
191 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
192 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
195 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
196 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
197 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
198 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
200 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
201 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
202 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
203 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
204 zespo³u programistów, którzy pracowali pod kierunkiem profesora
205 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
207 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
208 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
209 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
212 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
213 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
215 %description -l pt_BR
216 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
217 Postgres, e depois como Postgres95).
219 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
220 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
221 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
222 dados e os vários tipos de dados do POSTGRES, ele substitui a
223 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
224 PostgreSQL é livre e tem os fontes disponíveis.
226 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
227 desenvolvedores da Internet, todos subscritores da lista de
228 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
229 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
230 desenvolvimento atual e futuro do PostgreSQL.
233 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
234 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
236 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
237 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
238 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
239 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
240 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
243 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
244 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
245 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
246 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
247 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
249 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
250 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
251 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
252 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
253 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
254 California, Berkeley.
256 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
257 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
258 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
261 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
262 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
265 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
266 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
267 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
268 sorgulama dilini koyar.
271 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
272 ÐÏÔ¦Í ÑË Postgres95).
274 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
275 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
276 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
277 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
278 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
281 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
282 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
283 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
284 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
286 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
287 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
288 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
289 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
290 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
291 California, Berkeley.
293 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
294 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
295 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
297 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
298 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
301 Summary: PostgreSQL development header files and libraries
302 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
303 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
304 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
305 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
306 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
307 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
308 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
309 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
310 Group: Development/Libraries
311 Requires: %{name}-libs = %{version}
314 This package contains header files and libraries required to compile
315 applications that are talking directly to the PostgreSQL backend
318 %description devel -l de
319 Dieses Paket enthält die Header-Dateien und Libraries, die zum
320 Kompilieren von Applikationen notwendig sind, die direkt mit dem
321 PostgreSQL-Backend-Server kommunizieren.
323 %description devel -l es
324 Este paquete contiene archivos de inclusión y bibliotecas requeridas
325 para compilación de aplicativos que se comunican directamente con el
326 servidor backend PostgreSQL.
328 %description devel -l fr
329 Ce package contient les fichiers d'en-tête et les bibliothéques
330 nécessaires pour compiler des applications ayant des échanges directs
331 avec le serveur du backend PostgreSQL.
333 %description devel -l pl
334 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
335 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
337 %description devel -l pt_BR
338 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
339 compilação de aplicativos que se comunicam diretamente com o servidor
342 %description devel -l ru
343 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
344 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
346 %description devel -l tr
347 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
348 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
350 %description devel -l uk
351 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
352 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
354 %package backend-devel
355 Summary: PostgreSQL backend development header files
356 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
357 Group: Development/Libraries
358 Requires: %{name}-libs = %{version}
360 %description backend-devel
361 This package contains header files required to compile functions that
362 could be loaded directly by backend
364 %description backend-devel -l pl
365 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
366 bezposrednio ladowane przez beckend serwera PostgreSQL.
369 Summary: Clients needed to access a PostgreSQL server
370 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
371 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
372 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
373 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
374 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
375 Group: Applications/Databases
376 Requires: %{name}-libs = %{version}
379 This package includes only the clients needed to access an PostgreSQL
380 server. The server is included in the main package. If all you need is
381 to connect to another PostgreSQL server, the this is the only package
382 you need to install. Clients include several command-line utilities
383 you can use to manage your databases on a remote PostgreSQL server.
385 %description clients -l es
386 Este paquete incluye solamente los clientes necesarios para acceder un
387 servidor PostgreSQL. El servidor está en el paquete principal.
389 %description clients -l pl
390 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
391 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
392 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
394 %description clients -l pt_BR
395 Este pacote inclui somente os clientes necessários para acessar um
396 servidor PostgreSQL. O servidor está no pacote principal.
398 %description clients -l ru
399 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
400 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
401 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
402 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
404 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
405 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
408 %description clients -l uk
409 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
410 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
411 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
412 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
414 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
415 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
418 Summary: Documentation for PostgreSQL
419 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
420 Group: Applications/Databases
423 This package includes documentation and HOWTO for programmer, admin
424 etc., in HTML format.
426 %description doc -l pl
427 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
428 administratorów w formacie HTML.
431 Summary: PostgreSQL libraries
432 Summary(es): Biblioteca compartida del PostgreSQL
433 Summary(pl): Biblioteki dzielone programu PostgreSQL
434 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
435 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
439 PostgreSQL shared libraries.
441 %description libs -l es
442 Este paquete contiene la biblioteca compartida para acceso al
445 %description libs -l pl
446 Biblioteki dzielone programu PostgreSQL.
448 %description libs -l pt_BR
449 Este pacote contém a biblioteca compartilhada para acesso ao
453 Summary: PostgreSQL static libraries
454 Summary(es): Bibliotecas estaticas PostgreSQL
455 Summary(pl): Biblioteki statyczne programu PostgreSQL
456 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
457 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
458 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
459 Group: Development/Libraries
460 Requires: %{name}-devel = %{version}
463 PostgreSQL static libraries.
465 %description static -l es
466 Este paquete contiene bibliotecas estaticas requerida para compilación
467 de aplicativos que se comunican directamente con el servidor backend
470 %description static -l pl
471 Biblioteki statyczne programu PostgreSQL.
473 %description static -l pt_BR
474 Este pacote contém as bibliotecas estáticas requeridas para compilação
475 de aplicativos que se comunicam diretamente com o servidor backend
478 %description static -l ru
479 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
480 ×ÈÏÄÑÔ × %{name}-devel.
482 %description static -l uk
483 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
487 Summary: Tcl interface for PostgreSQL
488 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
489 Summary(pl): Interfejs Tcl dla PostgreSQL
490 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
491 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
492 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
493 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
494 Group: Development/Languages/Tcl
495 Requires: %{name}-libs = %{version}
498 Tcl interface for PostgreSQL.
500 %description tcl -l es
501 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
503 %description tcl -l pl
504 Interfejs Tcl dla PostgreSQL.
506 %description tcl -l pt_BR
507 Bibliotecas e shell para programas em Tcl acessarem o servidor
510 %description tcl -l ru
511 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
513 %description tcl -l uk
514 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
517 Summary: Development part of Tcl interface for PostgreSQL
518 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
519 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
520 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
521 Group: Development/Languages/Tcl
522 Requires: %{name}-tcl = %{version}
523 Requires: %{name}-devel = %{version}
525 %description tcl-devel
526 Development part of Tcl interface for PostgreSQL.
528 %description tcl-devel -l pl
529 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
531 %description tcl-devel -l ru
532 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
533 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
534 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
536 %description tcl-devel -l uk
537 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
538 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
539 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
542 Summary: Static libraries of Tcl interface for PostgreSQL
543 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
544 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
545 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
546 Group: Development/Languages/Tcl
547 Requires: %{name}-tcl-devel = %{version}
549 %description tcl-static
550 Static libraries of Tcl interface for PostgreSQL.
552 %description tcl-static -l pl
553 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
555 %description tcl-static -l ru
556 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
557 ×ÈÏÄÑÔ × postgresql-tcl-devel.
559 %description tcl-static -l uk
560 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
561 postgresql-tcl-devel.
563 %package module-plpgsql
564 Summary: PL/pgSQL - PostgreSQL procedural language
565 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
566 Group: Applications/Databases
567 Requires: %{name} = %{version}
569 %description module-plpgsql
570 From PostgreSQL documentation.
572 Postgres supports the definition of procedural languages. In the case
573 of a function or trigger procedure defined in a procedural language,
574 the database has no built-in knowledge about how to interpret the
575 function's source text. Instead, the task is passed to a handler that
576 knows the details of the language. The handler itself is a special
577 programming language function compiled into a shared object and loaded
580 To enable PL/pgSQL procedural language for your database you have to
581 run createlang command.
583 %description module-plpgsql -l pl
584 Z dokumentacji PostgreSQL.
586 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
587 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
588 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
589 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
590 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
591 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
594 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
595 proceduralnego PL/pgSQL dla swojej bazy danych.
597 %package module-plperl
598 Summary: PL/perl - PostgreSQL procedural language
599 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
600 Group: Applications/Databases
601 Requires: %{name} = %{version}
604 %description module-plperl
605 From PostgreSQL documentation.
607 Postgres supports the definition of procedural languages. In the case
608 of a function or trigger procedure defined in a procedural language,
609 the database has no built-in knowledge about how to interpret the
610 function's source text. Instead, the task is passed to a handler that
611 knows the details of the language. The handler itself is a special
612 programming language function compiled into a shared object and loaded
615 To enable PL/perl procedural language for your database you have to
616 run createlang command.
618 %description module-plperl -l pl
619 Z dokumentacji PostgreSQL.
621 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
622 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
623 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
624 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
625 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
626 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
629 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
630 proceduralnego PL/perl dla swojej bazy danych.
632 %package module-plpython
633 Summary: PL/python - PostgreSQL procedural language
634 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
635 Group: Applications/Databases
636 Requires: %{name} = %{version}
637 %pyrequires_eq python
639 %description module-plpython
640 From PostgreSQL documentation.
642 Postgres supports the definition of procedural languages. In the case
643 of a function or trigger procedure defined in a procedural language,
644 the database has no built-in knowledge about how to interpret the
645 function's source text. Instead, the task is passed to a handler that
646 knows the details of the language. The handler itself is a special
647 programming language function compiled into a shared object and loaded
650 To enable PL/python procedural language for your database you have to
651 run createlang command.
653 %description module-plpython -l pl
654 Z dokumentacji PostgreSQL.
656 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
657 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
658 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
659 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
660 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
661 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
664 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
665 proceduralnego PL/python dla swojej bazy danych.
667 %package module-pltcl
668 Summary: PL/TCL - PostgreSQL procedural language
669 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
670 Group: Applications/Databases
671 Requires: %{name} = %{version}
673 %description module-pltcl
674 From PostgreSQL documentation.
676 Postgres supports the definition of procedural languages. In the case
677 of a function or trigger procedure defined in a procedural language,
678 the database has no built-in knowledge about how to interpret the
679 function's source text. Instead, the task is passed to a handler that
680 knows the details of the language. The handler itself is a special
681 programming language function compiled into a shared object and loaded
684 To enable PL/TCL procedural language for your database you have to run
687 %description module-pltcl -l pl
688 Z dokumentacji PostgreSQL.
690 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
691 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
692 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
693 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
694 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
695 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
698 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
699 proceduralnego PL/TCL dla swojej bazy danych.
701 %package module-pgcrypto
702 Summary: Cryptographic functions for PostgreSQL
703 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
704 Group: Applications/Databases
705 Requires: %{name} = %{version}
707 %description module-pgcrypto
708 Cryptographic functions for PostgreSQL.
710 %description module-pgcrypto -l pl
711 Funkcje kryptograficzne dla PostgreSQL.
714 %setup -q -n %{name}-%{version}%{_rc}
719 %{?_with_absolute_dbpaths:%patch4 -p1}
722 tar xzf doc/man*.tar.gz
725 tar zxf doc/postgres.tar.gz -C doc/unpacked
728 find contrib -type d -name CVS -exec rm -rf {} \;
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 \
743 %{?with_tcl:--with-tcl} \
744 %{?with_tcl:--with-tk} \
750 %{?_with_jdbc: --with-java}
753 %ifnarch sparc sparcv9 sparc64 alpha ppc
754 %{!?_without_tests: %{__make} check }
761 rm -rf $RPM_BUILD_ROOT
762 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
763 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
764 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
765 $RPM_BUILD_ROOT/home/services/postgres
767 %{__make} install install-all-headers \
768 DESTDIR=$RPM_BUILD_ROOT
770 %{__make} install -C src/pl/plperl \
771 DESTDIR=$RPM_BUILD_ROOT
773 touch $RPM_BUILD_ROOT/var/log/pgsql
775 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
776 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
778 cp -a man? $RPM_BUILD_ROOT%{_mandir}
780 # there are html installed, remove them
781 rm -rf $RPM_BUILD_ROOT%{_infodir}
785 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
788 %py_comp $RPM_BUILD_ROOT%{py_libdir}
789 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
793 DESTDIR=$RPM_BUILD_ROOT
796 rm -rf $RPM_BUILD_ROOT
800 if [ -f /etc/sysconfig/postgresql ]; then
801 . /etc/sysconfig/postgresql
802 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
803 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
807 for pgdir in $PG_DB_CLUSTERS; do
808 if [ -f $pgdir/PG_VERSION ]; then
809 if [ `cat $pgdir/PG_VERSION` != '7.3' ]; then
810 echo "Found database(s) in older, incompatible format in cluster $pgdir."
815 if [ "$foundold" = "1" ]; then
817 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
818 echo "and clean (or rename) those directories; then upgrade postgresql and"
819 echo "restore all data (using pg_restore or psql)."
820 echo "Remember to stop the daemon before upgrading!"
822 echo "Warning for upgrade from version *before* 7.2."
823 echo "Please note, that postgresql module path changed from"
824 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
825 echo "in dump file before restore."
827 echo "Warning for upgrade from version *before* 7.3."
828 echo "Reading following webpage is encouraged:"
829 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
833 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
834 if id postgres >/dev/null 2>&1 ; then
835 /usr/sbin/usermod -d /home/services/postgres postgres
837 /usr/sbin/useradd -M -o -r -u 88 \
838 -d /home/services/postgres -s /bin/sh -g postgres \
839 -c "PostgreSQL Server" postgres
843 /sbin/chkconfig --add postgresql
844 if [ -f /var/lock/subsys/postgresql ]; then
845 /etc/rc.d/init.d/postgresql restart >&2 || :
847 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
851 if [ "$1" = "0" ]; then
852 if [ -f /var/lock/subsys/postgresql ]; then
853 /etc/rc.d/init.d/postgresql stop
855 /sbin/chkconfig --del postgresql
858 %post libs -p /sbin/ldconfig
859 %postun libs -p /sbin/ldconfig
861 %post tcl -p /sbin/ldconfig
862 %postun tcl -p /sbin/ldconfig
865 %defattr(644,root,root,755)
866 %attr(754,root,root) /etc/rc.d/init.d/*
867 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
869 %attr(755,root,root) %{_bindir}/clusterdb
870 %attr(755,root,root) %{_bindir}/createdb
871 %attr(755,root,root) %{_bindir}/createlang
872 %attr(755,root,root) %{_bindir}/createuser
873 %attr(755,root,root) %{_bindir}/dropdb
874 %attr(755,root,root) %{_bindir}/droplang
875 %attr(755,root,root) %{_bindir}/dropuser
876 %attr(755,root,root) %{_bindir}/initdb
877 %attr(755,root,root) %{_bindir}/initlocation
878 %attr(755,root,root) %{_bindir}/ipcclean
879 %attr(755,root,root) %{_bindir}/pg_controldata
880 %attr(755,root,root) %{_bindir}/pg_ctl
881 %attr(755,root,root) %{_bindir}/pg_encoding
882 %attr(755,root,root) %{_bindir}/pg_resetxlog
883 %attr(755,root,root) %{_bindir}/postgres
884 %attr(755,root,root) %{_bindir}/postmaster
886 %attr(755,root,root) %{_pgmoduledir}/ascii*
887 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
888 %attr(755,root,root) %{_pgmoduledir}/euc*
889 %attr(755,root,root) %{_pgmoduledir}/latin*
890 %attr(755,root,root) %{_pgmoduledir}/utf*
894 %dir %{_datadir}/postgresql
895 %{_datadir}/postgresql/*.bki
896 %{_datadir}/postgresql/*.sample
897 %{_datadir}/postgresql/*.description
898 %{_datadir}/postgresql/*.sql
899 %{_datadir}/postgresql/*.txt
901 %attr(700,postgres,postgres) /home/services/postgres
902 %attr(700,postgres,postgres) %dir /var/lib/pgsql
903 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
905 %{_mandir}/man1/clusterdb.1*
906 %{_mandir}/man1/createdb.1*
907 %{_mandir}/man1/createlang.1*
908 %{_mandir}/man1/createuser.1*
909 %{_mandir}/man1/dropdb.1*
910 %{_mandir}/man1/droplang.1*
911 %{_mandir}/man1/dropuser.1*
912 %{_mandir}/man1/initdb.1*
913 %{_mandir}/man1/initlocation.1*
914 %{_mandir}/man1/ipcclean.1*
915 %{_mandir}/man1/pg_controldata.1*
916 %{_mandir}/man1/pg_ctl.1*
917 %{_mandir}/man1/pg_resetxlog.1*
918 %{_mandir}/man1/postgres.1*
919 %{_mandir}/man1/postmaster.1*
924 %doc doc/FAQ* doc/README*
925 %doc COPYRIGHT README HISTORY doc/bug.template
928 %defattr(644,root,root,755)
933 %defattr(644,root,root,755)
934 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
935 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
936 %attr(755,root,root) %{_libdir}/libpq.so.*.*
937 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
938 %attr(755,root,root) %{_bindir}/pg_id
941 %defattr(644,root,root,755)
942 %attr(755,root,root) %{_bindir}/ecpg
943 %attr(755,root,root) %{_bindir}/pg_config
944 %attr(755,root,root) %{_libdir}/libecpg.so
945 %attr(755,root,root) %{_libdir}/libecpg_compat.so
946 %attr(755,root,root) %{_libdir}/libpq.so
947 %attr(755,root,root) %{_libdir}/libpgtypes.so
948 %dir %{_includedir}/postgresql
949 %{_includedir}/compatlib.h
950 %{_includedir}/datetime.h
951 %{_includedir}/decimal.h
952 %{_includedir}/ecpgerrno.h
953 %{_includedir}/ecpg_informix.h
954 %{_includedir}/ecpglib.h
955 %{_includedir}/ecpgtype.h
956 %{_includedir}/libpq-fe.h
957 %{_includedir}/pg_config.h
958 %{_includedir}/pg_config_os.h
959 %{_includedir}/pgtypes_date.h
960 %{_includedir}/pgtypes_error.h
961 %{_includedir}/pgtypes_interval.h
962 %{_includedir}/pgtypes_numeric.h
963 %{_includedir}/pgtypes_timestamp.h
964 %{_includedir}/postgres_ext.h
965 %{_includedir}/sql3types.h
966 %{_includedir}/sqlca.h
967 %{_includedir}/sqlda.h
968 %{_includedir}/sqltypes.h
969 %dir %{_includedir}/postgresql/internal
970 %{_includedir}/postgresql/internal/c.h
971 %{_includedir}/postgresql/internal/libpq-int.h
972 %{_includedir}/postgresql/internal/postgres_fe.h
973 %{_includedir}/postgresql/internal/pqexpbuffer.h
974 %{_includedir}/postgresql/internal/lib
975 %{_includedir}/postgresql/internal/libpq
977 %{_mandir}/man1/ecpg.1*
978 %{_mandir}/man1/pg_config.1*
981 %defattr(644,root,root,755)
982 %{_includedir}/postgresql/server
985 %defattr(644,root,root,755)
987 %{_libdir}/libecpg_compat.a
989 %{_libdir}/libpgtypes.a
992 %defattr(644,root,root,755)
993 %attr(755,root,root) %{_bindir}/pg_dump
994 %attr(755,root,root) %{_bindir}/pg_dumpall
995 %attr(755,root,root) %{_bindir}/pg_restore
996 %attr(755,root,root) %{_bindir}/psql
997 %attr(755,root,root) %{_bindir}/vacuumdb
999 %{_mandir}/man1/pg_dump.1*
1000 %{_mandir}/man1/pg_dumpall.1*
1001 %{_mandir}/man1/pg_restore.1*
1002 %{_mandir}/man1/psql.1*
1003 %{_mandir}/man1/vacuumdb.1*
1004 %{_mandir}/manl/*.l*
1008 %defattr(644,root,root,755)
1009 %attr(755,root,root) %{_libdir}/libpgtcl.so
1010 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1011 %attr(755,root,root) %{_bindir}/pgtclsh
1012 %attr(755,root,root) %{_bindir}/pgtksh
1013 %{_mandir}/man1/pgtclsh.1*
1014 %{_mandir}/man1/pgtksh.1*
1017 %defattr(644,root,root,755)
1018 %{_includedir}/libpgtcl.h
1021 %defattr(644,root,root,755)
1022 %{_libdir}/libpgtcl.a
1025 %files module-plpgsql
1026 %defattr(644,root,root,755)
1027 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1029 %files module-plperl
1030 %defattr(644,root,root,755)
1031 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1033 %files module-plpython
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_bindir}/pltcl_*
1041 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1044 %files module-pgcrypto
1045 %defattr(644,root,root,755)
1046 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1047 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1048 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1049 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz