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 manulas 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
34 Source2: pgsql-Database-HOWTO-html.tar.gz
35 Source3: %{name}.sysconfig
36 Patch0: %{name}-configure.patch
37 Patch1: %{name}-pg_ctl-silent.patch
38 Patch2: %{name}-pg_ctl-nopsql.patch
39 Patch3: %{name}-conf.patch
40 Patch4: %{name}-absolute_dbpaths.patch
42 URL: http://www.postgresql.org/
43 BuildRequires: XFree86-devel
44 BuildRequires: autoconf
45 BuildRequires: automake
46 BuildRequires: ncurses-devel >= 5.0
47 BuildRequires: openssl-devel >= 0.9.7
48 BuildRequires: pam-devel
49 BuildRequires: perl-devel
50 BuildRequires: python-devel >= 2.2.1
51 BuildRequires: readline-devel >= 4.2
52 BuildRequires: rpm-pythonprov
53 BuildRequires: tcl-devel >= 8.3.2
54 BuildRequires: tk-devel >= 8.3.2
55 BuildRequires: zlib-devel
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 PreReq: %{name}-clients = %{version}
59 PreReq: %{name}-libs = %{version}
60 Requires(pre): /usr/bin/getgid
61 Requires(pre): /bin/id
62 Requires(pre): /usr/sbin/groupadd
63 Requires(pre): /usr/sbin/useradd
64 Requires(pre): /usr/sbin/usermod
65 Requires(post,preun): /sbin/chkconfig
66 Obsoletes: postgresql-server
67 Obsoletes: postgresql-test
69 %define _pgmoduledir %{_libdir}/postgresql
70 %define _pgsqldir %{_pgmoduledir}/sql
73 PostgreSQL Data Base Management System (formerly known as Postgres,
76 PostgreSQL is an enhancement of the POSTGRES database management
77 system, a next-generation DBMS research prototype. While PostgreSQL
78 retains the powerful data model and rich data types of POSTGRES, it
79 replaces the PostQuel query language with an extended subset of SQL.
80 PostgreSQL is free and the complete source is available.
82 PostgreSQL development is being performed by a team of Internet
83 developers who all subscribe to the PostgreSQL development mailing
84 list. The current coordinator is Marc G. Fournier
85 (scrappy@postgreSQL.org). This team is now responsible for all current
86 and future development of PostgreSQL.
88 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
89 others have contributed to the porting, testing, debugging and
90 enhancement of the code. The original Postgres code, from which
91 PostgreSQL is derived, was the effort of many graduate students,
92 undergraduate students, and staff programmers working under the
93 direction of Professor Michael Stonebraker at the University of
96 The original name of the software at Berkeley was Postgres. When SQL
97 functionality was added in 1995, its name was changed to Postgres95.
98 The name was changed at the end of 1996 to PostgreSQL.
100 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
101 and most flavours of Unix.
104 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
107 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
108 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
109 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
110 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
111 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
114 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
115 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
116 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
117 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
119 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
120 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
121 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
122 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
123 Studenten und Programmierern unter der Leitung von Professor Michael
124 Stonebraker an der University of California, Berkeley.
126 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
127 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
128 entschied man sich für PostgreSQL.
130 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
131 und den meisten Unix-Systemen.
134 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
135 como Postgres, y después como Postgres95). PostgreSQL es una
136 continuación mejorada del Sistema Administrador de Banco de Datos
137 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
138 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
139 los varios tipos de datos del POSTGRES, substituye el lenguaje de
140 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
141 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
142 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
143 en la lista de desarrollo del PostgreSQL. El coordinador actual es
144 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
145 responsable por el desarrollo actual y futuro del PostgreSQL.
148 Système de gestion de bases de données PostgreSQL (D'abord nommé
149 Postgres, puis Postgres95).
151 PostgreSQL est une amélioration du système de gestion de bases de
152 données POSTGRES, un prototype de recherche de la génération suivant
153 DBMS. Tout en conservant le puissant modèle de donnée de et les types
154 de donée riches de Postgres, il remplace le langage de requêtes de
155 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
156 libre, et ses sources sont disponibles.
158 Le développement de PostgreSQL est actuellement réalisé via internet
159 parune équipe de développeurs inscrits sur la mailing-list de
160 développement de PostgreSQL. Le coordinateur actuel est Marc G
161 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
162 développemen actuel et à venir de PostgreSQL.
164 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
165 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
166 l'amélioration du code. Le code original de Postgres, duquel
167 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
168 moins haut niveau, et de programmeurs travaillant sous la direction du
169 professeur Michael Stonebraker à l'université de Berkeley Californie.
171 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
172 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
173 rebaptisé PostgreSQL en 1996.
175 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
176 et la plupart des Unix.
179 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
180 Postgres, nastêpnie jako Postgres95).
182 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
183 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
184 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
185 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
186 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
189 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
190 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
191 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
192 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
194 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
195 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
196 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
197 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
198 zespo³u programistów, którzy pracowali pod kierunkiem profesora
199 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
201 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
202 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
203 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
206 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
207 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
209 %description -l pt_BR
210 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
211 Postgres, e depois como Postgres95).
213 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
214 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
215 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
216 dados e os vários tipos de dados do POSTGRES, ele substitui a
217 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
218 PostgreSQL é livre e tem os fontes disponíveis.
220 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
221 desenvolvedores da Internet, todos subscritores da lista de
222 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
223 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
224 desenvolvimento atual e futuro do PostgreSQL.
227 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
228 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
230 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
231 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
232 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
233 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
234 PostgreSQL ÂÅÓÐÌÁÔÅÎ É ÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
237 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
238 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
239 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
240 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
241 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
243 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
244 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
245 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
246 ÓÏÚÄÁÎ ÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
247 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
248 California, Berkeley.
250 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
251 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
252 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
255 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
256 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
259 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
260 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
261 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
262 sorgulama dilini koyar.
265 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁÎ¦Û ×¦ÄÏÍÁ ÑË Postgres,
266 ÐÏÔ¦Í ÑË Postgres95).
268 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒÓ¦Ñ ÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
269 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
270 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁÂ¦Ò ÔÉÐ¦× ÄÁÎÉÈ POSTGRES,
271 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉÔ¦× PostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
272 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
275 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
276 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
277 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
278 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
280 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
281 ×ÎÅÓÌÉ Ó×¦Ê ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, צÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
282 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
283 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎÔ¦× ÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
284 Ð¦Ä ËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
285 California, Berkeley.
287 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
288 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
289 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
291 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
292 ÔÁ ¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉÄ¦× Unix.
295 Summary: PostgreSQL development header files and libraries
296 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
297 Summary(es): Archivos de inclusión y bibliotecas PostgreSQL
298 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
299 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
300 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
301 Summary(ru): PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
302 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
303 Summary(uk): PostgreSQL - ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
304 Group: Development/Libraries
305 Requires: %{name}-libs = %{version}
308 This package contains header files and libraries required to compile
309 applications that are talking directly to the PostgreSQL backend
312 %description devel -l de
313 Dieses Paket enthält die Header-Dateien und Libraries, die zum
314 Kompilieren von Applikationen notwendig sind, die direkt mit dem
315 PostgreSQL-Backend-Server kommunizieren.
317 %description devel -l es
318 Este paquete contiene archivos de inclusión y bibliotecas requeridas
319 para compilación de aplicativos que se comunican directamente con el
320 servidor backend PostgreSQL.
322 %description devel -l fr
323 Ce package contient les fichiers d'en-tête et les bibliothéques
324 nécessaires pour compiler des applications ayant des échanges directs
325 avec le serveur du backend PostgreSQL.
327 %description devel -l pl
328 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
329 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
331 %description devel -l pt_BR
332 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
333 compilação de aplicativos que se comunicam diretamente com o servidor
336 %description devel -l ru
337 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
338 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
340 %description devel -l tr
341 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
342 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
344 %description devel -l uk
345 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
346 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
348 %package backend-devel
349 Summary: PostgreSQL backend development header files
350 Summary(pl): PostgreSQL - pliki nag³ówkowe dla backendu
351 Group: Development/Libraries
352 Requires: %{name}-libs = %{version}
354 %description backend-devel
355 This package contains header files required to compile functions that
356 could be loaded directly by backend
358 %description backend-devel -l pl
359 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
360 bezposrednio ladowane przez beckend serwera PostgreSQL.
363 Summary: Clients needed to access a PostgreSQL server
364 Summary(es): Clientes necesarios para acceder al servidor PostgreSQL
365 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
366 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
367 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
368 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
369 Group: Applications/Databases
370 Requires: %{name}-libs = %{version}
373 This package includes only the clients needed to access an PostgreSQL
374 server. The server is included in the main package. If all you need is
375 to connect to another PostgreSQL server, the this is the only package
376 you need to install. Clients include several command-line utilities
377 you can use to manage your databases on a remote PostgreSQL server.
379 %description clients -l es
380 Este paquete incluye solamente los clientes necesarios para acceder un
381 servidor PostgreSQL. El servidor está en el paquete principal.
383 %description clients -l pl
384 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
385 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
386 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
388 %description clients -l pt_BR
389 Este pacote inclui somente os clientes necessários para acessar um
390 servidor PostgreSQL. O servidor está no pacote principal.
392 %description clients -l ru
393 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
394 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
395 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
396 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
398 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
399 C++, PERL É TCL) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
402 %description clients -l uk
403 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
404 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅÒ Í¦ÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
405 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
406 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
408 ôÅÐÅÒ ÐÁËÅÔÉ Ú Â¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, PERL
409 ¦ TCL) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ô¦ÌØËÉ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
411 %package -n python-postgresql
412 Summary: The python-based client programs needed for accessing a PostgreSQL server
413 Summary(es): Módulo Python para acceder un servidor PostgreSQL
414 Summary(pl): Programy klienckie do dostêpu do serwera PostgreSQL napisane w Pythonie
415 Summary(pt_BR): Módulo Python para acesso ao servidor PostgreSQL
416 Summary(zh_CN): Python ³ÌÐò·ÃÎÊ PostgreSQL Êý¾Ý¿âËùÐèµÄ¿ª·¢Ä£¿é
417 Group: Libraries/Python
418 Requires: python >= 2.0
419 Requires: python-mx-DateTime
420 Requires: %{name}-libs = %{version}
421 Obsoletes: python-PyGreSQL
422 Obsoletes: postgresql-python
424 %description -n python-postgresql
425 postgresql-python includes the python-based client programs and client
426 libraries that you'll need to access a PostgreSQL database management
429 %description -n python-postgresql -l es
430 Módulo Python para acceder un servidor PostgreSQL
432 %description -n python-postgresql -l pl
433 Pakiet ten zawiera napisane w Pythonie programy i biblioteki klienckie
434 do dostêpu do serwera baz danych PostgreSQL.
436 %description -n python-postgresql -l pt_BR
437 Módulo Python para acesso ao servidor PostgreSQL.
440 Summary: Documentation for PostgreSQL
441 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
442 Group: Applications/Databases
445 This package includes documentation and HOWTO for programmer, admin
446 etc., in HTML format.
448 %description doc -l pl
449 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
450 administratorów w formacie HTML.
453 Summary: PostgreSQL libraries
454 Summary(es): Biblioteca compartida del PostgreSQL
455 Summary(pl): Biblioteki dzielone programu PostgreSQL
456 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
457 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
461 PostgreSQL shared libraries.
463 %description libs -l es
464 Este paquete contiene la biblioteca compartida para acceso al
467 %description libs -l pl
468 Biblioteki dzielone programu PostgreSQL.
470 %description libs -l pt_BR
471 Este pacote contém a biblioteca compartilhada para acesso ao
475 Summary: PostgreSQL static libraries
476 Summary(es): Bibliotecas estaticas PostgreSQL
477 Summary(pl): Biblioteki statyczne programu PostgreSQL
478 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
479 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó postgresql
480 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú postgresql
481 Group: Development/Libraries
482 Requires: %{name}-devel = %{version}
485 PostgreSQL static libraries.
487 %description static -l es
488 Este paquete contiene bibliotecas estaticas requerida para compilación
489 de aplicativos que se comunican directamente con el servidor backend
492 %description static -l pl
493 Biblioteki statyczne programu PostgreSQL.
495 %description static -l pt_BR
496 Este pacote contém as bibliotecas estáticas requeridas para compilação
497 de aplicativos que se comunicam diretamente com o servidor backend
500 %description static -l ru
501 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
502 ×ÈÏÄÑÔ × %{name}-devel.
504 %description static -l uk
505 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, Ñ˦ ¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
509 Summary: tcl interface for PostgreSQL
510 Summary(es): Bibliotecas y shell TCL para acceder un servidor PostgreSQL
511 Summary(pl): Interfejs tcl dla PostgreSQL
512 Summary(pt_BR): Bibliotecas e shell para programas em TCL acessarem o servidor PostgreSQL
513 Summary(ru): âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë postgresql ÉÚ tcl
514 Summary(uk): â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ postgresql Ú tcl
515 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
516 Group: Development/Languages/Tcl
517 Requires: %{name}-libs = %{version}
520 tcl interface for PostgreSQL.
522 %description tcl -l es
523 Bibliotecas y shell TCL para acceder un servidor PostgreSQL
525 %description tcl -l pl
526 Interfejs tcl dla PostgreSQL.
528 %description tcl -l pt_BR
529 Bibliotecas e shell para programas em TCL acessarem o servidor
532 %description tcl -l ru
533 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ tcl.
535 %description tcl -l uk
536 libpgtcl -- API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É tcl.
539 Summary: Development part of tcl interface for PostgreSQL
540 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
541 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
542 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ postgresql)
543 Group: Development/Languages/Tcl
544 Requires: %{name}-tcl = %{version}
545 Requires: %{name}-devel = %{version}
547 %description tcl-devel
548 Development part of tcl interface for PostgreSQL.
550 %description tcl-devel -l pl
551 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
553 %description tcl-devel -l ru
554 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïÎ ×ËÌÀÞÁÅÔ
555 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
556 ËÏÄ ÉÌÉ API libtcl (tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ postgresql).
558 %description tcl-devel -l uk
559 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î ͦÓÔÉÔØ ÈÅÄÅÒÉ
560 ÔÁ ¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
561 API libtcl (tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ postgresql).
564 Summary: Static libraries of tcl interface for PostgreSQL
565 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
566 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
567 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
568 Group: Development/Languages/Tcl
569 Requires: %{name}-tcl-devel = %{version}
571 %description tcl-static
572 Static libraries of tcl interface for PostgreSQL.
574 %description tcl-static -l pl
575 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
577 %description tcl-static -l ru
578 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
579 ×ÈÏÄÑÔ × %{_name}-tcl-devel.
581 %description tcl-static -l uk
582 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍÉ Â¦Â̦ÏÔÅËÁÍÉ, ÝÏ Â¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
585 %package module-plpgsql
586 Summary: PL/pgSQL - PostgreSQL procedural language
587 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
588 Group: Applications/Databases
589 Requires: %{name} = %{version}
591 %description module-plpgsql
592 From PostgreSQL documentation.
594 Postgres supports the definition of procedural languages. In the case
595 of a function or trigger procedure defined in a procedural language,
596 the database has no built-in knowledge about how to interpret the
597 function's source text. Instead, the task is passed to a handler that
598 knows the details of the language. The handler itself is a special
599 programming language function compiled into a shared object and loaded
602 To enable PL/pgSQL procedural language for your database you have to
603 run createlang command.
605 %description module-plpgsql -l pl
606 Z dokumentacji PostgreSQL.
608 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
609 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
610 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
611 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
612 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
613 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
616 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
617 proceduralnego PL/pgSQL dla swojej bazy danych.
619 %package module-plperl
620 Summary: PL/perl - PostgreSQL procedural language
621 Summary(pl): PL/perl jêzyk proceduralny bazy danych PostgreSQL
622 Group: Applications/Databases
623 Requires: %{name} = %{version}
626 %description module-plperl
627 From PostgreSQL documentation.
629 Postgres supports the definition of procedural languages. In the case
630 of a function or trigger procedure defined in a procedural language,
631 the database has no built-in knowledge about how to interpret the
632 function's source text. Instead, the task is passed to a handler that
633 knows the details of the language. The handler itself is a special
634 programming language function compiled into a shared object and loaded
637 To enable PL/perl procedural language for your database you have to
638 run createlang command.
640 %description module-plperl -l pl
641 Z dokumentacji PostgreSQL.
643 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
644 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
645 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
646 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
647 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
648 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
651 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
652 proceduralnego PL/perl dla swojej bazy danych.
654 %package module-plpython
655 Summary: PL/python - PostgreSQL procedural language
656 Summary(pl): PL/python jêzyk proceduralny bazy danych PostgreSQL
657 Group: Applications/Databases
658 Requires: %{name} = %{version}
659 %pyrequires_eq python
661 %description module-plpython
662 From PostgreSQL documentation.
664 Postgres supports the definition of procedural languages. In the case
665 of a function or trigger procedure defined in a procedural language,
666 the database has no built-in knowledge about how to interpret the
667 function's source text. Instead, the task is passed to a handler that
668 knows the details of the language. The handler itself is a special
669 programming language function compiled into a shared object and loaded
672 To enable PL/python procedural language for your database you have to
673 run createlang command.
675 %description module-plpython -l pl
676 Z dokumentacji PostgreSQL.
678 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
679 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
680 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
681 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
682 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
683 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
686 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
687 proceduralnego PL/python dla swojej bazy danych.
689 %package module-pltcl
690 Summary: PL/TCL - PostgreSQL procedural language
691 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
692 Group: Applications/Databases
693 Requires: %{name} = %{version}
695 %description module-pltcl
696 From PostgreSQL documentation.
698 Postgres supports the definition of procedural languages. In the case
699 of a function or trigger procedure defined in a procedural language,
700 the database has no built-in knowledge about how to interpret the
701 function's source text. Instead, the task is passed to a handler that
702 knows the details of the language. The handler itself is a special
703 programming language function compiled into a shared object and loaded
706 To enable PL/TCL procedural language for your database you have to run
709 %description module-pltcl -l pl
710 Z dokumentacji PostgreSQL.
712 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
713 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
714 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
715 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
716 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
717 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
720 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
721 proceduralnego PL/TCL dla swojej bazy danych.
723 %package module-pgcrypto
724 Summary: Cryptographic functions for PostgreSQL
725 Summary(pl): Funkcje kryptograficzne dla PostgreSQL
726 Group: Applications/Databases
727 Requires: %{name} = %{version}
729 %description module-pgcrypto
730 Cryptographic functions for PostgreSQL.
732 %description module-pgcrypto -l pl
733 Funkcje kryptograficzne dla PostgreSQL.
741 %{?_with_absolute_dbpaths:%patch4 -p1}
743 tar xzf doc/man*.tar.gz
746 tar zxf doc/postgres.tar.gz -C doc/unpacked
749 rm -fR `find contrib/ -type d -name CVS`
752 rm -f config/libtool.m4
753 %{__aclocal} -I config
756 %{!?_without_pgsql_locale:--enable-locale} \
757 %{!?_without_pgsql_multibyte:--enable-multibyte} \
762 --enable-unicode-conversion \
771 %{?_with_jdbc: --with-java}
774 %ifnarch sparc sparcv9 sparc64 alpha ppc
775 %{!?_without_tests: %{__make} check }
782 rm -rf $RPM_BUILD_ROOT
783 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
784 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
785 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
786 $RPM_BUILD_ROOT/home/services/postgres
788 %{__make} install install-all-headers \
789 DESTDIR=$RPM_BUILD_ROOT
791 %{__make} install -C src/pl/plperl \
792 DESTDIR=$RPM_BUILD_ROOT
794 touch $RPM_BUILD_ROOT/var/log/pgsql
796 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
797 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
799 cp -a man? $RPM_BUILD_ROOT%{_mandir}
801 # there are html installed, remove them
802 rm -rf $RPM_BUILD_ROOT%{_infodir}
806 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
809 %py_comp $RPM_BUILD_ROOT%{py_libdir}
810 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
813 %{__make} install DESTDIR=$RPM_BUILD_ROOT
816 rm -rf $RPM_BUILD_ROOT
819 echo "If you are upgrading from *pre* 7.3 version,"
820 echo "then please downgrade and dump your databases."
822 echo "Warning for upgrade from version *before* 7.2."
823 echo "Please note, that postgresql module path changed from"
824 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
825 echo "in dump file before restore."
827 echo "Warning for upgrade from version *before* 7.3."
828 echo "Reading following webpage is encouraged:"
829 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
831 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
832 if id postgres >/dev/null 2>&1 ; then
833 /usr/sbin/usermod -d /home/services/postgres postgres
835 /usr/sbin/useradd -M -o -r -u 88 \
836 -d /home/services/postgres -s /bin/sh -g postgres \
837 -c "PostgreSQL Server" postgres
841 /sbin/chkconfig --add postgresql
843 if [ -f /var/lock/subsys/postgresql ]; then
844 /etc/rc.d/init.d/postgresql restart >&2
846 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
850 if [ "$1" = "0" ]; then
851 if [ -f /var/lock/subsys/postgresql ]; then
852 /etc/rc.d/init.d/postgresql stop
854 /sbin/chkconfig --del postgresql
857 %post libs -p /sbin/ldconfig
858 %postun libs -p /sbin/ldconfig
860 %post tcl -p /sbin/ldconfig
861 %postun tcl -p /sbin/ldconfig
864 %defattr(644,root,root,755)
865 %attr(754,root,root) /etc/rc.d/init.d/*
866 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
868 %attr(755,root,root) %{_bindir}/clusterdb
869 %attr(755,root,root) %{_bindir}/createdb
870 %attr(755,root,root) %{_bindir}/createlang
871 %attr(755,root,root) %{_bindir}/createuser
872 %attr(755,root,root) %{_bindir}/dropdb
873 %attr(755,root,root) %{_bindir}/droplang
874 %attr(755,root,root) %{_bindir}/dropuser
875 %attr(755,root,root) %{_bindir}/initdb
876 %attr(755,root,root) %{_bindir}/initlocation
877 %attr(755,root,root) %{_bindir}/ipcclean
878 %attr(755,root,root) %{_bindir}/pg_config
879 %attr(755,root,root) %{_bindir}/pg_controldata
880 %attr(755,root,root) %{_bindir}/pg_ctl
881 %attr(755,root,root) %{_bindir}/pg_encoding
882 %attr(755,root,root) %{_bindir}/pg_resetxlog
883 %attr(755,root,root) %{_bindir}/postgres
884 %attr(755,root,root) %{_bindir}/postmaster
886 %attr(755,root,root) %{_pgmoduledir}/ascii*
887 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
888 %attr(755,root,root) %{_pgmoduledir}/euc*
889 %attr(755,root,root) %{_pgmoduledir}/latin*
890 %attr(755,root,root) %{_pgmoduledir}/utf*
894 %dir %{_datadir}/postgresql
895 %{_datadir}/postgresql/*.bki
896 %{_datadir}/postgresql/*.sample
897 %{_datadir}/postgresql/*.description
898 %{_datadir}/postgresql/*.sql
900 %attr(700,postgres,postgres) /home/services/postgres
901 %attr(700,postgres,postgres) %dir /var/lib/pgsql
902 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
904 %{_mandir}/man1/clusterdb.1*
905 %{_mandir}/man1/createdb.1*
906 %{_mandir}/man1/createlang.1*
907 %{_mandir}/man1/createuser.1*
908 %{_mandir}/man1/dropdb.1*
909 %{_mandir}/man1/droplang.1*
910 %{_mandir}/man1/dropuser.1*
911 %{_mandir}/man1/initdb.1*
912 %{_mandir}/man1/initlocation.1*
913 %{_mandir}/man1/ipcclean.1*
914 %{_mandir}/man1/pg_config.1*
915 %{_mandir}/man1/pg_controldata.1*
916 %{_mandir}/man1/pg_ctl.1*
917 %{_mandir}/man1/pg_resetxlog.1*
918 %{_mandir}/man1/postgres.1*
919 %{_mandir}/man1/postmaster.1*
924 %doc doc/FAQ* doc/README*
925 %doc COPYRIGHT README HISTORY doc/bug.template
928 %defattr(644,root,root,755)
933 %defattr(644,root,root,755)
934 %attr(755,root,root) %{_libdir}/libpq.so.*.*
935 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
936 %attr(755,root,root) %{_bindir}/pg_id
939 %defattr(644,root,root,755)
940 %attr(755,root,root) %{_bindir}/ecpg
941 %attr(755,root,root) %{_libdir}/libecpg.so
942 %attr(755,root,root) %{_libdir}/libpq.so
943 %dir %{_includedir}/postgresql
944 %{_includedir}/pg_config.h
945 %{_includedir}/pg_config_os.h
946 %{_includedir}/ecpgerrno.h
947 %{_includedir}/ecpglib.h
948 %{_includedir}/ecpgtype.h
949 %{_includedir}/libpq-fe.h
950 %{_includedir}/postgres_ext.h
951 %{_includedir}/sql3types.h
952 %{_includedir}/sqlca.h
953 %dir %{_includedir}/postgresql/internal
954 %{_includedir}/postgresql/internal/c.h
955 %{_includedir}/postgresql/internal/libpq-int.h
956 %{_includedir}/postgresql/internal/postgres_fe.h
957 %{_includedir}/postgresql/internal/pqexpbuffer.h
958 %{_includedir}/postgresql/internal/lib
959 %{_includedir}/postgresql/internal/libpq
961 %{_mandir}/man1/ecpg.1*
964 %defattr(644,root,root,755)
965 %{_includedir}/postgresql/server
968 %defattr(644,root,root,755)
973 %defattr(644,root,root,755)
974 %attr(755,root,root) %{_bindir}/pg_dump
975 %attr(755,root,root) %{_bindir}/pg_dumpall
976 %attr(755,root,root) %{_bindir}/pg_restore
977 %attr(755,root,root) %{_bindir}/psql
978 %attr(755,root,root) %{_bindir}/vacuumdb
980 %{_mandir}/man1/pg_dump.1*
981 %{_mandir}/man1/pg_dumpall.1*
982 %{_mandir}/man1/pg_restore.1*
983 %{_mandir}/man1/psql.1*
984 %{_mandir}/man1/vacuumdb.1*
987 %files -n python-postgresql
988 %defattr(644,root,root,755)
989 %doc src/interfaces/python/{README*,ChangeLog}
992 %attr(755,root,root) %{py_sitedir}/*.so
995 %defattr(644,root,root,755)
996 %attr(755,root,root) %{_libdir}/libpgtcl.so
997 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
998 %attr(755,root,root) %{_bindir}/pgtclsh
999 %attr(755,root,root) %{_bindir}/pgtksh
1000 %{_mandir}/man1/pgtclsh.1*
1001 %{_mandir}/man1/pgtksh.1*
1004 %defattr(644,root,root,755)
1005 %{_includedir}/libpgtcl.h
1008 %defattr(644,root,root,755)
1009 %{_libdir}/libpgtcl.a
1011 %files module-plpgsql
1012 %defattr(644,root,root,755)
1013 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1015 %files module-plperl
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1019 %files module-plpython
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{_bindir}/pltcl_*
1026 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1028 %files module-pgcrypto
1029 %defattr(644,root,root,755)
1030 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1031 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1032 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1033 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz