2 # - init scripts for pgclusters lb and replicate
5 %bcond_without kerberos5 # disable kerberos5 support
6 %bcond_without python # disable Python support
7 %bcond_without perl # disable Perl support
8 %bcond_without tcl # disables Tcl support
9 %bcond_without tests # disable testing
10 %bcond_with absolute_dbpaths # enable absolute paths to create database
11 # (disabled by default because it is a security risk)
12 %bcond_with pgcluster # enable pgcluster support
13 # Fails tests because of cluster turned off:
18 # NOTE: merge from POSTGRESQL_8_3 branch when 8.3 arrives
20 Summary: PostgreSQL Data Base Management System
21 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
22 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
23 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
24 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
25 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
26 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
27 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
28 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
29 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
32 %define pgcluster_version 1.7.0rc7
35 Group: Applications/Databases
36 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
37 # Source0-md5: 17b9049b4fcad42ee95410833c1db228
39 Source2: pgsql-Database-HOWTO-html.tar.gz
40 # Source2-md5: 5b656ddf1db41965761f85204a14398e
41 Source3: %{name}.sysconfig
42 Patch0: %{name}-conf.patch
43 Patch1: %{name}-absolute_dbpaths.patch
44 Patch3: %{name}-ecpg_link.patch
45 Patch4: %{name}-ecpg-includedir.patch
46 Patch5: %{name}-pg_ctl-fix.patch
47 Patch6: %{name}-ac_version.patch
48 # Sources from: http://ftp.man.poznan.pl/postgresql/projects/pgFoundry/pgcluster/
49 Patch7: %{name}-pgcluster-%{pgcluster_version}.patch
50 URL: http://www.postgresql.org/
51 BuildRequires: autoconf
52 BuildRequires: automake
53 #BuildRequires: bison >= 1.875 not needed for releases
55 BuildRequires: gettext-devel
56 %{?with_kerberos5:BuildRequires: krb5-devel}
57 BuildRequires: libtool
58 BuildRequires: libxml2-devel
59 BuildRequires: libxslt-devel
60 BuildRequires: ncurses-devel >= 5.0
61 BuildRequires: openssl-devel >= 0.9.7d
62 BuildRequires: pam-devel
63 %{?with_perl:BuildRequires: perl-devel}
65 BuildRequires: python >= 1:2.3
66 BuildRequires: python-devel >= 1:2.3
67 BuildRequires: python-modules >= 1:2.3
69 BuildRequires: readline-devel >= 4.2
70 BuildRequires: rpmbuild(macros) >= 1.268
71 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
72 BuildRequires: zlib-devel
73 Requires(post,preun): /sbin/chkconfig
74 Requires(pre): /bin/id
75 Requires(pre): /usr/bin/getgid
76 Requires(pre): /usr/sbin/groupadd
77 Requires(pre): /usr/sbin/useradd
78 Requires(pre): /usr/sbin/usermod
79 Requires: %{name}-clients = %{version}-%{release}
80 Requires: %{name}-libs = %{version}-%{release}
82 Obsoletes: postgresql-server
83 Obsoletes: postgresql-test
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86 %define _pgmoduledir %{_libdir}/postgresql
87 %define _pgsqldir %{_datadir}/postgresql/contrib
89 %define _ulibdir /usr/lib
92 PostgreSQL Data Base Management System (formerly known as Postgres,
95 PostgreSQL is an enhancement of the POSTGRES database management
96 system, a next-generation DBMS research prototype. While PostgreSQL
97 retains the powerful data model and rich data types of POSTGRES, it
98 replaces the PostQuel query language with an extended subset of SQL.
99 PostgreSQL is free and the complete source is available.
101 PostgreSQL development is being performed by a team of Internet
102 developers who all subscribe to the PostgreSQL development mailing
103 list. The current coordinator is Marc G. Fournier
104 (scrappy@postgreSQL.org). This team is now responsible for all current
105 and future development of PostgreSQL.
107 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
108 others have contributed to the porting, testing, debugging and
109 enhancement of the code. The original Postgres code, from which
110 PostgreSQL is derived, was the effort of many graduate students,
111 undergraduate students, and staff programmers working under the
112 direction of Professor Michael Stonebraker at the University of
113 California, Berkeley.
115 The original name of the software at Berkeley was Postgres. When SQL
116 functionality was added in 1995, its name was changed to Postgres95.
117 The name was changed at the end of 1996 to PostgreSQL.
119 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
120 and most flavours of Unix.
122 %description -l de.UTF-8
123 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
126 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
127 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
128 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
129 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
130 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
133 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
134 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
135 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
136 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
138 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
139 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
140 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
141 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
142 Studenten und Programmierern unter der Leitung von Professor Michael
143 Stonebraker an der University of California, Berkeley.
145 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
146 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
147 entschied man sich für PostgreSQL.
149 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
150 und den meisten Unix-Systemen.
152 %description -l es.UTF-8
153 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
154 como Postgres, y después como Postgres95). PostgreSQL es una
155 continuación mejorada del Sistema Administrador de Banco de Datos
156 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
157 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
158 los varios tipos de datos del POSTGRES, substituye el lenguaje de
159 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
160 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
161 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
162 en la lista de desarrollo del PostgreSQL. El coordinador actual es
163 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
164 responsable por el desarrollo actual y futuro del PostgreSQL.
166 %description -l fr.UTF-8
167 Système de gestion de bases de données PostgreSQL (D'abord nommé
168 Postgres, puis Postgres95).
170 PostgreSQL est une amélioration du système de gestion de bases de
171 données POSTGRES, un prototype de recherche de la génération suivant
172 DBMS. Tout en conservant le puissant modèle de donnée de et les types
173 de donée riches de Postgres, il remplace le langage de requêtes de
174 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
175 libre, et ses sources sont disponibles.
177 Le développement de PostgreSQL est actuellement réalisé via internet
178 parune équipe de développeurs inscrits sur la mailing-list de
179 développement de PostgreSQL. Le coordinateur actuel est Marc G
180 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
181 développemen actuel et à venir de PostgreSQL.
183 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
184 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
185 l'amélioration du code. Le code original de Postgres, duquel
186 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
187 moins haut niveau, et de programmeurs travaillant sous la direction du
188 professeur Michael Stonebraker à l'université de Berkeley Californie.
190 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
191 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
192 rebaptisé PostgreSQL en 1996.
194 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
195 et la plupart des Unix.
197 %description -l pl.UTF-8
198 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
199 Postgres, następnie jako Postgres95).
201 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
202 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
203 model danych oraz bogaty zbiór różnych typów danych, to jednak język
204 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
205 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
208 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
209 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
210 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
211 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
213 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
214 innych pomagało przenosząc na różne platformy, testując, analizując i
215 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
216 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
217 zespołu programistów, którzy pracowali pod kierunkiem profesora
218 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
220 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
221 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
222 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
225 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
226 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
228 %description -l pt_BR.UTF-8
229 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
230 Postgres, e depois como Postgres95).
232 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
233 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
234 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
235 dados e os vários tipos de dados do POSTGRES, ele substitui a
236 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
237 PostgreSQL é livre e tem os fontes disponíveis.
239 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
240 desenvolvedores da Internet, todos subscritores da lista de
241 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
242 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
243 desenvolvimento atual e futuro do PostgreSQL.
245 %description -l ru.UTF-8
246 PostgreSQL - система управления базами данных (прежде известная как
247 Postgres, потом как Postgres95).
249 PostgreSQL - это расширенная версия системы управления базами данных
250 POSTGRES, исследовательского прототипа DBMS следующей генерации.
251 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
252 она заменяет язык запросов PostQuel расширенным набором SQL.
253 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
256 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
257 на список рассылки, посвященный разработке PostgreSQL. В настоящее
258 время координатором является Marc G. Fournier
259 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
260 все текущие и будущие разработки PostgreSQL.
262 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
263 свой вклад в портирование, тестирование, отладку и улучшение кода.
264 Оригинальный код Postgres, от которого произошел PostgreSQL, был
265 создан усилиями студентов, аспирантов и персонала, работающего под
266 руководством профессора Michael Stonebraker в University of
267 California, Berkeley.
269 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
270 была добавлена функциональность SQL, название изменилось на
271 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
274 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
275 и большинстве других разновидностей Unix.
277 %description -l tr.UTF-8
278 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
279 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
280 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
281 sorgulama dilini koyar.
283 %description -l uk.UTF-8
284 PostgreSQL - система керування базами даних (раніш відома як Postgres,
285 потім як Postgres95).
287 PostgreSQL - це розширена версія системи керування базами даних
288 POSTGRES, дослідницького прототипу DBMS наступної генерації.
289 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
290 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
291 безкоштовна та поставляється у вигляді повного комплекту вихідних
294 PostgreSQL розробляється командою Internet-програмістів, учасників
295 списку розсилки, присвяченого розробці PostgreSQL. Наразі
296 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
297 відповідає за всі поточні та майбутні розробки PostgreSQL.
299 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
300 внесли свій внесок в портування, тестування, відладку та покращення
301 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
302 створений зусиллями студентів, аспірантів та персоналу, який працював
303 під керівництвом професора Michael Stonebraker в University of
304 California, Berkeley.
306 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
307 було додано функціональність SQL, назва змінилася на Postgres95. В
308 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
310 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
311 та більшості інших різновидів Unix.
314 Summary: PostgreSQL development header files and libraries
315 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
316 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
317 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
318 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
319 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
320 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
321 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
322 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
323 Group: Development/Libraries
324 Requires: %{name}-libs = %{version}-%{release}
327 This package contains header files and libraries required to compile
328 applications that are talking directly to the PostgreSQL backend
331 %description devel -l de.UTF-8
332 Dieses Paket enthält die Header-Dateien und Libraries, die zum
333 Kompilieren von Applikationen notwendig sind, die direkt mit dem
334 PostgreSQL-Backend-Server kommunizieren.
336 %description devel -l es.UTF-8
337 Este paquete contiene archivos de inclusión y bibliotecas requeridas
338 para compilación de aplicativos que se comunican directamente con el
339 servidor backend PostgreSQL.
341 %description devel -l fr.UTF-8
342 Ce package contient les fichiers d'en-tête et les bibliothéques
343 nécessaires pour compiler des applications ayant des échanges directs
344 avec le serveur du backend PostgreSQL.
346 %description devel -l pl.UTF-8
347 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
348 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
350 %description devel -l pt_BR.UTF-8
351 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
352 compilação de aplicativos que se comunicam diretamente com o servidor
355 %description devel -l ru.UTF-8
356 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
357 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
359 %description devel -l tr.UTF-8
360 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
361 gereken başlık dosyalarını ve kitaplıkları içerir.
363 %description devel -l uk.UTF-8
364 Цей пакет містить хедери та бібліотеки, необхідні для розробки
365 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
367 %package backend-devel
368 Summary: PostgreSQL backend development header files
369 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
370 Group: Development/Libraries
371 Requires: %{name}-devel = %{version}-%{release}
372 Requires: %{name}-libs = %{version}-%{release}
374 %description backend-devel
375 This package contains header files required to compile functions that
376 could be loaded directly by backend
378 %description backend-devel -l pl.UTF-8
379 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
380 bezposrednio ladowane przez beckend serwera PostgreSQL.
383 Summary: Clients needed to access a PostgreSQL server
384 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
385 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
386 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
387 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
388 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
389 Group: Applications/Databases
390 Requires: %{name}-libs = %{version}-%{release}
393 This package includes only the clients needed to access an PostgreSQL
394 server. The server is included in the main package. If all you need is
395 to connect to another PostgreSQL server, the this is the only package
396 you need to install. Clients include several command-line utilities
397 you can use to manage your databases on a remote PostgreSQL server.
399 %description clients -l es.UTF-8
400 Este paquete incluye solamente los clientes necesarios para acceder un
401 servidor PostgreSQL. El servidor está en el paquete principal.
403 %description clients -l pl.UTF-8
404 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
405 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
406 poleceń. Serwer znajduje się w głównym pakiecie.
408 %description clients -l pt_BR.UTF-8
409 Este pacote inclui somente os clientes necessários para acessar um
410 servidor PostgreSQL. O servidor está no pacote principal.
412 %description clients -l ru.UTF-8
413 Этот пакет включает только клиентские программы и библиотеки,
414 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
415 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
416 единственный пакет, который вам надо установить.
418 Теперь пакеты с библиотеками для разных языков программирования (C,
419 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
422 %description clients -l uk.UTF-8
423 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
424 для доступу до сервера PostgreSQL. Сервер міститься в головному
425 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
426 єдиний пакет, який вам треба встановити.
428 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
429 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
431 %if %{with pgcluster}
433 Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL
434 Group: Applications/Databases
435 Requires: %{name}-libs = %{version}-%{release}
436 Requires: pgcluster = %{pgcluster_version}
437 Provides: pgcluster-lb = %{pgcluster_version}
440 PGCluster is the synchronous replication system of the multi-master
441 composition for PostgreSQL.
443 PGCluster is the replication system of the query base using
446 - Since a replication system is a synchronous replication, delay does
447 not occur with the data duplicate between the Cluster DBs.
448 - Since a server is multi-master composition, two or more the Cluster
449 DBs can receive access from a user simultaneously.
451 PGCluster consists of three kinds of servers, a load balancer, Cluster
452 DB, and a replication server.
455 Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL
456 Group: Applications/Databases
457 Requires: %{name}-libs = %{version}-%{release}
458 Requires: pgcluster = %{pgcluster_version}
459 Provides: pgcluster-replicate = %{pgcluster_version}
461 %description replicate
462 PGCluster is the synchronous replication system of the multi-master
463 composition for PostgreSQL.
465 PGCluster is the replication system of the query base using
468 - Since a replication system is a synchronous replication, delay does
469 not occur with the data duplicate between the Cluster DBs.
470 - Since a server is multi-master composition, two or more the Cluster
471 DBs can receive access from a user simultaneously.
473 PGCluster consists of three kinds of servers, a load balancer, Cluster
474 DB, and a replication server.
476 %package replicate-tools
477 Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL
478 Group: Applications/Databases
479 Requires: %{name}-libs = %{version}-%{release}
480 Requires: pgcluster = %{pgcluster_version}
481 Provides: pgcluster-replicate = %{pgcluster_version}
483 %description replicate-tools
484 PGCluster is the synchronous replication system of the multi-master
485 composition for PostgreSQL.
487 PGCluster is the replication system of the query base using
490 - Since a replication system is a synchronous replication, delay does
491 not occur with the data duplicate between the Cluster DBs.
492 - Since a server is multi-master composition, two or more the Cluster
493 DBs can receive access from a user simultaneously.
495 PGCluster consists of three kinds of servers, a load balancer, Cluster
496 DB, and a replication server.
500 Summary: Documentation for PostgreSQL
501 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
502 Group: Applications/Databases
505 This package includes documentation and HOWTO for programmer, admin
506 etc., in HTML format.
508 %description doc -l pl.UTF-8
509 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
510 administratorów w formacie HTML.
513 Summary: PostgreSQL libraries
514 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
515 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
516 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
517 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
519 %{?with_pgcluster:Provides: pgcluster = %{pgcluster_version}}
522 PostgreSQL shared libraries.
524 %description libs -l es.UTF-8
525 Este paquete contiene la biblioteca compartida para acceso al
528 %description libs -l pl.UTF-8
529 Biblioteki dzielone programu PostgreSQL.
531 %description libs -l pt_BR.UTF-8
532 Este pacote contém a biblioteca compartilhada para acesso ao
536 Summary: Embedded SQL in C interface
537 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
539 Requires: %{name}-libs = %{version}-%{release}
542 Embedded SQL in C interface.
544 %description ecpg -l pl.UTF-8
545 Interfejs wbudowanego SQL-a w język C.
548 Summary: Embedded SQL in C interface files
549 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
550 Group: Development/Libraries
551 Requires: %{name}-devel = %{version}-%{release}
552 Requires: %{name}-ecpg = %{version}-%{release}
554 %description ecpg-devel
555 Embedded SQL in C interface files.
557 %description ecpg-devel -l pl.UTF-8
558 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
561 Summary: PostgreSQL static libraries
562 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
563 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
564 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
565 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
566 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
567 Group: Development/Libraries
568 Requires: %{name}-devel = %{version}-%{release}
571 PostgreSQL static libraries.
573 %description static -l es.UTF-8
574 Este paquete contiene bibliotecas estaticas requerida para compilación
575 de aplicativos que se comunican directamente con el servidor backend
578 %description static -l pl.UTF-8
579 Biblioteki statyczne programu PostgreSQL.
581 %description static -l pt_BR.UTF-8
582 Este pacote contém as bibliotecas estáticas requeridas para compilação
583 de aplicativos que se comunicam diretamente com o servidor backend
586 %description static -l ru.UTF-8
587 Это отдельный пакет со статическими библиотеками, которые больше не
588 входят в %{name}-devel.
590 %description static -l uk.UTF-8
591 Це окремий пакет зі статичними бібліотеками, які більш не входять в
594 %package module-plpgsql
595 Summary: PL/pgSQL - PostgreSQL procedural language
596 Summary(pl.UTF-8): PL/pgSQL - język proceduralny bazy danych PostgreSQL
597 Group: Applications/Databases
598 Requires: %{name} = %{version}-%{release}
600 %description module-plpgsql
601 From PostgreSQL documentation:
603 Postgres supports the definition of procedural languages. In the case
604 of a function or trigger procedure defined in a procedural language,
605 the database has no built-in knowledge about how to interpret the
606 function's source text. Instead, the task is passed to a handler that
607 knows the details of the language. The handler itself is a special
608 programming language function compiled into a shared object and loaded
611 To enable PL/pgSQL procedural language for your database you have to
612 run createlang command.
614 %description module-plpgsql -l pl.UTF-8
615 Z dokumentacji PostgreSQL:
617 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
618 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
619 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
620 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
621 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
622 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
625 Za pomocą polecenia createlang można dodać obsługę języka
626 proceduralnego PL/pgSQL dla swojej bazy danych.
628 %package module-plperl
629 Summary: PL/perl - PostgreSQL procedural language
630 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
631 Group: Applications/Databases
632 Requires: %{name} = %{version}-%{release}
633 Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
635 %description module-plperl
636 From PostgreSQL documentation:
638 Postgres supports the definition of procedural languages. In the case
639 of a function or trigger procedure defined in a procedural language,
640 the database has no built-in knowledge about how to interpret the
641 function's source text. Instead, the task is passed to a handler that
642 knows the details of the language. The handler itself is a special
643 programming language function compiled into a shared object and loaded
646 To enable PL/Perl procedural language for your database you have to
647 run createlang command.
649 %description module-plperl -l pl.UTF-8
650 Z dokumentacji PostgreSQL:
652 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
653 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
654 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
655 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
656 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
657 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
660 Za pomocą polecenia createlang można dodać obsługę języka
661 proceduralnego PL/Perl dla swojej bazy danych.
663 %package module-plpython
664 Summary: PL/Python - PostgreSQL procedural language
665 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
666 Group: Applications/Databases
667 Requires: %{name} = %{version}-%{release}
668 %pyrequires_eq python
670 %description module-plpython
671 From PostgreSQL documentation:
673 Postgres supports the definition of procedural languages. In the case
674 of a function or trigger procedure defined in a procedural language,
675 the database has no built-in knowledge about how to interpret the
676 function's source text. Instead, the task is passed to a handler that
677 knows the details of the language. The handler itself is a special
678 programming language function compiled into a shared object and loaded
681 To enable PL/Python procedural language for your database you have to
682 run createlang command.
684 %description module-plpython -l pl.UTF-8
685 Z dokumentacji PostgreSQL:
687 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
688 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
689 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
690 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
691 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
692 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
695 Za pomocą polecenia createlang można dodać obsługę języka
696 proceduralnego PL/Python dla swojej bazy danych.
698 %package module-pltcl
699 Summary: PL/Tcl - PostgreSQL procedural language
700 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
701 Group: Applications/Databases
702 Requires: %{name} = %{version}-%{release}
705 %description module-pltcl
706 From PostgreSQL documentation:
708 Postgres supports the definition of procedural languages. In the case
709 of a function or trigger procedure defined in a procedural language,
710 the database has no built-in knowledge about how to interpret the
711 function's source text. Instead, the task is passed to a handler that
712 knows the details of the language. The handler itself is a special
713 programming language function compiled into a shared object and loaded
716 To enable PL/Tcl procedural language for your database you have to run
719 %description module-pltcl -l pl.UTF-8
720 Z dokumentacji PostgreSQL:
722 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
723 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
724 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
725 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
726 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
727 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
730 Za pomocą polecenia createlang można dodać obsługę języka
731 proceduralnego PL/Tcl dla swojej bazy danych.
733 %package module-dblink
734 Summary: dblink module for PostgreSQL
735 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
736 Group: Applications/Databases
737 Requires: %{name} = %{version}-%{release}
739 %description module-dblink
740 dblink module for PostgreSQL provides functions returning results from
743 %description module-dblink -l pl.UTF-8
744 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
748 Summary: Large Objects module for PostgreSQL
749 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
750 Group: Applications/Databases
751 Requires: %{name} = %{version}-%{release}
753 %description module-lo
754 Large Objects module for PostgreSQL adds a new data type 'lo', some
755 support functions and a trigger which handles the orphaning problem.
757 %description module-lo -l pl.UTF-8
758 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
759 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
760 osieroconych obiektów.
762 %package module-pgcrypto
763 Summary: Cryptographic functions for PostgreSQL
764 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
765 Group: Applications/Databases
766 Requires: %{name} = %{version}-%{release}
768 %description module-pgcrypto
769 Cryptographic functions for PostgreSQL.
771 %description module-pgcrypto -l pl.UTF-8
772 Funkcje kryptograficzne dla PostgreSQL.
774 %package module-tablefunc
775 Summary: crosstab functions for PostgreSQL
776 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
777 Group: Applications/Databases
778 Requires: %{name} = %{version}-%{release}
780 %description module-tablefunc
781 crosstab functions for PostgreSQL.
783 %description module-tablefunc -l pl.UTF-8
784 Funkcje crosstab dla PostgreSQL-a.
786 %package module-tsearch2
787 Summary: Full text extension for PostgreSQL
788 Summary(pl.UTF-8): Rozszerzenie pełnotekstowe dla PostgreSQL-a
789 Group: Applications/Databases
790 Requires: %{name} = %{version}-%{release}
792 %description module-tsearch2
793 Implementation of a new data type tsvector - a searchable data type
795 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
797 %description module-tsearch2 -l pl.UTF-8
798 Implementacja nowego typu danych tsvector - typu danych podlegającego
799 przeszukiwaniu z dostępem poprzez indeksy:
800 http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/
802 %package module-pg_trgm
803 Summary: Trigram matching for PostgreSQL
804 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
805 Group: Applications/Databases
806 Requires: %{name} = %{version}-%{release}
808 %description module-pg_trgm
809 This module provides functions and index classes for determining the
810 similarity of text based on trigram matching.
812 %description module-pg_trgm -l pl.UTF-8
813 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
814 w oparciu o dopasowywanie trigramowe (trigram matching).
818 Summary: XML-handling functions for PostgreSQL
819 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
820 Group: Applications/Databases
821 Requires: %{name} = %{version}-%{release}
823 %description module-xml2
824 Module with XML functions provides both XPath querying and XSLT
825 functionality. There is also a new table function which allows the
826 straightforward return of multiple XML results.
828 %description module-xml2 -l pl.UTF-8
829 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
830 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
831 bezpośrednie zwracanie wielu wyników XML.
836 %{?with_absolute_dbpaths:%patch1 -p1}
841 %{?with_pgcluster:%patch7 -p1}
843 tar xzf doc/man*.tar.gz
846 tar zxf doc/postgres.tar.gz -C doc/unpacked
849 #find contrib -type d -name CVS -exec rm -rf {} \;
852 %{__aclocal} -I config
855 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \
858 --enable-integer-datetimes \
860 --enable-thread-safety \
861 %{?with_kerberos5:--with-krb5} \
864 %{?with_perl:--with-perl} \
865 %{?with_python:--with-python} \
866 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
870 %{__make} -C contrib/dblink
871 %{__make} -C contrib/lo
872 %{__make} -C contrib/pgcrypto
873 %{__make} -C contrib/tablefunc
874 %{__make} -C contrib/tsearch2
875 %{__make} -C contrib/pg_trgm
876 %{__make} -C contrib/xml2
877 %{__make} -C src/tutorial \
880 %ifnarch sparc sparcv9 sparc64 alpha
881 %{?with_tests:%{__make} check}
885 rm -rf $RPM_BUILD_ROOT
886 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
887 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
888 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
889 $RPM_BUILD_ROOT%{_mandir} \
890 $RPM_BUILD_ROOT/home/services/postgres
892 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
895 DESTDIR=$RPM_BUILD_ROOT
898 %{__make} install -C src/pl/plperl \
899 DESTDIR=$RPM_BUILD_ROOT
902 %{__make} -C contrib/dblink install \
903 DESTDIR=$RPM_BUILD_ROOT
905 %{__make} -C contrib/lo install \
906 DESTDIR=$RPM_BUILD_ROOT
908 %{__make} -C contrib/pgcrypto install \
909 DESTDIR=$RPM_BUILD_ROOT
911 %{__make} -C contrib/tablefunc install \
912 DESTDIR=$RPM_BUILD_ROOT
914 %{__make} -C contrib/tsearch2 install \
915 DESTDIR=$RPM_BUILD_ROOT
917 %{__make} -C contrib/pg_trgm install \
918 DESTDIR=$RPM_BUILD_ROOT
920 %{__make} -C contrib/xml2 install \
921 DESTDIR=$RPM_BUILD_ROOT
923 touch $RPM_BUILD_ROOT/var/log/pgsql
925 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
926 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
929 tar zxf %{SOURCE2} -C howto
931 %py_comp $RPM_BUILD_ROOT%{py_libdir}
932 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
935 for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do
939 cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang
940 cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang
942 # Remove Contrib documentation. We use macro %doc
943 rm -rf $RPM_BUILD_ROOT/contrib
945 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
947 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
950 rm -rf $RPM_BUILD_ROOT
954 if [ -f /etc/sysconfig/postgresql ]; then
955 . /etc/sysconfig/postgresql
956 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
957 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
961 for pgdir in $PG_DB_CLUSTERS; do
962 if [ -f $pgdir/PG_VERSION ]; then
963 if [ `cat $pgdir/PG_VERSION` != '8.2' ]; then
964 echo "Found database(s) in older, incompatible format in cluster $pgdir."
969 if [ "$foundold" = "1" ]; then
971 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
972 echo "and clean (or rename) those directories; then upgrade postgresql and"
973 echo "restore all data (using pg_restore or psql)."
974 echo "Remember to stop the daemon before upgrading!"
976 echo "Warning for upgrade from version *before* 7.2."
977 echo "Please note, that postgresql module path changed from"
978 echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
979 echo "in dump file before restore."
981 echo "Warning for upgrade from version *before* 7.3."
982 echo "Reading following webpage is encouraged:"
983 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
987 %groupadd -g 88 -r postgres
988 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
990 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
991 /usr/sbin/usermod -d /home/services/postgres postgres
995 /sbin/chkconfig --add postgresql
996 %service postgresql restart "postgresql server"
999 if [ "$1" = "0" ]; then
1000 %service postgresql stop
1001 /sbin/chkconfig --del postgresql
1004 %post libs -p /sbin/ldconfig
1005 %postun libs -p /sbin/ldconfig
1007 %post ecpg -p /sbin/ldconfig
1008 %postun ecpg -p /sbin/ldconfig
1011 %defattr(644,root,root,755)
1012 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
1013 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1014 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1016 %attr(755,root,root) %{_bindir}/initdb
1017 %attr(755,root,root) %{_bindir}/ipcclean
1018 %attr(755,root,root) %{_bindir}/pg_controldata
1019 %attr(755,root,root) %{_bindir}/pg_ctl
1020 %attr(755,root,root) %{_bindir}/pg_resetxlog
1021 %attr(755,root,root) %{_bindir}/postgres
1022 %attr(755,root,root) %{_bindir}/postmaster
1024 %attr(755,root,root) %{_pgmoduledir}/ascii*
1025 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
1026 %attr(755,root,root) %{_pgmoduledir}/euc*
1027 %attr(755,root,root) %{_pgmoduledir}/latin*
1028 %attr(755,root,root) %{_pgmoduledir}/utf*
1031 %dir %{_datadir}/postgresql
1032 %{_datadir}/postgresql/*.bki
1033 %{_datadir}/postgresql/*.sample
1034 %{_datadir}/postgresql/*.description
1035 %{_datadir}/postgresql/*.shdescription
1036 %{_datadir}/postgresql/*.sql
1037 %{_datadir}/postgresql/*.txt
1038 %{_datadir}/postgresql/timezone
1039 %{_datadir}/postgresql/timezonesets
1041 %attr(700,postgres,postgres) /home/services/postgres
1042 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1043 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1045 %{_mandir}/man1/initdb.1*
1046 %{_mandir}/man1/ipcclean.1*
1047 %{_mandir}/man1/pg_controldata.1*
1048 %{_mandir}/man1/pg_ctl.1*
1049 %{_mandir}/man1/pg_resetxlog.1*
1050 %{_mandir}/man1/postgres.1*
1051 %{_mandir}/man1/postmaster.1*
1054 %defattr(644,root,root,755)
1055 %doc doc/unpacked/* doc/src/FAQ howto
1056 %{_examplesdir}/%{name}-%{version}
1058 %files libs -f libpq.lang
1059 %defattr(644,root,root,755)
1060 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1061 %dir %{_pgmoduledir}
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) %{_bindir}/ecpg
1066 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1067 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1068 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1069 %{_mandir}/man1/ecpg.1*
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_libdir}/libecpg.so
1074 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1075 %attr(755,root,root) %{_libdir}/libpgtypes.so
1076 %{_includedir}/ecpg*
1078 %files devel -f pg_config.lang
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{_bindir}/pg_config
1081 %attr(755,root,root) %{_libdir}/libpq.so
1082 %dir %{_includedir}/postgresql
1083 %{_includedir}/libpq-fe.h
1084 %{_includedir}/pg_config.h
1085 %{_includedir}/pg_config_manual.h
1086 %{_includedir}/pg_config_os.h
1087 %{_includedir}/postgres_ext.h
1088 %dir %{_includedir}/postgresql/internal
1089 %{_includedir}/postgresql/internal/c.h
1090 %{_includedir}/postgresql/internal/libpq-int.h
1091 %{_includedir}/postgresql/internal/port.h
1092 %{_includedir}/postgresql/internal/postgres_fe.h
1093 %{_includedir}/postgresql/internal/pqexpbuffer.h
1094 %{_includedir}/postgresql/internal/libpq
1095 %{_includedir}/libpq
1096 %{_mandir}/man1/pg_config.1*
1098 %files backend-devel
1099 %defattr(644,root,root,755)
1100 %{_includedir}/postgresql/server
1101 %dir %{_pgmoduledir}/pgxs
1102 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1103 %{_pgmoduledir}/pgxs/src
1106 %defattr(644,root,root,755)
1107 %{_libdir}/libecpg.a
1108 %{_libdir}/libecpg_compat.a
1110 %{_libdir}/libpgtypes.a
1111 %{_libdir}/libpgport.a
1113 %files clients -f clients.lang
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_bindir}/clusterdb
1116 %attr(755,root,root) %{_bindir}/createdb
1117 %attr(755,root,root) %{_bindir}/createlang
1118 %attr(755,root,root) %{_bindir}/createuser
1119 %attr(755,root,root) %{_bindir}/dropdb
1120 %attr(755,root,root) %{_bindir}/droplang
1121 %attr(755,root,root) %{_bindir}/dropuser
1122 %attr(755,root,root) %{_bindir}/pg_dump
1123 %attr(755,root,root) %{_bindir}/pg_dumpall
1124 %attr(755,root,root) %{_bindir}/pg_restore
1125 %attr(755,root,root) %{_bindir}/psql
1126 %attr(755,root,root) %{_bindir}/reindexdb
1127 %attr(755,root,root) %{_bindir}/vacuumdb
1129 %{_mandir}/man1/clusterdb.1*
1130 %{_mandir}/man1/createdb.1*
1131 %{_mandir}/man1/createlang.1*
1132 %{_mandir}/man1/createuser.1*
1133 %{_mandir}/man1/dropdb.1*
1134 %{_mandir}/man1/droplang.1*
1135 %{_mandir}/man1/dropuser.1*
1136 %{_mandir}/man1/pg_dump.1*
1137 %{_mandir}/man1/pg_dumpall.1*
1138 %{_mandir}/man1/pg_restore.1*
1139 %{_mandir}/man1/psql.1*
1140 %{_mandir}/man1/reindexdb.1*
1141 %{_mandir}/man1/vacuumdb.1*
1142 %{_mandir}/man7/*.7*
1144 %if %{with pgcluster}
1146 %defattr(644,root,root,755)
1147 %doc INSTALL_PGCLUSTER src/pgcluster/pglb/AUTHORS src/pgcluster/pglb/pglb.conf.sample
1148 %attr(755,root,root) %{_bindir}/pglb
1151 %defattr(644,root,root,755)
1152 %doc INSTALL_PGCLUSTER src/pgcluster/pgrp/AUTHORS src/pgcluster/pgrp/pgreplicate.conf.sample
1153 %attr(755,root,root) %{_bindir}/pgreplicate
1155 %files replicate-tools
1156 %defattr(644,root,root,755)
1157 %doc src/pgcluster/tool/pgcbench.sh src/pgcluster/tool/README.jp src/pgcluster/tool/tpc-b_like.sql
1158 %attr(755,root,root) %{_bindir}/pgcbench
1161 %files module-plpgsql
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1166 %files module-plperl
1167 %defattr(644,root,root,755)
1168 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1172 %files module-plpython
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_bindir}/pltcl_*
1181 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1182 %{_pgsqldir}/unknown.pltcl
1185 %files module-dblink
1186 %defattr(644,root,root,755)
1187 %doc contrib/dblink/README.dblink
1188 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1189 %{_pgsqldir}/*dblink.sql
1192 %defattr(644,root,root,755)
1193 %doc contrib/lo/README.lo
1194 %attr(755,root,root) %{_pgmoduledir}/lo.so
1195 %{_pgsqldir}/*lo.sql
1197 %files module-pgcrypto
1198 %defattr(644,root,root,755)
1199 %doc contrib/pgcrypto/README*
1200 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1201 %{_pgsqldir}/*pgcrypto.sql
1203 %files module-tablefunc
1204 %defattr(644,root,root,755)
1205 %doc contrib/tablefunc/README.tablefunc
1206 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1207 %{_pgsqldir}/*tablefunc.sql
1209 %files module-tsearch2
1210 %defattr(644,root,root,755)
1211 %doc contrib/tsearch2/README*
1212 %attr(755,root,root) %{_pgmoduledir}/tsearch2.so
1213 %{_pgsqldir}/*tsearch2.sql
1214 %{_pgsqldir}/russian.stop.utf8
1215 %{_pgsqldir}/thesaurus
1218 %files module-pg_trgm
1219 %defattr(644,root,root,755)
1220 %doc contrib/pg_trgm/README*
1221 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1222 %{_pgsqldir}/*pg_trgm.sql
1225 %defattr(644,root,root,755)
1226 %doc contrib/xml2/README*
1227 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1228 %{_pgsqldir}/*pgxml.sql