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