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