]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.spec
- rel. 0.5.RC2 due to fixed rdbms status checking in postgresql.init script
[packages/postgresql.git] / postgresql.spec
1 #
2 # - put pgcrypto docs into docdir
3 # - put pgcrypto sql files in %{_datadir}/postgresql
4 # - remove postgresql-configure patch and create postgresql-doc patch,
5 #   which will prevent documentation and manuals installation (the routine
6 #   is bad and we install docs and mans manually, at all) or create good
7 #   routine and send it to postgresql team...
8 #
9 # Conditional build:
10 %bcond_without  tcl                     # disables Tcl 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 %define _rc RC2 
18
19 Summary:        PostgreSQL Data Base Management System
20 Summary(de):    PostgreSQL Datenbankverwaltungssystem
21 Summary(es):    Gestor de Banco de Datos PostgreSQL
22 Summary(fr):    Sysème de gestion de base de données PostgreSQL
23 Summary(pl):    PostgreSQL - system bazodanowy
24 Summary(pt_BR): Gerenciador de Banco de Dados PostgreSQL
25 Summary(ru):    PostgreSQL - ÓÉÓÔÅÍÁ ÕÐÒÁ×ÌÅÎÉÑ ÂÁÚÁÍÉ ÄÁÎÎÙÈ
26 Summary(tr):    Veri Tabaný Yönetim Sistemi
27 Summary(uk):    PostgreSQL - ÓÉÓÔÅÍÁ ËÅÒÕ×ÁÎÎÑ ÂÁÚÁÍÉ ÄÁÎÉÈ
28 Summary(zh_CN): PostgreSQL ¿Í»§¶Ë³ÌÐòºÍ¿âÎļþ
29 Name:           postgresql
30 Version:        7.4
31 Release:        0.5.%{_rc}
32 License:        BSD
33 Group:          Applications/Databases
34 ##Source0:      ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}%{_rc}.tar.bz2
35 Source0:        ftp://ftp2.pl.postgresql.org/mirrors/ftp.postgresql.org/source/v%{version}/%{name}-%{version}%{_rc}.tar.bz2
36 # Source0-md5:  a1ea58e97dd7849a4fb4721752d3ed41
37 Source1:        %{name}.init
38 Source2:        pgsql-Database-HOWTO-html.tar.gz
39 # Source2-md5:  5b656ddf1db41965761f85204a14398e
40 Source3:        %{name}.sysconfig
41 Patch0:         %{name}-configure.patch
42 Patch1:         %{name}-pg_ctl-silent.patch
43 Patch2:         %{name}-pg_ctl-nopsql.patch
44 Patch3:         %{name}-conf.patch
45 Patch4:         %{name}-absolute_dbpaths.patch
46 Patch5:         %{name}-link.patch
47 Patch6:         %{name}-com_err.patch
48 Patch7:         %{name}-ecpg_link.patch
49 Icon:           postgresql.xpm
50 URL:            http://www.postgresql.org/
51 BuildRequires:  autoconf
52 BuildRequires:  automake
53 BuildRequires:  bison >= 1.875
54 BuildRequires:  heimdal-devel
55 BuildRequires:  ncurses-devel >= 5.0
56 BuildRequires:  openssl-devel >= 0.9.7c
57 BuildRequires:  pam-devel
58 BuildRequires:  perl-devel
59 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
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  -n %{name}-%{version}%{_rc}
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
750 tar xzf doc/man*.tar.gz
751
752 mkdir doc/unpacked
753 tar zxf doc/postgres.tar.gz -C doc/unpacked
754
755 # Erase all CVS dir
756 find contrib -type d -name CVS -exec rm -rf {} \;
757
758 %build
759 rm -f config/libtool.m4
760 %{__aclocal} -I config
761 %{__autoconf}
762 %configure \
763         %{!?_without_pgsql_locale:--enable-locale} \
764         %{!?_without_pgsql_multibyte:--enable-multibyte} \
765         --disable-rpath \
766         --enable-thread-safety \
767         --enable-integer-datetimes \
768         --enable-depend \
769         --enable-recode \
770         --enable-syslog \
771         --with-pam \
772         --enable-unicode-conversion \
773         --with-CXX \
774         %{?with_tcl:--with-tcl} \
775         %{?with_tcl:--with-tk} \
776         --with-perl \
777         --with-python \
778         --with-krb5=%{_prefix} \
779         --with-openssl \
780         --with-x \
781 %{?_with_jdbc:  --with-java}
782
783 %{__make}
784 %ifnarch sparc sparcv9 sparc64 alpha ppc
785 %{!?_without_tests: %{__make} check }
786 %endif
787
788 cd contrib/pgcrypto/
789 %{__make} 
790
791 %install
792 rm -rf $RPM_BUILD_ROOT
793 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
794         $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
795         $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
796         $RPM_BUILD_ROOT/home/services/postgres
797
798 %{__make} install install-all-headers \
799         DESTDIR=$RPM_BUILD_ROOT
800
801 %{__make} install -C src/pl/plperl \
802         DESTDIR=$RPM_BUILD_ROOT
803
804 touch $RPM_BUILD_ROOT/var/log/pgsql
805
806 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
807 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
808
809 cp -a man?         $RPM_BUILD_ROOT%{_mandir}
810
811 # there are html installed, remove them
812 rm -rf $RPM_BUILD_ROOT%{_infodir}
813
814 install -d howto
815 ( cd howto
816   tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
817 )
818
819 %py_comp $RPM_BUILD_ROOT%{py_libdir}
820 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
821
822 cd contrib/pgcrypto
823 %{__make} install \
824         DESTDIR=$RPM_BUILD_ROOT
825
826 %clean
827 rm -rf $RPM_BUILD_ROOT
828
829 %pre
830 PG_DB_CLUSTERS=""
831 if [ -f /etc/sysconfig/postgresql ]; then
832         . /etc/sysconfig/postgresql
833         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
834                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
835         fi
836 fi
837 foundold=0
838 for pgdir in $PG_DB_CLUSTERS; do
839         if [ -f $pgdir/PG_VERSION ]; then
840                 if [ `cat $pgdir/PG_VERSION` != '7.4' ]; then
841                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
842                         foundold=1
843                 fi
844         fi
845 done
846 if [ "$foundold" = "1" ]; then
847         echo
848         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
849         echo "and clean (or rename) those directories; then upgrade postgresql and"
850         echo "restore all data (using pg_restore or psql)."
851         echo "Remember to stop the daemon before upgrading!"
852         echo
853         echo "Warning for upgrade from version *before* 7.2."
854         echo "Please note, that postgresql module path changed from"
855         echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
856         echo "in dump file before restore."
857         echo
858         echo "Warning for upgrade from version *before* 7.3."
859         echo "Reading following webpage is encouraged:"
860         echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
861         exit 1
862 fi
863
864 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
865 if id postgres >/dev/null 2>&1 ; then
866         /usr/sbin/usermod -d /home/services/postgres postgres
867 else
868         /usr/sbin/useradd -M -o -r -u 88 \
869                 -d /home/services/postgres -s /bin/sh -g postgres \
870                 -c "PostgreSQL Server" postgres
871 fi
872
873 %post
874 /sbin/chkconfig --add postgresql
875 if [ -f /var/lock/subsys/postgresql ]; then
876         /etc/rc.d/init.d/postgresql restart >&2 || :
877 else
878         echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
879 fi
880
881 %preun
882 if [ "$1" = "0" ]; then
883         if [ -f /var/lock/subsys/postgresql ]; then
884                 /etc/rc.d/init.d/postgresql stop
885         fi
886         /sbin/chkconfig --del postgresql
887 fi
888
889 %post   libs -p /sbin/ldconfig
890 %postun libs -p /sbin/ldconfig
891
892 %post   ecpg -p /sbin/ldconfig
893 %postun ecpg -p /sbin/ldconfig
894
895 %post   tcl -p /sbin/ldconfig
896 %postun tcl -p /sbin/ldconfig
897
898 %files
899 %defattr(644,root,root,755)
900 %attr(754,root,root) /etc/rc.d/init.d/*
901 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
902
903 %attr(755,root,root) %{_bindir}/clusterdb
904 %attr(755,root,root) %{_bindir}/createdb
905 %attr(755,root,root) %{_bindir}/createlang
906 %attr(755,root,root) %{_bindir}/createuser
907 %attr(755,root,root) %{_bindir}/dropdb
908 %attr(755,root,root) %{_bindir}/droplang
909 %attr(755,root,root) %{_bindir}/dropuser
910 %attr(755,root,root) %{_bindir}/initdb
911 %attr(755,root,root) %{_bindir}/initlocation
912 %attr(755,root,root) %{_bindir}/ipcclean
913 %attr(755,root,root) %{_bindir}/pg_controldata
914 %attr(755,root,root) %{_bindir}/pg_ctl
915 %attr(755,root,root) %{_bindir}/pg_encoding
916 %attr(755,root,root) %{_bindir}/pg_resetxlog
917 %attr(755,root,root) %{_bindir}/postgres
918 %attr(755,root,root) %{_bindir}/postmaster
919
920 %attr(755,root,root) %{_pgmoduledir}/ascii*
921 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
922 %attr(755,root,root) %{_pgmoduledir}/euc*
923 %attr(755,root,root) %{_pgmoduledir}/latin*
924 %attr(755,root,root) %{_pgmoduledir}/utf*
925
926 %dir %{_pgsqldir}
927 %dir %{_pgmoduledir}
928 %dir %{_datadir}/postgresql
929 %{_datadir}/postgresql/*.bki
930 %{_datadir}/postgresql/*.sample
931 %{_datadir}/postgresql/*.description
932 %{_datadir}/postgresql/*.sql
933 %{_datadir}/postgresql/*.txt
934
935 %attr(700,postgres,postgres) /home/services/postgres
936 %attr(700,postgres,postgres) %dir /var/lib/pgsql
937 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
938
939 %{_mandir}/man1/clusterdb.1*
940 %{_mandir}/man1/createdb.1*
941 %{_mandir}/man1/createlang.1*
942 %{_mandir}/man1/createuser.1*
943 %{_mandir}/man1/dropdb.1*
944 %{_mandir}/man1/droplang.1*
945 %{_mandir}/man1/dropuser.1*
946 %{_mandir}/man1/initdb.1*
947 %{_mandir}/man1/initlocation.1*
948 %{_mandir}/man1/ipcclean.1*
949 %{_mandir}/man1/pg_controldata.1*
950 %{_mandir}/man1/pg_ctl.1*
951 %{_mandir}/man1/pg_resetxlog.1*
952 %{_mandir}/man1/postgres.1*
953 %{_mandir}/man1/postmaster.1*
954
955 %{_mandir}/man7/*.7*
956
957 %doc contrib
958 %doc doc/FAQ* doc/README*
959 %doc COPYRIGHT README HISTORY doc/bug.template
960
961 %files doc
962 %defattr(644,root,root,755)
963 %doc doc/unpacked/*
964 %doc howto
965
966 %files libs
967 %defattr(644,root,root,755)
968 %attr(755,root,root) %{_libdir}/libpq.so.*.*
969 %attr(755,root,root) %{_bindir}/pg_id
970
971 %files ecpg
972 %defattr(644,root,root,755)
973 %attr(755,root,root) %{_bindir}/ecpg
974 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
975 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
976 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
977 %{_mandir}/man1/ecpg.1*
978
979 %files ecpg-devel
980 %defattr(644,root,root,755)
981 %attr(755,root,root) %{_libdir}/libecpg.so
982 %attr(755,root,root) %{_libdir}/libecpg_compat.so
983 %attr(755,root,root) %{_libdir}/libpgtypes.so
984 %{_includedir}/ecpgerrno.h
985 %{_includedir}/ecpg_informix.h
986 %{_includedir}/ecpglib.h
987 %{_includedir}/ecpgtype.h
988 %{_includedir}/pgtypes_date.h
989 %{_includedir}/pgtypes_error.h
990 %{_includedir}/pgtypes_interval.h
991 %{_includedir}/pgtypes_numeric.h
992 %{_includedir}/pgtypes_timestamp.h
993
994 %files devel
995 %defattr(644,root,root,755)
996 %attr(755,root,root) %{_bindir}/pg_config
997 %attr(755,root,root) %{_libdir}/libpq.so
998 %dir %{_includedir}/postgresql
999 %{_includedir}/compatlib.h
1000 %{_includedir}/datetime.h
1001 %{_includedir}/decimal.h
1002 %{_includedir}/libpq-fe.h
1003 %{_includedir}/pg_config.h
1004 %{_includedir}/pg_config_os.h
1005 %{_includedir}/postgres_ext.h
1006 %{_includedir}/sql3types.h
1007 %{_includedir}/sqlca.h
1008 %{_includedir}/sqlda.h
1009 %{_includedir}/sqltypes.h
1010 %dir %{_includedir}/postgresql/internal
1011 %{_includedir}/postgresql/internal/c.h
1012 %{_includedir}/postgresql/internal/libpq-int.h
1013 %{_includedir}/postgresql/internal/postgres_fe.h
1014 %{_includedir}/postgresql/internal/pqexpbuffer.h
1015 %{_includedir}/postgresql/internal/lib
1016 %{_includedir}/postgresql/internal/libpq
1017 %{_includedir}/libpq
1018 %{_mandir}/man1/pg_config.1*
1019
1020 %files backend-devel
1021 %defattr(644,root,root,755)
1022 %{_includedir}/postgresql/server
1023
1024 %files static
1025 %defattr(644,root,root,755)
1026 %{_libdir}/libecpg.a
1027 %{_libdir}/libecpg_compat.a
1028 %{_libdir}/libpq.a
1029 %{_libdir}/libpgtypes.a
1030
1031 %files clients
1032 %defattr(644,root,root,755)
1033 %attr(755,root,root) %{_bindir}/pg_dump
1034 %attr(755,root,root) %{_bindir}/pg_dumpall
1035 %attr(755,root,root) %{_bindir}/pg_restore
1036 %attr(755,root,root) %{_bindir}/psql
1037 %attr(755,root,root) %{_bindir}/vacuumdb
1038
1039 %{_mandir}/man1/pg_dump.1*
1040 %{_mandir}/man1/pg_dumpall.1*
1041 %{_mandir}/man1/pg_restore.1*
1042 %{_mandir}/man1/psql.1*
1043 %{_mandir}/man1/vacuumdb.1*
1044 %{_mandir}/manl/*.l*
1045
1046 %if %{with tcl}
1047 %files tcl
1048 %defattr(644,root,root,755)
1049 %attr(755,root,root) %{_libdir}/libpgtcl.so
1050 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
1051 %attr(755,root,root) %{_bindir}/pgtclsh
1052 %attr(755,root,root) %{_bindir}/pgtksh
1053 %{_mandir}/man1/pgtclsh.1*
1054 %{_mandir}/man1/pgtksh.1*
1055
1056 %files tcl-devel
1057 %defattr(644,root,root,755)
1058 %{_includedir}/libpgtcl.h
1059
1060 %files tcl-static
1061 %defattr(644,root,root,755)
1062 %{_libdir}/libpgtcl.a
1063 %endif
1064
1065 %files module-plpgsql
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1068
1069 %files module-plperl
1070 %defattr(644,root,root,755)
1071 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1072
1073 %files module-plpython
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1076
1077 %if %{with tcl}
1078 %files module-pltcl
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{_bindir}/pltcl_*
1081 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1082 %endif
1083
1084 %files module-pgcrypto
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1087 # Hmm i think two below lines shouldn't be here - but i can be wrong ;)
1088 #%{_datadir}/%{name}/contrib/pgcrypto.sql
1089 #%{_datadir}/info/%{name}/contrib/README.pgcrypto.gz
This page took 0.522496 seconds and 3 git commands to generate.