2 # - python 3 and python 2 subpackages?
3 # - subpackage *_plperl and *_plpython contribs?
4 # - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
5 # create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
6 # - test init script (db initialization)
9 %bcond_without tests # disable testing
10 %bcond_without tcl # disable Tcl support
11 %bcond_without kerberos5 # disable kerberos5 support
12 %bcond_without perl # disable Perl support
13 %bcond_without python # disable Python support
14 %bcond_with bonjour # Bonjour/DNS_SD support
15 %bcond_without ldap # disable LDAP support
16 %bcond_without selinux # sepgsql contrib module
17 %bcond_with systemtap # systemtap/dtrace probes
18 %bcond_with absolute_dbpaths # enable absolute paths to create database
19 # (disabled by default because it is a security risk)
25 Summary: PostgreSQL Data Base Management System
26 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
27 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
28 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
29 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
30 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
31 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
32 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
33 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
34 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
39 Group: Applications/Databases
40 Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
41 # Source0-md5: 8e8770c289b3e0bdb779b5b171593479
43 Source2: pgsql-Database-HOWTO-html.tar.gz
44 # Source2-md5: 5b656ddf1db41965761f85204a14398e
45 Source3: %{name}.sysconfig
46 Patch0: %{name}-conf.patch
47 Patch1: %{name}-absolute_dbpaths.patch
48 Patch2: %{name}-ecpg-includedir.patch
50 Patch4: %{name}-disable_horology_test.patch
51 Patch5: %{name}-heimdal.patch
52 Patch6: %{name}-link.patch
53 URL: http://www.postgresql.org/
54 BuildRequires: autoconf >= 2.69
55 BuildRequires: automake
56 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
57 # not needed for releases... but fixes something in snapshot
58 BuildRequires: bison >= 1.875
59 BuildRequires: docbook-dtd42-sgml
60 BuildRequires: docbook-dtd42-xml
61 BuildRequires: docbook-style-xsl
62 BuildRequires: flex >= 2.5.31
63 BuildRequires: gettext-tools
64 BuildRequires: gnome-doc-tools
65 %{?with_kerberos5:BuildRequires: heimdal-devel}
66 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
67 BuildRequires: libtool
68 BuildRequires: libxml2-devel >= 1:2.6.23
69 BuildRequires: libxslt-devel
70 BuildRequires: libxslt-progs
71 BuildRequires: ncurses-devel >= 5.0
72 %{?with_ldap:BuildRequires: openldap-devel}
73 BuildRequires: openssl-devel >= 0.9.7d
74 BuildRequires: ossp-uuid-devel
75 BuildRequires: pam-devel
76 %{?with_perl:BuildRequires: perl-devel}
78 BuildRequires: python >= 1:2.3
79 BuildRequires: python-devel >= 1:2.3
80 BuildRequires: python-modules >= 1:2.3
82 BuildRequires: readline-devel >= 4.2
83 BuildRequires: rpmbuild(macros) >= 1.671
84 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
85 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
86 %{?with_tests:BuildRequires: tzdata}
87 BuildRequires: zlib-devel
88 Requires(post,preun): /sbin/chkconfig
89 Requires(pre): /bin/id
90 Requires(pre): /usr/bin/getgid
91 Requires(pre): /usr/sbin/groupadd
92 Requires(pre): /usr/sbin/useradd
93 Requires(triggerpostun): /bin/id
94 Requires(triggerpostun): /usr/sbin/usermod
95 Requires: %{name}-clients >= %{version}-%{release}
96 Requires: %{name}-libs = %{version}-%{release}
97 Requires: rc-scripts >= 0.4.3.0
99 Obsoletes: postgresql-module-plpgsql
100 Obsoletes: postgresql-module-tsearch2
101 Obsoletes: postgresql-server
102 Obsoletes: postgresql-test
103 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
105 %define _pgmoduledir %{_libdir}/postgresql
106 %define _pgsqldir %{_datadir}/postgresql/extension
108 %define _ulibdir /usr/lib
111 # spi, test_decoding, worker_spi - examples/tests
112 # tsearch2 - old module for compatibility only
113 %define contrib_modules adminpack auth_delay auto_explain bloom btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore %{?with_perl:hstore_plperl} %{?with_python:hstore_plpython} intagg intarray isn lo ltree %{?with_python:ltree_plpython} oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pg_visibility pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn tsm_system_rows tsm_system_time unaccent uuid-ossp vacuumlo xml2
116 PostgreSQL Data Base Management System (formerly known as Postgres,
119 PostgreSQL is an enhancement of the POSTGRES database management
120 system, a next-generation DBMS research prototype. While PostgreSQL
121 retains the powerful data model and rich data types of POSTGRES, it
122 replaces the PostQuel query language with an extended subset of SQL.
123 PostgreSQL is free and the complete source is available.
125 PostgreSQL development is being performed by a team of Internet
126 developers who all subscribe to the PostgreSQL development mailing
127 list. The current coordinator is Marc G. Fournier
128 (scrappy@postgreSQL.org). This team is now responsible for all current
129 and future development of PostgreSQL.
131 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
132 others have contributed to the porting, testing, debugging and
133 enhancement of the code. The original Postgres code, from which
134 PostgreSQL is derived, was the effort of many graduate students,
135 undergraduate students, and staff programmers working under the
136 direction of Professor Michael Stonebraker at the University of
137 California, Berkeley.
139 The original name of the software at Berkeley was Postgres. When SQL
140 functionality was added in 1995, its name was changed to Postgres95.
141 The name was changed at the end of 1996 to PostgreSQL.
143 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
144 and most flavours of Unix.
146 %description -l de.UTF-8
147 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
150 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
151 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
152 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
153 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
154 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
157 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
158 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
159 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
160 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
162 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
163 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
164 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
165 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
166 Studenten und Programmierern unter der Leitung von Professor Michael
167 Stonebraker an der University of California, Berkeley.
169 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
170 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
171 entschied man sich für PostgreSQL.
173 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
174 und den meisten Unix-Systemen.
176 %description -l es.UTF-8
177 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
178 como Postgres, y después como Postgres95). PostgreSQL es una
179 continuación mejorada del Sistema Administrador de Banco de Datos
180 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
181 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
182 los varios tipos de datos del POSTGRES, substituye el lenguaje de
183 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
184 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
185 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
186 en la lista de desarrollo del PostgreSQL. El coordinador actual es
187 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
188 responsable por el desarrollo actual y futuro del PostgreSQL.
190 %description -l fr.UTF-8
191 Système de gestion de bases de données PostgreSQL (D'abord nommé
192 Postgres, puis Postgres95).
194 PostgreSQL est une amélioration du système de gestion de bases de
195 données POSTGRES, un prototype de recherche de la génération suivant
196 DBMS. Tout en conservant le puissant modèle de donnée de et les types
197 de donée riches de Postgres, il remplace le langage de requêtes de
198 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
199 libre, et ses sources sont disponibles.
201 Le développement de PostgreSQL est actuellement réalisé via internet
202 parune équipe de développeurs inscrits sur la mailing-list de
203 développement de PostgreSQL. Le coordinateur actuel est Marc G
204 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
205 développemen actuel et à venir de PostgreSQL.
207 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
208 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
209 l'amélioration du code. Le code original de Postgres, duquel
210 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
211 moins haut niveau, et de programmeurs travaillant sous la direction du
212 professeur Michael Stonebraker à l'université de Berkeley Californie.
214 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
215 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
216 rebaptisé PostgreSQL en 1996.
218 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
219 et la plupart des Unix.
221 %description -l pl.UTF-8
222 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
223 Postgres, następnie jako Postgres95).
225 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
226 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
227 model danych oraz bogaty zbiór różnych typów danych, to jednak język
228 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
229 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
232 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
233 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
234 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
235 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
237 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
238 innych pomagało przenosząc na różne platformy, testując, analizując i
239 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
240 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
241 zespołu programistów, którzy pracowali pod kierunkiem profesora
242 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
244 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
245 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
246 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
249 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
250 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
252 %description -l pt_BR.UTF-8
253 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
254 Postgres, e depois como Postgres95).
256 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
257 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
258 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
259 dados e os vários tipos de dados do POSTGRES, ele substitui a
260 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
261 PostgreSQL é livre e tem os fontes disponíveis.
263 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
264 desenvolvedores da Internet, todos subscritores da lista de
265 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
266 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
267 desenvolvimento atual e futuro do PostgreSQL.
269 %description -l ru.UTF-8
270 PostgreSQL - система управления базами данных (прежде известная как
271 Postgres, потом как Postgres95).
273 PostgreSQL - это расширенная версия системы управления базами данных
274 POSTGRES, исследовательского прототипа DBMS следующей генерации.
275 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
276 она заменяет язык запросов PostQuel расширенным набором SQL.
277 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
280 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
281 на список рассылки, посвященный разработке PostgreSQL. В настоящее
282 время координатором является Marc G. Fournier
283 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
284 все текущие и будущие разработки PostgreSQL.
286 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
287 свой вклад в портирование, тестирование, отладку и улучшение кода.
288 Оригинальный код Postgres, от которого произошел PostgreSQL, был
289 создан усилиями студентов, аспирантов и персонала, работающего под
290 руководством профессора Michael Stonebraker в University of
291 California, Berkeley.
293 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
294 была добавлена функциональность SQL, название изменилось на
295 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
298 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
299 и большинстве других разновидностей Unix.
301 %description -l tr.UTF-8
302 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
303 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
304 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
305 sorgulama dilini koyar.
307 %description -l uk.UTF-8
308 PostgreSQL - система керування базами даних (раніш відома як Postgres,
309 потім як Postgres95).
311 PostgreSQL - це розширена версія системи керування базами даних
312 POSTGRES, дослідницького прототипу DBMS наступної генерації.
313 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
314 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
315 безкоштовна та поставляється у вигляді повного комплекту вихідних
318 PostgreSQL розробляється командою Internet-програмістів, учасників
319 списку розсилки, присвяченого розробці PostgreSQL. Наразі
320 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
321 відповідає за всі поточні та майбутні розробки PostgreSQL.
323 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
324 внесли свій внесок в портування, тестування, відладку та покращення
325 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
326 створений зусиллями студентів, аспірантів та персоналу, який працював
327 під керівництвом професора Michael Stonebraker в University of
328 California, Berkeley.
330 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
331 було додано функціональність SQL, назва змінилася на Postgres95. В
332 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
334 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
335 та більшості інших різновидів Unix.
338 Summary: PostgreSQL development header files and libraries
339 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
340 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
341 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
342 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
343 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
344 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
345 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
346 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
347 Group: Development/Libraries
348 Requires: %{name}-libs = %{version}-%{release}
351 This package contains header files and libraries required to compile
352 applications that are talking directly to the PostgreSQL backend
355 %description devel -l de.UTF-8
356 Dieses Paket enthält die Header-Dateien und Libraries, die zum
357 Kompilieren von Applikationen notwendig sind, die direkt mit dem
358 PostgreSQL-Backend-Server kommunizieren.
360 %description devel -l es.UTF-8
361 Este paquete contiene archivos de inclusión y bibliotecas requeridas
362 para compilación de aplicativos que se comunican directamente con el
363 servidor backend PostgreSQL.
365 %description devel -l fr.UTF-8
366 Ce package contient les fichiers d'en-tête et les bibliothéques
367 nécessaires pour compiler des applications ayant des échanges directs
368 avec le serveur du backend PostgreSQL.
370 %description devel -l pl.UTF-8
371 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
372 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
374 %description devel -l pt_BR.UTF-8
375 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
376 compilação de aplicativos que se comunicam diretamente com o servidor
379 %description devel -l ru.UTF-8
380 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
381 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
383 %description devel -l tr.UTF-8
384 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
385 gereken başlık dosyalarını ve kitaplıkları içerir.
387 %description devel -l uk.UTF-8
388 Цей пакет містить хедери та бібліотеки, необхідні для розробки
389 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
391 %package backend-devel
392 Summary: PostgreSQL backend development header files
393 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
394 Group: Development/Libraries
395 Requires: %{name}-devel = %{version}-%{release}
396 Requires: %{name}-libs = %{version}-%{release}
398 %description backend-devel
399 This package contains header files required to compile functions that
400 could be loaded directly by backend
402 %description backend-devel -l pl.UTF-8
403 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
404 bezposrednio ladowane przez beckend serwera PostgreSQL.
407 Summary: Clients needed to access a PostgreSQL server
408 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
409 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
410 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
411 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
412 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
413 Group: Applications/Databases
414 Requires: %{name}-libs = %{version}-%{release}
417 This package includes only the clients needed to access an PostgreSQL
418 server. The server is included in the main package. If all you need is
419 to connect to another PostgreSQL server, the this is the only package
420 you need to install. Clients include several command-line utilities
421 you can use to manage your databases on a remote PostgreSQL server.
423 %description clients -l es.UTF-8
424 Este paquete incluye solamente los clientes necesarios para acceder un
425 servidor PostgreSQL. El servidor está en el paquete principal.
427 %description clients -l pl.UTF-8
428 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
429 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
430 poleceń. Serwer znajduje się w głównym pakiecie.
432 %description clients -l pt_BR.UTF-8
433 Este pacote inclui somente os clientes necessários para acessar um
434 servidor PostgreSQL. O servidor está no pacote principal.
436 %description clients -l ru.UTF-8
437 Этот пакет включает только клиентские программы и библиотеки,
438 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
439 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
440 единственный пакет, который вам надо установить.
442 Теперь пакеты с библиотеками для разных языков программирования (C,
443 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
446 %description clients -l uk.UTF-8
447 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
448 для доступу до сервера PostgreSQL. Сервер міститься в головному
449 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
450 єдиний пакет, який вам треба встановити.
452 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
453 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
456 Summary: Documentation for PostgreSQL
457 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
458 Group: Applications/Databases
461 This package includes documentation and HOWTO for programmer, admin
462 etc., in HTML format.
464 %description doc -l pl.UTF-8
465 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
466 administratorów w formacie HTML.
469 Summary: PostgreSQL libraries
470 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
471 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
472 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
473 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
477 PostgreSQL shared libraries.
479 %description libs -l es.UTF-8
480 Este paquete contiene la biblioteca compartida para acceso al
483 %description libs -l pl.UTF-8
484 Biblioteki dzielone programu PostgreSQL.
486 %description libs -l pt_BR.UTF-8
487 Este pacote contém a biblioteca compartilhada para acesso ao
491 Summary: Embedded SQL in C interface
492 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
494 Requires: %{name}-libs = %{version}-%{release}
497 Embedded SQL in C interface.
499 %description ecpg -l pl.UTF-8
500 Interfejs wbudowanego SQL-a w język C.
503 Summary: Embedded SQL in C interface files
504 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
505 Group: Development/Libraries
506 Requires: %{name}-devel = %{version}-%{release}
507 Requires: %{name}-ecpg = %{version}-%{release}
509 %description ecpg-devel
510 Embedded SQL in C interface files.
512 %description ecpg-devel -l pl.UTF-8
513 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
516 Summary: PostgreSQL static libraries
517 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
518 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
519 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
520 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
521 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
522 Group: Development/Libraries
523 Requires: %{name}-devel = %{version}-%{release}
526 PostgreSQL static libraries.
528 %description static -l es.UTF-8
529 Este paquete contiene bibliotecas estaticas requerida para compilación
530 de aplicativos que se comunican directamente con el servidor backend
533 %description static -l pl.UTF-8
534 Biblioteki statyczne programu PostgreSQL.
536 %description static -l pt_BR.UTF-8
537 Este pacote contém as bibliotecas estáticas requeridas para compilação
538 de aplicativos que se comunicam diretamente com o servidor backend
541 %description static -l ru.UTF-8
542 Это отдельный пакет со статическими библиотеками, которые больше не
543 входят в %{name}-devel.
545 %description static -l uk.UTF-8
546 Це окремий пакет зі статичними бібліотеками, які більш не входять в
549 %package module-plperl
550 Summary: PL/perl - PostgreSQL procedural language
551 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
552 Group: Applications/Databases
553 Requires: %{name} = %{version}-%{release}
555 %description module-plperl
556 From PostgreSQL documentation:
558 Postgres supports the definition of procedural languages. In the case
559 of a function or trigger procedure defined in a procedural language,
560 the database has no built-in knowledge about how to interpret the
561 function's source text. Instead, the task is passed to a handler that
562 knows the details of the language. The handler itself is a special
563 programming language function compiled into a shared object and loaded
566 To enable PL/Perl procedural language for your database you have to
567 run createlang command.
569 %description module-plperl -l pl.UTF-8
570 Z dokumentacji PostgreSQL:
572 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
573 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
574 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
575 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
576 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
577 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
580 Za pomocą polecenia createlang można dodać obsługę języka
581 proceduralnego PL/Perl dla swojej bazy danych.
583 %package module-plpython
584 Summary: PL/Python - PostgreSQL procedural language
585 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
586 Group: Applications/Databases
587 Requires: %{name} = %{version}-%{release}
588 %pyrequires_eq python
590 %description module-plpython
591 From PostgreSQL documentation:
593 Postgres supports the definition of procedural languages. In the case
594 of a function or trigger procedure defined in a procedural language,
595 the database has no built-in knowledge about how to interpret the
596 function's source text. Instead, the task is passed to a handler that
597 knows the details of the language. The handler itself is a special
598 programming language function compiled into a shared object and loaded
601 To enable PL/Python procedural language for your database you have to
602 run createlang command.
604 %description module-plpython -l pl.UTF-8
605 Z dokumentacji PostgreSQL:
607 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
608 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
609 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
610 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
611 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
612 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
615 Za pomocą polecenia createlang można dodać obsługę języka
616 proceduralnego PL/Python dla swojej bazy danych.
618 %package module-pltcl
619 Summary: PL/Tcl - PostgreSQL procedural language
620 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
621 Group: Applications/Databases
622 Requires: %{name} = %{version}-%{release}
625 %description module-pltcl
626 From PostgreSQL documentation:
628 Postgres supports the definition of procedural languages. In the case
629 of a function or trigger procedure defined in a procedural language,
630 the database has no built-in knowledge about how to interpret the
631 function's source text. Instead, the task is passed to a handler that
632 knows the details of the language. The handler itself is a special
633 programming language function compiled into a shared object and loaded
636 To enable PL/Tcl procedural language for your database you have to run
639 %description module-pltcl -l pl.UTF-8
640 Z dokumentacji PostgreSQL:
642 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
643 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
644 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
645 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
646 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
647 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
650 Za pomocą polecenia createlang można dodać obsługę języka
651 proceduralnego PL/Tcl dla swojej bazy danych.
653 %package module-dblink
654 Summary: dblink module for PostgreSQL
655 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
656 Group: Applications/Databases
657 Requires: %{name} = %{version}-%{release}
659 %description module-dblink
660 dblink module for PostgreSQL provides functions returning results from
663 %description module-dblink -l pl.UTF-8
664 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
668 Summary: Large Objects module for PostgreSQL
669 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
670 Group: Applications/Databases
671 Requires: %{name} = %{version}-%{release}
673 %description module-lo
674 Large Objects module for PostgreSQL adds a new data type 'lo', some
675 support functions and a trigger which handles the orphaning problem.
677 %description module-lo -l pl.UTF-8
678 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
679 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
680 osieroconych obiektów.
682 %package module-pg_trgm
683 Summary: Trigram matching for PostgreSQL
684 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
685 Group: Applications/Databases
686 Requires: %{name} = %{version}-%{release}
688 %description module-pg_trgm
689 This module provides functions and index classes for determining the
690 similarity of text based on trigram matching.
692 %description module-pg_trgm -l pl.UTF-8
693 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
694 w oparciu o dopasowywanie trigramowe (trigram matching).
696 %package module-pgcrypto
697 Summary: Cryptographic functions for PostgreSQL
698 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
699 Group: Applications/Databases
700 Requires: %{name} = %{version}-%{release}
702 %description module-pgcrypto
703 Cryptographic functions for PostgreSQL.
705 %description module-pgcrypto -l pl.UTF-8
706 Funkcje kryptograficzne dla PostgreSQL.
708 %package module-sepgsql
709 Summary: PostgreSQL external security provider using SELinux
710 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
711 Group: Applications/Databases
712 Requires: %{name} = %{version}-%{release}
713 Requires: libselinux >= 2.1.10
715 %description module-sepgsql
716 PostgreSQL external security provider using SELinux.
718 %description module-sepgsql -l pl.UTF-8
719 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
721 %package module-tablefunc
722 Summary: crosstab functions for PostgreSQL
723 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
724 Group: Applications/Databases
725 Requires: %{name} = %{version}-%{release}
727 %description module-tablefunc
728 crosstab functions for PostgreSQL.
730 %description module-tablefunc -l pl.UTF-8
731 Funkcje crosstab dla PostgreSQL-a.
734 Summary: XML-handling functions for PostgreSQL
735 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
736 Group: Applications/Databases
737 Requires: %{name} = %{version}-%{release}
738 Requires: libxml2 >= 1:2.6.23
740 %description module-xml2
741 Module with XML functions provides both XPath querying and XSLT
742 functionality. There is also a new table function which allows the
743 straightforward return of multiple XML results.
745 %description module-xml2 -l pl.UTF-8
746 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
747 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
748 bezpośrednie zwracanie wielu wyników XML.
751 Summary: Miscellaneous PostgreSQL contrib modules
752 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
753 Group: Applications/Databases
754 Requires: %{name} = %{version}-%{release}
757 Miscellaneous PostgreSQL contrib modules.
759 %description contrib -l pl.UTF-8
760 Różne moduły dołączone do PostgreSQL-a.
765 %{?with_absolute_dbpaths:%patch1 -p1}
772 # force rebuild of bison/flex files
773 find src -name \*.l -o -name \*.y | xargs touch
776 #find contrib -type d -name CVS -exec rm -rf {} \;
779 %{__aclocal} -I config
783 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
786 %{?with_systemtap:--enable-dtrace} \
787 --enable-integer-datetimes \
789 --enable-thread-safety \
790 %{?with_bonjour:--with-bonjour} \
791 %{?with_kerberos5:--with-gssapi} \
792 %{?with_ldap:--with-ldap} \
797 %{?with_perl:--with-perl} \
798 %{?with_python:--with-python} \
799 %{?with_selinux:--with-selinux} \
800 --with-system-tzdata=%{_datadir}/zoneinfo \
802 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
807 for mod in %{contrib_modules}; do \
808 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
809 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
810 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
811 %{__make} -C contrib/$mod CFLAGS="$flags"
814 %{__make} -C src/tutorial \
817 %ifnarch sparc sparcv9 sparc64 alpha
818 %{?with_tests:%{__make} -j1 check}
822 rm -rf $RPM_BUILD_ROOT
823 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
824 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
825 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
826 $RPM_BUILD_ROOT%{_mandir} \
827 $RPM_BUILD_ROOT/home/services/postgres
829 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
832 DESTDIR=$RPM_BUILD_ROOT
833 %{__make} -C doc/src/sgml install-man \
834 DESTDIR=$RPM_BUILD_ROOT
837 %{__make} install -C src/pl/plperl \
838 DESTDIR=$RPM_BUILD_ROOT
841 for mod in %{contrib_modules}; do \
842 %{__make} -C contrib/$mod install \
843 DESTDIR=$RPM_BUILD_ROOT
846 touch $RPM_BUILD_ROOT/var/log/pgsql
848 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
849 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
852 tar zxf %{SOURCE2} -C howto
855 %py_comp $RPM_BUILD_ROOT%{py_libdir}
856 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
860 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
861 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
862 pg_archivecleanup pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_waldump; do
863 %find_lang $f-%{mver}
867 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
869 merge_lang pgscripts postgres plpgsql \
870 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
871 merge_lang psql initdb \
872 pg_archivecleanup pg_ctl pg_dump > clients.lang
873 merge_lang ecpg ecpglib6 > ecpg.lang
876 %find_lang pltcl-%{mver}
880 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
883 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
885 # package it...? nah, why bother.
886 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
889 rm -rf $RPM_BUILD_ROOT
893 if [ -f /etc/sysconfig/postgresql ]; then
894 . /etc/sysconfig/postgresql
895 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
896 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
900 for pgdir in $PG_DB_CLUSTERS; do
901 if [ -f $pgdir/PG_VERSION ]; then
902 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
903 echo "Found database(s) in older, incompatible format in cluster $pgdir."
908 if [ "$foundold" = "1" ]; then
910 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
911 echo "and clean (or rename) those directories; then upgrade postgresql and"
912 echo "restore all data (using pg_restore or psql)."
913 echo "Remember to stop the daemon before upgrading!"
915 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
916 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
918 echo "Warning for upgrade from version *before* 7.2."
919 echo "Please note, that postgresql module path changed from"
920 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
921 echo "in dump file before restore."
923 echo "Warning for upgrade from version *before* 7.3."
924 echo "Reading following webpage is encouraged:"
925 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
928 %groupadd -g 88 -r postgres
929 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
931 %triggerpostun -- %{name} < 7.2-2
932 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
933 /usr/sbin/usermod -d /home/services/postgres postgres
937 /sbin/chkconfig --add postgresql
938 %service postgresql restart "postgresql server"
941 if [ "$1" = "0" ]; then
942 %service postgresql stop
943 /sbin/chkconfig --del postgresql
946 %post libs -p /sbin/ldconfig
947 %postun libs -p /sbin/ldconfig
949 %post ecpg -p /sbin/ldconfig
950 %postun ecpg -p /sbin/ldconfig
953 %defattr(644,root,root,755)
954 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
955 %attr(754,root,root) /etc/rc.d/init.d/postgresql
956 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
958 %attr(755,root,root) %{_bindir}/initdb
959 %attr(755,root,root) %{_bindir}/pg_basebackup
960 %attr(755,root,root) %{_bindir}/pg_controldata
961 %attr(755,root,root) %{_bindir}/pg_ctl
962 %attr(755,root,root) %{_bindir}/pg_resetwal
963 %attr(755,root,root) %{_bindir}/pg_receivewal
964 %attr(755,root,root) %{_bindir}/pg_recvlogical
965 %attr(755,root,root) %{_bindir}/pg_rewind
966 %attr(755,root,root) %{_bindir}/pg_test_fsync
967 %attr(755,root,root) %{_bindir}/pg_test_timing
968 %attr(755,root,root) %{_bindir}/pg_upgrade
969 %attr(755,root,root) %{_bindir}/pg_waldump
970 %attr(755,root,root) %{_bindir}/pgbench
971 %attr(755,root,root) %{_bindir}/postgres
972 %attr(755,root,root) %{_bindir}/postmaster
974 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
975 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
976 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
977 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
978 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
979 %attr(755,root,root) %{_pgmoduledir}/euc*.so
980 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
981 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
982 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
983 %attr(755,root,root) %{_pgmoduledir}/pgoutput.so
984 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
985 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
988 %{_pgsqldir}/plpgsql--*.sql
989 %{_pgsqldir}/plpgsql.control
991 %dir %{_datadir}/postgresql
992 %{_datadir}/postgresql/*.bki
993 %{_datadir}/postgresql/*.sample
994 %{_datadir}/postgresql/*.description
995 %{_datadir}/postgresql/*.shdescription
996 %{_datadir}/postgresql/*.sql
997 %{_datadir}/postgresql/*.txt
998 %{_datadir}/postgresql/timezonesets
999 %{_datadir}/postgresql/tsearch_data
1001 %dir %{_datadir}/postgresql/contrib
1003 %attr(700,postgres,postgres) /home/services/postgres
1004 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1005 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1007 %{_mandir}/man1/initdb.1*
1008 %{_mandir}/man1/pg_basebackup.1*
1009 %{_mandir}/man1/pg_controldata.1*
1010 %{_mandir}/man1/pg_ctl.1*
1011 %{_mandir}/man1/pg_resetwal.1*
1012 %{_mandir}/man1/pg_receivewal.1*
1013 %{_mandir}/man1/pg_recvlogical.1*
1014 %{_mandir}/man1/pg_rewind.1*
1015 %{_mandir}/man1/pg_waldump.1*
1016 %{_mandir}/man1/pg_test_fsync.1*
1017 %{_mandir}/man1/pg_test_timing.1*
1018 %{_mandir}/man1/pg_upgrade.1*
1019 %{_mandir}/man1/pgbench.1*
1020 %{_mandir}/man1/postgres.1*
1021 %{_mandir}/man1/postmaster.1*
1024 %defattr(644,root,root,755)
1025 %doc doc/src/sgml/html howto
1026 %{_examplesdir}/%{name}-%{version}
1028 %files libs -f libpq5-%{mver}.lang
1029 %defattr(644,root,root,755)
1030 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1031 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1032 %dir %{_pgmoduledir}
1034 %files ecpg -f ecpg.lang
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_bindir}/ecpg
1037 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1038 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1039 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1040 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1041 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1042 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1043 %{_mandir}/man1/ecpg.1*
1046 %defattr(644,root,root,755)
1047 %attr(755,root,root) %{_libdir}/libecpg.so
1048 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1049 %attr(755,root,root) %{_libdir}/libpgtypes.so
1050 %{_includedir}/ecpg*
1051 %{_pkgconfigdir}/libecpg.pc
1052 %{_pkgconfigdir}/libecpg_compat.pc
1053 %{_pkgconfigdir}/libpgtypes.pc
1055 %files devel -f pg_config-%{mver}.lang
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_bindir}/pg_config
1058 %attr(755,root,root) %{_libdir}/libpq.so
1059 %dir %{_includedir}/postgresql
1060 %{_includedir}/libpq-events.h
1061 %{_includedir}/libpq-fe.h
1062 %{_includedir}/pg_config.h
1063 %{_includedir}/pg_config_ext.h
1064 %{_includedir}/pg_config_manual.h
1065 %{_includedir}/pg_config_os.h
1066 %{_includedir}/postgres_ext.h
1067 %dir %{_includedir}/postgresql/internal
1068 %{_includedir}/postgresql/internal/c.h
1069 %{_includedir}/postgresql/internal/libpq-int.h
1070 %{_includedir}/postgresql/internal/port.h
1071 %{_includedir}/postgresql/internal/postgres_fe.h
1072 %{_includedir}/postgresql/internal/pqexpbuffer.h
1073 %{_includedir}/postgresql/internal/libpq
1074 %{_includedir}/libpq
1075 %{_pkgconfigdir}/libpq.pc
1076 %{_mandir}/man1/pg_config.1*
1078 %files backend-devel
1079 %defattr(644,root,root,755)
1080 %{_includedir}/postgresql/server
1081 %dir %{_pgmoduledir}/pgxs
1082 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1083 %{_pgmoduledir}/pgxs/src
1084 %{_mandir}/man3/SPI_*.3*
1087 %defattr(644,root,root,755)
1088 %{_libdir}/libecpg.a
1089 %{_libdir}/libecpg_compat.a
1091 %{_libdir}/libpgcommon.a
1092 %{_libdir}/libpgfeutils.a
1093 %{_libdir}/libpgtypes.a
1094 %{_libdir}/libpgport.a
1096 %files clients -f clients.lang
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_bindir}/clusterdb
1099 %attr(755,root,root) %{_bindir}/createdb
1100 %attr(755,root,root) %{_bindir}/createuser
1101 %attr(755,root,root) %{_bindir}/dropdb
1102 %attr(755,root,root) %{_bindir}/dropuser
1103 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1104 %attr(755,root,root) %{_bindir}/pg_dump
1105 %attr(755,root,root) %{_bindir}/pg_dumpall
1106 %attr(755,root,root) %{_bindir}/pg_isready
1107 %attr(755,root,root) %{_bindir}/pg_restore
1108 %attr(755,root,root) %{_bindir}/psql
1109 %attr(755,root,root) %{_bindir}/reindexdb
1110 %attr(755,root,root) %{_bindir}/vacuumdb
1112 %{_mandir}/man1/clusterdb.1*
1113 %{_mandir}/man1/createdb.1*
1114 %{_mandir}/man1/createuser.1*
1115 %{_mandir}/man1/dropdb.1*
1116 %{_mandir}/man1/dropuser.1*
1117 %{_mandir}/man1/pg_archivecleanup.1*
1118 %{_mandir}/man1/pg_dump.1*
1119 %{_mandir}/man1/pg_dumpall.1*
1120 %{_mandir}/man1/pg_isready.1*
1121 %{_mandir}/man1/pg_restore.1*
1122 %{_mandir}/man1/psql.1*
1123 %{_mandir}/man1/reindexdb.1*
1124 %{_mandir}/man1/vacuumdb.1*
1125 %{_mandir}/man7/*.7*
1128 %files module-plperl -f plperl-%{mver}.lang
1129 %defattr(644,root,root,755)
1130 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1131 %{_pgsqldir}/plperl--*.sql
1132 %{_pgsqldir}/plperl.control
1133 %{_pgsqldir}/plperlu--*.sql
1134 %{_pgsqldir}/plperlu.control
1138 %files module-plpython -f plpython-%{mver}.lang
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1141 %{_pgsqldir}/plpython*--*.sql
1142 %{_pgsqldir}/plpython*.control
1146 %files module-pltcl -f pltcl-%{mver}.lang
1147 %defattr(644,root,root,755)
1148 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1149 %{_pgsqldir}/pltcl*--*.sql
1150 %{_pgsqldir}/pltcl*.control
1153 %files module-dblink
1154 %defattr(644,root,root,755)
1155 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1156 %{_pgsqldir}/dblink--*.sql
1157 %{_pgsqldir}/dblink.control
1158 %{_mandir}/man3/dblink*.3*
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_pgmoduledir}/lo.so
1163 %{_pgsqldir}/lo--*.sql
1164 %{_pgsqldir}/lo.control
1166 %files module-pg_trgm
1167 %defattr(644,root,root,755)
1168 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1169 %{_pgsqldir}/pg_trgm--*.sql
1170 %{_pgsqldir}/pg_trgm.control
1172 %files module-pgcrypto
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1175 %{_pgsqldir}/pgcrypto--*.sql
1176 %{_pgsqldir}/pgcrypto.control
1179 %files module-sepgsql
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1182 %{_pgsqldir}/sepgsql.sql
1185 %files module-tablefunc
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1188 %{_pgsqldir}/*tablefunc--*.sql
1189 %{_pgsqldir}/*tablefunc.control
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1194 %{_pgsqldir}/xml2--*.sql
1195 %{_pgsqldir}/xml2.control
1198 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_bindir}/oid2name
1201 %attr(755,root,root) %{_bindir}/pg_standby
1202 %attr(755,root,root) %{_bindir}/vacuumlo
1203 %attr(755,root,root) %{_pgmoduledir}/_int.so
1204 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1205 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1206 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1207 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1208 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1209 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1210 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1211 %attr(755,root,root) %{_pgmoduledir}/citext.so
1212 %attr(755,root,root) %{_pgmoduledir}/cube.so
1213 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1214 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1215 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1216 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1217 %attr(755,root,root) %{_pgmoduledir}/isn.so
1218 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1219 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1220 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1221 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1222 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1223 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1224 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1225 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1226 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1227 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1228 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1229 %attr(755,root,root) %{_pgmoduledir}/seg.so
1230 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1231 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1232 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1233 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1234 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1235 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1236 %{_pgsqldir}/adminpack--*.sql
1237 %{_pgsqldir}/adminpack.control
1238 %{_pgsqldir}/bloom--*.sql
1239 %{_pgsqldir}/bloom.control
1240 %{_pgsqldir}/btree_gin--*.sql
1241 %{_pgsqldir}/btree_gin.control
1242 %{_pgsqldir}/btree_gist--*.sql
1243 %{_pgsqldir}/btree_gist.control
1244 %{_pgsqldir}/chkpass--*.sql
1245 %{_pgsqldir}/chkpass.control
1246 %{_pgsqldir}/citext--*.sql
1247 %{_pgsqldir}/citext.control
1248 %{_pgsqldir}/cube--*.sql
1249 %{_pgsqldir}/cube.control
1250 %{_pgsqldir}/dict_int--*.sql
1251 %{_pgsqldir}/dict_int.control
1252 %{_pgsqldir}/dict_xsyn--*.sql
1253 %{_pgsqldir}/dict_xsyn.control
1254 %{_pgsqldir}/earthdistance--*.sql
1255 %{_pgsqldir}/earthdistance.control
1256 %{_pgsqldir}/file_fdw--*.sql
1257 %{_pgsqldir}/file_fdw.control
1258 %{_pgsqldir}/fuzzystrmatch--*.sql
1259 %{_pgsqldir}/fuzzystrmatch.control
1260 %{_pgsqldir}/hstore--*.sql
1261 %{_pgsqldir}/hstore.control
1262 %{_pgsqldir}/intarray--*.sql
1263 %{_pgsqldir}/intarray.control
1264 %{_pgsqldir}/intagg--*.sql
1265 %{_pgsqldir}/intagg.control
1266 %{_pgsqldir}/isn--*.sql
1267 %{_pgsqldir}/isn.control
1268 %{_pgsqldir}/ltree--*.sql
1269 %{_pgsqldir}/ltree.control
1270 %{_pgsqldir}/pageinspect--*.sql
1271 %{_pgsqldir}/pageinspect.control
1272 %{_pgsqldir}/pg_buffercache--*.sql
1273 %{_pgsqldir}/pg_buffercache.control
1274 %{_pgsqldir}/pg_freespacemap--*.sql
1275 %{_pgsqldir}/pg_freespacemap.control
1276 %{_pgsqldir}/pg_prewarm--*.sql
1277 %{_pgsqldir}/pg_prewarm.control
1278 %{_pgsqldir}/pg_stat_statements--*.sql
1279 %{_pgsqldir}/pg_stat_statements.control
1280 %{_pgsqldir}/pg_visibility--*.sql
1281 %{_pgsqldir}/pg_visibility.control
1282 %{_pgsqldir}/pgrowlocks--*.sql
1283 %{_pgsqldir}/pgrowlocks.control
1284 %{_pgsqldir}/pgstattuple--*.sql
1285 %{_pgsqldir}/pgstattuple.control
1286 %{_pgsqldir}/postgres_fdw--*.sql
1287 %{_pgsqldir}/postgres_fdw.control
1288 %{_pgsqldir}/seg--*.sql
1289 %{_pgsqldir}/seg.control
1290 %{_pgsqldir}/sslinfo--*.sql
1291 %{_pgsqldir}/sslinfo.control
1292 %{_pgsqldir}/tcn--*.sql
1293 %{_pgsqldir}/tcn.control
1294 %{_pgsqldir}/tsm_system_rows--*.sql
1295 %{_pgsqldir}/tsm_system_rows.control
1296 %{_pgsqldir}/tsm_system_time--*.sql
1297 %{_pgsqldir}/tsm_system_time.control
1298 %{_pgsqldir}/unaccent--*.sql
1299 %{_pgsqldir}/unaccent.control
1300 %{_pgsqldir}/uuid-ossp--*.sql
1301 %{_pgsqldir}/uuid-ossp.control
1303 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1304 %{_pgsqldir}/hstore_plperl--*.sql
1305 %{_pgsqldir}/hstore_plperl.control
1306 %{_pgsqldir}/hstore_plperlu--*.sql
1307 %{_pgsqldir}/hstore_plperlu.control
1310 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1311 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1312 %{_pgsqldir}/hstore_plpythonu--*.sql
1313 %{_pgsqldir}/hstore_plpythonu.control
1314 %{_pgsqldir}/hstore_plpython2u--*.sql
1315 %{_pgsqldir}/hstore_plpython2u.control
1316 %{_pgsqldir}/hstore_plpython3u--*.sql
1317 %{_pgsqldir}/hstore_plpython3u.control
1318 %{_pgsqldir}/ltree_plpythonu--*.sql
1319 %{_pgsqldir}/ltree_plpythonu.control
1320 %{_pgsqldir}/ltree_plpython2u--*.sql
1321 %{_pgsqldir}/ltree_plpython2u.control
1322 %{_pgsqldir}/ltree_plpython3u--*.sql
1323 %{_pgsqldir}/ltree_plpython3u.control
1325 %{_mandir}/man1/oid2name.1*
1326 %{_mandir}/man1/pg_standby.1*
1327 %{_mandir}/man1/vacuumlo.1*