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