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
22 Summary: PostgreSQL Data Base Management System
23 Summary(de): PostgreSQL Datenbankverwaltungssystem
24 Summary(es): Gestor de Banco de Datos PostgreSQL
25 Summary(fr): Sysème de gestion de base de données PostgreSQL
26 Summary(pl): PostgreSQL - system bazodanowy
27 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
28 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
29 Summary(tr): Veri Tabaný Yönetim Sistemi
30 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
31 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
36 Group: Applications/Databases
37 ##Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}%{_rc}.tar.bz2
38 Source0: ftp://ftp2.pl.postgresql.org/mirrors/ftp.postgresql.org/source/v%{version}/%{name}-%{version}%{_rc}.tar.bz2
39 # Source0-md5: a1ea58e97dd7849a4fb4721752d3ed41
41 Source2: pgsql-Database-HOWTO-html.tar.gz
42 # Source2-md5: 5b656ddf1db41965761f85204a14398e
43 Source3: %{name}.sysconfig
44 Patch0: %{name}-configure.patch
45 Patch1: %{name}-pg_ctl-silent.patch
46 Patch2: %{name}-pg_ctl-nopsql.patch
47 Patch3: %{name}-conf.patch
48 Patch4: %{name}-absolute_dbpaths.patch
49 Patch5: %{name}-link.patch
50 Patch6: %{name}-com_err.patch
51 Patch7: %{name}-ecpg_link.patch
52 Patch8: %{name}-ecpg-includedir.patch
54 URL: http://www.postgresql.org/
55 BuildRequires: autoconf
56 BuildRequires: automake
57 BuildRequires: bison >= 1.875
58 %{?with_kerberos5:BuildRequires: heimdal-devel}
59 BuildRequires: ncurses-devel >= 5.0
60 BuildRequires: openssl-devel >= 0.9.7c
61 BuildRequires: pam-devel
62 BuildRequires: perl-devel
63 BuildRequires: python-devel >= 2.3
64 BuildRequires: readline-devel >= 4.2
65 BuildRequires: rpm-pythonprov
66 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
67 %{?with_tcl:BuildRequires: tk-devel >= 8.4.3}
68 BuildRequires: zlib-devel
69 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
71 PreReq: %{name}-clients = %{version}
72 PreReq: %{name}-libs = %{version}
73 Requires(pre): /usr/bin/getgid
74 Requires(pre): /bin/id
75 Requires(pre): /usr/sbin/groupadd
76 Requires(pre): /usr/sbin/useradd
77 Requires(pre): /usr/sbin/usermod
78 Requires(post,preun): /sbin/chkconfig
79 Obsoletes: postgresql-server
80 Obsoletes: postgresql-test
82 %define _pgmoduledir %{_libdir}/postgresql
83 %define _pgsqldir %{_pgmoduledir}/sql
86 PostgreSQL Data Base Management System (formerly known as Postgres,
89 PostgreSQL is an enhancement of the POSTGRES database management
90 system, a next-generation DBMS research prototype. While PostgreSQL
91 retains the powerful data model and rich data types of POSTGRES, it
92 replaces the PostQuel query language with an extended subset of SQL.
93 PostgreSQL is free and the complete source is available.
95 PostgreSQL development is being performed by a team of Internet
96 developers who all subscribe to the PostgreSQL development mailing
97 list. The current coordinator is Marc G. Fournier
98 (scrappy@postgreSQL.org). This team is now responsible for all current
99 and future development of PostgreSQL.
101 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
102 others have contributed to the porting, testing, debugging and
103 enhancement of the code. The original Postgres code, from which
104 PostgreSQL is derived, was the effort of many graduate students,
105 undergraduate students, and staff programmers working under the
106 direction of Professor Michael Stonebraker at the University of
107 California, Berkeley.
109 The original name of the software at Berkeley was Postgres. When SQL
110 functionality was added in 1995, its name was changed to Postgres95.
111 The name was changed at the end of 1996 to PostgreSQL.
113 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
114 and most flavours of Unix.
117 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
120 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
121 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
122 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
123 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
124 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
127 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
128 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
129 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
130 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
132 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
133 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
134 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
135 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
136 Studenten und Programmierern unter der Leitung von Professor Michael
137 Stonebraker an der University of California, Berkeley.
139 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
140 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
141 entschied man sich für PostgreSQL.
143 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
144 und den meisten Unix-Systemen.
147 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
148 como Postgres, y después como Postgres95). PostgreSQL es una
149 continuación mejorada del Sistema Administrador de Banco de Datos
150 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
151 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
152 los varios tipos de datos del POSTGRES, substituye el lenguaje de
153 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
154 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
155 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
156 en la lista de desarrollo del PostgreSQL. El coordinador actual es
157 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
158 responsable por el desarrollo actual y futuro del PostgreSQL.
161 Système de gestion de bases de données PostgreSQL (D'abord nommé
162 Postgres, puis Postgres95).
164 PostgreSQL est une amélioration du système de gestion de bases de
165 données POSTGRES, un prototype de recherche de la génération suivant
166 DBMS. Tout en conservant le puissant modèle de donnée de et les types
167 de donée riches de Postgres, il remplace le langage de requêtes de
168 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
169 libre, et ses sources sont disponibles.
171 Le développement de PostgreSQL est actuellement réalisé via internet
172 parune équipe de développeurs inscrits sur la mailing-list de
173 développement de PostgreSQL. Le coordinateur actuel est Marc G
174 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
175 développemen actuel et à venir de PostgreSQL.
177 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
178 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
179 l'amélioration du code. Le code original de Postgres, duquel
180 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
181 moins haut niveau, et de programmeurs travaillant sous la direction du
182 professeur Michael Stonebraker à l'université de Berkeley Californie.
184 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
185 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
186 rebaptisé PostgreSQL en 1996.
188 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
189 et la plupart des Unix.
192 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
193 Postgres, nastêpnie jako Postgres95).
195 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
196 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
197 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
198 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
199 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
202 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
203 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
204 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
205 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
207 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
208 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
209 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
210 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
211 zespo³u programistów, którzy pracowali pod kierunkiem profesora
212 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
214 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
215 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
216 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
219 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
220 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
222 %description -l pt_BR
223 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
224 Postgres, e depois como Postgres95).
226 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
227 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
228 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
229 dados e os vários tipos de dados do POSTGRES, ele substitui a
230 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
231 PostgreSQL é livre e tem os fontes disponíveis.
233 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
234 desenvolvedores da Internet, todos subscritores da lista de
235 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
236 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
237 desenvolvimento atual e futuro do PostgreSQL.
240 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
241 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
243 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
244 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
245 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
246 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
247 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
250 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
251 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
252 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
253 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
254 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
256 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
257 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
258 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
259 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
260 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
261 California, Berkeley.
263 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
264 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
265 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
268 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
269 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
272 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
273 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
274 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
275 sorgulama dilini koyar.
278 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
279 ÐÏÔ¦Í ÑË Postgres95).
281 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
282 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
283 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
284 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
285 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
288 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
289 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
290 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
291 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
293 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
294 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
295 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
296 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
297 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
298 California, Berkeley.
300 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
301 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
302 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
304 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
305 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
308 Summary: PostgreSQL development header files and libraries
309 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
310 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
311 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
312 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
313 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
314 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
315 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
316 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
317 Group: Development/Libraries
318 Requires: %{name}-libs = %{version}
321 This package contains header files and libraries required to compile
322 applications that are talking directly to the PostgreSQL backend
325 %description devel -l de
326 Dieses Paket enthält die Header-Dateien und Libraries, die zum
327 Kompilieren von Applikationen notwendig sind, die direkt mit dem
328 PostgreSQL-Backend-Server kommunizieren.
330 %description devel -l es
331 Este paquete contiene archivos de inclusión y bibliotecas requeridas
332 para compilación de aplicativos que se comunican directamente con el
333 servidor backend PostgreSQL.
335 %description devel -l fr
336 Ce package contient les fichiers d'en-tête et les bibliothéques
337 nécessaires pour compiler des applications ayant des échanges directs
338 avec le serveur du backend PostgreSQL.
340 %description devel -l pl
341 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
342 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
344 %description devel -l pt_BR
345 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
346 compilação de aplicativos que se comunicam diretamente com o servidor
349 %description devel -l ru
350 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
351 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
353 %description devel -l tr
354 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
355 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
357 %description devel -l uk
358 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
359 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
361 %package backend-devel
362 Summary: PostgreSQL backend development header files
363 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
364 Group: Development/Libraries
365 Requires: %{name}-libs = %{version}
367 %description backend-devel
368 This package contains header files required to compile functions that
369 could be loaded directly by backend
371 %description backend-devel -l pl
372 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
373 bezposrednio ladowane przez beckend serwera PostgreSQL.
376 Summary: Clients needed to access a PostgreSQL server
377 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
378 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
379 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
380 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
381 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
382 Group: Applications/Databases
383 Requires: %{name}-libs = %{version}
386 This package includes only the clients needed to access an PostgreSQL
387 server. The server is included in the main package. If all you need is
388 to connect to another PostgreSQL server, the this is the only package
389 you need to install. Clients include several command-line utilities
390 you can use to manage your databases on a remote PostgreSQL server.
392 %description clients -l es
393 Este paquete incluye solamente los clientes necesarios para acceder un
394 servidor PostgreSQL. El servidor está en el paquete principal.
396 %description clients -l pl
397 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
398 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
399 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
401 %description clients -l pt_BR
402 Este pacote inclui somente os clientes necessários para acessar um
403 servidor PostgreSQL. O servidor está no pacote principal.
405 %description clients -l ru
406 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
407 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
408 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
409 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
411 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
412 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
415 %description clients -l uk
416 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
417 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
418 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
419 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
421 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
422 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
425 Summary: Documentation for PostgreSQL
426 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
427 Group: Applications/Databases
430 This package includes documentation and HOWTO for programmer, admin
431 etc., in HTML format.
433 %description doc -l pl
434 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
435 administratorów w formacie HTML.
438 Summary: PostgreSQL libraries
439 Summary(es): Biblioteca compartida del PostgreSQL
440 Summary(pl): Biblioteki dzielone programu PostgreSQL
441 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
442 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
446 PostgreSQL shared libraries.
448 %description libs -l es
449 Este paquete contiene la biblioteca compartida para acceso al
452 %description libs -l pl
453 Biblioteki dzielone programu PostgreSQL.
455 %description libs -l pt_BR
456 Este pacote contém a biblioteca compartilhada para acesso ao
460 Summary: Embedded SQL in C interface
461 Summary(pl): Interfejs wbudowanego SQL-a w jêzyk C
465 Embedded SQL in C interface.
467 %description ecpg -l pl
468 Interfejs wbudowanego SQL-a w jêzyk C.
471 Summary: Embedded SQL in C interface files
472 Summary(pl): Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
473 Group: Development/Libraries
474 Requires: %{name}-devel = %{version}
476 %description ecpg-devel
477 Embedded SQL in C interface files.
479 %description ecpg-devel -l pl
480 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
483 Summary: PostgreSQL static libraries
484 Summary(es): Bibliotecas estaticas PostgreSQL
485 Summary(pl): Biblioteki statyczne programu PostgreSQL
486 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
487 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
488 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
489 Group: Development/Libraries
490 Requires: %{name}-devel = %{version}
493 PostgreSQL static libraries.
495 %description static -l es
496 Este paquete contiene bibliotecas estaticas requerida para compilación
497 de aplicativos que se comunican directamente con el servidor backend
500 %description static -l pl
501 Biblioteki statyczne programu PostgreSQL.
503 %description static -l pt_BR
504 Este pacote contém as bibliotecas estáticas requeridas para compilação
505 de aplicativos que se comunicam diretamente com o servidor backend
508 %description static -l ru
509 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
510 ×ÈÏÄÑÔ × %{name}-devel.
512 %description static -l uk
513 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
517 Summary: Tcl interface for PostgreSQL
518 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
519 Summary(pl): Interfejs Tcl dla PostgreSQL
520 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
521 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
522 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
523 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
524 Group: Development/Languages/Tcl
525 Requires: %{name}-libs = %{version}
528 Tcl interface for PostgreSQL.
530 %description tcl -l es
531 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
533 %description tcl -l pl
534 Interfejs Tcl dla PostgreSQL.
536 %description tcl -l pt_BR
537 Bibliotecas e shell para programas em Tcl acessarem o servidor
540 %description tcl -l ru
541 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
543 %description tcl -l uk
544 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
547 Summary: Development part of Tcl interface for PostgreSQL
548 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
549 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
550 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
551 Group: Development/Languages/Tcl
552 Requires: %{name}-tcl = %{version}
553 Requires: %{name}-devel = %{version}
555 %description tcl-devel
556 Development part of Tcl interface for PostgreSQL.
558 %description tcl-devel -l pl
559 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
561 %description tcl-devel -l ru
562 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
563 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
564 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
566 %description tcl-devel -l uk
567 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
568 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
569 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
572 Summary: Static libraries of Tcl interface for PostgreSQL
573 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
574 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
575 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
576 Group: Development/Languages/Tcl
577 Requires: %{name}-tcl-devel = %{version}
579 %description tcl-static
580 Static libraries of Tcl interface for PostgreSQL.
582 %description tcl-static -l pl
583 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
585 %description tcl-static -l ru
586 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
587 ×ÈÏÄÑÔ × postgresql-tcl-devel.
589 %description tcl-static -l uk
590 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
591 postgresql-tcl-devel.
593 %package module-plpgsql
594 Summary: PL/pgSQL - PostgreSQL procedural language
595 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
596 Group: Applications/Databases
597 Requires: %{name} = %{version}
599 %description module-plpgsql
600 From PostgreSQL documentation.
602 Postgres supports the definition of procedural languages. In the case
603 of a function or trigger procedure defined in a procedural language,
604 the database has no built-in knowledge about how to interpret the
605 function's source text. Instead, the task is passed to a handler that
606 knows the details of the language. The handler itself is a special
607 programming language function compiled into a shared object and loaded
610 To enable PL/pgSQL procedural language for your database you have to
611 run createlang command.
613 %description module-plpgsql -l pl
614 Z dokumentacji PostgreSQL.
616 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
617 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
618 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
619 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
620 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
621 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
624 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
625 proceduralnego PL/pgSQL dla swojej bazy danych.
627 %package module-plperl
628 Summary: PL/perl - PostgreSQL procedural language
629 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
630 Group: Applications/Databases
631 Requires: %{name} = %{version}
634 %description module-plperl
635 From PostgreSQL documentation.
637 Postgres supports the definition of procedural languages. In the case
638 of a function or trigger procedure defined in a procedural language,
639 the database has no built-in knowledge about how to interpret the
640 function's source text. Instead, the task is passed to a handler that
641 knows the details of the language. The handler itself is a special
642 programming language function compiled into a shared object and loaded
645 To enable PL/perl procedural language for your database you have to
646 run createlang command.
648 %description module-plperl -l pl
649 Z dokumentacji PostgreSQL.
651 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
652 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
653 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
654 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
655 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
656 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
659 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
660 proceduralnego PL/perl dla swojej bazy danych.
662 %package module-plpython
663 Summary: PL/python - PostgreSQL procedural language
664 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
665 Group: Applications/Databases
666 Requires: %{name} = %{version}
667 %pyrequires_eq python
669 %description module-plpython
670 From PostgreSQL documentation.
672 Postgres supports the definition of procedural languages. In the case
673 of a function or trigger procedure defined in a procedural language,
674 the database has no built-in knowledge about how to interpret the
675 function's source text. Instead, the task is passed to a handler that
676 knows the details of the language. The handler itself is a special
677 programming language function compiled into a shared object and loaded
680 To enable PL/python procedural language for your database you have to
681 run createlang command.
683 %description module-plpython -l pl
684 Z dokumentacji PostgreSQL.
686 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
687 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
688 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
689 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
690 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
691 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
694 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
695 proceduralnego PL/python dla swojej bazy danych.
697 %package module-pltcl
698 Summary: PL/TCL - PostgreSQL procedural language
699 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
700 Group: Applications/Databases
701 Requires: %{name} = %{version}
703 %description module-pltcl
704 From PostgreSQL documentation.
706 Postgres supports the definition of procedural languages. In the case
707 of a function or trigger procedure defined in a procedural language,
708 the database has no built-in knowledge about how to interpret the
709 function's source text. Instead, the task is passed to a handler that
710 knows the details of the language. The handler itself is a special
711 programming language function compiled into a shared object and loaded
714 To enable PL/TCL procedural language for your database you have to run
717 %description module-pltcl -l pl
718 Z dokumentacji PostgreSQL.
720 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
721 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
722 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
723 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
724 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
725 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
728 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
729 proceduralnego PL/TCL dla swojej bazy danych.
731 %package module-pgcrypto
732 Summary: Cryptographic functions for PostgreSQL
733 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
734 Group: Applications/Databases
735 Requires: %{name} = %{version}
737 %description module-pgcrypto
738 Cryptographic functions for PostgreSQL.
740 %description module-pgcrypto -l pl
741 Funkcje kryptograficzne dla PostgreSQL.
744 %setup -q -n %{name}-%{version}%{_rc}
749 %{?with_absolute_dbpaths:%patch4 -p1}
755 tar xzf doc/man*.tar.gz
758 tar zxf doc/postgres.tar.gz -C doc/unpacked
761 find contrib -type d -name CVS -exec rm -rf {} \;
764 rm -f config/libtool.m4
765 %{__aclocal} -I config
768 %{!?_without_pgsql_locale:--enable-locale} \
769 %{!?_without_pgsql_multibyte:--enable-multibyte} \
771 --enable-thread-safety \
772 --enable-integer-datetimes \
777 --enable-unicode-conversion \
779 %{?with_tcl:--with-tcl} \
780 %{?with_tcl:--with-tk} \
783 %{?with_kerberos5:--with-krb5=%{_prefix}} \
786 %{?_with_jdbc: --with-java}
789 %ifnarch sparc sparcv9 sparc64 alpha ppc
790 %{!?_without_tests: %{__make} check }
797 rm -rf $RPM_BUILD_ROOT
798 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
799 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
800 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
801 $RPM_BUILD_ROOT/home/services/postgres
803 %{__make} install install-all-headers \
804 DESTDIR=$RPM_BUILD_ROOT
806 %{__make} install -C src/pl/plperl \
807 DESTDIR=$RPM_BUILD_ROOT
809 touch $RPM_BUILD_ROOT/var/log/pgsql
811 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
812 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
814 cp -a man? $RPM_BUILD_ROOT%{_mandir}
816 # there are html installed, remove them
817 rm -rf $RPM_BUILD_ROOT%{_infodir}
821 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
824 %py_comp $RPM_BUILD_ROOT%{py_libdir}
825 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
829 DESTDIR=$RPM_BUILD_ROOT
832 rm -rf $RPM_BUILD_ROOT
836 if [ -f /etc/sysconfig/postgresql ]; then
837 . /etc/sysconfig/postgresql
838 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
839 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
843 for pgdir in $PG_DB_CLUSTERS; do
844 if [ -f $pgdir/PG_VERSION ]; then
845 if [ `cat $pgdir/PG_VERSION` != '7.4' ]; then
846 echo "Found database(s) in older, incompatible format in cluster $pgdir."
851 if [ "$foundold" = "1" ]; then
853 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
854 echo "and clean (or rename) those directories; then upgrade postgresql and"
855 echo "restore all data (using pg_restore or psql)."
856 echo "Remember to stop the daemon before upgrading!"
858 echo "Warning for upgrade from version *before* 7.2."
859 echo "Please note, that postgresql module path changed from"
860 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
861 echo "in dump file before restore."
863 echo "Warning for upgrade from version *before* 7.3."
864 echo "Reading following webpage is encouraged:"
865 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
869 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
870 if id postgres >/dev/null 2>&1 ; then
871 /usr/sbin/usermod -d /home/services/postgres postgres
873 /usr/sbin/useradd -M -o -r -u 88 \
874 -d /home/services/postgres -s /bin/sh -g postgres \
875 -c "PostgreSQL Server" postgres
879 /sbin/chkconfig --add postgresql
880 if [ -f /var/lock/subsys/postgresql ]; then
881 /etc/rc.d/init.d/postgresql restart >&2 || :
883 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
887 if [ "$1" = "0" ]; then
888 if [ -f /var/lock/subsys/postgresql ]; then
889 /etc/rc.d/init.d/postgresql stop
891 /sbin/chkconfig --del postgresql
894 %post libs -p /sbin/ldconfig
895 %postun libs -p /sbin/ldconfig
897 %post ecpg -p /sbin/ldconfig
898 %postun ecpg -p /sbin/ldconfig
900 %post tcl -p /sbin/ldconfig
901 %postun tcl -p /sbin/ldconfig
904 %defattr(644,root,root,755)
905 %attr(754,root,root) /etc/rc.d/init.d/*
906 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
908 %attr(755,root,root) %{_bindir}/clusterdb
909 %attr(755,root,root) %{_bindir}/createdb
910 %attr(755,root,root) %{_bindir}/createlang
911 %attr(755,root,root) %{_bindir}/createuser
912 %attr(755,root,root) %{_bindir}/dropdb
913 %attr(755,root,root) %{_bindir}/droplang
914 %attr(755,root,root) %{_bindir}/dropuser
915 %attr(755,root,root) %{_bindir}/initdb
916 %attr(755,root,root) %{_bindir}/initlocation
917 %attr(755,root,root) %{_bindir}/ipcclean
918 %attr(755,root,root) %{_bindir}/pg_controldata
919 %attr(755,root,root) %{_bindir}/pg_ctl
920 %attr(755,root,root) %{_bindir}/pg_encoding
921 %attr(755,root,root) %{_bindir}/pg_resetxlog
922 %attr(755,root,root) %{_bindir}/postgres
923 %attr(755,root,root) %{_bindir}/postmaster
925 %attr(755,root,root) %{_pgmoduledir}/ascii*
926 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
927 %attr(755,root,root) %{_pgmoduledir}/euc*
928 %attr(755,root,root) %{_pgmoduledir}/latin*
929 %attr(755,root,root) %{_pgmoduledir}/utf*
933 %dir %{_datadir}/postgresql
934 %{_datadir}/postgresql/*.bki
935 %{_datadir}/postgresql/*.sample
936 %{_datadir}/postgresql/*.description
937 %{_datadir}/postgresql/*.sql
938 %{_datadir}/postgresql/*.txt
940 %attr(700,postgres,postgres) /home/services/postgres
941 %attr(700,postgres,postgres) %dir /var/lib/pgsql
942 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
944 %{_mandir}/man1/clusterdb.1*
945 %{_mandir}/man1/createdb.1*
946 %{_mandir}/man1/createlang.1*
947 %{_mandir}/man1/createuser.1*
948 %{_mandir}/man1/dropdb.1*
949 %{_mandir}/man1/droplang.1*
950 %{_mandir}/man1/dropuser.1*
951 %{_mandir}/man1/initdb.1*
952 %{_mandir}/man1/initlocation.1*
953 %{_mandir}/man1/ipcclean.1*
954 %{_mandir}/man1/pg_controldata.1*
955 %{_mandir}/man1/pg_ctl.1*
956 %{_mandir}/man1/pg_resetxlog.1*
957 %{_mandir}/man1/postgres.1*
958 %{_mandir}/man1/postmaster.1*
963 %doc doc/FAQ* doc/README*
964 %doc COPYRIGHT README HISTORY doc/bug.template
967 %defattr(644,root,root,755)
972 %defattr(644,root,root,755)
973 %attr(755,root,root) %{_libdir}/libpq.so.*.*
974 %attr(755,root,root) %{_bindir}/pg_id
977 %defattr(644,root,root,755)
978 %attr(755,root,root) %{_bindir}/ecpg
979 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
980 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
981 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
982 %{_mandir}/man1/ecpg.1*
985 %defattr(644,root,root,755)
986 %attr(755,root,root) %{_libdir}/libecpg.so
987 %attr(755,root,root) %{_libdir}/libecpg_compat.so
988 %attr(755,root,root) %{_libdir}/libpgtypes.so
992 %defattr(644,root,root,755)
993 %attr(755,root,root) %{_bindir}/pg_config
994 %attr(755,root,root) %{_libdir}/libpq.so
995 %dir %{_includedir}/postgresql
996 %{_includedir}/libpq-fe.h
997 %{_includedir}/pg_config.h
998 %{_includedir}/pg_config_os.h
999 %{_includedir}/postgres_ext.h
1000 %dir %{_includedir}/postgresql/internal
1001 %{_includedir}/postgresql/internal/c.h
1002 %{_includedir}/postgresql/internal/libpq-int.h
1003 %{_includedir}/postgresql/internal/postgres_fe.h
1004 %{_includedir}/postgresql/internal/pqexpbuffer.h
1005 %{_includedir}/postgresql/internal/lib
1006 %{_includedir}/postgresql/internal/libpq
1007 %{_includedir}/libpq
1008 %{_mandir}/man1/pg_config.1*
1010 %files backend-devel
1011 %defattr(644,root,root,755)
1012 %{_includedir}/postgresql/server
1015 %defattr(644,root,root,755)
1016 %{_libdir}/libecpg.a
1017 %{_libdir}/libecpg_compat.a
1019 %{_libdir}/libpgtypes.a
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_bindir}/pg_dump
1024 %attr(755,root,root) %{_bindir}/pg_dumpall
1025 %attr(755,root,root) %{_bindir}/pg_restore
1026 %attr(755,root,root) %{_bindir}/psql
1027 %attr(755,root,root) %{_bindir}/vacuumdb
1029 %{_mandir}/man1/pg_dump.1*
1030 %{_mandir}/man1/pg_dumpall.1*
1031 %{_mandir}/man1/pg_restore.1*
1032 %{_mandir}/man1/psql.1*
1033 %{_mandir}/man1/vacuumdb.1*
1034 %{_mandir}/manl/*.l*
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{_libdir}/libpgtcl.so
1040 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1041 %attr(755,root,root) %{_bindir}/pgtclsh
1042 %attr(755,root,root) %{_bindir}/pgtksh
1043 %{_mandir}/man1/pgtclsh.1*
1044 %{_mandir}/man1/pgtksh.1*
1047 %defattr(644,root,root,755)
1048 %{_includedir}/libpgtcl.h
1051 %defattr(644,root,root,755)
1052 %{_libdir}/libpgtcl.a
1055 %files module-plpgsql
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1059 %files module-plperl
1060 %defattr(644,root,root,755)
1061 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1063 %files module-plpython
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{_bindir}/pltcl_*
1071 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1074 %files module-pgcrypto
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1077 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1078 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1079 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz