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