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