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 # _with_jdbc - with JDBC driver
11 # _with_absolute_dbpaths - allow absolute paths to create database
12 # (disallowed by default because it is a security risk)
15 %include /usr/lib/rpm/macros.python
17 Summary: PostgreSQL Data Base Management System
18 Summary(de): PostgreSQL Datenbankverwaltungssystem
19 Summary(es): Gestor de Banco de Datos PostgreSQL
20 Summary(fr): Sysème de gestion de base de données PostgreSQL
21 Summary(pl): PostgreSQL - system bazodanowy
22 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
23 Summary(ru): PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
24 Summary(tr): Veri Tabaný Yönetim Sistemi
25 Summary(uk): PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
26 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
31 Group: Applications/Databases
32 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.gz
33 # Source0-md5: 82878d6d74c36384af3595d26ed38067
35 Source2: pgsql-Database-HOWTO-html.tar.gz
36 # Source2-md5: 5b656ddf1db41965761f85204a14398e
37 Source3: %{name}.sysconfig
38 Patch0: %{name}-configure.patch
39 Patch1: %{name}-pg_ctl-silent.patch
40 Patch2: %{name}-pg_ctl-nopsql.patch
41 Patch3: %{name}-conf.patch
42 Patch4: %{name}-absolute_dbpaths.patch
43 Patch5: %{name}-link.patch
45 URL: http://www.postgresql.org/
46 BuildRequires: XFree86-devel
47 BuildRequires: autoconf
48 BuildRequires: automake
49 BuildRequires: ncurses-devel >= 5.0
50 BuildRequires: openssl-devel >= 0.9.7
51 BuildRequires: pam-devel
52 BuildRequires: perl-devel
53 BuildRequires: python-devel >= 2.3
54 BuildRequires: readline-devel >= 4.2
55 BuildRequires: rpm-pythonprov
56 BuildRequires: tcl-devel >= 8.4.3
57 BuildRequires: tk-devel >= 8.4.3
58 BuildRequires: zlib-devel
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61 PreReq: %{name}-clients = %{version}
62 PreReq: %{name}-libs = %{version}
63 Requires(pre): /usr/bin/getgid
64 Requires(pre): /bin/id
65 Requires(pre): /usr/sbin/groupadd
66 Requires(pre): /usr/sbin/useradd
67 Requires(pre): /usr/sbin/usermod
68 Requires(post,preun): /sbin/chkconfig
69 Obsoletes: postgresql-server
70 Obsoletes: postgresql-test
72 %define _pgmoduledir %{_libdir}/postgresql
73 %define _pgsqldir %{_pgmoduledir}/sql
76 PostgreSQL Data Base Management System (formerly known as Postgres,
79 PostgreSQL is an enhancement of the POSTGRES database management
80 system, a next-generation DBMS research prototype. While PostgreSQL
81 retains the powerful data model and rich data types of POSTGRES, it
82 replaces the PostQuel query language with an extended subset of SQL.
83 PostgreSQL is free and the complete source is available.
85 PostgreSQL development is being performed by a team of Internet
86 developers who all subscribe to the PostgreSQL development mailing
87 list. The current coordinator is Marc G. Fournier
88 (scrappy@postgreSQL.org). This team is now responsible for all current
89 and future development of PostgreSQL.
91 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
92 others have contributed to the porting, testing, debugging and
93 enhancement of the code. The original Postgres code, from which
94 PostgreSQL is derived, was the effort of many graduate students,
95 undergraduate students, and staff programmers working under the
96 direction of Professor Michael Stonebraker at the University of
99 The original name of the software at Berkeley was Postgres. When SQL
100 functionality was added in 1995, its name was changed to Postgres95.
101 The name was changed at the end of 1996 to PostgreSQL.
103 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
104 and most flavours of Unix.
107 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
110 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
111 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
112 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
113 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
114 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
117 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
118 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
119 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
120 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
122 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
123 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
124 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
125 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
126 Studenten und Programmierern unter der Leitung von Professor Michael
127 Stonebraker an der University of California, Berkeley.
129 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
130 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
131 entschied man sich für PostgreSQL.
133 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
134 und den meisten Unix-Systemen.
137 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
138 como Postgres, y después como Postgres95). PostgreSQL es una
139 continuación mejorada del Sistema Administrador de Banco de Datos
140 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
141 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
142 los varios tipos de datos del POSTGRES, substituye el lenguaje de
143 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
144 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
145 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
146 en la lista de desarrollo del PostgreSQL. El coordinador actual es
147 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
148 responsable por el desarrollo actual y futuro del PostgreSQL.
151 Système de gestion de bases de données PostgreSQL (D'abord nommé
152 Postgres, puis Postgres95).
154 PostgreSQL est une amélioration du système de gestion de bases de
155 données POSTGRES, un prototype de recherche de la génération suivant
156 DBMS. Tout en conservant le puissant modèle de donnée de et les types
157 de donée riches de Postgres, il remplace le langage de requêtes de
158 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
159 libre, et ses sources sont disponibles.
161 Le développement de PostgreSQL est actuellement réalisé via internet
162 parune équipe de développeurs inscrits sur la mailing-list de
163 développement de PostgreSQL. Le coordinateur actuel est Marc G
164 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
165 développemen actuel et à venir de PostgreSQL.
167 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
168 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
169 l'amélioration du code. Le code original de Postgres, duquel
170 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
171 moins haut niveau, et de programmeurs travaillant sous la direction du
172 professeur Michael Stonebraker à l'université de Berkeley Californie.
174 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
175 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
176 rebaptisé PostgreSQL en 1996.
178 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
179 et la plupart des Unix.
182 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
183 Postgres, nastêpnie jako Postgres95).
185 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
186 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
187 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
188 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
189 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
192 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
193 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
194 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
195 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
197 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
198 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
199 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
200 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
201 zespo³u programistów, którzy pracowali pod kierunkiem profesora
202 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
204 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
205 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
206 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
209 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
210 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
212 %description -l pt_BR
213 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
214 Postgres, e depois como Postgres95).
216 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
217 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
218 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
219 dados e os vários tipos de dados do POSTGRES, ele substitui a
220 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
221 PostgreSQL é livre e tem os fontes disponíveis.
223 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
224 desenvolvedores da Internet, todos subscritores da lista de
225 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
226 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
227 desenvolvimento atual e futuro do PostgreSQL.
230 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
231 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
233 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
234 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
235 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
236 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
237 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
240 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
241 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
242 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
243 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
244 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
246 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
247 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
248 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
249 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
250 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
251 California, Berkeley.
253 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
254 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
255 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
258 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
259 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
262 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
263 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
264 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
265 sorgulama dilini koyar.
268 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
269 ÐÏÔ¦Í ÑË Postgres95).
271 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
272 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
273 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
274 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
275 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
278 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
279 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
280 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
281 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
283 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
284 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
285 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
286 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
287 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
288 California, Berkeley.
290 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
291 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
292 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
294 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
295 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
298 Summary: PostgreSQL development header files and libraries
299 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
300 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
301 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
302 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
303 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
304 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
305 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
306 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
307 Group: Development/Libraries
308 Requires: %{name}-libs = %{version}
311 This package contains header files and libraries required to compile
312 applications that are talking directly to the PostgreSQL backend
315 %description devel -l de
316 Dieses Paket enthält die Header-Dateien und Libraries, die zum
317 Kompilieren von Applikationen notwendig sind, die direkt mit dem
318 PostgreSQL-Backend-Server kommunizieren.
320 %description devel -l es
321 Este paquete contiene archivos de inclusión y bibliotecas requeridas
322 para compilación de aplicativos que se comunican directamente con el
323 servidor backend PostgreSQL.
325 %description devel -l fr
326 Ce package contient les fichiers d'en-tête et les bibliothéques
327 nécessaires pour compiler des applications ayant des échanges directs
328 avec le serveur du backend PostgreSQL.
330 %description devel -l pl
331 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
332 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
334 %description devel -l pt_BR
335 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
336 compilação de aplicativos que se comunicam diretamente com o servidor
339 %description devel -l ru
340 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
341 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
343 %description devel -l tr
344 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
345 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
347 %description devel -l uk
348 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
349 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
351 %package backend-devel
352 Summary: PostgreSQL backend development header files
353 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
354 Group: Development/Libraries
355 Requires: %{name}-libs = %{version}
357 %description backend-devel
358 This package contains header files required to compile functions that
359 could be loaded directly by backend
361 %description backend-devel -l pl
362 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
363 bezposrednio ladowane przez beckend serwera PostgreSQL.
366 Summary: Clients needed to access a PostgreSQL server
367 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
368 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
369 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
370 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
371 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
372 Group: Applications/Databases
373 Requires: %{name}-libs = %{version}
376 This package includes only the clients needed to access an PostgreSQL
377 server. The server is included in the main package. If all you need is
378 to connect to another PostgreSQL server, the this is the only package
379 you need to install. Clients include several command-line utilities
380 you can use to manage your databases on a remote PostgreSQL server.
382 %description clients -l es
383 Este paquete incluye solamente los clientes necesarios para acceder un
384 servidor PostgreSQL. El servidor está en el paquete principal.
386 %description clients -l pl
387 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
388 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
389 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
391 %description clients -l pt_BR
392 Este pacote inclui somente os clientes necessários para acessar um
393 servidor PostgreSQL. O servidor está no pacote principal.
395 %description clients -l ru
396 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
397 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
398 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
399 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
401 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
402 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
405 %description clients -l uk
406 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
407 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
408 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
409 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
411 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
412 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
414 %package -n python-postgresql
415 Summary: The python-based client programs needed for accessing a PostgreSQL server
416 Summary(es): Módulo Python para acceder un servidor PostgreSQL
417 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
418 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
419 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
420 Group: Libraries/Python
421 Requires: python >= 2.0
422 Requires: python-mx-DateTime
423 Requires: %{name}-libs = %{version}
424 Obsoletes: python-PyGreSQL
425 Obsoletes: postgresql-python
427 %description -n python-postgresql
428 postgresql-python includes the python-based client programs and client
429 libraries that you'll need to access a PostgreSQL database management
432 %description -n python-postgresql -l es
433 Módulo Python para acceder un servidor PostgreSQL
435 %description -n python-postgresql -l pl
436 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
437 do dostêpu do serwera baz danych PostgreSQL.
439 %description -n python-postgresql -l pt_BR
440 Módulo Python para acesso ao servidor PostgreSQL.
443 Summary: Documentation for PostgreSQL
444 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
445 Group: Applications/Databases
448 This package includes documentation and HOWTO for programmer, admin
449 etc., in HTML format.
451 %description doc -l pl
452 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
453 administratorów w formacie HTML.
456 Summary: PostgreSQL libraries
457 Summary(es): Biblioteca compartida del PostgreSQL
458 Summary(pl): Biblioteki dzielone programu PostgreSQL
459 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
460 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
464 PostgreSQL shared libraries.
466 %description libs -l es
467 Este paquete contiene la biblioteca compartida para acceso al
470 %description libs -l pl
471 Biblioteki dzielone programu PostgreSQL.
473 %description libs -l pt_BR
474 Este pacote contém a biblioteca compartilhada para acesso ao
478 Summary: PostgreSQL static libraries
479 Summary(es): Bibliotecas estaticas PostgreSQL
480 Summary(pl): Biblioteki statyczne programu PostgreSQL
481 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
482 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
483 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
484 Group: Development/Libraries
485 Requires: %{name}-devel = %{version}
488 PostgreSQL static libraries.
490 %description static -l es
491 Este paquete contiene bibliotecas estaticas requerida para compilación
492 de aplicativos que se comunican directamente con el servidor backend
495 %description static -l pl
496 Biblioteki statyczne programu PostgreSQL.
498 %description static -l pt_BR
499 Este pacote contém as bibliotecas estáticas requeridas para compilação
500 de aplicativos que se comunicam diretamente com o servidor backend
503 %description static -l ru
504 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
505 ×ÈÏÄÑÔ × %{name}-devel.
507 %description static -l uk
508 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
512 Summary: Tcl interface for PostgreSQL
513 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
514 Summary(pl): Interfejs Tcl dla PostgreSQL
515 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
516 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ Tcl
517 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú Tcl
518 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
519 Group: Development/Languages/Tcl
520 Requires: %{name}-libs = %{version}
523 Tcl interface for PostgreSQL.
525 %description tcl -l es
526 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
528 %description tcl -l pl
529 Interfejs Tcl dla PostgreSQL.
531 %description tcl -l pt_BR
532 Bibliotecas e shell para programas em Tcl acessarem o servidor
535 %description tcl -l ru
536 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
538 %description tcl -l uk
539 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
542 Summary: Development part of Tcl interface for PostgreSQL
543 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
544 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
545 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
546 Group: Development/Languages/Tcl
547 Requires: %{name}-tcl = %{version}
548 Requires: %{name}-devel = %{version}
550 %description tcl-devel
551 Development part of Tcl interface for PostgreSQL.
553 %description tcl-devel -l pl
554 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
556 %description tcl-devel -l ru
557 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
558 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
559 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
561 %description tcl-devel -l uk
562 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
563 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
564 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
567 Summary: Static libraries of Tcl interface for PostgreSQL
568 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
569 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
570 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
571 Group: Development/Languages/Tcl
572 Requires: %{name}-tcl-devel = %{version}
574 %description tcl-static
575 Static libraries of Tcl interface for PostgreSQL.
577 %description tcl-static -l pl
578 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
580 %description tcl-static -l ru
581 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
582 ×ÈÏÄÑÔ × postgresql-tcl-devel.
584 %description tcl-static -l uk
585 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
586 postgresql-tcl-devel.
588 %package module-plpgsql
589 Summary: PL/pgSQL - PostgreSQL procedural language
590 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
591 Group: Applications/Databases
592 Requires: %{name} = %{version}
594 %description module-plpgsql
595 From PostgreSQL documentation.
597 Postgres supports the definition of procedural languages. In the case
598 of a function or trigger procedure defined in a procedural language,
599 the database has no built-in knowledge about how to interpret the
600 function's source text. Instead, the task is passed to a handler that
601 knows the details of the language. The handler itself is a special
602 programming language function compiled into a shared object and loaded
605 To enable PL/pgSQL procedural language for your database you have to
606 run createlang command.
608 %description module-plpgsql -l pl
609 Z dokumentacji PostgreSQL.
611 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
612 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
613 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
614 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
615 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
616 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
619 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
620 proceduralnego PL/pgSQL dla swojej bazy danych.
622 %package module-plperl
623 Summary: PL/perl - PostgreSQL procedural language
624 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
625 Group: Applications/Databases
626 Requires: %{name} = %{version}
629 %description module-plperl
630 From PostgreSQL documentation.
632 Postgres supports the definition of procedural languages. In the case
633 of a function or trigger procedure defined in a procedural language,
634 the database has no built-in knowledge about how to interpret the
635 function's source text. Instead, the task is passed to a handler that
636 knows the details of the language. The handler itself is a special
637 programming language function compiled into a shared object and loaded
640 To enable PL/perl procedural language for your database you have to
641 run createlang command.
643 %description module-plperl -l pl
644 Z dokumentacji PostgreSQL.
646 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
647 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
648 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
649 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
650 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
651 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
654 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
655 proceduralnego PL/perl dla swojej bazy danych.
657 %package module-plpython
658 Summary: PL/python - PostgreSQL procedural language
659 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
660 Group: Applications/Databases
661 Requires: %{name} = %{version}
662 %pyrequires_eq python
664 %description module-plpython
665 From PostgreSQL documentation.
667 Postgres supports the definition of procedural languages. In the case
668 of a function or trigger procedure defined in a procedural language,
669 the database has no built-in knowledge about how to interpret the
670 function's source text. Instead, the task is passed to a handler that
671 knows the details of the language. The handler itself is a special
672 programming language function compiled into a shared object and loaded
675 To enable PL/python procedural language for your database you have to
676 run createlang command.
678 %description module-plpython -l pl
679 Z dokumentacji PostgreSQL.
681 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
682 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
683 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
684 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
685 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
686 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
689 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
690 proceduralnego PL/python dla swojej bazy danych.
692 %package module-pltcl
693 Summary: PL/TCL - PostgreSQL procedural language
694 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
695 Group: Applications/Databases
696 Requires: %{name} = %{version}
698 %description module-pltcl
699 From PostgreSQL documentation.
701 Postgres supports the definition of procedural languages. In the case
702 of a function or trigger procedure defined in a procedural language,
703 the database has no built-in knowledge about how to interpret the
704 function's source text. Instead, the task is passed to a handler that
705 knows the details of the language. The handler itself is a special
706 programming language function compiled into a shared object and loaded
709 To enable PL/TCL procedural language for your database you have to run
712 %description module-pltcl -l pl
713 Z dokumentacji PostgreSQL.
715 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
716 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
717 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
718 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
719 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
720 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
723 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
724 proceduralnego PL/TCL dla swojej bazy danych.
726 %package module-pgcrypto
727 Summary: Cryptographic functions for PostgreSQL
728 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
729 Group: Applications/Databases
730 Requires: %{name} = %{version}
732 %description module-pgcrypto
733 Cryptographic functions for PostgreSQL.
735 %description module-pgcrypto -l pl
736 Funkcje kryptograficzne dla PostgreSQL.
744 %{?_with_absolute_dbpaths:%patch4 -p1}
747 tar xzf doc/man*.tar.gz
750 tar zxf doc/postgres.tar.gz -C doc/unpacked
753 rm -fR `find contrib/ -type d -name CVS`
756 rm -f config/libtool.m4
757 %{__aclocal} -I config
760 %{!?_without_pgsql_locale:--enable-locale} \
761 %{!?_without_pgsql_multibyte:--enable-multibyte} \
766 --enable-unicode-conversion \
775 %{?_with_jdbc: --with-java}
778 %ifnarch sparc sparcv9 sparc64 alpha ppc
779 %{!?_without_tests: %{__make} check }
786 rm -rf $RPM_BUILD_ROOT
787 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
788 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
789 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
790 $RPM_BUILD_ROOT/home/services/postgres
792 %{__make} install install-all-headers \
793 DESTDIR=$RPM_BUILD_ROOT
795 %{__make} install -C src/pl/plperl \
796 DESTDIR=$RPM_BUILD_ROOT
798 touch $RPM_BUILD_ROOT/var/log/pgsql
800 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
801 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
803 cp -a man? $RPM_BUILD_ROOT%{_mandir}
805 # there are html installed, remove them
806 rm -rf $RPM_BUILD_ROOT%{_infodir}
810 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
813 %py_comp $RPM_BUILD_ROOT%{py_libdir}
814 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
817 %{__make} install DESTDIR=$RPM_BUILD_ROOT
820 rm -rf $RPM_BUILD_ROOT
824 if [ -f /etc/sysconfig/postgresql ]; then
825 . /etc/sysconfig/postgresql
826 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
827 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
831 for pgdir in $PG_DB_CLUSTERS; do
832 if [ -f $pgdir/PG_VERSION ]; then
833 if [ `cat $pgdir/PG_VERSION` != '7.3' ]; then
834 echo "Found database(s) in older, incompatible format in cluster $pgdir."
839 if [ "$foundold" = "1" ]; then
841 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
842 echo "and clean (or rename) those directories; then upgrade postgresql and"
843 echo "restore all data (using pg_restore or psql)."
844 echo "Remember to stop the daemon before upgrading!"
846 echo "Warning for upgrade from version *before* 7.2."
847 echo "Please note, that postgresql module path changed from"
848 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
849 echo "in dump file before restore."
851 echo "Warning for upgrade from version *before* 7.3."
852 echo "Reading following webpage is encouraged:"
853 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
857 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
858 if id postgres >/dev/null 2>&1 ; then
859 /usr/sbin/usermod -d /home/services/postgres postgres
861 /usr/sbin/useradd -M -o -r -u 88 \
862 -d /home/services/postgres -s /bin/sh -g postgres \
863 -c "PostgreSQL Server" postgres
867 /sbin/chkconfig --add postgresql
868 if [ -f /var/lock/subsys/postgresql ]; then
869 /etc/rc.d/init.d/postgresql restart >&2 || :
871 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
875 if [ "$1" = "0" ]; then
876 if [ -f /var/lock/subsys/postgresql ]; then
877 /etc/rc.d/init.d/postgresql stop
879 /sbin/chkconfig --del postgresql
882 %post libs -p /sbin/ldconfig
883 %postun libs -p /sbin/ldconfig
885 %post tcl -p /sbin/ldconfig
886 %postun tcl -p /sbin/ldconfig
889 %defattr(644,root,root,755)
890 %attr(754,root,root) /etc/rc.d/init.d/*
891 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
893 %attr(755,root,root) %{_bindir}/clusterdb
894 %attr(755,root,root) %{_bindir}/createdb
895 %attr(755,root,root) %{_bindir}/createlang
896 %attr(755,root,root) %{_bindir}/createuser
897 %attr(755,root,root) %{_bindir}/dropdb
898 %attr(755,root,root) %{_bindir}/droplang
899 %attr(755,root,root) %{_bindir}/dropuser
900 %attr(755,root,root) %{_bindir}/initdb
901 %attr(755,root,root) %{_bindir}/initlocation
902 %attr(755,root,root) %{_bindir}/ipcclean
903 %attr(755,root,root) %{_bindir}/pg_controldata
904 %attr(755,root,root) %{_bindir}/pg_ctl
905 %attr(755,root,root) %{_bindir}/pg_encoding
906 %attr(755,root,root) %{_bindir}/pg_resetxlog
907 %attr(755,root,root) %{_bindir}/postgres
908 %attr(755,root,root) %{_bindir}/postmaster
910 %attr(755,root,root) %{_pgmoduledir}/ascii*
911 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
912 %attr(755,root,root) %{_pgmoduledir}/euc*
913 %attr(755,root,root) %{_pgmoduledir}/latin*
914 %attr(755,root,root) %{_pgmoduledir}/utf*
918 %dir %{_datadir}/postgresql
919 %{_datadir}/postgresql/*.bki
920 %{_datadir}/postgresql/*.sample
921 %{_datadir}/postgresql/*.description
922 %{_datadir}/postgresql/*.sql
924 %attr(700,postgres,postgres) /home/services/postgres
925 %attr(700,postgres,postgres) %dir /var/lib/pgsql
926 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
928 %{_mandir}/man1/clusterdb.1*
929 %{_mandir}/man1/createdb.1*
930 %{_mandir}/man1/createlang.1*
931 %{_mandir}/man1/createuser.1*
932 %{_mandir}/man1/dropdb.1*
933 %{_mandir}/man1/droplang.1*
934 %{_mandir}/man1/dropuser.1*
935 %{_mandir}/man1/initdb.1*
936 %{_mandir}/man1/initlocation.1*
937 %{_mandir}/man1/ipcclean.1*
938 %{_mandir}/man1/pg_config.1*
939 %{_mandir}/man1/pg_controldata.1*
940 %{_mandir}/man1/pg_ctl.1*
941 %{_mandir}/man1/pg_resetxlog.1*
942 %{_mandir}/man1/postgres.1*
943 %{_mandir}/man1/postmaster.1*
948 %doc doc/FAQ* doc/README*
949 %doc COPYRIGHT README HISTORY doc/bug.template
952 %defattr(644,root,root,755)
957 %defattr(644,root,root,755)
958 %attr(755,root,root) %{_libdir}/libpq.so.*.*
959 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
960 %attr(755,root,root) %{_bindir}/pg_id
963 %defattr(644,root,root,755)
964 %attr(755,root,root) %{_bindir}/ecpg
965 %attr(755,root,root) %{_bindir}/pg_config
966 %attr(755,root,root) %{_libdir}/libecpg.so
967 %attr(755,root,root) %{_libdir}/libpq.so
968 %dir %{_includedir}/postgresql
969 %{_includedir}/pg_config.h
970 %{_includedir}/pg_config_os.h
971 %{_includedir}/ecpgerrno.h
972 %{_includedir}/ecpglib.h
973 %{_includedir}/ecpgtype.h
974 %{_includedir}/libpq-fe.h
975 %{_includedir}/postgres_ext.h
976 %{_includedir}/sql3types.h
977 %{_includedir}/sqlca.h
978 %dir %{_includedir}/postgresql/internal
979 %{_includedir}/postgresql/internal/c.h
980 %{_includedir}/postgresql/internal/libpq-int.h
981 %{_includedir}/postgresql/internal/postgres_fe.h
982 %{_includedir}/postgresql/internal/pqexpbuffer.h
983 %{_includedir}/postgresql/internal/lib
984 %{_includedir}/postgresql/internal/libpq
986 %{_mandir}/man1/ecpg.1*
989 %defattr(644,root,root,755)
990 %{_includedir}/postgresql/server
993 %defattr(644,root,root,755)
998 %defattr(644,root,root,755)
999 %attr(755,root,root) %{_bindir}/pg_dump
1000 %attr(755,root,root) %{_bindir}/pg_dumpall
1001 %attr(755,root,root) %{_bindir}/pg_restore
1002 %attr(755,root,root) %{_bindir}/psql
1003 %attr(755,root,root) %{_bindir}/vacuumdb
1005 %{_mandir}/man1/pg_dump.1*
1006 %{_mandir}/man1/pg_dumpall.1*
1007 %{_mandir}/man1/pg_restore.1*
1008 %{_mandir}/man1/psql.1*
1009 %{_mandir}/man1/vacuumdb.1*
1010 %{_mandir}/manl/*.l*
1012 %files -n python-postgresql
1013 %defattr(644,root,root,755)
1014 %doc src/interfaces/python/{README*,ChangeLog}
1017 %attr(755,root,root) %{py_sitedir}/*.so
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_libdir}/libpgtcl.so
1022 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1023 %attr(755,root,root) %{_bindir}/pgtclsh
1024 %attr(755,root,root) %{_bindir}/pgtksh
1025 %{_mandir}/man1/pgtclsh.1*
1026 %{_mandir}/man1/pgtksh.1*
1029 %defattr(644,root,root,755)
1030 %{_includedir}/libpgtcl.h
1033 %defattr(644,root,root,755)
1034 %{_libdir}/libpgtcl.a
1036 %files module-plpgsql
1037 %defattr(644,root,root,755)
1038 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1040 %files module-plperl
1041 %defattr(644,root,root,755)
1042 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1044 %files module-plpython
1045 %defattr(644,root,root,755)
1046 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_bindir}/pltcl_*
1051 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1053 %files module-pgcrypto
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1056 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1057 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1058 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz