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...
8 # - look at libpq locales
9 # - move ecpg headers to includedir subdir? (conflict with unixODBC-devel)
12 %bcond_without tcl # disables Tcl support
13 %bcond_without kerberos5 # disable kerberos5 support
14 %bcond_with jdbc # enable JDBC driver
15 %bcond_with absolute_dbpaths # enable absolute paths to create database
16 # (disabled by default because it is a security risk)
18 %include /usr/lib/rpm/macros.python
20 Summary: PostgreSQL Data Base Management System
21 Summary(de): PostgreSQL Datenbankverwaltungssystem
22 Summary(es): Gestor de Banco de Datos PostgreSQL
23 Summary(fr): Sysème de gestion de base de données PostgreSQL
24 Summary(pl): PostgreSQL - system bazodanowy
25 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
26 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
27 Summary(tr): Veri Tabaný Yönetim Sistemi
28 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
29 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
34 Group: Applications/Databases
35 ##Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
36 Source0: ftp://ftp2.pl.postgresql.org/mirrors/ftp.postgresql.org/source/v%{version}/%{name}-%{version}.tar.bz2
37 # Source0-md5: 9db7432c431d1570b1f605727daf27bc
39 Source2: pgsql-Database-HOWTO-html.tar.gz
40 # Source2-md5: 5b656ddf1db41965761f85204a14398e
41 Source3: %{name}.sysconfig
42 Patch0: %{name}-configure.patch
43 Patch1: %{name}-pg_ctl-silent.patch
44 Patch2: %{name}-pg_ctl-nopsql.patch
45 Patch3: %{name}-conf.patch
46 Patch4: %{name}-absolute_dbpaths.patch
47 Patch5: %{name}-link.patch
48 Patch6: %{name}-com_err.patch
49 Patch7: %{name}-ecpg_link.patch
50 Patch8: %{name}-ecpg-includedir.patch
52 URL: http://www.postgresql.org/
53 BuildRequires: autoconf
54 BuildRequires: automake
55 BuildRequires: bison >= 1.875
56 %{?with_kerberos5:BuildRequires: heimdal-devel}
57 BuildRequires: ncurses-devel >= 5.0
58 BuildRequires: openssl-devel >= 0.9.7c
59 BuildRequires: pam-devel
60 BuildRequires: perl-devel
61 BuildRequires: python-devel >= 2.3
62 BuildRequires: readline-devel >= 4.2
63 BuildRequires: rpm-pythonprov
64 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
65 %{?with_tcl:BuildRequires: tk-devel >= 8.4.3}
66 BuildRequires: zlib-devel
67 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69 PreReq: %{name}-clients = %{version}
70 PreReq: %{name}-libs = %{version}
71 Requires(pre): /usr/bin/getgid
72 Requires(pre): /bin/id
73 Requires(pre): /usr/sbin/groupadd
74 Requires(pre): /usr/sbin/useradd
75 Requires(pre): /usr/sbin/usermod
76 Requires(post,preun): /sbin/chkconfig
77 Obsoletes: postgresql-server
78 Obsoletes: postgresql-test
80 %define _pgmoduledir %{_libdir}/postgresql
81 %define _pgsqldir %{_pgmoduledir}/sql
84 PostgreSQL Data Base Management System (formerly known as Postgres,
87 PostgreSQL is an enhancement of the POSTGRES database management
88 system, a next-generation DBMS research prototype. While PostgreSQL
89 retains the powerful data model and rich data types of POSTGRES, it
90 replaces the PostQuel query language with an extended subset of SQL.
91 PostgreSQL is free and the complete source is available.
93 PostgreSQL development is being performed by a team of Internet
94 developers who all subscribe to the PostgreSQL development mailing
95 list. The current coordinator is Marc G. Fournier
96 (scrappy@postgreSQL.org). This team is now responsible for all current
97 and future development of PostgreSQL.
99 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
100 others have contributed to the porting, testing, debugging and
101 enhancement of the code. The original Postgres code, from which
102 PostgreSQL is derived, was the effort of many graduate students,
103 undergraduate students, and staff programmers working under the
104 direction of Professor Michael Stonebraker at the University of
105 California, Berkeley.
107 The original name of the software at Berkeley was Postgres. When SQL
108 functionality was added in 1995, its name was changed to Postgres95.
109 The name was changed at the end of 1996 to PostgreSQL.
111 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
112 and most flavours of Unix.
115 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
118 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
119 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
120 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
121 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
122 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
125 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
126 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
127 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
128 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
130 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
131 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
132 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
133 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
134 Studenten und Programmierern unter der Leitung von Professor Michael
135 Stonebraker an der University of California, Berkeley.
137 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
138 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
139 entschied man sich für PostgreSQL.
141 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
142 und den meisten Unix-Systemen.
145 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
146 como Postgres, y después como Postgres95). PostgreSQL es una
147 continuación mejorada del Sistema Administrador de Banco de Datos
148 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
149 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
150 los varios tipos de datos del POSTGRES, substituye el lenguaje de
151 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
152 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
153 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
154 en la lista de desarrollo del PostgreSQL. El coordinador actual es
155 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
156 responsable por el desarrollo actual y futuro del PostgreSQL.
159 Système de gestion de bases de données PostgreSQL (D'abord nommé
160 Postgres, puis Postgres95).
162 PostgreSQL est une amélioration du système de gestion de bases de
163 données POSTGRES, un prototype de recherche de la génération suivant
164 DBMS. Tout en conservant le puissant modèle de donnée de et les types
165 de donée riches de Postgres, il remplace le langage de requêtes de
166 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
167 libre, et ses sources sont disponibles.
169 Le développement de PostgreSQL est actuellement réalisé via internet
170 parune équipe de développeurs inscrits sur la mailing-list de
171 développement de PostgreSQL. Le coordinateur actuel est Marc G
172 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
173 développemen actuel et à venir de PostgreSQL.
175 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
176 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
177 l'amélioration du code. Le code original de Postgres, duquel
178 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
179 moins haut niveau, et de programmeurs travaillant sous la direction du
180 professeur Michael Stonebraker à l'université de Berkeley Californie.
182 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
183 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
184 rebaptisé PostgreSQL en 1996.
186 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
187 et la plupart des Unix.
190 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
191 Postgres, nastêpnie jako Postgres95).
193 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
194 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
195 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
196 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
197 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
200 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
201 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
202 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
203 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
205 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
206 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
207 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
208 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
209 zespo³u programistów, którzy pracowali pod kierunkiem profesora
210 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
212 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
213 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
214 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
217 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
218 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
220 %description -l pt_BR
221 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
222 Postgres, e depois como Postgres95).
224 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
225 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
226 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
227 dados e os vários tipos de dados do POSTGRES, ele substitui a
228 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
229 PostgreSQL é livre e tem os fontes disponíveis.
231 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
232 desenvolvedores da Internet, todos subscritores da lista de
233 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
234 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
235 desenvolvimento atual e futuro do PostgreSQL.
238 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
239 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
241 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
242 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
243 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
244 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
245 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
248 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
249 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
250 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
251 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
252 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
254 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
255 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
256 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
257 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
258 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
259 California, Berkeley.
261 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
262 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
263 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
266 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
267 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
270 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
271 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
272 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
273 sorgulama dilini koyar.
276 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
277 ÐÏÔ¦Í ÑË Postgres95).
279 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
280 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
281 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
282 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
283 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
286 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
287 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
288 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
289 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
291 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
292 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
293 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
294 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
295 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
296 California, Berkeley.
298 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
299 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
300 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
302 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
303 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
306 Summary: PostgreSQL development header files and libraries
307 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
308 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
309 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
310 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
311 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
312 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
313 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
314 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
315 Group: Development/Libraries
316 Requires: %{name}-libs = %{version}
319 This package contains header files and libraries required to compile
320 applications that are talking directly to the PostgreSQL backend
323 %description devel -l de
324 Dieses Paket enthält die Header-Dateien und Libraries, die zum
325 Kompilieren von Applikationen notwendig sind, die direkt mit dem
326 PostgreSQL-Backend-Server kommunizieren.
328 %description devel -l es
329 Este paquete contiene archivos de inclusión y bibliotecas requeridas
330 para compilación de aplicativos que se comunican directamente con el
331 servidor backend PostgreSQL.
333 %description devel -l fr
334 Ce package contient les fichiers d'en-tête et les bibliothéques
335 nécessaires pour compiler des applications ayant des échanges directs
336 avec le serveur du backend PostgreSQL.
338 %description devel -l pl
339 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
340 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
342 %description devel -l pt_BR
343 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
344 compilação de aplicativos que se comunicam diretamente com o servidor
347 %description devel -l ru
348 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
349 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
351 %description devel -l tr
352 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
353 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
355 %description devel -l uk
356 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
357 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
359 %package backend-devel
360 Summary: PostgreSQL backend development header files
361 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
362 Group: Development/Libraries
363 Requires: %{name}-libs = %{version}
365 %description backend-devel
366 This package contains header files required to compile functions that
367 could be loaded directly by backend
369 %description backend-devel -l pl
370 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
371 bezposrednio ladowane przez beckend serwera PostgreSQL.
374 Summary: Clients needed to access a PostgreSQL server
375 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
376 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
377 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
378 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
379 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
380 Group: Applications/Databases
381 Requires: %{name}-libs = %{version}
384 This package includes only the clients needed to access an PostgreSQL
385 server. The server is included in the main package. If all you need is
386 to connect to another PostgreSQL server, the this is the only package
387 you need to install. Clients include several command-line utilities
388 you can use to manage your databases on a remote PostgreSQL server.
390 %description clients -l es
391 Este paquete incluye solamente los clientes necesarios para acceder un
392 servidor PostgreSQL. El servidor está en el paquete principal.
394 %description clients -l pl
395 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
396 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
397 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
399 %description clients -l pt_BR
400 Este pacote inclui somente os clientes necessários para acessar um
401 servidor PostgreSQL. O servidor está no pacote principal.
403 %description clients -l ru
404 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
405 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
406 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
407 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
409 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
410 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
413 %description clients -l uk
414 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
415 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
416 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
417 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
419 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
420 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
423 Summary: Documentation for PostgreSQL
424 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
425 Group: Applications/Databases
428 This package includes documentation and HOWTO for programmer, admin
429 etc., in HTML format.
431 %description doc -l pl
432 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
433 administratorów w formacie HTML.
436 Summary: PostgreSQL libraries
437 Summary(es): Biblioteca compartida del PostgreSQL
438 Summary(pl): Biblioteki dzielone programu PostgreSQL
439 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
440 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
444 PostgreSQL shared libraries.
446 %description libs -l es
447 Este paquete contiene la biblioteca compartida para acceso al
450 %description libs -l pl
451 Biblioteki dzielone programu PostgreSQL.
453 %description libs -l pt_BR
454 Este pacote contém a biblioteca compartilhada para acesso ao
458 Summary: Embedded SQL in C interface
459 Summary(pl): Interfejs wbudowanego SQL-a w jêzyk C
463 Embedded SQL in C interface.
465 %description ecpg -l pl
466 Interfejs wbudowanego SQL-a w jêzyk C.
469 Summary: Embedded SQL in C interface files
470 Summary(pl): Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
471 Group: Development/Libraries
472 Requires: %{name}-devel = %{version}
474 %description ecpg-devel
475 Embedded SQL in C interface files.
477 %description ecpg-devel -l pl
478 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
481 Summary: PostgreSQL static libraries
482 Summary(es): Bibliotecas estaticas PostgreSQL
483 Summary(pl): Biblioteki statyczne programu PostgreSQL
484 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
485 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
486 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
487 Group: Development/Libraries
488 Requires: %{name}-devel = %{version}
491 PostgreSQL static libraries.
493 %description static -l es
494 Este paquete contiene bibliotecas estaticas requerida para compilación
495 de aplicativos que se comunican directamente con el servidor backend
498 %description static -l pl
499 Biblioteki statyczne programu PostgreSQL.
501 %description static -l pt_BR
502 Este pacote contém as bibliotecas estáticas requeridas para compilação
503 de aplicativos que se comunicam diretamente com o servidor backend
506 %description static -l ru
507 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
508 ×ÈÏÄÑÔ × %{name}-devel.
510 %description static -l uk
511 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
515 Summary: Tcl interface for PostgreSQL
516 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
517 Summary(pl): Interfejs Tcl dla PostgreSQL
518 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
519 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
520 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
521 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
522 Group: Development/Languages/Tcl
523 Requires: %{name}-libs = %{version}
526 Tcl interface for PostgreSQL.
528 %description tcl -l es
529 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
531 %description tcl -l pl
532 Interfejs Tcl dla PostgreSQL.
534 %description tcl -l pt_BR
535 Bibliotecas e shell para programas em Tcl acessarem o servidor
538 %description tcl -l ru
539 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
541 %description tcl -l uk
542 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
545 Summary: Development part of Tcl interface for PostgreSQL
546 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
547 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
548 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
549 Group: Development/Languages/Tcl
550 Requires: %{name}-tcl = %{version}
551 Requires: %{name}-devel = %{version}
553 %description tcl-devel
554 Development part of Tcl interface for PostgreSQL.
556 %description tcl-devel -l pl
557 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
559 %description tcl-devel -l ru
560 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
561 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
562 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
564 %description tcl-devel -l uk
565 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
566 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
567 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
570 Summary: Static libraries of Tcl interface for PostgreSQL
571 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
572 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
573 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
574 Group: Development/Languages/Tcl
575 Requires: %{name}-tcl-devel = %{version}
577 %description tcl-static
578 Static libraries of Tcl interface for PostgreSQL.
580 %description tcl-static -l pl
581 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
583 %description tcl-static -l ru
584 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
585 ×ÈÏÄÑÔ × postgresql-tcl-devel.
587 %description tcl-static -l uk
588 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
589 postgresql-tcl-devel.
591 %package module-plpgsql
592 Summary: PL/pgSQL - PostgreSQL procedural language
593 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
594 Group: Applications/Databases
595 Requires: %{name} = %{version}
597 %description module-plpgsql
598 From PostgreSQL documentation.
600 Postgres supports the definition of procedural languages. In the case
601 of a function or trigger procedure defined in a procedural language,
602 the database has no built-in knowledge about how to interpret the
603 function's source text. Instead, the task is passed to a handler that
604 knows the details of the language. The handler itself is a special
605 programming language function compiled into a shared object and loaded
608 To enable PL/pgSQL procedural language for your database you have to
609 run createlang command.
611 %description module-plpgsql -l pl
612 Z dokumentacji PostgreSQL.
614 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
615 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
616 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
617 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
618 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
619 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
622 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
623 proceduralnego PL/pgSQL dla swojej bazy danych.
625 %package module-plperl
626 Summary: PL/perl - PostgreSQL procedural language
627 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
628 Group: Applications/Databases
629 Requires: %{name} = %{version}
632 %description module-plperl
633 From PostgreSQL documentation.
635 Postgres supports the definition of procedural languages. In the case
636 of a function or trigger procedure defined in a procedural language,
637 the database has no built-in knowledge about how to interpret the
638 function's source text. Instead, the task is passed to a handler that
639 knows the details of the language. The handler itself is a special
640 programming language function compiled into a shared object and loaded
643 To enable PL/perl procedural language for your database you have to
644 run createlang command.
646 %description module-plperl -l pl
647 Z dokumentacji PostgreSQL.
649 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
650 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
651 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
652 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
653 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
654 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
657 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
658 proceduralnego PL/perl dla swojej bazy danych.
660 %package module-plpython
661 Summary: PL/python - PostgreSQL procedural language
662 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
663 Group: Applications/Databases
664 Requires: %{name} = %{version}
665 %pyrequires_eq python
667 %description module-plpython
668 From PostgreSQL documentation.
670 Postgres supports the definition of procedural languages. In the case
671 of a function or trigger procedure defined in a procedural language,
672 the database has no built-in knowledge about how to interpret the
673 function's source text. Instead, the task is passed to a handler that
674 knows the details of the language. The handler itself is a special
675 programming language function compiled into a shared object and loaded
678 To enable PL/python procedural language for your database you have to
679 run createlang command.
681 %description module-plpython -l pl
682 Z dokumentacji PostgreSQL.
684 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
685 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
686 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
687 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
688 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
689 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
692 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
693 proceduralnego PL/python dla swojej bazy danych.
695 %package module-pltcl
696 Summary: PL/TCL - PostgreSQL procedural language
697 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
698 Group: Applications/Databases
699 Requires: %{name} = %{version}
701 %description module-pltcl
702 From PostgreSQL documentation.
704 Postgres supports the definition of procedural languages. In the case
705 of a function or trigger procedure defined in a procedural language,
706 the database has no built-in knowledge about how to interpret the
707 function's source text. Instead, the task is passed to a handler that
708 knows the details of the language. The handler itself is a special
709 programming language function compiled into a shared object and loaded
712 To enable PL/TCL procedural language for your database you have to run
715 %description module-pltcl -l pl
716 Z dokumentacji PostgreSQL.
718 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
719 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
720 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
721 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
722 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
723 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
726 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
727 proceduralnego PL/TCL dla swojej bazy danych.
729 %package module-pgcrypto
730 Summary: Cryptographic functions for PostgreSQL
731 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
732 Group: Applications/Databases
733 Requires: %{name} = %{version}
735 %description module-pgcrypto
736 Cryptographic functions for PostgreSQL.
738 %description module-pgcrypto -l pl
739 Funkcje kryptograficzne dla PostgreSQL.
747 %{?with_absolute_dbpaths:%patch4 -p1}
753 tar xzf doc/man*.tar.gz
756 tar zxf doc/postgres.tar.gz -C doc/unpacked
759 find contrib -type d -name CVS -exec rm -rf {} \;
762 rm -f config/libtool.m4
763 %{__aclocal} -I config
766 %{!?_without_pgsql_locale:--enable-locale} \
767 %{!?_without_pgsql_multibyte:--enable-multibyte} \
769 --enable-thread-safety \
770 --enable-integer-datetimes \
775 --enable-unicode-conversion \
777 %{?with_tcl:--with-tcl} \
778 %{?with_tcl:--with-tk} \
781 %{?with_kerberos5:--with-krb5=%{_prefix}} \
784 %{?_with_jdbc: --with-java}
787 %ifnarch sparc sparcv9 sparc64 alpha ppc
788 %{!?_without_tests: %{__make} check }
795 rm -rf $RPM_BUILD_ROOT
796 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
797 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
798 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
799 $RPM_BUILD_ROOT/home/services/postgres
801 %{__make} install install-all-headers \
802 DESTDIR=$RPM_BUILD_ROOT
804 %{__make} install -C src/pl/plperl \
805 DESTDIR=$RPM_BUILD_ROOT
807 touch $RPM_BUILD_ROOT/var/log/pgsql
809 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
810 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
812 cp -a man? $RPM_BUILD_ROOT%{_mandir}
814 # there are html installed, remove them
815 rm -rf $RPM_BUILD_ROOT%{_infodir}
819 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
822 %py_comp $RPM_BUILD_ROOT%{py_libdir}
823 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
827 DESTDIR=$RPM_BUILD_ROOT
830 rm -rf $RPM_BUILD_ROOT
834 if [ -f /etc/sysconfig/postgresql ]; then
835 . /etc/sysconfig/postgresql
836 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
837 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
841 for pgdir in $PG_DB_CLUSTERS; do
842 if [ -f $pgdir/PG_VERSION ]; then
843 if [ `cat $pgdir/PG_VERSION` != '7.4' ]; then
844 echo "Found database(s) in older, incompatible format in cluster $pgdir."
849 if [ "$foundold" = "1" ]; then
851 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
852 echo "and clean (or rename) those directories; then upgrade postgresql and"
853 echo "restore all data (using pg_restore or psql)."
854 echo "Remember to stop the daemon before upgrading!"
856 echo "Warning for upgrade from version *before* 7.2."
857 echo "Please note, that postgresql module path changed from"
858 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
859 echo "in dump file before restore."
861 echo "Warning for upgrade from version *before* 7.3."
862 echo "Reading following webpage is encouraged:"
863 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
867 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
868 if id postgres >/dev/null 2>&1 ; then
869 /usr/sbin/usermod -d /home/services/postgres postgres
871 /usr/sbin/useradd -M -o -r -u 88 \
872 -d /home/services/postgres -s /bin/sh -g postgres \
873 -c "PostgreSQL Server" postgres
877 /sbin/chkconfig --add postgresql
878 if [ -f /var/lock/subsys/postgresql ]; then
879 /etc/rc.d/init.d/postgresql restart >&2 || :
881 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
885 if [ "$1" = "0" ]; then
886 if [ -f /var/lock/subsys/postgresql ]; then
887 /etc/rc.d/init.d/postgresql stop
889 /sbin/chkconfig --del postgresql
892 %post libs -p /sbin/ldconfig
893 %postun libs -p /sbin/ldconfig
895 %post ecpg -p /sbin/ldconfig
896 %postun ecpg -p /sbin/ldconfig
898 %post tcl -p /sbin/ldconfig
899 %postun tcl -p /sbin/ldconfig
902 %defattr(644,root,root,755)
903 %attr(754,root,root) /etc/rc.d/init.d/*
904 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
906 %attr(755,root,root) %{_bindir}/clusterdb
907 %attr(755,root,root) %{_bindir}/createdb
908 %attr(755,root,root) %{_bindir}/createlang
909 %attr(755,root,root) %{_bindir}/createuser
910 %attr(755,root,root) %{_bindir}/dropdb
911 %attr(755,root,root) %{_bindir}/droplang
912 %attr(755,root,root) %{_bindir}/dropuser
913 %attr(755,root,root) %{_bindir}/initdb
914 %attr(755,root,root) %{_bindir}/initlocation
915 %attr(755,root,root) %{_bindir}/ipcclean
916 %attr(755,root,root) %{_bindir}/pg_controldata
917 %attr(755,root,root) %{_bindir}/pg_ctl
918 %attr(755,root,root) %{_bindir}/pg_encoding
919 %attr(755,root,root) %{_bindir}/pg_resetxlog
920 %attr(755,root,root) %{_bindir}/postgres
921 %attr(755,root,root) %{_bindir}/postmaster
923 %attr(755,root,root) %{_pgmoduledir}/ascii*
924 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
925 %attr(755,root,root) %{_pgmoduledir}/euc*
926 %attr(755,root,root) %{_pgmoduledir}/latin*
927 %attr(755,root,root) %{_pgmoduledir}/utf*
931 %dir %{_datadir}/postgresql
932 %{_datadir}/postgresql/*.bki
933 %{_datadir}/postgresql/*.sample
934 %{_datadir}/postgresql/*.description
935 %{_datadir}/postgresql/*.sql
936 %{_datadir}/postgresql/*.txt
938 %attr(700,postgres,postgres) /home/services/postgres
939 %attr(700,postgres,postgres) %dir /var/lib/pgsql
940 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
942 %{_mandir}/man1/clusterdb.1*
943 %{_mandir}/man1/createdb.1*
944 %{_mandir}/man1/createlang.1*
945 %{_mandir}/man1/createuser.1*
946 %{_mandir}/man1/dropdb.1*
947 %{_mandir}/man1/droplang.1*
948 %{_mandir}/man1/dropuser.1*
949 %{_mandir}/man1/initdb.1*
950 %{_mandir}/man1/initlocation.1*
951 %{_mandir}/man1/ipcclean.1*
952 %{_mandir}/man1/pg_controldata.1*
953 %{_mandir}/man1/pg_ctl.1*
954 %{_mandir}/man1/pg_resetxlog.1*
955 %{_mandir}/man1/postgres.1*
956 %{_mandir}/man1/postmaster.1*
961 %doc doc/FAQ* doc/README*
962 %doc COPYRIGHT README HISTORY doc/bug.template
965 %defattr(644,root,root,755)
970 %defattr(644,root,root,755)
971 %attr(755,root,root) %{_libdir}/libpq.so.*.*
972 %attr(755,root,root) %{_bindir}/pg_id
975 %defattr(644,root,root,755)
976 %attr(755,root,root) %{_bindir}/ecpg
977 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
978 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
979 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
980 %{_mandir}/man1/ecpg.1*
983 %defattr(644,root,root,755)
984 %attr(755,root,root) %{_libdir}/libecpg.so
985 %attr(755,root,root) %{_libdir}/libecpg_compat.so
986 %attr(755,root,root) %{_libdir}/libpgtypes.so
990 %defattr(644,root,root,755)
991 %attr(755,root,root) %{_bindir}/pg_config
992 %attr(755,root,root) %{_libdir}/libpq.so
993 %dir %{_includedir}/postgresql
994 %{_includedir}/libpq-fe.h
995 %{_includedir}/pg_config.h
996 %{_includedir}/pg_config_os.h
997 %{_includedir}/postgres_ext.h
998 %dir %{_includedir}/postgresql/internal
999 %{_includedir}/postgresql/internal/c.h
1000 %{_includedir}/postgresql/internal/libpq-int.h
1001 %{_includedir}/postgresql/internal/postgres_fe.h
1002 %{_includedir}/postgresql/internal/pqexpbuffer.h
1003 %{_includedir}/postgresql/internal/lib
1004 %{_includedir}/postgresql/internal/libpq
1005 %{_includedir}/libpq
1006 %{_mandir}/man1/pg_config.1*
1008 %files backend-devel
1009 %defattr(644,root,root,755)
1010 %{_includedir}/postgresql/server
1013 %defattr(644,root,root,755)
1014 %{_libdir}/libecpg.a
1015 %{_libdir}/libecpg_compat.a
1017 %{_libdir}/libpgtypes.a
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_bindir}/pg_dump
1022 %attr(755,root,root) %{_bindir}/pg_dumpall
1023 %attr(755,root,root) %{_bindir}/pg_restore
1024 %attr(755,root,root) %{_bindir}/psql
1025 %attr(755,root,root) %{_bindir}/vacuumdb
1027 %{_mandir}/man1/pg_dump.1*
1028 %{_mandir}/man1/pg_dumpall.1*
1029 %{_mandir}/man1/pg_restore.1*
1030 %{_mandir}/man1/psql.1*
1031 %{_mandir}/man1/vacuumdb.1*
1032 %{_mandir}/manl/*.l*
1036 %defattr(644,root,root,755)
1037 %attr(755,root,root) %{_libdir}/libpgtcl.so
1038 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1039 %attr(755,root,root) %{_bindir}/pgtclsh
1040 %attr(755,root,root) %{_bindir}/pgtksh
1041 %{_mandir}/man1/pgtclsh.1*
1042 %{_mandir}/man1/pgtksh.1*
1045 %defattr(644,root,root,755)
1046 %{_includedir}/libpgtcl.h
1049 %defattr(644,root,root,755)
1050 %{_libdir}/libpgtcl.a
1053 %files module-plpgsql
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1057 %files module-plperl
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1061 %files module-plpython
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1067 %defattr(644,root,root,755)
1068 %attr(755,root,root) %{_bindir}/pltcl_*
1069 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1072 %files module-pgcrypto
1073 %defattr(644,root,root,755)
1074 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1075 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1076 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1077 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz