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: libtool
50 BuildRequires: ncurses-devel >= 5.0
51 BuildRequires: openssl-devel >= 0.9.7c
52 BuildRequires: pam-devel
53 BuildRequires: perl-devel
54 BuildRequires: python-devel >= 2.3
55 BuildRequires: readline-devel >= 4.2
56 BuildRequires: rpm-pythonprov
57 BuildRequires: tcl-devel >= 8.4.3
58 BuildRequires: tk-devel >= 8.4.3
59 BuildRequires: zlib-devel
60 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 PreReq: %{name}-clients = %{version}
63 PreReq: %{name}-libs = %{version}
64 Requires(pre): /usr/bin/getgid
65 Requires(pre): /bin/id
66 Requires(pre): /usr/sbin/groupadd
67 Requires(pre): /usr/sbin/useradd
68 Requires(pre): /usr/sbin/usermod
69 Requires(post,preun): /sbin/chkconfig
70 Obsoletes: postgresql-server
71 Obsoletes: postgresql-test
73 %define _pgmoduledir %{_libdir}/postgresql
74 %define _pgsqldir %{_pgmoduledir}/sql
77 PostgreSQL Data Base Management System (formerly known as Postgres,
80 PostgreSQL is an enhancement of the POSTGRES database management
81 system, a next-generation DBMS research prototype. While PostgreSQL
82 retains the powerful data model and rich data types of POSTGRES, it
83 replaces the PostQuel query language with an extended subset of SQL.
84 PostgreSQL is free and the complete source is available.
86 PostgreSQL development is being performed by a team of Internet
87 developers who all subscribe to the PostgreSQL development mailing
88 list. The current coordinator is Marc G. Fournier
89 (scrappy@postgreSQL.org). This team is now responsible for all current
90 and future development of PostgreSQL.
92 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
93 others have contributed to the porting, testing, debugging and
94 enhancement of the code. The original Postgres code, from which
95 PostgreSQL is derived, was the effort of many graduate students,
96 undergraduate students, and staff programmers working under the
97 direction of Professor Michael Stonebraker at the University of
100 The original name of the software at Berkeley was Postgres. When SQL
101 functionality was added in 1995, its name was changed to Postgres95.
102 The name was changed at the end of 1996 to PostgreSQL.
104 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
105 and most flavours of Unix.
108 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
111 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
112 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
113 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
114 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
115 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
118 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
119 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
120 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
121 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
123 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
124 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
125 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
126 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
127 Studenten und Programmierern unter der Leitung von Professor Michael
128 Stonebraker an der University of California, Berkeley.
130 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
131 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
132 entschied man sich für PostgreSQL.
134 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
135 und den meisten Unix-Systemen.
138 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
139 como Postgres, y después como Postgres95). PostgreSQL es una
140 continuación mejorada del Sistema Administrador de Banco de Datos
141 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
142 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
143 los varios tipos de datos del POSTGRES, substituye el lenguaje de
144 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
145 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
146 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
147 en la lista de desarrollo del PostgreSQL. El coordinador actual es
148 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
149 responsable por el desarrollo actual y futuro del PostgreSQL.
152 Système de gestion de bases de données PostgreSQL (D'abord nommé
153 Postgres, puis Postgres95).
155 PostgreSQL est une amélioration du système de gestion de bases de
156 données POSTGRES, un prototype de recherche de la génération suivant
157 DBMS. Tout en conservant le puissant modèle de donnée de et les types
158 de donée riches de Postgres, il remplace le langage de requêtes de
159 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
160 libre, et ses sources sont disponibles.
162 Le développement de PostgreSQL est actuellement réalisé via internet
163 parune équipe de développeurs inscrits sur la mailing-list de
164 développement de PostgreSQL. Le coordinateur actuel est Marc G
165 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
166 développemen actuel et à venir de PostgreSQL.
168 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
169 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
170 l'amélioration du code. Le code original de Postgres, duquel
171 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
172 moins haut niveau, et de programmeurs travaillant sous la direction du
173 professeur Michael Stonebraker à l'université de Berkeley Californie.
175 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
176 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
177 rebaptisé PostgreSQL en 1996.
179 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
180 et la plupart des Unix.
183 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
184 Postgres, nastêpnie jako Postgres95).
186 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
187 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
188 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
189 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
190 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
193 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
194 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
195 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
196 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
198 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
199 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
200 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
201 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
202 zespo³u programistów, którzy pracowali pod kierunkiem profesora
203 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
205 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
206 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
207 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
210 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
211 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
213 %description -l pt_BR
214 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
215 Postgres, e depois como Postgres95).
217 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
218 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
219 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
220 dados e os vários tipos de dados do POSTGRES, ele substitui a
221 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
222 PostgreSQL é livre e tem os fontes disponíveis.
224 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
225 desenvolvedores da Internet, todos subscritores da lista de
226 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
227 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
228 desenvolvimento atual e futuro do PostgreSQL.
231 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
232 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
234 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
235 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
236 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
237 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
238 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
241 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
242 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
243 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
244 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
245 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
247 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
248 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
249 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
250 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
251 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
252 California, Berkeley.
254 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
255 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
256 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
259 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
260 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
263 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
264 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
265 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
266 sorgulama dilini koyar.
269 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
270 ÐÏÔ¦Í ÑË Postgres95).
272 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
273 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
274 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
275 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
276 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
279 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
280 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
281 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
282 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
284 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
285 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
286 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
287 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
288 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
289 California, Berkeley.
291 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
292 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
293 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
295 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
296 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
299 Summary: PostgreSQL development header files and libraries
300 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
301 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
302 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
303 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
304 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
305 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
306 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
307 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
308 Group: Development/Libraries
309 Requires: %{name}-libs = %{version}
312 This package contains header files and libraries required to compile
313 applications that are talking directly to the PostgreSQL backend
316 %description devel -l de
317 Dieses Paket enthält die Header-Dateien und Libraries, die zum
318 Kompilieren von Applikationen notwendig sind, die direkt mit dem
319 PostgreSQL-Backend-Server kommunizieren.
321 %description devel -l es
322 Este paquete contiene archivos de inclusión y bibliotecas requeridas
323 para compilación de aplicativos que se comunican directamente con el
324 servidor backend PostgreSQL.
326 %description devel -l fr
327 Ce package contient les fichiers d'en-tête et les bibliothéques
328 nécessaires pour compiler des applications ayant des échanges directs
329 avec le serveur du backend PostgreSQL.
331 %description devel -l pl
332 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
333 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
335 %description devel -l pt_BR
336 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
337 compilação de aplicativos que se comunicam diretamente com o servidor
340 %description devel -l ru
341 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
342 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
344 %description devel -l tr
345 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
346 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
348 %description devel -l uk
349 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
350 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
352 %package backend-devel
353 Summary: PostgreSQL backend development header files
354 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
355 Group: Development/Libraries
356 Requires: %{name}-libs = %{version}
358 %description backend-devel
359 This package contains header files required to compile functions that
360 could be loaded directly by backend
362 %description backend-devel -l pl
363 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
364 bezposrednio ladowane przez beckend serwera PostgreSQL.
367 Summary: Clients needed to access a PostgreSQL server
368 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
369 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
370 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
371 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
372 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
373 Group: Applications/Databases
374 Requires: %{name}-libs = %{version}
377 This package includes only the clients needed to access an PostgreSQL
378 server. The server is included in the main package. If all you need is
379 to connect to another PostgreSQL server, the this is the only package
380 you need to install. Clients include several command-line utilities
381 you can use to manage your databases on a remote PostgreSQL server.
383 %description clients -l es
384 Este paquete incluye solamente los clientes necesarios para acceder un
385 servidor PostgreSQL. El servidor está en el paquete principal.
387 %description clients -l pl
388 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
389 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
390 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
392 %description clients -l pt_BR
393 Este pacote inclui somente os clientes necessários para acessar um
394 servidor PostgreSQL. O servidor está no pacote principal.
396 %description clients -l ru
397 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
398 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
399 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
400 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
402 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
403 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
406 %description clients -l uk
407 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
408 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
409 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
410 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
412 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
413 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
415 %package -n python-postgresql
416 Summary: The python-based client programs needed for accessing a PostgreSQL server
417 Summary(es): Módulo Python para acceder un servidor PostgreSQL
418 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
419 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
420 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
421 Group: Libraries/Python
422 Requires: python >= 2.0
423 Requires: python-mx-DateTime
424 Requires: %{name}-libs = %{version}
425 Obsoletes: python-PyGreSQL
426 Obsoletes: postgresql-python
428 %description -n python-postgresql
429 postgresql-python includes the python-based client programs and client
430 libraries that you'll need to access a PostgreSQL database management
433 %description -n python-postgresql -l es
434 Módulo Python para acceder un servidor PostgreSQL.
436 %description -n python-postgresql -l pl
437 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
438 do dostêpu do serwera baz danych PostgreSQL.
440 %description -n python-postgresql -l pt_BR
441 Módulo Python para acesso ao servidor PostgreSQL.
444 Summary: Documentation for PostgreSQL
445 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
446 Group: Applications/Databases
449 This package includes documentation and HOWTO for programmer, admin
450 etc., in HTML format.
452 %description doc -l pl
453 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
454 administratorów w formacie HTML.
457 Summary: PostgreSQL libraries
458 Summary(es): Biblioteca compartida del PostgreSQL
459 Summary(pl): Biblioteki dzielone programu PostgreSQL
460 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
461 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
465 PostgreSQL shared libraries.
467 %description libs -l es
468 Este paquete contiene la biblioteca compartida para acceso al
471 %description libs -l pl
472 Biblioteki dzielone programu PostgreSQL.
474 %description libs -l pt_BR
475 Este pacote contém a biblioteca compartilhada para acesso ao
479 Summary: PostgreSQL static libraries
480 Summary(es): Bibliotecas estaticas PostgreSQL
481 Summary(pl): Biblioteki statyczne programu PostgreSQL
482 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
483 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
484 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
485 Group: Development/Libraries
486 Requires: %{name}-devel = %{version}
489 PostgreSQL static libraries.
491 %description static -l es
492 Este paquete contiene bibliotecas estaticas requerida para compilación
493 de aplicativos que se comunican directamente con el servidor backend
496 %description static -l pl
497 Biblioteki statyczne programu PostgreSQL.
499 %description static -l pt_BR
500 Este pacote contém as bibliotecas estáticas requeridas para compilação
501 de aplicativos que se comunicam diretamente com o servidor backend
504 %description static -l ru
505 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
506 ×ÈÏÄÑÔ × %{name}-devel.
508 %description static -l uk
509 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
513 Summary: Tcl interface for PostgreSQL
514 Summary(es): Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
515 Summary(pl): Interfejs Tcl dla PostgreSQL
516 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
517 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
518 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
519 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
520 Group: Development/Languages/Tcl
521 Requires: %{name}-libs = %{version}
524 Tcl interface for PostgreSQL.
526 %description tcl -l es
527 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
529 %description tcl -l pl
530 Interfejs Tcl dla PostgreSQL.
532 %description tcl -l pt_BR
533 Bibliotecas e shell para programas em Tcl acessarem o servidor
536 %description tcl -l ru
537 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
539 %description tcl -l uk
540 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
543 Summary: Development part of Tcl interface for PostgreSQL
544 Summary(pl): Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
545 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
546 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
547 Group: Development/Languages/Tcl
548 Requires: %{name}-tcl = %{version}
549 Requires: %{name}-devel = %{version}
551 %description tcl-devel
552 Development part of Tcl interface for PostgreSQL.
554 %description tcl-devel -l pl
555 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
557 %description tcl-devel -l ru
558 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
559 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
560 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
562 %description tcl-devel -l uk
563 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
564 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
565 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
568 Summary: Static libraries of Tcl interface for PostgreSQL
569 Summary(pl): Biblioteki statyczne interfejsu Tcl dla PostgreSQL
570 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
571 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
572 Group: Development/Languages/Tcl
573 Requires: %{name}-tcl-devel = %{version}
575 %description tcl-static
576 Static libraries of Tcl interface for PostgreSQL.
578 %description tcl-static -l pl
579 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
581 %description tcl-static -l ru
582 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
583 ×ÈÏÄÑÔ × postgresql-tcl-devel.
585 %description tcl-static -l uk
586 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
587 postgresql-tcl-devel.
589 %package module-plpgsql
590 Summary: PL/pgSQL - PostgreSQL procedural language
591 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
592 Group: Applications/Databases
593 Requires: %{name} = %{version}
595 %description module-plpgsql
596 From PostgreSQL documentation.
598 Postgres supports the definition of procedural languages. In the case
599 of a function or trigger procedure defined in a procedural language,
600 the database has no built-in knowledge about how to interpret the
601 function's source text. Instead, the task is passed to a handler that
602 knows the details of the language. The handler itself is a special
603 programming language function compiled into a shared object and loaded
606 To enable PL/pgSQL procedural language for your database you have to
607 run createlang command.
609 %description module-plpgsql -l pl
610 Z dokumentacji PostgreSQL.
612 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
613 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
614 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
615 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
616 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
617 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
620 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
621 proceduralnego PL/pgSQL dla swojej bazy danych.
623 %package module-plperl
624 Summary: PL/perl - PostgreSQL procedural language
625 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
626 Group: Applications/Databases
627 Requires: %{name} = %{version}
630 %description module-plperl
631 From PostgreSQL documentation.
633 Postgres supports the definition of procedural languages. In the case
634 of a function or trigger procedure defined in a procedural language,
635 the database has no built-in knowledge about how to interpret the
636 function's source text. Instead, the task is passed to a handler that
637 knows the details of the language. The handler itself is a special
638 programming language function compiled into a shared object and loaded
641 To enable PL/perl procedural language for your database you have to
642 run createlang command.
644 %description module-plperl -l pl
645 Z dokumentacji PostgreSQL.
647 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
648 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
649 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
650 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
651 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
652 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
655 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
656 proceduralnego PL/perl dla swojej bazy danych.
658 %package module-plpython
659 Summary: PL/python - PostgreSQL procedural language
660 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
661 Group: Applications/Databases
662 Requires: %{name} = %{version}
663 %pyrequires_eq python
665 %description module-plpython
666 From PostgreSQL documentation.
668 Postgres supports the definition of procedural languages. In the case
669 of a function or trigger procedure defined in a procedural language,
670 the database has no built-in knowledge about how to interpret the
671 function's source text. Instead, the task is passed to a handler that
672 knows the details of the language. The handler itself is a special
673 programming language function compiled into a shared object and loaded
676 To enable PL/python procedural language for your database you have to
677 run createlang command.
679 %description module-plpython -l pl
680 Z dokumentacji PostgreSQL.
682 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
683 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
684 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
685 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
686 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
687 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
690 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
691 proceduralnego PL/python dla swojej bazy danych.
693 %package module-pltcl
694 Summary: PL/TCL - PostgreSQL procedural language
695 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
696 Group: Applications/Databases
697 Requires: %{name} = %{version}
699 %description module-pltcl
700 From PostgreSQL documentation.
702 Postgres supports the definition of procedural languages. In the case
703 of a function or trigger procedure defined in a procedural language,
704 the database has no built-in knowledge about how to interpret the
705 function's source text. Instead, the task is passed to a handler that
706 knows the details of the language. The handler itself is a special
707 programming language function compiled into a shared object and loaded
710 To enable PL/TCL procedural language for your database you have to run
713 %description module-pltcl -l pl
714 Z dokumentacji PostgreSQL.
716 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
717 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
718 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
719 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
720 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
721 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
724 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
725 proceduralnego PL/TCL dla swojej bazy danych.
727 %package module-pgcrypto
728 Summary: Cryptographic functions for PostgreSQL
729 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
730 Group: Applications/Databases
731 Requires: %{name} = %{version}
733 %description module-pgcrypto
734 Cryptographic functions for PostgreSQL.
736 %description module-pgcrypto -l pl
737 Funkcje kryptograficzne dla PostgreSQL.
745 %{?_with_absolute_dbpaths:%patch4 -p1}
748 tar xzf doc/man*.tar.gz
751 tar zxf doc/postgres.tar.gz -C doc/unpacked
754 rm -fR `find contrib -type d -name CVS`
757 rm -f config/libtool.m4
758 %{__aclocal} -I config
761 %{!?_without_pgsql_locale:--enable-locale} \
762 %{!?_without_pgsql_multibyte:--enable-multibyte} \
767 --enable-unicode-conversion \
776 %{?_with_jdbc: --with-java}
779 %ifnarch sparc sparcv9 sparc64 alpha ppc
780 %{!?_without_tests: %{__make} check }
787 rm -rf $RPM_BUILD_ROOT
788 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
789 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
790 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
791 $RPM_BUILD_ROOT/home/services/postgres
793 %{__make} install install-all-headers \
794 DESTDIR=$RPM_BUILD_ROOT
796 %{__make} install -C src/pl/plperl \
797 DESTDIR=$RPM_BUILD_ROOT
799 touch $RPM_BUILD_ROOT/var/log/pgsql
801 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
802 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
804 cp -a man? $RPM_BUILD_ROOT%{_mandir}
806 # there are html installed, remove them
807 rm -rf $RPM_BUILD_ROOT%{_infodir}
811 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
814 %py_comp $RPM_BUILD_ROOT%{py_libdir}
815 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
819 DESTDIR=$RPM_BUILD_ROOT
822 rm -rf $RPM_BUILD_ROOT
826 if [ -f /etc/sysconfig/postgresql ]; then
827 . /etc/sysconfig/postgresql
828 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
829 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
833 for pgdir in $PG_DB_CLUSTERS; do
834 if [ -f $pgdir/PG_VERSION ]; then
835 if [ `cat $pgdir/PG_VERSION` != '7.3' ]; then
836 echo "Found database(s) in older, incompatible format in cluster $pgdir."
841 if [ "$foundold" = "1" ]; then
843 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
844 echo "and clean (or rename) those directories; then upgrade postgresql and"
845 echo "restore all data (using pg_restore or psql)."
846 echo "Remember to stop the daemon before upgrading!"
848 echo "Warning for upgrade from version *before* 7.2."
849 echo "Please note, that postgresql module path changed from"
850 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
851 echo "in dump file before restore."
853 echo "Warning for upgrade from version *before* 7.3."
854 echo "Reading following webpage is encouraged:"
855 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
859 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
860 if id postgres >/dev/null 2>&1 ; then
861 /usr/sbin/usermod -d /home/services/postgres postgres
863 /usr/sbin/useradd -M -o -r -u 88 \
864 -d /home/services/postgres -s /bin/sh -g postgres \
865 -c "PostgreSQL Server" postgres
869 /sbin/chkconfig --add postgresql
870 if [ -f /var/lock/subsys/postgresql ]; then
871 /etc/rc.d/init.d/postgresql restart >&2 || :
873 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
877 if [ "$1" = "0" ]; then
878 if [ -f /var/lock/subsys/postgresql ]; then
879 /etc/rc.d/init.d/postgresql stop
881 /sbin/chkconfig --del postgresql
884 %post libs -p /sbin/ldconfig
885 %postun libs -p /sbin/ldconfig
887 %post tcl -p /sbin/ldconfig
888 %postun tcl -p /sbin/ldconfig
891 %defattr(644,root,root,755)
892 %attr(754,root,root) /etc/rc.d/init.d/*
893 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
895 %attr(755,root,root) %{_bindir}/clusterdb
896 %attr(755,root,root) %{_bindir}/createdb
897 %attr(755,root,root) %{_bindir}/createlang
898 %attr(755,root,root) %{_bindir}/createuser
899 %attr(755,root,root) %{_bindir}/dropdb
900 %attr(755,root,root) %{_bindir}/droplang
901 %attr(755,root,root) %{_bindir}/dropuser
902 %attr(755,root,root) %{_bindir}/initdb
903 %attr(755,root,root) %{_bindir}/initlocation
904 %attr(755,root,root) %{_bindir}/ipcclean
905 %attr(755,root,root) %{_bindir}/pg_controldata
906 %attr(755,root,root) %{_bindir}/pg_ctl
907 %attr(755,root,root) %{_bindir}/pg_encoding
908 %attr(755,root,root) %{_bindir}/pg_resetxlog
909 %attr(755,root,root) %{_bindir}/postgres
910 %attr(755,root,root) %{_bindir}/postmaster
912 %attr(755,root,root) %{_pgmoduledir}/ascii*
913 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
914 %attr(755,root,root) %{_pgmoduledir}/euc*
915 %attr(755,root,root) %{_pgmoduledir}/latin*
916 %attr(755,root,root) %{_pgmoduledir}/utf*
920 %dir %{_datadir}/postgresql
921 %{_datadir}/postgresql/*.bki
922 %{_datadir}/postgresql/*.sample
923 %{_datadir}/postgresql/*.description
924 %{_datadir}/postgresql/*.sql
926 %attr(700,postgres,postgres) /home/services/postgres
927 %attr(700,postgres,postgres) %dir /var/lib/pgsql
928 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
930 %{_mandir}/man1/clusterdb.1*
931 %{_mandir}/man1/createdb.1*
932 %{_mandir}/man1/createlang.1*
933 %{_mandir}/man1/createuser.1*
934 %{_mandir}/man1/dropdb.1*
935 %{_mandir}/man1/droplang.1*
936 %{_mandir}/man1/dropuser.1*
937 %{_mandir}/man1/initdb.1*
938 %{_mandir}/man1/initlocation.1*
939 %{_mandir}/man1/ipcclean.1*
940 %{_mandir}/man1/pg_controldata.1*
941 %{_mandir}/man1/pg_ctl.1*
942 %{_mandir}/man1/pg_resetxlog.1*
943 %{_mandir}/man1/postgres.1*
944 %{_mandir}/man1/postmaster.1*
949 %doc doc/FAQ* doc/README*
950 %doc COPYRIGHT README HISTORY doc/bug.template
953 %defattr(644,root,root,755)
958 %defattr(644,root,root,755)
959 %attr(755,root,root) %{_libdir}/libpq.so.*.*
960 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
961 %attr(755,root,root) %{_bindir}/pg_id
964 %defattr(644,root,root,755)
965 %attr(755,root,root) %{_bindir}/ecpg
966 %attr(755,root,root) %{_bindir}/pg_config
967 %attr(755,root,root) %{_libdir}/libecpg.so
968 %attr(755,root,root) %{_libdir}/libpq.so
969 %dir %{_includedir}/postgresql
970 %{_includedir}/pg_config.h
971 %{_includedir}/pg_config_os.h
972 %{_includedir}/ecpgerrno.h
973 %{_includedir}/ecpglib.h
974 %{_includedir}/ecpgtype.h
975 %{_includedir}/libpq-fe.h
976 %{_includedir}/postgres_ext.h
977 %{_includedir}/sql3types.h
978 %{_includedir}/sqlca.h
979 %dir %{_includedir}/postgresql/internal
980 %{_includedir}/postgresql/internal/c.h
981 %{_includedir}/postgresql/internal/libpq-int.h
982 %{_includedir}/postgresql/internal/postgres_fe.h
983 %{_includedir}/postgresql/internal/pqexpbuffer.h
984 %{_includedir}/postgresql/internal/lib
985 %{_includedir}/postgresql/internal/libpq
987 %{_mandir}/man1/ecpg.1*
988 %{_mandir}/man1/pg_config.1*
991 %defattr(644,root,root,755)
992 %{_includedir}/postgresql/server
995 %defattr(644,root,root,755)
1000 %defattr(644,root,root,755)
1001 %attr(755,root,root) %{_bindir}/pg_dump
1002 %attr(755,root,root) %{_bindir}/pg_dumpall
1003 %attr(755,root,root) %{_bindir}/pg_restore
1004 %attr(755,root,root) %{_bindir}/psql
1005 %attr(755,root,root) %{_bindir}/vacuumdb
1007 %{_mandir}/man1/pg_dump.1*
1008 %{_mandir}/man1/pg_dumpall.1*
1009 %{_mandir}/man1/pg_restore.1*
1010 %{_mandir}/man1/psql.1*
1011 %{_mandir}/man1/vacuumdb.1*
1012 %{_mandir}/manl/*.l*
1014 %files -n python-postgresql
1015 %defattr(644,root,root,755)
1016 %doc src/interfaces/python/{README*,ChangeLog}
1019 %attr(755,root,root) %{py_sitedir}/*.so
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_libdir}/libpgtcl.so
1024 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1025 %attr(755,root,root) %{_bindir}/pgtclsh
1026 %attr(755,root,root) %{_bindir}/pgtksh
1027 %{_mandir}/man1/pgtclsh.1*
1028 %{_mandir}/man1/pgtksh.1*
1031 %defattr(644,root,root,755)
1032 %{_includedir}/libpgtcl.h
1035 %defattr(644,root,root,755)
1036 %{_libdir}/libpgtcl.a
1038 %files module-plpgsql
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1042 %files module-plperl
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1046 %files module-plpython
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1051 %defattr(644,root,root,755)
1052 %attr(755,root,root) %{_bindir}/pltcl_*
1053 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1055 %files module-pgcrypto
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1058 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1059 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1060 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz