]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.spec
- rel 1
[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.3
19 %define         postgresql_release      1
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:  c0914a133ce6c1e0f1d8b93982d6e881
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}-ac.patch
58 Icon:           postgresql.xpm
59 URL:            http://www.postgresql.org/
60 BuildRequires:  autoconf
61 BuildRequires:  automake
62 #BuildRequires: bison >= 1.875  not needed for releases
63 BuildRequires:  flex
64 BuildRequires:  gettext-devel
65 %{?with_kerberos5:BuildRequires:        heimdal-devel}
66 BuildRequires:  libtool
67 BuildRequires:  ncurses-devel >= 5.0
68 BuildRequires:  openssl-devel >= 0.9.7d
69 BuildRequires:  pam-devel
70 %{?with_perl:BuildRequires:     perl-devel}
71 %if %{with php}
72 BuildRequires:  php-devel
73 %endif
74 %if %{with python}
75 BuildRequires:  python >= 1:2.3
76 BuildRequires:  python-devel >= 1:2.3
77 %endif
78 BuildRequires:  readline-devel >= 4.2
79 BuildRequires:  rpmbuild(macros) >= 1.202
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}-devel = %{postgresql_version}-%{postgresql_release}
380 Requires:       %{name}-libs = %{postgresql_version}-%{postgresql_release}
381
382 %description backend-devel
383 This package contains header files required to compile functions that
384 could be loaded directly by backend
385
386 %description backend-devel -l pl
387 Pakiet zawiera nag³ówki wymagane do kompilacji funkcji ktore moga byc
388 bezposrednio ladowane przez beckend serwera PostgreSQL.
389
390 %package clients
391 Summary:        Clients needed to access a PostgreSQL server
392 Summary(es):    Clientes necesarios para acceder al servidor PostgreSQL
393 Summary(pl):    Klienci wymagani do dostêpu do serwera PostgreSQL
394 Summary(pt_BR): Clientes necessários para acessar o servidor PostgreSQL
395 Summary(ru):    ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL
396 Summary(uk):    ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL
397 Group:          Applications/Databases
398 Requires:       %{name}-libs = %{postgresql_version}-%{postgresql_release}
399
400 %description clients
401 This package includes only the clients needed to access an PostgreSQL
402 server. The server is included in the main package. If all you need is
403 to connect to another PostgreSQL server, the this is the only package
404 you need to install. Clients include several command-line utilities
405 you can use to manage your databases on a remote PostgreSQL server.
406
407 %description clients -l es
408 Este paquete incluye solamente los clientes necesarios para acceder un
409 servidor PostgreSQL. El servidor está en el paquete principal.
410
411 %description clients -l pl
412 Pakiet zawiera programy klienckie potrzebne dla dostêpu do serwera
413 PostgreSQL oraz narzêdzia do zarz±dzania bazami dzia³aj±ce z linii
414 poleceñ. Serwer znajduje siê w g³ównym pakiecie.
415
416 %description clients -l pt_BR
417 Este pacote inclui somente os clientes necessários para acessar um
418 servidor PostgreSQL. O servidor está no pacote principal.
419
420 %description clients -l ru
421 üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ËÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ É ÂÉÂÌÉÏÔÅËÉ,
422 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÓÅÒ×ÅÒÕ PostgreSQL. óÅÒ×ÅÒ ×ÈÏÄÉÔ × ÇÌÁ×ÎÙÊ
423 ÐÁËÅÔ. åÓÌÉ ×ÁÍ ÎÁÄÏ ÔÏÌØËÏ ÒÁÂÏÔÁÔØ Ó ÄÒÕÇÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÜÔÏ
424 ÅÄÉÎÓÔ×ÅÎÎÙÊ ÐÁËÅÔ, ËÏÔÏÒÙÊ ×ÁÍ ÎÁÄÏ ÕÓÔÁÎÏ×ÉÔØ.
425
426 ôÅÐÅÒØ ÐÁËÅÔÙ Ó ÂÉÂÌÉÏÔÅËÁÍÉ ÄÌÑ ÒÁÚÎÙÈ ÑÚÙËÏ× ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ (C,
427 C++, Perl É Tcl) ÒÁÚÄÅÌÅÎÙ. üÔÏÔ ÐÁËÅÔ ×ËÌÀÞÁÅÔ ÔÏÌØËÏ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ
428 ÑÚÙËÁ C.
429
430 %description clients -l uk
431 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ Ô¦ÌØËÉ Ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ
432 ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ÓÅÒ×ÅÒÁ PostgreSQL. óÅÒ×ÅҠͦÓÔÉÔØÓÑ × ÇÏÌÏ×ÎÏÍÕ
433 ÐÁËÅÔ¦. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÎÏ ÐÒÁÃÀ×ÁÔÉ Ú ¦ÎÛÉÍ ÓÅÒ×ÅÒÏÍ PostgreSQL, ÃÅ
434 ¤ÄÉÎÉÊ ÐÁËÅÔ, ÑËÉÊ ×ÁÍ ÔÒÅÂÁ ×ÓÔÁÎÏ×ÉÔÉ.
435
436 ôÅÐÅÒ ÐÁËÅÔɠڠ¦Â̦ÏÔÅËÁÍÉ ÄÌÑ Ò¦ÚÎÉÈ ÍÏ× ÐÒÏÇÒÁÍÕ×ÁÎÎÑ (C, C++, Perl
437 ¦ Tcl) ÒÏÚĦÌÅΦ. ãÅÊ ÐÁËÅԠͦÓÔÉÔØ Ô¦ÌØËɠ¦Â̦ÏÔÅËÉ ÄÌÑ ÍÏ×É C.
438
439 %package doc
440 Summary:        Documentation for PostgreSQL
441 Summary(pl):    Dodatkowa dokumantacja dla PostgreSQL
442 Group:          Applications/Databases
443
444 %description doc
445 This package includes documentation and HOWTO for programmer, admin
446 etc., in HTML format.
447
448 %description doc -l pl
449 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
450 administratorów w formacie HTML.
451
452 %package libs
453 Summary:        PostgreSQL libraries
454 Summary(es):    Biblioteca compartida del PostgreSQL
455 Summary(pl):    Biblioteki dzielone programu PostgreSQL
456 Summary(pt_BR): Biblioteca compartilhada do PostgreSQL
457 Summary(zh_CN): PostgreSQL ¿Í»§ËùÐèÒªµÄ¹²Ïí¿â
458 Group:          Libraries
459
460 %description libs
461 PostgreSQL shared libraries.
462
463 %description libs -l es
464 Este paquete contiene la biblioteca compartida para acceso al
465 PostgreSQL.
466
467 %description libs -l pl
468 Biblioteki dzielone programu PostgreSQL.
469
470 %description libs -l pt_BR
471 Este pacote contém a biblioteca compartilhada para acesso ao
472 PostgreSQL.
473
474 %package ecpg
475 Summary:        Embedded SQL in C interface
476 Summary(pl):    Interfejs wbudowanego SQL-a w jêzyk C
477 Group:          Libraries
478 Requires:       %{name}-libs = %{postgresql_version}-%{postgresql_release}
479
480 %description ecpg
481 Embedded SQL in C interface.
482
483 %description ecpg -l pl
484 Interfejs wbudowanego SQL-a w jêzyk C.
485
486 %package ecpg-devel
487 Summary:        Embedded SQL in C interface files
488 Summary(pl):    Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C
489 Group:          Development/Libraries
490 Requires:       %{name}-devel = %{postgresql_version}-%{postgresql_release}
491 Requires:       %{name}-ecpg = %{postgresql_version}-%{postgresql_release}
492
493 %description ecpg-devel
494 Embedded SQL in C interface files.
495
496 %description ecpg-devel -l pl
497 Pliki programistyczne interfejsu wbudowanego SQL-a w jêzyk C.
498
499 %package static
500 Summary:        PostgreSQL static libraries
501 Summary(es):    Bibliotecas estaticas PostgreSQL
502 Summary(pl):    Biblioteki statyczne programu PostgreSQL
503 Summary(pt_BR): Bibliotecas estáticas PostgreSQL
504 Summary(ru):    óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó PostgreSQL
505 Summary(uk):    óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú PostgreSQL
506 Group:          Development/Libraries
507 Requires:       %{name}-devel = %{postgresql_version}-%{postgresql_release}
508
509 %description static
510 PostgreSQL static libraries.
511
512 %description static -l es
513 Este paquete contiene bibliotecas estaticas requerida para compilación
514 de aplicativos que se comunican directamente con el servidor backend
515 PostgreSQL.
516
517 %description static -l pl
518 Biblioteki statyczne programu PostgreSQL.
519
520 %description static -l pt_BR
521 Este pacote contém as bibliotecas estáticas requeridas para compilação
522 de aplicativos que se comunicam diretamente com o servidor backend
523 PostgreSQL.
524
525 %description static -l ru
526 üÔÏ ÏÔÄÅÌØÎÙÊ ÐÁËÅÔ ÓÏ ÓÔÁÔÉÞÅÓËÉÍÉ ÂÉÂÌÉÏÔÅËÁÍÉ, ËÏÔÏÒÙÅ ÂÏÌØÛÅ ÎÅ
527 ×ÈÏÄÑÔ × %{name}-devel.
528
529 %description static -l uk
530 ãÅ ÏËÒÅÍÉÊ ÐÁËÅÔ Ú¦ ÓÔÁÔÉÞÎÉÍɠ¦Â̦ÏÔÅËÁÍÉ, Ñ˦ Â¦ÌØÛ ÎÅ ×ÈÏÄÑÔØ ×
531 %{name}-devel.
532
533 %package module-plpgsql
534 Summary:        PL/pgSQL - PostgreSQL procedural language
535 Summary(pl):    PL/pgSQL - jêzyk proceduralny bazy danych PostgreSQL
536 Group:          Applications/Databases
537 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
538
539 %description module-plpgsql
540 From PostgreSQL documentation:
541
542 Postgres supports the definition of procedural languages. In the case
543 of a function or trigger procedure defined in a procedural language,
544 the database has no built-in knowledge about how to interpret the
545 function's source text. Instead, the task is passed to a handler that
546 knows the details of the language. The handler itself is a special
547 programming language function compiled into a shared object and loaded
548 on demand.
549
550 To enable PL/pgSQL procedural language for your database you have to
551 run createlang command.
552
553 %description module-plpgsql -l pl
554 Z dokumentacji PostgreSQL:
555
556 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
557 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
558 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
559 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
560 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
561 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
562 potrzeby.
563
564 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
565 proceduralnego PL/pgSQL dla swojej bazy danych.
566
567 %package module-plperl
568 Summary:        PL/perl - PostgreSQL procedural language
569 Summary(pl):    PL/perl - jêzyk proceduralny bazy danych PostgreSQL
570 Group:          Applications/Databases
571 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
572 Requires:       perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
573
574 %description module-plperl
575 From PostgreSQL documentation:
576
577 Postgres supports the definition of procedural languages. In the case
578 of a function or trigger procedure defined in a procedural language,
579 the database has no built-in knowledge about how to interpret the
580 function's source text. Instead, the task is passed to a handler that
581 knows the details of the language. The handler itself is a special
582 programming language function compiled into a shared object and loaded
583 on demand.
584
585 To enable PL/Perl procedural language for your database you have to
586 run createlang command.
587
588 %description module-plperl -l pl
589 Z dokumentacji PostgreSQL:
590
591 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
592 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
593 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
594 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
595 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
596 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
597 potrzeby.
598
599 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
600 proceduralnego PL/Perl dla swojej bazy danych.
601
602 %package module-plphp
603 Summary:        PL/PHP - PostgreSQL procedural language
604 Summary(pl):    PL/PHP - jêzyk proceduralny bazy danych PostgreSQL
605 Group:          Applications/Databases
606 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
607
608 %description module-plphp
609 From PostgreSQL documentation:
610
611 Postgres supports the definition of procedural languages. In the case
612 of a function or trigger procedure defined in a procedural language,
613 the database has no built-in knowledge about how to interpret the
614 function's source text. Instead, the task is passed to a handler that
615 knows the details of the language. The handler itself is a special
616 programming language function compiled into a shared object and loaded
617 on demand.
618
619 To enable PL/PHP procedural language for your database you have to
620 run createlang command.
621
622 %description module-plphp -l pl
623 Z dokumentacji PostgreSQL:
624
625 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
626 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
627 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
628 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
629 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
630 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
631 potrzeby.
632
633 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
634 proceduralnego PL/PHP dla swojej bazy danych.
635
636 %package module-plpython
637 Summary:        PL/Python - PostgreSQL procedural language
638 Summary(pl):    PL/Python - jêzyk proceduralny bazy danych PostgreSQL
639 Group:          Applications/Databases
640 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
641 %pyrequires_eq  python
642
643 %description module-plpython
644 From PostgreSQL documentation:
645
646 Postgres supports the definition of procedural languages. In the case
647 of a function or trigger procedure defined in a procedural language,
648 the database has no built-in knowledge about how to interpret the
649 function's source text. Instead, the task is passed to a handler that
650 knows the details of the language. The handler itself is a special
651 programming language function compiled into a shared object and loaded
652 on demand.
653
654 To enable PL/Python procedural language for your database you have to
655 run createlang command.
656
657 %description module-plpython -l pl
658 Z dokumentacji PostgreSQL:
659
660 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
661 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
662 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
663 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
664 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
665 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
666 potrzeby.
667
668 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
669 proceduralnego PL/Python dla swojej bazy danych.
670
671 %package module-pltcl
672 Summary:        PL/Tcl - PostgreSQL procedural language
673 Summary(pl):    PL/Tcl - jêzyk proceduralny bazy danych PostgreSQL
674 Group:          Applications/Databases
675 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
676
677 %description module-pltcl
678 From PostgreSQL documentation:
679
680 Postgres supports the definition of procedural languages. In the case
681 of a function or trigger procedure defined in a procedural language,
682 the database has no built-in knowledge about how to interpret the
683 function's source text. Instead, the task is passed to a handler that
684 knows the details of the language. The handler itself is a special
685 programming language function compiled into a shared object and loaded
686 on demand.
687
688 To enable PL/Tcl procedural language for your database you have to run
689 createlang command.
690
691 %description module-pltcl -l pl
692 Z dokumentacji PostgreSQL:
693
694 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
695 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
696 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
697 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
698 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
699 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
700 potrzeby.
701
702 Za pomoc± polecenia createlang mo¿na dodaæ obs³ugê jêzyka
703 proceduralnego PL/Tcl dla swojej bazy danych.
704
705 %package module-pgcrypto
706 Summary:        Cryptographic functions for PostgreSQL
707 Summary(pl):    Funkcje kryptograficzne dla PostgreSQL
708 Group:          Applications/Databases
709 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
710
711 %description module-pgcrypto
712 Cryptographic functions for PostgreSQL.
713
714 %description module-pgcrypto -l pl
715 Funkcje kryptograficzne dla PostgreSQL.
716
717 %package module-tsearch2
718 Summary:        Full text extension for PostgreSQL
719 Summary(pl):    Rozszerzenie pe³notekstowe dla PostgreSQL-a
720 Group:          Applications/Databases
721 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
722
723 %description module-tsearch2
724 Implementation of a new data type tsvector - a searchable data type
725 with indexed access:
726 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
727
728 %description module-tsearch2 -l pl
729 Implementacja nowego typu danych tsvector - typu danych podlegaj±cego
730 przeszukiwaniu z dostêpem poprzez indeksy:
731 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
732
733 %package -n slony1
734 Summary:        Slony-I - a "master to multiple slaves" replication system for PostgreSQL
735 Summary(pl):    Slony-I - system replikacji dla PostgreSQL
736 Version:        %{slony1_version}
737 Release:        %{slony1_release}@%{postgresql_version}_%{postgresql_release}
738 URL:            http://slony.info/
739 Group:          Applications/Databases
740 Requires:       %{name} = %{postgresql_version}-%{postgresql_release}
741 Requires:       %{name}-libs = %{postgresql_version}-%{postgresql_release}
742
743 %description -n slony1
744 Slony-I is a "master to multiple slaves" replication system with
745 cascading and failover.
746
747 The big picture for the development of Slony-I is a master-slave
748 system that includes all features and capabilities needed to replicate
749 large databases to a reasonably limited number of slave systems.
750
751 Slony-I is a system for data centers and backup sites, where the
752 normal mode of operation is that all nodes are available. 
753
754 %description -n slony1 -l pl
755 Slony-I jest systemem replikacji dla PostgreSQL. Pozwala na replikacjê
756 typu "jeden serwer g³owny, wiele serwerów pomocniczych".
757
758 G³ówn± zalet± Slony-I jest system "master-slave". Zawiera on wszelk±
759 funkcjonalno¶æ potrzebn± do replikowania du¿ych baz danych na
760 okre¶lon± ilo¶æ serwerów pomocniczych lub zastêpczych.
761
762 Slony-I jest przeznaczony dla systemów, gdzie normalny tryb pracy
763 wymaga aby zarówno serwer g³ówny jak i wszystkie serwery pomocnicze
764 by³y ca³y czas operacyjne.
765
766 %prep
767 %setup -q -a4 -a8
768 %patch0 -p1
769 %{?with_absolute_dbpaths:%patch1 -p1}
770 %patch2 -p1
771 %patch3 -p1
772 %patch4 -p1
773 #patch5 -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 tar zxf %{SOURCE2} -C howto
889
890 %py_comp $RPM_BUILD_ROOT%{py_libdir}
891 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
892
893 # find locales
894 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
895         %find_lang $f
896 done
897 # merge locales
898 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
899 cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang
900
901 # Remove Contrib documentation. We use macro %doc
902 rm -rf $RPM_BUILD_ROOT/contrib
903
904 %clean
905 rm -rf $RPM_BUILD_ROOT
906
907 %pre
908 PG_DB_CLUSTERS=""
909 if [ -f /etc/sysconfig/postgresql ]; then
910         . /etc/sysconfig/postgresql
911         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
912                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
913         fi
914 fi
915 foundold=0
916 for pgdir in $PG_DB_CLUSTERS; do
917         if [ -f $pgdir/PG_VERSION ]; then
918                 if [ `cat $pgdir/PG_VERSION` != '8.0' ]; then
919                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
920                         foundold=1
921                 fi
922         fi
923 done
924 if [ "$foundold" = "1" ]; then
925         echo
926         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
927         echo "and clean (or rename) those directories; then upgrade postgresql and"
928         echo "restore all data (using pg_restore or psql)."
929         echo "Remember to stop the daemon before upgrading!"
930         echo
931         echo "Warning for upgrade from version *before* 7.2."
932         echo "Please note, that postgresql module path changed from"
933         echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
934         echo "in dump file before restore."
935         echo
936         echo "Warning for upgrade from version *before* 7.3."
937         echo "Reading following webpage is encouraged:"
938         echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3."
939         exit 1
940 fi
941
942 %groupadd -g 88 -r postgres
943 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
944
945 # TODO: move  this to trigger!
946 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
947         /usr/sbin/usermod -d /home/services/postgres postgres
948 fi
949
950 %post
951 /sbin/chkconfig --add postgresql
952 if [ -f /var/lock/subsys/postgresql ]; then
953         /etc/rc.d/init.d/postgresql restart >&2 || :
954 else
955         echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
956 fi
957
958 %preun
959 if [ "$1" = "0" ]; then
960         if [ -f /var/lock/subsys/postgresql ]; then
961                 /etc/rc.d/init.d/postgresql stop
962         fi
963         /sbin/chkconfig --del postgresql
964 fi
965
966 %post   libs -p /sbin/ldconfig
967 %postun libs -p /sbin/ldconfig
968
969 %post   ecpg -p /sbin/ldconfig
970 %postun ecpg -p /sbin/ldconfig
971
972 %pre -n slony1
973 %groupadd -P slony1 -g 131 -r slony1
974 %useradd -P slony1 -M -o -r -u 131 -d /home/services/slony1 -s /bin/sh -g slony1 -c "Slony-I Replicator" slony1
975
976
977 %post -n slony1
978 /sbin/chkconfig --add slony1
979 if [ -f /var/lock/subsys/slony1 ]; then
980         /etc/rc.d/init.d/slony1 restart >&2 || :
981 else
982         echo "Run \"/etc/rc.d/init.d/slony1 start\" to start slony1 replicator."
983 fi
984
985 %preun -n slony1
986 if [ "$1" = "0" ]; then
987         # FIXME: no slony1 user removal?
988         if [ -f /var/lock/subsys/slony1 ]; then
989                 /etc/rc.d/init.d/slony1 stop
990         fi
991         /sbin/chkconfig --del slony1
992 fi
993
994 %files -f main.lang
995 %defattr(644,root,root,755)
996 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
997 %doc contrib/pg_autovacuum/README*
998 %attr(754,root,root) /etc/rc.d/init.d/postgresql
999 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1000
1001 %attr(755,root,root) %{_bindir}/initdb
1002 %attr(755,root,root) %{_bindir}/ipcclean
1003 %attr(755,root,root) %{_bindir}/pg_autovacuum
1004 %attr(755,root,root) %{_bindir}/pg_controldata
1005 %attr(755,root,root) %{_bindir}/pg_ctl
1006 %attr(755,root,root) %{_bindir}/pg_resetxlog
1007 %attr(755,root,root) %{_bindir}/postgres
1008 %attr(755,root,root) %{_bindir}/postmaster
1009
1010 %attr(755,root,root) %{_pgmoduledir}/ascii*
1011 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
1012 %attr(755,root,root) %{_pgmoduledir}/euc*
1013 %attr(755,root,root) %{_pgmoduledir}/latin*
1014 %attr(755,root,root) %{_pgmoduledir}/utf*
1015
1016 %dir %{_pgsqldir}
1017 %dir %{_datadir}/postgresql
1018 %dir %{_datadir}/postgresql/timezone
1019 %{_datadir}/postgresql/*.bki
1020 %{_datadir}/postgresql/*.sample
1021 %{_datadir}/postgresql/*.description
1022 %{_datadir}/postgresql/*.sql
1023 %{_datadir}/postgresql/*.txt
1024 %{_datadir}/postgresql/timezone/*
1025
1026 %attr(700,postgres,postgres) /home/services/postgres
1027 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1028 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1029
1030 %{_mandir}/man1/initdb.1*
1031 %{_mandir}/man1/ipcclean.1*
1032 %{_mandir}/man1/pg_controldata.1*
1033 %{_mandir}/man1/pg_ctl.1*
1034 %{_mandir}/man1/pg_resetxlog.1*
1035 %{_mandir}/man1/postgres.1*
1036 %{_mandir}/man1/postmaster.1*
1037
1038 %files doc
1039 %defattr(644,root,root,755)
1040 %doc doc/unpacked/* doc/src/FAQ howto
1041 %{_examplesdir}/%{name}-%{version}
1042
1043 %files libs -f libpq.lang
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1046 %dir %{_pgmoduledir}
1047
1048 %files ecpg
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_bindir}/ecpg
1051 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1052 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1053 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1054 %{_mandir}/man1/ecpg.1*
1055
1056 %files ecpg-devel
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{_libdir}/libecpg.so
1059 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1060 %attr(755,root,root) %{_libdir}/libpgtypes.so
1061 %{_includedir}/ecpg
1062
1063 %files devel -f pg_config.lang
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_bindir}/pg_config
1066 %attr(755,root,root) %{_libdir}/libpq.so
1067 %dir %{_includedir}/postgresql
1068 %{_includedir}/libpq-fe.h
1069 %{_includedir}/pg_config.h
1070 %{_includedir}/pg_config_manual.h
1071 %{_includedir}/pg_config_os.h
1072 %{_includedir}/postgres_ext.h
1073 %dir %{_includedir}/postgresql/internal
1074 %{_includedir}/postgresql/internal/c.h
1075 %{_includedir}/postgresql/internal/libpq-int.h
1076 %{_includedir}/postgresql/internal/port.h
1077 %{_includedir}/postgresql/internal/postgres_fe.h
1078 %{_includedir}/postgresql/internal/pqexpbuffer.h
1079 %{_includedir}/postgresql/internal/libpq
1080 %{_includedir}/libpq
1081 %{_mandir}/man1/pg_config.1*
1082
1083 %files backend-devel
1084 %defattr(644,root,root,755)
1085 %{_includedir}/postgresql/server
1086 %dir %{_pgmoduledir}/pgxs
1087 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1088 %{_pgmoduledir}/pgxs/src
1089
1090 %files static
1091 %defattr(644,root,root,755)
1092 %{_libdir}/libecpg.a
1093 %{_libdir}/libecpg_compat.a
1094 %{_libdir}/libpq.a
1095 %{_libdir}/libpgtypes.a
1096 %{_libdir}/libpgport.a
1097
1098 %files clients -f clients.lang
1099 %defattr(644,root,root,755)
1100 %attr(755,root,root) %{_bindir}/clusterdb
1101 %attr(755,root,root) %{_bindir}/createdb
1102 %attr(755,root,root) %{_bindir}/createlang
1103 %attr(755,root,root) %{_bindir}/createuser
1104 %attr(755,root,root) %{_bindir}/dropdb
1105 %attr(755,root,root) %{_bindir}/droplang
1106 %attr(755,root,root) %{_bindir}/dropuser
1107 %attr(755,root,root) %{_bindir}/pg_dump
1108 %attr(755,root,root) %{_bindir}/pg_dumpall
1109 %attr(755,root,root) %{_bindir}/pg_restore
1110 %attr(755,root,root) %{_bindir}/psql
1111 %attr(755,root,root) %{_bindir}/vacuumdb
1112
1113 %{_mandir}/man1/clusterdb.1*
1114 %{_mandir}/man1/createdb.1*
1115 %{_mandir}/man1/createlang.1*
1116 %{_mandir}/man1/createuser.1*
1117 %{_mandir}/man1/dropdb.1*
1118 %{_mandir}/man1/droplang.1*
1119 %{_mandir}/man1/dropuser.1*
1120 %{_mandir}/man1/pg_dump.1*
1121 %{_mandir}/man1/pg_dumpall.1*
1122 %{_mandir}/man1/pg_restore.1*
1123 %{_mandir}/man1/psql.1*
1124 %{_mandir}/man1/vacuumdb.1*
1125 %{_mandir}/man7/*.7*
1126
1127 %files module-plpgsql
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1130
1131 %if %{with perl}
1132 %files module-plperl
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1135 %endif
1136
1137 %if %{with python}
1138 %files module-plpython
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1141 %endif
1142
1143 %if %{with tcl}
1144 %files module-pltcl
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_bindir}/pltcl_*
1147 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1148 %endif
1149
1150 %files module-pgcrypto
1151 %defattr(644,root,root,755)
1152 %doc contrib/pgcrypto/README*
1153 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1154 %{_pgsqldir}/pgcrypto.sql
1155
1156 %files module-tsearch2
1157 %defattr(644,root,root,755)
1158 %doc contrib/tsearch2/README*
1159 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1160 %{_pgsqldir}/tsearch2.sql
1161 %{_pgsqldir}/untsearch2.sql
1162 %{_pgsqldir}/*.stop
1163
1164 %if %{with slony1}
1165 %files -n slony1
1166 %defattr(644,root,root,755)
1167 %doc slony1-%{slony1_version}/doc/howto/*
1168 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/slony1
1169 %attr(754,root,root) /etc/rc.d/init.d/slony1
1170 %attr(755,root,root) %{_bindir}/slon
1171 %attr(755,root,root) %{_bindir}/slonik
1172 %attr(750,slony1,slony1) %dir /home/services/slony1
1173 %attr(600,slony1,slony1) /home/services/slony1/.pgpass
1174 %attr(755,root,root) %{_pgmoduledir}/slony1_funcs.so
1175 %attr(755,root,root) %{_pgmoduledir}/xxid.so
1176 %endif
This page took 0.151662 seconds and 4 git commands to generate.