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