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
46 Patch6: %{name}-com_err.patch
48 URL: http://www.postgresql.org/
49 BuildRequires: autoconf
50 BuildRequires: automake
51 BuildRequires: bison >= 1.875
52 BuildRequires: heimdal-devel
53 BuildRequires: ncurses-devel >= 5.0
54 BuildRequires: openssl-devel >= 0.9.7c
55 BuildRequires: pam-devel
56 BuildRequires: perl-devel
57 BuildRequires: python-devel >= 2.3
58 BuildRequires: readline-devel >= 4.2
59 BuildRequires: rpm-pythonprov
60 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
61 %{?with_tcl:BuildRequires: tk-devel >= 8.4.3}
62 BuildRequires: zlib-devel
63 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65 PreReq: %{name}-clients = %{version}
66 PreReq: %{name}-libs = %{version}
67 Requires(pre): /usr/bin/getgid
68 Requires(pre): /bin/id
69 Requires(pre): /usr/sbin/groupadd
70 Requires(pre): /usr/sbin/useradd
71 Requires(pre): /usr/sbin/usermod
72 Requires(post,preun): /sbin/chkconfig
73 Obsoletes: postgresql-server
74 Obsoletes: postgresql-test
76 %define _pgmoduledir %{_libdir}/postgresql
77 %define _pgsqldir %{_pgmoduledir}/sql
80 PostgreSQL Data Base Management System (formerly known as Postgres,
83 PostgreSQL is an enhancement of the POSTGRES database management
84 system, a next-generation DBMS research prototype. While PostgreSQL
85 retains the powerful data model and rich data types of POSTGRES, it
86 replaces the PostQuel query language with an extended subset of SQL.
87 PostgreSQL is free and the complete source is available.
89 PostgreSQL development is being performed by a team of Internet
90 developers who all subscribe to the PostgreSQL development mailing
91 list. The current coordinator is Marc G. Fournier
92 (scrappy@postgreSQL.org). This team is now responsible for all current
93 and future development of PostgreSQL.
95 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
96 others have contributed to the porting, testing, debugging and
97 enhancement of the code. The original Postgres code, from which
98 PostgreSQL is derived, was the effort of many graduate students,
99 undergraduate students, and staff programmers working under the
100 direction of Professor Michael Stonebraker at the University of
101 California, Berkeley.
103 The original name of the software at Berkeley was Postgres. When SQL
104 functionality was added in 1995, its name was changed to Postgres95.
105 The name was changed at the end of 1996 to PostgreSQL.
107 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
108 and most flavours of Unix.
111 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
114 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
115 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
116 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
117 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
118 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
121 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
122 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
123 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
124 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
126 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
127 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
128 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
129 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
130 Studenten und Programmierern unter der Leitung von Professor Michael
131 Stonebraker an der University of California, Berkeley.
133 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
134 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
135 entschied man sich für PostgreSQL.
137 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
138 und den meisten Unix-Systemen.
141 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
142 como Postgres, y después como Postgres95). PostgreSQL es una
143 continuación mejorada del Sistema Administrador de Banco de Datos
144 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
145 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
146 los varios tipos de datos del POSTGRES, substituye el lenguaje de
147 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
148 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
149 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
150 en la lista de desarrollo del PostgreSQL. El coordinador actual es
151 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
152 responsable por el desarrollo actual y futuro del PostgreSQL.
155 Système de gestion de bases de données PostgreSQL (D'abord nommé
156 Postgres, puis Postgres95).
158 PostgreSQL est une amélioration du système de gestion de bases de
159 données POSTGRES, un prototype de recherche de la génération suivant
160 DBMS. Tout en conservant le puissant modèle de donnée de et les types
161 de donée riches de Postgres, il remplace le langage de requêtes de
162 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
163 libre, et ses sources sont disponibles.
165 Le développement de PostgreSQL est actuellement réalisé via internet
166 parune équipe de développeurs inscrits sur la mailing-list de
167 développement de PostgreSQL. Le coordinateur actuel est Marc G
168 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
169 développemen actuel et à venir de PostgreSQL.
171 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
172 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
173 l'amélioration du code. Le code original de Postgres, duquel
174 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
175 moins haut niveau, et de programmeurs travaillant sous la direction du
176 professeur Michael Stonebraker à l'université de Berkeley Californie.
178 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
179 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
180 rebaptisé PostgreSQL en 1996.
182 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
183 et la plupart des Unix.
186 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
187 Postgres, nastêpnie jako Postgres95).
189 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
190 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
191 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
192 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
193 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
196 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
197 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
198 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
199 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
201 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
202 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
203 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
204 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
205 zespo³u programistów, którzy pracowali pod kierunkiem profesora
206 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
208 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
209 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
210 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
213 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
214 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
216 %description -l pt_BR
217 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
218 Postgres, e depois como Postgres95).
220 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
221 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
222 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
223 dados e os vários tipos de dados do POSTGRES, ele substitui a
224 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
225 PostgreSQL é livre e tem os fontes disponíveis.
227 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
228 desenvolvedores da Internet, todos subscritores da lista de
229 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
230 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
231 desenvolvimento atual e futuro do PostgreSQL.
234 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
235 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
237 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
238 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
239 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
240 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
241 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
244 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
245 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
246 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
247 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
248 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
250 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
251 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
252 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
253 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
254 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
255 California, Berkeley.
257 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
258 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
259 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
262 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
263 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
266 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
267 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
268 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
269 sorgulama dilini koyar.
272 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
273 ÐÏÔ¦Í ÑË Postgres95).
275 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
276 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
277 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
278 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
279 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
282 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
283 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
284 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
285 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
287 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
288 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
289 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
290 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
291 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
292 California, Berkeley.
294 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
295 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
296 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
298 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
299 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
302 Summary: PostgreSQL development header files and libraries
303 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
304 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
305 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
306 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
307 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
308 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
309 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
310 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
311 Group: Development/Libraries
312 Requires: %{name}-libs = %{version}
315 This package contains header files and libraries required to compile
316 applications that are talking directly to the PostgreSQL backend
319 %description devel -l de
320 Dieses Paket enthält die Header-Dateien und Libraries, die zum
321 Kompilieren von Applikationen notwendig sind, die direkt mit dem
322 PostgreSQL-Backend-Server kommunizieren.
324 %description devel -l es
325 Este paquete contiene archivos de inclusión y bibliotecas requeridas
326 para compilación de aplicativos que se comunican directamente con el
327 servidor backend PostgreSQL.
329 %description devel -l fr
330 Ce package contient les fichiers d'en-tête et les bibliothéques
331 nécessaires pour compiler des applications ayant des échanges directs
332 avec le serveur du backend PostgreSQL.
334 %description devel -l pl
335 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
336 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
338 %description devel -l pt_BR
339 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
340 compilação de aplicativos que se comunicam diretamente com o servidor
343 %description devel -l ru
344 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
345 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
347 %description devel -l tr
348 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
349 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
351 %description devel -l uk
352 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
353 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
355 %package backend-devel
356 Summary: PostgreSQL backend development header files
357 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
358 Group: Development/Libraries
359 Requires: %{name}-libs = %{version}
361 %description backend-devel
362 This package contains header files required to compile functions that
363 could be loaded directly by backend
365 %description backend-devel -l pl
366 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
367 bezposrednio ladowane przez beckend serwera PostgreSQL.
370 Summary: Clients needed to access a PostgreSQL server
371 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
372 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
373 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
374 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
375 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
376 Group: Applications/Databases
377 Requires: %{name}-libs = %{version}
380 This package includes only the clients needed to access an PostgreSQL
381 server. The server is included in the main package. If all you need is
382 to connect to another PostgreSQL server, the this is the only package
383 you need to install. Clients include several command-line utilities
384 you can use to manage your databases on a remote PostgreSQL server.
386 %description clients -l es
387 Este paquete incluye solamente los clientes necesarios para acceder un
388 servidor PostgreSQL. El servidor está en el paquete principal.
390 %description clients -l pl
391 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
392 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
393 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
395 %description clients -l pt_BR
396 Este pacote inclui somente os clientes necessários para acessar um
397 servidor PostgreSQL. O servidor está no pacote principal.
399 %description clients -l ru
400 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
401 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
402 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
403 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
405 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
406 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
409 %description clients -l uk
410 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
411 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
412 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
413 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
415 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
416 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
419 Summary: Documentation for PostgreSQL
420 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
421 Group: Applications/Databases
424 This package includes documentation and HOWTO for programmer, admin
425 etc., in HTML format.
427 %description doc -l pl
428 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
429 administratorów w formacie HTML.
432 Summary: PostgreSQL libraries
433 Summary(es): Biblioteca compartida del PostgreSQL
434 Summary(pl): Biblioteki dzielone programu PostgreSQL
435 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
436 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
440 PostgreSQL shared libraries.
442 %description libs -l es
443 Este paquete contiene la biblioteca compartida para acceso al
446 %description libs -l pl
447 Biblioteki dzielone programu PostgreSQL.
449 %description libs -l pt_BR
450 Este pacote contém a biblioteca compartilhada para acesso ao
454 Summary: PostgreSQL static libraries
455 Summary(es): Bibliotecas estaticas PostgreSQL
456 Summary(pl): Biblioteki statyczne programu PostgreSQL
457 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
458 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
459 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
460 Group: Development/Libraries
461 Requires: %{name}-devel = %{version}
464 PostgreSQL static libraries.
466 %description static -l es
467 Este paquete contiene bibliotecas estaticas requerida para compilación
468 de aplicativos que se comunican directamente con el servidor backend
471 %description static -l pl
472 Biblioteki statyczne programu PostgreSQL.
474 %description static -l pt_BR
475 Este pacote contém as bibliotecas estáticas requeridas para compilação
476 de aplicativos que se comunicam diretamente com o servidor backend
479 %description static -l ru
480 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
481 ×ÈÏÄÑÔ × %{name}-devel.
483 %description static -l uk
484 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
488 Summary: Tcl interface for PostgreSQL
489 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
490 Summary(pl): Interfejs Tcl dla PostgreSQL
491 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
492 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
493 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
494 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
495 Group: Development/Languages/Tcl
496 Requires: %{name}-libs = %{version}
499 Tcl interface for PostgreSQL.
501 %description tcl -l es
502 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
504 %description tcl -l pl
505 Interfejs Tcl dla PostgreSQL.
507 %description tcl -l pt_BR
508 Bibliotecas e shell para programas em Tcl acessarem o servidor
511 %description tcl -l ru
512 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
514 %description tcl -l uk
515 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
518 Summary: Development part of Tcl interface for PostgreSQL
519 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
520 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
521 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
522 Group: Development/Languages/Tcl
523 Requires: %{name}-tcl = %{version}
524 Requires: %{name}-devel = %{version}
526 %description tcl-devel
527 Development part of Tcl interface for PostgreSQL.
529 %description tcl-devel -l pl
530 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
532 %description tcl-devel -l ru
533 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
534 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
535 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
537 %description tcl-devel -l uk
538 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
539 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
540 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
543 Summary: Static libraries of Tcl interface for PostgreSQL
544 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
545 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
546 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
547 Group: Development/Languages/Tcl
548 Requires: %{name}-tcl-devel = %{version}
550 %description tcl-static
551 Static libraries of Tcl interface for PostgreSQL.
553 %description tcl-static -l pl
554 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
556 %description tcl-static -l ru
557 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
558 ×ÈÏÄÑÔ × postgresql-tcl-devel.
560 %description tcl-static -l uk
561 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
562 postgresql-tcl-devel.
564 %package module-plpgsql
565 Summary: PL/pgSQL - PostgreSQL procedural language
566 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
567 Group: Applications/Databases
568 Requires: %{name} = %{version}
570 %description module-plpgsql
571 From PostgreSQL documentation.
573 Postgres supports the definition of procedural languages. In the case
574 of a function or trigger procedure defined in a procedural language,
575 the database has no built-in knowledge about how to interpret the
576 function's source text. Instead, the task is passed to a handler that
577 knows the details of the language. The handler itself is a special
578 programming language function compiled into a shared object and loaded
581 To enable PL/pgSQL procedural language for your database you have to
582 run createlang command.
584 %description module-plpgsql -l pl
585 Z dokumentacji PostgreSQL.
587 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
588 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
589 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
590 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
591 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
592 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
595 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
596 proceduralnego PL/pgSQL dla swojej bazy danych.
598 %package module-plperl
599 Summary: PL/perl - PostgreSQL procedural language
600 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
601 Group: Applications/Databases
602 Requires: %{name} = %{version}
605 %description module-plperl
606 From PostgreSQL documentation.
608 Postgres supports the definition of procedural languages. In the case
609 of a function or trigger procedure defined in a procedural language,
610 the database has no built-in knowledge about how to interpret the
611 function's source text. Instead, the task is passed to a handler that
612 knows the details of the language. The handler itself is a special
613 programming language function compiled into a shared object and loaded
616 To enable PL/perl procedural language for your database you have to
617 run createlang command.
619 %description module-plperl -l pl
620 Z dokumentacji PostgreSQL.
622 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
623 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
624 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
625 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
626 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
627 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
630 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
631 proceduralnego PL/perl dla swojej bazy danych.
633 %package module-plpython
634 Summary: PL/python - PostgreSQL procedural language
635 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
636 Group: Applications/Databases
637 Requires: %{name} = %{version}
638 %pyrequires_eq python
640 %description module-plpython
641 From PostgreSQL documentation.
643 Postgres supports the definition of procedural languages. In the case
644 of a function or trigger procedure defined in a procedural language,
645 the database has no built-in knowledge about how to interpret the
646 function's source text. Instead, the task is passed to a handler that
647 knows the details of the language. The handler itself is a special
648 programming language function compiled into a shared object and loaded
651 To enable PL/python procedural language for your database you have to
652 run createlang command.
654 %description module-plpython -l pl
655 Z dokumentacji PostgreSQL.
657 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
658 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
659 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
660 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
661 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
662 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
665 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
666 proceduralnego PL/python dla swojej bazy danych.
668 %package module-pltcl
669 Summary: PL/TCL - PostgreSQL procedural language
670 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
671 Group: Applications/Databases
672 Requires: %{name} = %{version}
674 %description module-pltcl
675 From PostgreSQL documentation.
677 Postgres supports the definition of procedural languages. In the case
678 of a function or trigger procedure defined in a procedural language,
679 the database has no built-in knowledge about how to interpret the
680 function's source text. Instead, the task is passed to a handler that
681 knows the details of the language. The handler itself is a special
682 programming language function compiled into a shared object and loaded
685 To enable PL/TCL procedural language for your database you have to run
688 %description module-pltcl -l pl
689 Z dokumentacji PostgreSQL.
691 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
692 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
693 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
694 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
695 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
696 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
699 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
700 proceduralnego PL/TCL dla swojej bazy danych.
702 %package module-pgcrypto
703 Summary: Cryptographic functions for PostgreSQL
704 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
705 Group: Applications/Databases
706 Requires: %{name} = %{version}
708 %description module-pgcrypto
709 Cryptographic functions for PostgreSQL.
711 %description module-pgcrypto -l pl
712 Funkcje kryptograficzne dla PostgreSQL.
715 %setup -q -n %{name}-%{version}%{_rc}
720 %{?_with_absolute_dbpaths:%patch4 -p1}
724 tar xzf doc/man*.tar.gz
727 tar zxf doc/postgres.tar.gz -C doc/unpacked
730 find contrib -type d -name CVS -exec rm -rf {} \;
733 rm -f config/libtool.m4
734 %{__aclocal} -I config
737 %{!?_without_pgsql_locale:--enable-locale} \
738 %{!?_without_pgsql_multibyte:--enable-multibyte} \
740 --enable-thread-safety \
741 --enable-integer-datetimes \
746 --enable-unicode-conversion \
748 %{?with_tcl:--with-tcl} \
749 %{?with_tcl:--with-tk} \
752 --with-krb5=%{_prefix} \
755 %{?_with_jdbc: --with-java}
758 %ifnarch sparc sparcv9 sparc64 alpha ppc
759 %{!?_without_tests: %{__make} check }
766 rm -rf $RPM_BUILD_ROOT
767 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
768 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
769 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
770 $RPM_BUILD_ROOT/home/services/postgres
772 %{__make} install install-all-headers \
773 DESTDIR=$RPM_BUILD_ROOT
775 %{__make} install -C src/pl/plperl \
776 DESTDIR=$RPM_BUILD_ROOT
778 touch $RPM_BUILD_ROOT/var/log/pgsql
780 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
781 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
783 cp -a man? $RPM_BUILD_ROOT%{_mandir}
785 # there are html installed, remove them
786 rm -rf $RPM_BUILD_ROOT%{_infodir}
790 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
793 %py_comp $RPM_BUILD_ROOT%{py_libdir}
794 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
798 DESTDIR=$RPM_BUILD_ROOT
801 rm -rf $RPM_BUILD_ROOT
805 if [ -f /etc/sysconfig/postgresql ]; then
806 . /etc/sysconfig/postgresql
807 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
808 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
812 for pgdir in $PG_DB_CLUSTERS; do
813 if [ -f $pgdir/PG_VERSION ]; then
814 if [ `cat $pgdir/PG_VERSION` != '7.4' ]; then
815 echo "Found database(s) in older, incompatible format in cluster $pgdir."
820 if [ "$foundold" = "1" ]; then
822 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
823 echo "and clean (or rename) those directories; then upgrade postgresql and"
824 echo "restore all data (using pg_restore or psql)."
825 echo "Remember to stop the daemon before upgrading!"
827 echo "Warning for upgrade from version *before* 7.2."
828 echo "Please note, that postgresql module path changed from"
829 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
830 echo "in dump file before restore."
832 echo "Warning for upgrade from version *before* 7.3."
833 echo "Reading following webpage is encouraged:"
834 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
838 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
839 if id postgres >/dev/null 2>&1 ; then
840 /usr/sbin/usermod -d /home/services/postgres postgres
842 /usr/sbin/useradd -M -o -r -u 88 \
843 -d /home/services/postgres -s /bin/sh -g postgres \
844 -c "PostgreSQL Server" postgres
848 /sbin/chkconfig --add postgresql
849 if [ -f /var/lock/subsys/postgresql ]; then
850 /etc/rc.d/init.d/postgresql restart >&2 || :
852 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
856 if [ "$1" = "0" ]; then
857 if [ -f /var/lock/subsys/postgresql ]; then
858 /etc/rc.d/init.d/postgresql stop
860 /sbin/chkconfig --del postgresql
863 %post libs -p /sbin/ldconfig
864 %postun libs -p /sbin/ldconfig
866 %post tcl -p /sbin/ldconfig
867 %postun tcl -p /sbin/ldconfig
870 %defattr(644,root,root,755)
871 %attr(754,root,root) /etc/rc.d/init.d/*
872 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
874 %attr(755,root,root) %{_bindir}/clusterdb
875 %attr(755,root,root) %{_bindir}/createdb
876 %attr(755,root,root) %{_bindir}/createlang
877 %attr(755,root,root) %{_bindir}/createuser
878 %attr(755,root,root) %{_bindir}/dropdb
879 %attr(755,root,root) %{_bindir}/droplang
880 %attr(755,root,root) %{_bindir}/dropuser
881 %attr(755,root,root) %{_bindir}/initdb
882 %attr(755,root,root) %{_bindir}/initlocation
883 %attr(755,root,root) %{_bindir}/ipcclean
884 %attr(755,root,root) %{_bindir}/pg_controldata
885 %attr(755,root,root) %{_bindir}/pg_ctl
886 %attr(755,root,root) %{_bindir}/pg_encoding
887 %attr(755,root,root) %{_bindir}/pg_resetxlog
888 %attr(755,root,root) %{_bindir}/postgres
889 %attr(755,root,root) %{_bindir}/postmaster
891 %attr(755,root,root) %{_pgmoduledir}/ascii*
892 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
893 %attr(755,root,root) %{_pgmoduledir}/euc*
894 %attr(755,root,root) %{_pgmoduledir}/latin*
895 %attr(755,root,root) %{_pgmoduledir}/utf*
899 %dir %{_datadir}/postgresql
900 %{_datadir}/postgresql/*.bki
901 %{_datadir}/postgresql/*.sample
902 %{_datadir}/postgresql/*.description
903 %{_datadir}/postgresql/*.sql
904 %{_datadir}/postgresql/*.txt
906 %attr(700,postgres,postgres) /home/services/postgres
907 %attr(700,postgres,postgres) %dir /var/lib/pgsql
908 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
910 %{_mandir}/man1/clusterdb.1*
911 %{_mandir}/man1/createdb.1*
912 %{_mandir}/man1/createlang.1*
913 %{_mandir}/man1/createuser.1*
914 %{_mandir}/man1/dropdb.1*
915 %{_mandir}/man1/droplang.1*
916 %{_mandir}/man1/dropuser.1*
917 %{_mandir}/man1/initdb.1*
918 %{_mandir}/man1/initlocation.1*
919 %{_mandir}/man1/ipcclean.1*
920 %{_mandir}/man1/pg_controldata.1*
921 %{_mandir}/man1/pg_ctl.1*
922 %{_mandir}/man1/pg_resetxlog.1*
923 %{_mandir}/man1/postgres.1*
924 %{_mandir}/man1/postmaster.1*
929 %doc doc/FAQ* doc/README*
930 %doc COPYRIGHT README HISTORY doc/bug.template
933 %defattr(644,root,root,755)
938 %defattr(644,root,root,755)
939 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
940 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
941 %attr(755,root,root) %{_libdir}/libpq.so.*.*
942 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
943 %attr(755,root,root) %{_bindir}/pg_id
946 %defattr(644,root,root,755)
947 %attr(755,root,root) %{_bindir}/ecpg
948 %attr(755,root,root) %{_bindir}/pg_config
949 %attr(755,root,root) %{_libdir}/libecpg.so
950 %attr(755,root,root) %{_libdir}/libecpg_compat.so
951 %attr(755,root,root) %{_libdir}/libpq.so
952 %attr(755,root,root) %{_libdir}/libpgtypes.so
953 %dir %{_includedir}/postgresql
954 %{_includedir}/compatlib.h
955 %{_includedir}/datetime.h
956 %{_includedir}/decimal.h
957 %{_includedir}/ecpgerrno.h
958 %{_includedir}/ecpg_informix.h
959 %{_includedir}/ecpglib.h
960 %{_includedir}/ecpgtype.h
961 %{_includedir}/libpq-fe.h
962 %{_includedir}/pg_config.h
963 %{_includedir}/pg_config_os.h
964 %{_includedir}/pgtypes_date.h
965 %{_includedir}/pgtypes_error.h
966 %{_includedir}/pgtypes_interval.h
967 %{_includedir}/pgtypes_numeric.h
968 %{_includedir}/pgtypes_timestamp.h
969 %{_includedir}/postgres_ext.h
970 %{_includedir}/sql3types.h
971 %{_includedir}/sqlca.h
972 %{_includedir}/sqlda.h
973 %{_includedir}/sqltypes.h
974 %dir %{_includedir}/postgresql/internal
975 %{_includedir}/postgresql/internal/c.h
976 %{_includedir}/postgresql/internal/libpq-int.h
977 %{_includedir}/postgresql/internal/postgres_fe.h
978 %{_includedir}/postgresql/internal/pqexpbuffer.h
979 %{_includedir}/postgresql/internal/lib
980 %{_includedir}/postgresql/internal/libpq
982 %{_mandir}/man1/ecpg.1*
983 %{_mandir}/man1/pg_config.1*
986 %defattr(644,root,root,755)
987 %{_includedir}/postgresql/server
990 %defattr(644,root,root,755)
992 %{_libdir}/libecpg_compat.a
994 %{_libdir}/libpgtypes.a
997 %defattr(644,root,root,755)
998 %attr(755,root,root) %{_bindir}/pg_dump
999 %attr(755,root,root) %{_bindir}/pg_dumpall
1000 %attr(755,root,root) %{_bindir}/pg_restore
1001 %attr(755,root,root) %{_bindir}/psql
1002 %attr(755,root,root) %{_bindir}/vacuumdb
1004 %{_mandir}/man1/pg_dump.1*
1005 %{_mandir}/man1/pg_dumpall.1*
1006 %{_mandir}/man1/pg_restore.1*
1007 %{_mandir}/man1/psql.1*
1008 %{_mandir}/man1/vacuumdb.1*
1009 %{_mandir}/manl/*.l*
1013 %defattr(644,root,root,755)
1014 %attr(755,root,root) %{_libdir}/libpgtcl.so
1015 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1016 %attr(755,root,root) %{_bindir}/pgtclsh
1017 %attr(755,root,root) %{_bindir}/pgtksh
1018 %{_mandir}/man1/pgtclsh.1*
1019 %{_mandir}/man1/pgtksh.1*
1022 %defattr(644,root,root,755)
1023 %{_includedir}/libpgtcl.h
1026 %defattr(644,root,root,755)
1027 %{_libdir}/libpgtcl.a
1030 %files module-plpgsql
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1034 %files module-plperl
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1038 %files module-plpython
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_bindir}/pltcl_*
1046 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1049 %files module-pgcrypto
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1052 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1053 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1054 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz