]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.spec
- config.* file sync for AMD64 in slony1 sources
[packages/postgresql.git] / postgresql.spec
1 #
2 # TODO:
3 # - pg_autovacuum init support? look at its readme file, please
4 # - init script for slon (Slony-I daemon).
5 #
6 # Conditional build:
7 %bcond_without  tests                   # disable testing
8 %bcond_without  tcl                     # disables Tcl support
9 %bcond_without  kerberos5               # disable kerberos5 support
10 %bcond_without  perl                    # disable Perl support
11 %bcond_without  pgsql_locale            # disable PostgreSQL locale
12 %bcond_without  pgsql_multibyte         # disable PostgreSQL multibyte
13 %bcond_without  python                  # disable Python support
14 %bcond_with     jdbc                    # build JDBC interface and Java tools
15 %bcond_with     absolute_dbpaths        # enable absolute paths to create database
16                                         # (disabled by default because it is a security risk)
17 %bcond_without  slony1                  # disable Slony-I replication system
18
19 %define         slony1_version  1.0.5
20
21 Summary:        PostgreSQL Data Base Management System
22 Summary(de):    PostgreSQL Datenbankverwaltungssystem
23 Summary(es):    Gestor de Banco de Datos PostgreSQL
24 Summary(fr):    Sysème de gestion de base de données PostgreSQL
25 Summary(pl):    PostgreSQL - system bazodanowy
26 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
27 Summary(ru):    PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
28 Summary(tr):    Veri Tabaný Yönetim Sistemi
29 Summary(uk):    PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
30 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
31 Name:           postgresql
32 Version:        7.4.6
33 Release:        3
34 License:        BSD
35 Group:          Applications/Databases
36 Source0:        ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
37 # Source0-md5:  f0ea2b372a7bdaf2613e92176ebf5e0f
38 Source1:        %{name}.init
39 Source2:        pgsql-Database-HOWTO-html.tar.gz
40 # Source2-md5:  5b656ddf1db41965761f85204a14398e
41 Source3:        %{name}.sysconfig
42 Source4:        http://developer.postgresql.org/~wieck/slony1/download/slony1-%{slony1_version}.tar.gz
43 # Source4-md5:  66fcc0f53028101e4e0f969e5f47fe43
44 Patch0:         %{name}-doc.patch
45 Patch1:         %{name}-pg_ctl-silent.patch
46 Patch2:         %{name}-pg_ctl-nopsql.patch
47 Patch3:         %{name}-conf.patch
48 Patch4:         %{name}-absolute_dbpaths.patch
49 Patch5:         %{name}-link.patch
50 Patch6:         %{name}-com_err.patch
51 Patch7:         %{name}-ecpg_link.patch
52 Patch8:         %{name}-ecpg-includedir.patch
53 Patch9:         %{name}-contrib_install.patch
54 Patch10:        %{name}-tsearch2-compound_word_support_20031210.patch
55 Patch11:        %{name}-python-configdir.patch
56 Icon:           postgresql.xpm
57 URL:            http://www.postgresql.org/
58 BuildRequires:  autoconf
59 BuildRequires:  automake
60 #BuildRequires: bison >= 1.875  not needed for releases
61 BuildRequires:  flex
62 BuildRequires:  gettext-devel
63 %{?with_kerberos5:BuildRequires:        heimdal-devel}
64 %{?with_jdbc:BuildRequires:     jakarta-ant >= 1.5}
65 BuildRequires:  libtool
66 BuildRequires:  ncurses-devel >= 5.0
67 BuildRequires:  openssl-devel >= 0.9.7d
68 BuildRequires:  pam-devel
69 %{?with_perl:BuildRequires:     perl-devel}
70 %{?with_python:BuildRequires:   python-devel >= 2.3}
71 BuildRequires:  readline-devel >= 4.2
72 BuildRequires:  rpm-pythonprov
73 %{?with_tcl:BuildRequires:      tcl-devel >= 8.4.3}
74 %{?with_tcl:BuildRequires:      tk-devel >= 8.4.3}
75 BuildRequires:  zlib-devel
76 PreReq:         rc-scripts
77 PreReq:         %{name}-clients = %{version}-%{release}
78 PreReq:         %{name}-libs = %{version}-%{release}
79 Requires(pre):  /usr/bin/getgid
80 Requires(pre):  /bin/id
81 Requires(pre):  /usr/sbin/groupadd
82 Requires(pre):  /usr/sbin/useradd
83 Requires(pre):  /usr/sbin/usermod
84 Requires(post,preun):   /sbin/chkconfig
85 Obsoletes:      postgresql-server
86 Obsoletes:      postgresql-test
87 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
88
89 %define         _pgmoduledir    %{_libdir}/postgresql
90 %define         _pgsqldir       %{_pgmoduledir}/sql
91
92 %description
93 PostgreSQL Data Base Management System (formerly known as Postgres,
94 then as Postgres95).
95
96 PostgreSQL is an enhancement of the POSTGRES database management
97 system, a next-generation DBMS research prototype. While PostgreSQL
98 retains the powerful data model and rich data types of POSTGRES, it
99 replaces the PostQuel query language with an extended subset of SQL.
100 PostgreSQL is free and the complete source is available.
101
102 PostgreSQL development is being performed by a team of Internet
103 developers who all subscribe to the PostgreSQL development mailing
104 list. The current coordinator is Marc G. Fournier
105 (scrappy@postgreSQL.org). This team is now responsible for all current
106 and future development of PostgreSQL.
107
108 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
109 others have contributed to the porting, testing, debugging and
110 enhancement of the code. The original Postgres code, from which
111 PostgreSQL is derived, was the effort of many graduate students,
112 undergraduate students, and staff programmers working under the
113 direction of Professor Michael Stonebraker at the University of
114 California, Berkeley.
115
116 The original name of the software at Berkeley was Postgres. When SQL
117 functionality was added in 1995, its name was changed to Postgres95.
118 The name was changed at the end of 1996 to PostgreSQL.
119
120 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
121 and most flavours of Unix.
122
123 %description -l de
124 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
125 Postgres95 bekannt).
126
127 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
128 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
129 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
130 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
131 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
132 verfügbar.
133
134 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
135 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
136 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
137 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
138
139 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
140 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
141 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
142 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
143 Studenten und Programmierern unter der Leitung von Professor Michael
144 Stonebraker an der University of California, Berkeley.
145
146 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
147 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
148 entschied man sich für PostgreSQL.
149
150 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
151 und den meisten Unix-Systemen.
152
153 %description -l es
154 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
155 como Postgres, y después como Postgres95). PostgreSQL es una
156 continuación mejorada del Sistema Administrador de Banco de Datos
157 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
158 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
159 los varios tipos de datos del POSTGRES, substituye el lenguaje de
160 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
161 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
162 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
163 en la lista de desarrollo del PostgreSQL. El coordinador actual es
164 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
165 responsable por el desarrollo actual y futuro del PostgreSQL.
166
167 %description -l fr
168 Système de gestion de bases de données PostgreSQL (D'abord nommé
169 Postgres, puis Postgres95).
170
171 PostgreSQL est une amélioration du système de gestion de bases de
172 données POSTGRES, un prototype de recherche de la génération suivant
173 DBMS. Tout en conservant le puissant modèle de donnée de et les types
174 de donée riches de Postgres, il remplace le langage de requêtes de
175 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
176 libre, et ses sources sont disponibles.
177
178 Le développement de PostgreSQL est actuellement réalisé via internet
179 parune équipe de développeurs inscrits sur la mailing-list de
180 développement de PostgreSQL. Le coordinateur actuel est Marc G
181 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
182 développemen actuel et à venir de PostgreSQL.
183
184 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
185 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
186 l'amélioration du code. Le code original de Postgres, duquel
187 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
188 moins haut niveau, et de programmeurs travaillant sous la direction du
189 professeur Michael Stonebraker à l'université de Berkeley Californie.
190
191 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
192 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
193 rebaptisé PostgreSQL en 1996.
194
195 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
196 et la plupart des Unix.
197
198 %description -l pl
199 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
200 Postgres, nastêpnie jako Postgres95).
201
202 PostgreSQL jest rozszerzeniem systemu zarz±dzania baz danych POSTGRES,
203 prototypu DBMS nastêpnej generacji. Co prawda PostgreSQL odziedziczy³
204 model danych oraz bogaty zbiór ró¿nych typów danych, to jednak jêzyk
205 zapytañ PostQuel zosta³ zast±piony rozszerzonym SQL-em. PostgreSQL
206 jest wolnym oprogramowaniem i kody ¼ród³owe tego oprogramowania s± w
207 pe³ni dostêpne.
208
209 System PostgreSQL jest tworzony przez zespó³ ludzi, którzy s± zapisani
210 na listê dyskusyjn± dotycz±c± PostgreSQL-a. Obecnym koordynatorem jest
211 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wy¿ej zespó³
212 jest odpowiedzialny za aktualny i przysz³y rozwój systemu PostgreSQL.
213
214 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
215 innych pomaga³o przenosz±c na ró¿ne platformy, testuj±c, analizuj±c i
216 rozszerzaj±c kod. Oryginalny kod Postgres-a, na podstawie którego
217 PostgreSQL powsta³, by³ wysi³kiem wielu absolwentów, studentów oraz
218 zespo³u programistów, którzy pracowali pod kierunkiem profesora
219 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
220
221 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmia³a
222 Postgres. W 1995 roku dodano jêzyk zapytañ SQL i nazwê zmieniono na
223 Postgres95. W koñcu roku 1996 nazwê ostatecznie zmieniono na
224 PostgreSQL.
225
226 PostgreSQL mo¿e byæ uruchomiony pod nastêpuj±cymi systemami: Solaris,
227 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
228
229 %description -l pt_BR
230 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
231 Postgres, e depois como Postgres95).
232
233 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
234 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
235 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
236 dados e os vários tipos de dados do POSTGRES, ele substitui a
237 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
238 PostgreSQL é livre e tem os fontes disponíveis.
239
240 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
241 desenvolvedores da Internet, todos subscritores da lista de
242 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
243 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
244 desenvolvimento atual e futuro do PostgreSQL.
245
246 %description -l ru
247 PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ (ÐÒÅÖÄÅ ÉÚ×ÅÓÔÎÁÑ ËÁË
248 Postgres, ÐÏÔÏÍ ËÁË Postgres95).
249
250 PostgreSQL - ÜÔÏ ÒÁÓÛÉÒÅÎÎÁÑ ×ÅÒÓÉÑ ÓÉÓÔÅÍÙ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
251 POSTGRES, ÉÓÓÌÅÄÏ×ÁÔÅÌØÓËÏÇÏ ÐÒÏÔÏÔÉÐÁ DBMS ÓÌÅÄÕÀÝÅÊ ÇÅÎÅÒÁÃÉÉ.
252 óÏÈÒÁÎÑÑ ÍÏÝÎÕÀ ÍÏÄÅÌØ ÄÁÎÎÙÈ É ÂÏÇÁÔÙÊ ÎÁÂÏÒ ÔÉÐÏ× ÄÁÎÎÙÈ POSTGRES,
253 ÏÎÁ ÚÁÍÅÎÑÅÔ ÑÚÙË ÚÁÐÒÏÓÏ× PostQuel ÒÁÓÛÉÒÅÎÎÙÍ ÎÁÂÏÒÏÍ SQL.
254 PostgreSQL ÂÅÓÐÌÁÔÅΠɠÐÏÓÔÁ×ÌÑÅÔÓÑ × ×ÉÄÅ ÐÏÌÎÏÇÏ ËÏÍÐÌÅËÔÁ ÉÓÈÏÄÎÙÈ
255 ÔÅËÓÔÏ×.
256
257 PostgreSQL ÒÁÚÒÁÂÁÔÙ×ÁÌÓÑ ËÏÍÁÎÄÏÊ Internet-ÒÁÚÒÁÂÏÔÞÉËÏ×, ÐÏÄÐÉÓÁÎÎÙÈ
258 ÎÁ ÓÐÉÓÏË ÒÁÓÓÙÌËÉ, ÐÏÓ×ÑÝÅÎÎÙÊ ÒÁÚÒÁÂÏÔËÅ PostgreSQL. ÷ ÎÁÓÔÏÑÝÅÅ
259 ×ÒÅÍÑ ËÏÏÒÄÉÎÁÔÏÒÏÍ Ñ×ÌÑÅÔÓÑ Marc G. Fournier
260 (scrappy@postgreSQL.org). üÔÁ ËÏÍÁÎÄÁ × ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÏÔ×ÅÞÁÅÔ ÚÁ
261 ×ÓÅ ÔÅËÕÝÉÅ É ÂÕÄÕÝÉÅ ÒÁÚÒÁÂÏÔËÉ PostgreSQL.
262
263 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÙÌÉ Andrew Yu É Jolly Chen. íÎÏÇÉÅ ×ÎÅÓÌÉ
264 Ó×ÏÊ ×ËÌÁÄ × ÐÏÒÔÉÒÏ×ÁÎÉÅ, ÔÅÓÔÉÒÏ×ÁÎÉÅ, ÏÔÌÁÄËÕ É ÕÌÕÞÛÅÎÉÅ ËÏÄÁ.
265 ïÒÉÇÉÎÁÌØÎÙÊ ËÏÄ Postgres, ÏÔ ËÏÔÏÒÏÇÏ ÐÒÏÉÚÏÛÅÌ PostgreSQL, ÂÙÌ
266 ÓÏÚÄÁΠÕÓÉÌÉÑÍÉ ÓÔÕÄÅÎÔÏ×, ÁÓÐÉÒÁÎÔÏ× É ÐÅÒÓÏÎÁÌÁ, ÒÁÂÏÔÁÀÝÅÇÏ ÐÏÄ
267 ÒÕËÏ×ÏÄÓÔ×ÏÍ ÐÒÏÆÅÓÓÏÒÁ Michael Stonebraker × University of
268 California, Berkeley.
269
270 ïÒÉÇÉÎÁÌØÎÏÅ ÎÁÚ×ÁÎÉÅ ðï × Berkeley ÂÙÌÏ Postgres. ëÏÇÄÁ × 1995 ÇÏÄÕ
271 ÂÙÌÁ ÄÏÂÁ×ÌÅÎÁ ÆÕÎËÃÉÏÎÁÌØÎÏÓÔØ SQL, ÎÁÚ×ÁÎÉÅ ÉÚÍÅÎÉÌÏÓØ ÎÁ
272 Postgres95. ÷ ËÏÎÃÅ 1996 ÇÏÄÁ ÏÎÏ ÅÝÅ ÒÁÚ ÉÚÍÅÎÉÌÏÓØ É ÔÅÐÅÒØ ÜÔÏ
273 PostgreSQL.
274
275 PostgreSQL ÒÁÂÏÔÁÅÔ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
276 É ÂÏÌØÛÉÎÓÔ×Å ÄÒÕÇÉÈ ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ Unix.
277
278 %description -l tr
279 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
280 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
281 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
282 sorgulama dilini koyar.
283
284 %description -l uk
285 PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ (ÒÁΦ۠צÄÏÍÁ ÑË Postgres,
286 ÐÏԦ͠ÑË Postgres95).
287
288 PostgreSQL - ÃÅ ÒÏÚÛÉÒÅÎÁ ×ÅÒӦѠÓÉÓÔÅÍÉ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
289 POSTGRES, ÄÏÓ̦ÄÎÉÃØËÏÇÏ ÐÒÏÔÏÔÉÐÕ DBMS ÎÁÓÔÕÐÎϧ ÇÅÎÅÒÁæ§.
290 úÂÅÒ¦ÇÁÀÞÉ ÐÏÔÕÖÎÕ ÍÏÄÅÌØ ÄÁÎÉÈ ÔÁ ÂÁÇÁÔÉÊ ÎÁ¦ҠÔÉЦנÄÁÎÉÈ POSTGRES,
291 ×ÏÎÁ ÚÁͦÎÀ¤ ÍÏ×Õ ÚÁÐÉԦנPostQuel ÒÏÚÛÉÒÅÎÉÍ ÎÁÂÏÒÏÍ SQL. PostgreSQL
292 ÂÅÚËÏÛÔÏ×ÎÁ ÔÁ ÐÏÓÔÁ×ÌѤÔØÓÑ Õ ×ÉÇÌÑĦ ÐÏ×ÎÏÇÏ ËÏÍÐÌÅËÔÕ ×ÉȦÄÎÉÈ
293 ÔÅËÓÔ¦×.
294
295 PostgreSQL ÒÏÚÒÏÂÌѤÔØÓÑ ËÏÍÁÎÄÏÀ Internet-ÐÒÏÇÒÁͦÓÔ¦×, ÕÞÁÓÎÉ˦×
296 ÓÐÉÓËÕ ÒÏÚÓÉÌËÉ, ÐÒÉÓ×ÑÞÅÎÏÇÏ ÒÏÚÒÏÂæ PostgreSQL. îÁÒÁÚ¦
297 ËÏÏÒÄÉÎÁÔÏÒÏÍ ¤ Marc G. Fournier (scrappy@postgreSQL.org). ãÑ ËÏÍÁÎÄÁ
298 צÄÐÏצÄÁ¤ ÚÁ ×Ó¦ ÐÏÔÏÞΦ ÔÁ ÍÁÊÂÕÔΦ ÒÏÚÒÏÂËÉ PostgreSQL.
299
300 á×ÔÏÒÁÍÉ PostgreSQL 1.01 ÂÕÌÉ Andrew Yu ÔÁ Jolly Chen. âÁÇÁÔÏ ÌÀÄÅÊ
301 ×ÎÅÓÌÉ Óצʠ×ÎÅÓÏË × ÐÏÒÔÕ×ÁÎÎÑ, ÔÅÓÔÕ×ÁÎÎÑ, ×¦ÄÌÁÄËÕ ÔÁ ÐÏËÒÁÝÅÎÎÑ
302 ËÏÄÕ. ïÒÉǦÎÁÌØÎÉÊ ËÏÄ Postgres, ×¦Ä ÑËÏÇÏ ÐÏÈÏÄÉÔØ PostgreSQL, ÂÕ×
303 ÓÔ×ÏÒÅÎÉÊ ÚÕÓÉÌÌÑÍÉ ÓÔÕÄÅÎÔ¦×, ÁÓЦÒÁÎԦנÔÁ ÐÅÒÓÏÎÁÌÕ, ÑËÉÊ ÐÒÁÃÀ×Á×
304 ЦĠËÅÒ¦×ÎÉÃÔ×ÏÍ ÐÒÏÆÅÓÏÒÁ Michael Stonebraker × University of
305 California, Berkeley.
306
307 ïÒÉǦÎÁÌØÎÁ ÎÁÚ×Á ÐÒÏÇÒÁÍÉ × Berkeley ÂÕÌÁ Postgres. ëÏÌÉ × 1995 ÒÏæ
308 ÂÕÌÏ ÄÏÄÁÎÏ ÆÕÎËæÏÎÁÌØΦÓÔØ SQL, ÎÁÚ×Á ÚͦÎÉÌÁÓÑ ÎÁ Postgres95. ÷
309 ˦Îæ 1996 ÒÏËÕ ×ÏÎÁ ÝÅ ÒÁÚ ÚͦÎÉÌÁÓØ ¦ ÚÁÒÁÚ ÃÅ PostgreSQL.
310
311 PostgreSQL ÐÒÁÃÀ¤ ÎÁ Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
312 ÔÁ Â¦ÌØÛÏÓÔ¦ ¦ÎÛÉÈ Ò¦ÚÎÏ×ÉĦנUnix.
313
314 %package devel
315 Summary:        PostgreSQL development header files and libraries
316 Summary(de):    PostgreSQL-Entwicklungs-Header-Dateien und Libraries
317 Summary(es):    Archivos de inclusión y bibliotecas PostgreSQL
318 Summary(fr):    En-têtes et bibliothèques de développement PostgreSQL
319 Summary(pl):    PostgreSQL - pliki nag³ówkowe i biblioteki
320 Summary(pt_BR): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
321 Summary(ru):    PostgreSQL - ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ
322 Summary(tr):    PostgreSQL baþlýk dosyalarý ve kitaplýklar
323 Summary(uk):    PostgreSQL - ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ
324 Group:          Development/Libraries
325 Requires:       %{name}-libs = %{version}-%{release}
326
327 %description devel
328 This package contains header files and libraries required to compile
329 applications that are talking directly to the PostgreSQL backend
330 server.
331
332 %description devel -l de
333 Dieses Paket enthält die Header-Dateien und Libraries, die zum
334 Kompilieren von Applikationen notwendig sind, die direkt mit dem
335 PostgreSQL-Backend-Server kommunizieren.
336
337 %description devel -l es
338 Este paquete contiene archivos de inclusión y bibliotecas requeridas
339 para compilación de aplicativos que se comunican directamente con el
340 servidor backend PostgreSQL.
341
342 %description devel -l fr
343 Ce package contient les fichiers d'en-tête et les bibliothéques
344 nécessaires pour compiler des applications ayant des échanges directs
345 avec le serveur du backend PostgreSQL.
346
347 %description devel -l pl
348 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
349 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
350
351 %description devel -l pt_BR
352 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
353 compilação de aplicativos que se comunicam diretamente com o servidor
354 backend PostgreSQL.
355
356 %description devel -l ru
357 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ
358 ÐÒÉÌÏÖÅÎÉÊ, ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ×ÚÁÉÍÏÄÅÊÓÔ×ÕÀÝÉÈ Ó ÓÅÒ×ÅÒÏÍ PostgreSQL.
359
360 %description devel -l tr
361 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
362 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
363
364 %description devel -l uk
365 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
366 ÐÒÏÇÒÁÍ, Ñ˦ ÂÅÚÐÏÓÅÒÅÄÎØÏ ×ÚÁ¤ÍÏĦÀÔØ Ú ÓÅÒ×ÅÒÏÍ PostgreSQL.
367
368 %package backend-devel
369 Summary:        PostgreSQL backend development header files
370 Summary(pl):    PostgreSQL - pliki nag³ówkowe dla backendu
371 Group:          Development/Libraries
372 Requires:       %{name}-libs = %{version}-%{release}
373
374 %description backend-devel
375 This package contains header files required to compile functions that
376 could be loaded directly by backend
377
378 %description backend-devel -l pl
379 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
380 bezposrednio ladowane przez beckend serwera PostgreSQL.
381
382 %package clients
383 Summary:        Clients needed to access a PostgreSQL server
384 Summary(es):    Clientes necesarios para acceder al servidor PostgreSQL
385 Summary(pl):    Klienci wymagani do dostêpu do serwera PostgreSQL
386 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
387 Summary(ru):    ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
388 Summary(uk):    ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
389 Group:          Applications/Databases
390 Requires:       %{name}-libs = %{version}-%{release}
391
392 %description clients
393 This package includes only the clients needed to access an PostgreSQL
394 server. The server is included in the main package. If all you need is
395 to connect to another PostgreSQL server, the this is the only package
396 you need to install. Clients include several command-line utilities
397 you can use to manage your databases on a remote PostgreSQL server.
398
399 %description clients -l es
400 Este paquete incluye solamente los clientes necesarios para acceder un
401 servidor PostgreSQL. El servidor está en el paquete principal.
402
403 %description clients -l pl
404 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
405 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
406 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
407
408 %description clients -l pt_BR
409 Este pacote inclui somente os clientes necessários para acessar um
410 servidor PostgreSQL. O servidor está no pacote principal.
411
412 %description clients -l ru
413 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
414 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
415 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
416 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
417
418 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
419 C++, Perl É Tcl) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
420 ÑÚÙËÁ C.
421
422 %description clients -l uk
423 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
424 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅҠͦÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
425 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
426 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
427
428 ôÅÐÅÒ ÐÁËÅÔɠڠ¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, Perl
429 ¦ Tcl) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ Ô¦ÌØËɠ¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
430
431 %package doc
432 Summary:        Documentation for PostgreSQL
433 Summary(pl):    Dodatkowa dokumantacja dla PostgreSQL
434 Group:          Applications/Databases
435
436 %description doc
437 This package includes documentation and HOWTO for programmer, admin
438 etc., in HTML format.
439
440 %description doc -l pl
441 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
442 administratorów w formacie HTML.
443
444 %package libs
445 Summary:        PostgreSQL libraries
446 Summary(es):    Biblioteca compartida del PostgreSQL
447 Summary(pl):    Biblioteki dzielone programu PostgreSQL
448 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
449 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
450 Group:          Libraries
451
452 %description libs
453 PostgreSQL shared libraries.
454
455 %description libs -l es
456 Este paquete contiene la biblioteca compartida para acceso al
457 PostgreSQL.
458
459 %description libs -l pl
460 Biblioteki dzielone programu PostgreSQL.
461
462 %description libs -l pt_BR
463 Este pacote contém a biblioteca compartilhada para acesso ao
464 PostgreSQL.
465
466 %package ecpg
467 Summary:        Embedded SQL in C interface
468 Summary(pl):    Interfejs wbudowanego SQL-a w jêzyk C
469 Group:          Libraries
470 Requires:       %{name}-libs = %{version}-%{release}
471
472 %description ecpg
473 Embedded SQL in C interface.
474
475 %description ecpg -l pl
476 Interfejs wbudowanego SQL-a w jêzyk C.
477
478 %package ecpg-devel
479 Summary:        Embedded SQL in C interface files
480 Summary(pl):    Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
481 Group:          Development/Libraries
482 Requires:       %{name}-devel = %{version}-%{release}
483 Requires:       %{name}-ecpg = %{version}-%{release}
484
485 %description ecpg-devel
486 Embedded SQL in C interface files.
487
488 %description ecpg-devel -l pl
489 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
490
491 %package static
492 Summary:        PostgreSQL static libraries
493 Summary(es):    Bibliotecas estaticas PostgreSQL
494 Summary(pl):    Biblioteki statyczne programu PostgreSQL
495 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
496 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
497 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
498 Group:          Development/Libraries
499 Requires:       %{name}-devel = %{version}-%{release}
500
501 %description static
502 PostgreSQL static libraries.
503
504 %description static -l es
505 Este paquete contiene bibliotecas estaticas requerida para compilación
506 de aplicativos que se comunican directamente con el servidor backend
507 PostgreSQL.
508
509 %description static -l pl
510 Biblioteki statyczne programu PostgreSQL.
511
512 %description static -l pt_BR
513 Este pacote contém as bibliotecas estáticas requeridas para compilação
514 de aplicativos que se comunicam diretamente com o servidor backend
515 PostgreSQL.
516
517 %description static -l ru
518 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
519 ×ÈÏÄÑÔ × %{name}-devel.
520
521 %description static -l uk
522 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, Ñ˦ Â¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
523 %{name}-devel.
524
525 %package tcl
526 Summary:        Tcl interface for PostgreSQL
527 Summary(es):    Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
528 Summary(pl):    Interfejs Tcl dla PostgreSQL
529 Summary(pt_BR): Bibliotecas e shell para programas em Tcl acessarem o servidor PostgreSQL
530 Summary(ru):    âÉÂÌÉÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÁ Ë PostgreSQL ÉÚ Tcl
531 Summary(uk):    â¦Â̦ÏÔÅËÉ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ PostgreSQL Ú Tcl
532 Summary(zh_CN): Ò»¸ö Tcl ¿âºÍ PostgreSQL µÄ PL/Tcl ±à³ÌÓïÑÔ
533 Group:          Development/Languages/Tcl
534 Requires:       %{name}-libs = %{version}-%{release}
535
536 %description tcl
537 Tcl interface for PostgreSQL.
538
539 %description tcl -l es
540 Bibliotecas y shell Tcl para acceder un servidor PostgreSQL
541
542 %description tcl -l pl
543 Interfejs Tcl dla PostgreSQL.
544
545 %description tcl -l pt_BR
546 Bibliotecas e shell para programas em Tcl acessarem o servidor
547 PostgreSQL.
548
549 %description tcl -l ru
550 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÁ Ë ÂÁÚÅ ÄÁÎÎÙÈ PostgreSQL ÉÚ ÑÚÙËÁ Tcl.
551
552 %description tcl -l uk
553 libpgtcl - API ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÂÁÚÉ ÄÁÎÉÈ PostgreSQL Ú ÍÏ×É Tcl.
554
555 %package tcl-devel
556 Summary:        Development part of Tcl interface for PostgreSQL
557 Summary(pl):    Czê¶æ dla programistów interfejsu Tcl dla PostgreSQL
558 Summary(ru):    èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔÏË Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libpgtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
559 Summary(uk):    èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂÏË Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libpgtcl (Tcl-¦ÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL)
560 Group:          Development/Languages/Tcl
561 Requires:       %{name}-tcl = %{version}-%{release}
562 Requires:       %{name}-devel = %{version}-%{release}
563
564 %description tcl-devel
565 Development part of Tcl interface for PostgreSQL.
566
567 %description tcl-devel -l pl
568 Czê¶æ interfejsu Tcl dla PostgreSQL przeznaczona dla programistów.
569
570 %description tcl-devel -l ru
571 üÔÏ ÐÁËÅÔ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl. ïΠ×ËÌÀÞÁÅÔ
572 ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ × ÐÒÏÇÒÁÍÍÁÈ, ËÏÔÏÒÙÅ ÉÓÐÏÌØÚÕÀÔ
573 ËÏÄ ÉÌÉ API libtcl (Tcl ÉÎÔÅÒÆÅÊÓ ÄÌÑ PostgreSQL).
574
575 %description tcl-devel -l uk
576 ãÅ ÐÁËÅÔ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl. ÷¦Î Í¦ÓÔÉÔØ ÈÅÄÅÒÉ
577 ÔÁ Â¦Â̦ÏÔÅËÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ × ÐÒÏÇÒÁÍÁÈ, Ñ˦ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ËÏÄ ÁÂÏ
578 API libtcl (Tcl-¦ÎÔÅÒÆÅÊÓÕ ÄÌÑ PostgreSQL).
579
580 %package tcl-static
581 Summary:        Static libraries of Tcl interface for PostgreSQL
582 Summary(pl):    Biblioteki statyczne interfejsu Tcl dla PostgreSQL
583 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó libpgtcl
584 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú libpgtcl
585 Group:          Development/Languages/Tcl
586 Requires:       %{name}-tcl-devel = %{version}-%{release}
587
588 %description tcl-static
589 Static libraries of Tcl interface for PostgreSQL.
590
591 %description tcl-static -l pl
592 Biblioteki statyczne interfejsu Tcl dla PostgreSQL.
593
594 %description tcl-static -l ru
595 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
596 ×ÈÏÄÑÔ × postgresql-tcl-devel.
597
598 %description tcl-static -l uk
599 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, ÝϠ¦ÌØÛÅ ÎÅ ×ÈÏÄÑÔØ ÄÏ
600 postgresql-tcl-devel.
601
602 %package module-plpgsql
603 Summary:        PL/pgSQL - PostgreSQL procedural language
604 Summary(pl):    PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
605 Group:          Applications/Databases
606 Requires:       %{name} = %{version}-%{release}
607
608 %description module-plpgsql
609 From PostgreSQL documentation.
610
611 Postgres supports the definition of procedural languages. In the case
612 of a function or trigger procedure defined in a procedural language,
613 the database has no built-in knowledge about how to interpret the
614 function's source text. Instead, the task is passed to a handler that
615 knows the details of the language. The handler itself is a special
616 programming language function compiled into a shared object and loaded
617 on demand.
618
619 To enable PL/pgSQL procedural language for your database you have to
620 run createlang command.
621
622 %description module-plpgsql -l pl
623 Z dokumentacji PostgreSQL.
624
625 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
626 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
627 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
628 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
629 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
630 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
631 potrzeby.
632
633 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
634 proceduralnego PL/pgSQL dla swojej bazy danych.
635
636 %package module-plperl
637 Summary:        PL/perl - PostgreSQL procedural language
638 Summary(pl):    PL/perl jêzyk proceduralny bazy danych PostgreSQL
639 Group:          Applications/Databases
640 Requires:       %{name} = %{version}-%{release}
641 %requires_eq    perl-base
642
643 %description module-plperl
644 From PostgreSQL documentation.
645
646 Postgres supports the definition of procedural languages. In the case
647 of a function or trigger procedure defined in a procedural language,
648 the database has no built-in knowledge about how to interpret the
649 function's source text. Instead, the task is passed to a handler that
650 knows the details of the language. The handler itself is a special
651 programming language function compiled into a shared object and loaded
652 on demand.
653
654 To enable PL/Perl procedural language for your database you have to
655 run createlang command.
656
657 %description module-plperl -l pl
658 Z dokumentacji PostgreSQL.
659
660 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
661 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
662 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
663 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
664 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
665 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
666 potrzeby.
667
668 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
669 proceduralnego PL/Perl dla swojej bazy danych.
670
671 %package module-plpython
672 Summary:        PL/Python - PostgreSQL procedural language
673 Summary(pl):    PL/Python jêzyk proceduralny bazy danych PostgreSQL
674 Group:          Applications/Databases
675 Requires:       %{name} = %{version}-%{release}
676 %pyrequires_eq  python
677
678 %description module-plpython
679 From PostgreSQL documentation.
680
681 Postgres supports the definition of procedural languages. In the case
682 of a function or trigger procedure defined in a procedural language,
683 the database has no built-in knowledge about how to interpret the
684 function's source text. Instead, the task is passed to a handler that
685 knows the details of the language. The handler itself is a special
686 programming language function compiled into a shared object and loaded
687 on demand.
688
689 To enable PL/Python procedural language for your database you have to
690 run createlang command.
691
692 %description module-plpython -l pl
693 Z dokumentacji PostgreSQL.
694
695 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
696 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
697 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
698 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
699 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
700 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
701 potrzeby.
702
703 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
704 proceduralnego PL/Python dla swojej bazy danych.
705
706 %package module-pltcl
707 Summary:        PL/Tcl - PostgreSQL procedural language
708 Summary(pl):    PL/Tcl - jêzyk proceduralny bazy danych PostgreSQL
709 Group:          Applications/Databases
710 Requires:       %{name} = %{version}-%{release}
711
712 %description module-pltcl
713 From PostgreSQL documentation.
714
715 Postgres supports the definition of procedural languages. In the case
716 of a function or trigger procedure defined in a procedural language,
717 the database has no built-in knowledge about how to interpret the
718 function's source text. Instead, the task is passed to a handler that
719 knows the details of the language. The handler itself is a special
720 programming language function compiled into a shared object and loaded
721 on demand.
722
723 To enable PL/Tcl procedural language for your database you have to run
724 createlang command.
725
726 %description module-pltcl -l pl
727 Z dokumentacji PostgreSQL.
728
729 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
730 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
731 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
732 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
733 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
734 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
735 potrzeby.
736
737 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
738 proceduralnego PL/Tcl dla swojej bazy danych.
739
740 %package module-pgcrypto
741 Summary:        Cryptographic functions for PostgreSQL
742 Summary(pl):    Funkcje kryptograficzne dla PostgreSQL
743 Group:          Applications/Databases
744 Requires:       %{name} = %{version}-%{release}
745
746 %description module-pgcrypto
747 Cryptographic functions for PostgreSQL.
748
749 %description module-pgcrypto -l pl
750 Funkcje kryptograficzne dla PostgreSQL.
751
752 %package module-tsearch2
753 Summary:        Full text extension for PostgreSQL
754 Summary(pl):    Rozszerzenie pe³notekstowe dla PostgreSQL-a
755 Group:          Applications/Databases
756 Requires:       %{name} = %{version}-%{release}
757
758 %description module-tsearch2
759 Implementation of a new data type tsvector - a searchable data type
760 with indexed access:
761 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
762
763 %description module-tsearch2 -l pl
764 Implementacja nowego typu danych tsvector - typu danych podlegaj±cego
765 przeszukiwaniu z dostêpem poprzez indeksy:
766 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
767
768 %package -n slony1
769 Summary:        Slony-I -- a "master to multiple slaves" replication system for PostgreSQL
770 Summary(pl):    Slony-I -- system replikacji dla PostgreSQL
771 URL:            http://slony.info/
772 Group:          Applications/Databases
773 Requires:       %{name} = %{version}-%{release}
774
775 %description -n slony1
776 Slony-I is a "master to multiple slaves" replication system with cascading and
777 failover.
778
779 The big picture for the development of Slony-I is a master-slave system that
780 includes all features and capabilities needed to replicate large databases to a
781 reasonably limited number of slave systems.
782
783 Slony-I is a system for data centers and backup sites, where the normal mode of
784 operation is that all nodes are available. 
785
786 %prep
787 %setup -q -a4
788 %patch0 -p1
789 %patch1 -p1
790 %patch2 -p1
791 %patch3 -p1
792 %{?with_absolute_dbpaths:%patch4 -p1}
793 %patch5 -p1
794 %patch6 -p1
795 %patch7 -p1
796 %patch8 -p1
797 %patch9 -p1
798 %patch10 -p1
799 %patch11 -p1
800
801 tar xzf doc/man*.tar.gz
802
803 mkdir doc/unpacked
804 tar zxf doc/postgres.tar.gz -C doc/unpacked
805
806 # Erase all CVS dirs
807 find contrib -type d -name CVS -exec rm -rf {} \;
808
809 %build
810 rm -f config/libtool.m4
811 install /usr/share/automake/config.* config
812 %{__aclocal} -I config
813 %{__autoconf}
814 %configure \
815         CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \
816         %{?with_pgsql_locale:--enable-locale} \
817         %{?with_pgsql_multibyte:--enable-multibyte} \
818         --disable-rpath \
819         --enable-nls \
820         --enable-thread-safety \
821         --enable-integer-datetimes \
822         --enable-depend \
823         --enable-recode \
824         --enable-syslog \
825         --with-pam \
826         --enable-unicode-conversion \
827         --with-CXX \
828         %{?with_tcl:--with-tcl} \
829         %{?with_tcl:--with-tk} \
830         %{?with_perl:--with-perl} \
831         %{?with_python:--with-python} \
832         %{?with_kerberos5:--with-krb5=%{_prefix}} \
833         --with-openssl \
834         --with-x \
835         %{?with_jdbc:--with-java}
836
837 %{__make}
838 %{__make} -C contrib/pg_autovacuum
839 %{__make} -C contrib/pgcrypto
840 %{__make} -C contrib/tsearch2
841 %ifnarch sparc sparcv9 sparc64 alpha ppc
842 %{?with_tests:%{__make} check}
843 %endif
844
845 %if %{with slony1}
846 cd slony1-%{slony1_version}
847 install /usr/share/automake/config.* config
848 %configure \
849         --with-pgsourcetree=`pwd`/..
850 %{__make}
851 cd ..
852 %endif
853
854
855 %install
856 rm -rf $RPM_BUILD_ROOT
857 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
858         $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
859         $RPM_BUILD_ROOT%{_mandir} \
860         $RPM_BUILD_ROOT/home/services/postgres
861
862 %{__make} install install-all-headers \
863         DESTDIR=$RPM_BUILD_ROOT
864
865 %if %{with perl}
866 %{__make} install -C src/pl/plperl \
867         DESTDIR=$RPM_BUILD_ROOT
868 %endif
869
870 %{__make} -C contrib/pg_autovacuum install \
871         DESTDIR=$RPM_BUILD_ROOT
872
873 %{__make} -C contrib/pgcrypto install \
874         DESTDIR=$RPM_BUILD_ROOT
875
876 %{__make} -C contrib/tsearch2 install \
877         DESTDIR=$RPM_BUILD_ROOT
878
879 %if %{with slony1}
880 %{__make} install -C slony1-%{slony1_version} \
881         DESTDIR=$RPM_BUILD_ROOT
882 %endif
883
884 touch $RPM_BUILD_ROOT/var/log/pgsql
885
886 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
887 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
888
889 %if %{with jdbc}
890 install -d $RPM_BUILD_ROOT%{_javadir}
891 mv      $RPM_BUILD_ROOT%{_datadir}/postgresql/java/*.jar \
892         $RPM_BUILD_ROOT%{_javadir}
893 %endif
894
895 install -d howto
896 ( cd howto
897         tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
898 )
899
900 %py_comp $RPM_BUILD_ROOT%{py_libdir}
901 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
902
903 # find locales
904 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql; do
905         %find_lang $f
906 done
907 # merge locales
908 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
909 cat pg_dump.lang psql.lang > clients.lang
910
911 %clean
912 rm -rf $RPM_BUILD_ROOT
913
914 %pre
915 PG_DB_CLUSTERS=""
916 if [ -f /etc/sysconfig/postgresql ]; then
917         . /etc/sysconfig/postgresql
918         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
919                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
920         fi
921 fi
922 foundold=0
923 for pgdir in $PG_DB_CLUSTERS; do
924         if [ -f $pgdir/PG_VERSION ]; then
925                 if [ `cat $pgdir/PG_VERSION` != '7.4' ]; then
926                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
927                         foundold=1
928                 fi
929         fi
930 done
931 if [ "$foundold" = "1" ]; then
932         echo
933         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
934         echo "and clean (or rename) those directories; then upgrade postgresql and"
935         echo "restore all data (using pg_restore or psql)."
936         echo "Remember to stop the daemon before upgrading!"
937         echo
938         echo "Warning for upgrade from version *before* 7.2."
939         echo "Please note, that postgresql module path changed from"
940         echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
941         echo "in dump file before restore."
942         echo
943         echo "Warning for upgrade from version *before* 7.3."
944         echo "Reading following webpage is encouraged:"
945         echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
946         exit 1
947 fi
948
949 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
950 if id postgres >/dev/null 2>&1 ; then
951         /usr/sbin/usermod -d /home/services/postgres postgres
952 else
953         /usr/sbin/useradd -M -o -r -u 88 \
954                 -d /home/services/postgres -s /bin/sh -g postgres \
955                 -c "PostgreSQL Server" postgres
956 fi
957
958 %post
959 /sbin/chkconfig --add postgresql
960 if [ -f /var/lock/subsys/postgresql ]; then
961         /etc/rc.d/init.d/postgresql restart >&2 || :
962 else
963         echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
964 fi
965
966 %preun
967 if [ "$1" = "0" ]; then
968         if [ -f /var/lock/subsys/postgresql ]; then
969                 /etc/rc.d/init.d/postgresql stop
970         fi
971         /sbin/chkconfig --del postgresql
972 fi
973
974 %post   libs -p /sbin/ldconfig
975 %postun libs -p /sbin/ldconfig
976
977 %post   ecpg -p /sbin/ldconfig
978 %postun ecpg -p /sbin/ldconfig
979
980 %post   tcl -p /sbin/ldconfig
981 %postun tcl -p /sbin/ldconfig
982
983 %files -f main.lang
984 %defattr(644,root,root,755)
985 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
986 %doc contrib/pg_autovacuum/README*
987 %attr(754,root,root) /etc/rc.d/init.d/*
988 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
989
990 %attr(755,root,root) %{_bindir}/clusterdb
991 %attr(755,root,root) %{_bindir}/createdb
992 %attr(755,root,root) %{_bindir}/createlang
993 %attr(755,root,root) %{_bindir}/createuser
994 %attr(755,root,root) %{_bindir}/dropdb
995 %attr(755,root,root) %{_bindir}/droplang
996 %attr(755,root,root) %{_bindir}/dropuser
997 %attr(755,root,root) %{_bindir}/initdb
998 %attr(755,root,root) %{_bindir}/initlocation
999 %attr(755,root,root) %{_bindir}/ipcclean
1000 %attr(755,root,root) %{_bindir}/pg_autovacuum
1001 %attr(755,root,root) %{_bindir}/pg_controldata
1002 %attr(755,root,root) %{_bindir}/pg_ctl
1003 %attr(755,root,root) %{_bindir}/pg_encoding
1004 %attr(755,root,root) %{_bindir}/pg_resetxlog
1005 %attr(755,root,root) %{_bindir}/postgres
1006 %attr(755,root,root) %{_bindir}/postmaster
1007
1008 %attr(755,root,root) %{_pgmoduledir}/ascii*
1009 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
1010 %attr(755,root,root) %{_pgmoduledir}/euc*
1011 %attr(755,root,root) %{_pgmoduledir}/latin*
1012 %attr(755,root,root) %{_pgmoduledir}/utf*
1013
1014 %dir %{_pgsqldir}
1015 %dir %{_pgmoduledir}
1016 %dir %{_datadir}/postgresql
1017 %{_datadir}/postgresql/*.bki
1018 %{_datadir}/postgresql/*.sample
1019 %{_datadir}/postgresql/*.description
1020 %{_datadir}/postgresql/*.sql
1021 %{_datadir}/postgresql/*.txt
1022
1023 %if %{with jdbc}
1024 #{_javadir}/postgresql-exmaples.jar
1025 %{_javadir}/postgresql.jar
1026 %endif
1027
1028 %attr(700,postgres,postgres) /home/services/postgres
1029 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1030 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
1031
1032 %{_mandir}/man1/clusterdb.1*
1033 %{_mandir}/man1/createdb.1*
1034 %{_mandir}/man1/createlang.1*
1035 %{_mandir}/man1/createuser.1*
1036 %{_mandir}/man1/dropdb.1*
1037 %{_mandir}/man1/droplang.1*
1038 %{_mandir}/man1/dropuser.1*
1039 %{_mandir}/man1/initdb.1*
1040 %{_mandir}/man1/initlocation.1*
1041 %{_mandir}/man1/ipcclean.1*
1042 %{_mandir}/man1/pg_controldata.1*
1043 %{_mandir}/man1/pg_ctl.1*
1044 %{_mandir}/man1/pg_resetxlog.1*
1045 %{_mandir}/man1/postgres.1*
1046 %{_mandir}/man1/postmaster.1*
1047
1048 %files doc
1049 %defattr(644,root,root,755)
1050 %doc doc/unpacked/* doc/src/FAQ howto
1051
1052 %files libs -f libpq.lang
1053 %defattr(644,root,root,755)
1054 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1055 %attr(755,root,root) %{_bindir}/pg_id
1056
1057 %files ecpg
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_bindir}/ecpg
1060 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1061 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1062 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1063 %{_mandir}/man1/ecpg.1*
1064
1065 %files ecpg-devel
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_libdir}/libecpg.so
1068 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1069 %attr(755,root,root) %{_libdir}/libpgtypes.so
1070 %{_includedir}/ecpg
1071
1072 %files devel
1073 %defattr(644,root,root,755)
1074 %attr(755,root,root) %{_bindir}/pg_config
1075 %attr(755,root,root) %{_libdir}/libpq.so
1076 %dir %{_includedir}/postgresql
1077 %{_includedir}/libpq-fe.h
1078 %{_includedir}/pg_config.h
1079 %{_includedir}/pg_config_manual.h
1080 %{_includedir}/pg_config_os.h
1081 %{_includedir}/postgres_ext.h
1082 %dir %{_includedir}/postgresql/internal
1083 %{_includedir}/postgresql/internal/c.h
1084 %{_includedir}/postgresql/internal/libpq-int.h
1085 %{_includedir}/postgresql/internal/port.h
1086 %{_includedir}/postgresql/internal/postgres_fe.h
1087 %{_includedir}/postgresql/internal/pqexpbuffer.h
1088 %{_includedir}/postgresql/internal/lib
1089 %{_includedir}/postgresql/internal/libpq
1090 %{_includedir}/libpq
1091 %{_mandir}/man1/pg_config.1*
1092
1093 %files backend-devel
1094 %defattr(644,root,root,755)
1095 %{_includedir}/postgresql/server
1096
1097 %files static
1098 %defattr(644,root,root,755)
1099 %{_libdir}/libecpg.a
1100 %{_libdir}/libecpg_compat.a
1101 %{_libdir}/libpq.a
1102 %{_libdir}/libpgtypes.a
1103
1104 %files clients -f clients.lang
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) %{_bindir}/pg_dump
1107 %attr(755,root,root) %{_bindir}/pg_dumpall
1108 %attr(755,root,root) %{_bindir}/pg_restore
1109 %attr(755,root,root) %{_bindir}/psql
1110 %attr(755,root,root) %{_bindir}/vacuumdb
1111
1112 %{_mandir}/man1/pg_dump.1*
1113 %{_mandir}/man1/pg_dumpall.1*
1114 %{_mandir}/man1/pg_restore.1*
1115 %{_mandir}/man1/psql.1*
1116 %{_mandir}/man1/vacuumdb.1*
1117 %{_mandir}/man7/*.7*
1118
1119 %if %{with tcl}
1120 %files tcl
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{_libdir}/libpgtcl.so
1123 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1124 %attr(755,root,root) %{_bindir}/pgtclsh
1125 %attr(755,root,root) %{_bindir}/pgtksh
1126 %{_mandir}/man1/pgtclsh.1*
1127 %{_mandir}/man1/pgtksh.1*
1128
1129 %files tcl-devel
1130 %defattr(644,root,root,755)
1131 %{_includedir}/libpgtcl.h
1132
1133 %files tcl-static
1134 %defattr(644,root,root,755)
1135 %{_libdir}/libpgtcl.a
1136 %endif
1137
1138 %files module-plpgsql
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1141
1142 %if %{with perl}
1143 %files module-plperl
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1146 %endif
1147
1148 %if %{with python}
1149 %files module-plpython
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1152 %endif
1153
1154 %if %{with tcl}
1155 %files module-pltcl
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_bindir}/pltcl_*
1158 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1159 %endif
1160
1161 %files module-pgcrypto
1162 %defattr(644,root,root,755)
1163 %doc contrib/pgcrypto/README*
1164 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1165 %{_datadir}/%{name}/pgcrypto.sql
1166
1167 %files module-tsearch2
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1170 %{_datadir}/%{name}/tsearch2.sql
1171 %{_datadir}/%{name}/untsearch2.sql
1172 %{_datadir}/%{name}/*.stop
1173
1174 %if %{with slony1}
1175 %files -n slony1
1176 %defattr(644,root,root,755)
1177 %doc slony1-%{slony1_version}/doc/howto/*
1178 %attr(755,root,root) %{_bindir}/slon
1179 %attr(755,root,root) %{_bindir}/slonik
1180 %{_pgmoduledir}/slony1_funcs.so
1181 %{_pgmoduledir}/xxid.so
1182 %endif
This page took 0.145967 seconds and 4 git commands to generate.