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