2 # - subpackage *_plperl and *_plpython contribs?
3 # - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
4 # create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
5 # - test init script (db initialization)
8 %bcond_without tests # disable testing
9 %bcond_without tcl # disable Tcl support
10 %bcond_without kerberos5 # disable kerberos5 support
11 %bcond_with llvm # disable llvm based JIT 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_without systemd # systemd (notify) support
18 %bcond_with systemtap # systemtap/dtrace probes
19 %bcond_with absolute_dbpaths # enable absolute paths to create database
20 # (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: https://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
41 # Source0-md5: 7cb75773ff8fbe533701562c3278206b
43 Source2: pgsql-Database-HOWTO-html.tar.gz
44 # Source2-md5: 5b656ddf1db41965761f85204a14398e
45 Source3: %{name}.sysconfig
46 Source4: %{name}@.service
47 Source5: %{name}.service
48 Source6: %{name}.target
49 Patch0: %{name}-conf.patch
50 Patch1: %{name}-absolute_dbpaths.patch
51 Patch2: %{name}-ecpg-includedir.patch
54 Patch5: %{name}-heimdal.patch
55 Patch6: %{name}-link.patch
56 URL: https://www.postgresql.org/
57 BuildRequires: autoconf >= 2.69
58 BuildRequires: automake
59 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
60 # not needed for releases... but fixes something in snapshot
61 BuildRequires: bison >= 1.875
62 %{?with_llvm:BuildRequires: clang >= 3.9}
63 BuildRequires: docbook-dtd45-xml
64 BuildRequires: docbook-style-xsl
65 BuildRequires: docbook-style-xsl-nons
66 BuildRequires: flex >= 2.5.31
67 BuildRequires: gettext-tools
68 BuildRequires: gnome-doc-tools
69 %{?with_kerberos5:BuildRequires: heimdal-devel}
70 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
71 BuildRequires: libtool
72 BuildRequires: libuuid-devel
73 BuildRequires: libxml2-devel >= 1:2.6.23
74 BuildRequires: libxslt-devel
75 BuildRequires: libxslt-progs
76 %{?with_llvm:BuildRequires: llvm-devel >= 3.9}
77 BuildRequires: ncurses-devel >= 5.0
78 %{?with_ldap:BuildRequires: openldap-devel}
79 BuildRequires: openssl-devel >= 1.1.1
80 BuildRequires: pam-devel
82 BuildRequires: perl-Scalar-List-Utils
83 BuildRequires: perl-devel
86 BuildRequires: python3 >= 1:3.2
87 BuildRequires: python3-devel >= 1:3.2
88 BuildRequires: python3-modules >= 1:3.2
90 BuildRequires: readline-devel >= 4.2
91 BuildRequires: rpm-build >= 4.6
92 BuildRequires: rpmbuild(macros) >= 1.671
93 %{?with_systemd:BuildRequires: systemd-devel >= 1:209}
94 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
95 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
96 %{?with_tests:BuildRequires: tzdata}
97 BuildRequires: zlib-devel
98 Requires(post): /bin/id
99 Requires(post): /usr/sbin/usermod
100 Requires(post,preun): /sbin/chkconfig
101 Requires(pre): /bin/id
102 Requires(pre): /usr/bin/getgid
103 Requires(pre): /usr/sbin/groupadd
104 Requires(pre): /usr/sbin/useradd
105 Requires: %{name}-clients >= %{version}-%{release}
106 Requires: %{name}-libs = %{version}-%{release}
107 Requires: rc-scripts >= 0.4.3.0
108 Requires: systemd-units >= 38
111 Suggests: %{name}-module-llvmjit = %{version}-%{release}
113 Obsoletes: postgresql-data < 6.5
114 Obsoletes: postgresql-ln < 8.3.0
115 Obsoletes: postgresql-module-datetime < 7.1
116 Obsoletes: postgresql-module-plpgsql < 9.0.0-1
117 Obsoletes: postgresql-module-tsearch2 < 8.3.0
118 Obsoletes: postgresql-replicate < 8.3.0
119 Obsoletes: postgresql-replicate-tools < 8.3.0
120 Obsoletes: postgresql-server
121 Obsoletes: postgresql-test
122 Obsoletes: postgresql-upgrade < 9.2.1-1
123 Obsoletes: postgresql-upstart < 9.4.1-2
124 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
126 %define _pgmoduledir %{_libdir}/postgresql
127 %define _pgsqldir %{_datadir}/postgresql/extension
129 %define _ulibdir /usr/lib
131 %define filterout_c -fvar-tracking-assignments
132 %define filterout_cxx -fvar-tracking-assignments
135 # spi, test_decoding, worker_spi - examples/tests
136 # tsearch2 - old module for compatibility only
137 %define contrib_modules adminpack amcheck auth_delay auto_explain bloom btree_gin btree_gist citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore %{?with_perl:hstore_plperl} %{?with_python:hstore_plpython} intagg intarray isn %{?with_perl:jsonb_plperl} %{?with_python:jsonb_plpython} lo ltree %{?with_python:ltree_plpython} oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm 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
140 PostgreSQL Data Base Management System (formerly known as Postgres,
143 PostgreSQL is an enhancement of the POSTGRES database management
144 system, a next-generation DBMS research prototype. While PostgreSQL
145 retains the powerful data model and rich data types of POSTGRES, it
146 replaces the PostQuel query language with an extended subset of SQL.
147 PostgreSQL is free and the complete source is available.
149 PostgreSQL development is being performed by a team of Internet
150 developers who all subscribe to the PostgreSQL development mailing
151 list. The current coordinator is Marc G. Fournier
152 (scrappy@postgreSQL.org). This team is now responsible for all current
153 and future development of PostgreSQL.
155 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
156 others have contributed to the porting, testing, debugging and
157 enhancement of the code. The original Postgres code, from which
158 PostgreSQL is derived, was the effort of many graduate students,
159 undergraduate students, and staff programmers working under the
160 direction of Professor Michael Stonebraker at the University of
161 California, Berkeley.
163 The original name of the software at Berkeley was Postgres. When SQL
164 functionality was added in 1995, its name was changed to Postgres95.
165 The name was changed at the end of 1996 to PostgreSQL.
167 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
168 and most flavours of Unix.
170 %description -l de.UTF-8
171 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
174 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
175 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
176 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
177 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
178 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
181 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
182 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
183 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
184 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
186 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
187 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
188 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
189 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
190 Studenten und Programmierern unter der Leitung von Professor Michael
191 Stonebraker an der University of California, Berkeley.
193 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
194 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
195 entschied man sich für PostgreSQL.
197 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
198 und den meisten Unix-Systemen.
200 %description -l es.UTF-8
201 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
202 como Postgres, y después como Postgres95). PostgreSQL es una
203 continuación mejorada del Sistema Administrador de Banco de Datos
204 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
205 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
206 los varios tipos de datos del POSTGRES, substituye el lenguaje de
207 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
208 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
209 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
210 en la lista de desarrollo del PostgreSQL. El coordinador actual es
211 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
212 responsable por el desarrollo actual y futuro del PostgreSQL.
214 %description -l fr.UTF-8
215 Système de gestion de bases de données PostgreSQL (D'abord nommé
216 Postgres, puis Postgres95).
218 PostgreSQL est une amélioration du système de gestion de bases de
219 données POSTGRES, un prototype de recherche de la génération suivant
220 DBMS. Tout en conservant le puissant modèle de donnée de et les types
221 de donée riches de Postgres, il remplace le langage de requêtes de
222 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
223 libre, et ses sources sont disponibles.
225 Le développement de PostgreSQL est actuellement réalisé via internet
226 parune équipe de développeurs inscrits sur la mailing-list de
227 développement de PostgreSQL. Le coordinateur actuel est Marc G
228 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
229 développemen actuel et à venir de PostgreSQL.
231 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
232 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
233 l'amélioration du code. Le code original de Postgres, duquel
234 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
235 moins haut niveau, et de programmeurs travaillant sous la direction du
236 professeur Michael Stonebraker à l'université de Berkeley Californie.
238 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
239 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
240 rebaptisé PostgreSQL en 1996.
242 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
243 et la plupart des Unix.
245 %description -l pl.UTF-8
246 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
247 Postgres, następnie jako Postgres95).
249 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
250 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
251 model danych oraz bogaty zbiór różnych typów danych, to jednak język
252 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
253 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
256 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
257 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
258 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
259 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
261 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
262 innych pomagało przenosząc na różne platformy, testując, analizując i
263 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
264 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
265 zespołu programistów, którzy pracowali pod kierunkiem profesora
266 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
268 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
269 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
270 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
273 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
274 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
276 %description -l pt_BR.UTF-8
277 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
278 Postgres, e depois como Postgres95).
280 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
281 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
282 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
283 dados e os vários tipos de dados do POSTGRES, ele substitui a
284 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
285 PostgreSQL é livre e tem os fontes disponíveis.
287 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
288 desenvolvedores da Internet, todos subscritores da lista de
289 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
290 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
291 desenvolvimento atual e futuro do PostgreSQL.
293 %description -l ru.UTF-8
294 PostgreSQL - система управления базами данных (прежде известная как
295 Postgres, потом как Postgres95).
297 PostgreSQL - это расширенная версия системы управления базами данных
298 POSTGRES, исследовательского прототипа DBMS следующей генерации.
299 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
300 она заменяет язык запросов PostQuel расширенным набором SQL.
301 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
304 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
305 на список рассылки, посвященный разработке PostgreSQL. В настоящее
306 время координатором является Marc G. Fournier
307 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
308 все текущие и будущие разработки PostgreSQL.
310 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
311 свой вклад в портирование, тестирование, отладку и улучшение кода.
312 Оригинальный код Postgres, от которого произошел PostgreSQL, был
313 создан усилиями студентов, аспирантов и персонала, работающего под
314 руководством профессора Michael Stonebraker в University of
315 California, Berkeley.
317 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
318 была добавлена функциональность SQL, название изменилось на
319 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
322 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
323 и большинстве других разновидностей Unix.
325 %description -l tr.UTF-8
326 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
327 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
328 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
329 sorgulama dilini koyar.
331 %description -l uk.UTF-8
332 PostgreSQL - система керування базами даних (раніш відома як Postgres,
333 потім як Postgres95).
335 PostgreSQL - це розширена версія системи керування базами даних
336 POSTGRES, дослідницького прототипу DBMS наступної генерації.
337 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
338 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
339 безкоштовна та поставляється у вигляді повного комплекту вихідних
342 PostgreSQL розробляється командою Internet-програмістів, учасників
343 списку розсилки, присвяченого розробці PostgreSQL. Наразі
344 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
345 відповідає за всі поточні та майбутні розробки PostgreSQL.
347 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
348 внесли свій внесок в портування, тестування, відладку та покращення
349 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
350 створений зусиллями студентів, аспірантів та персоналу, який працював
351 під керівництвом професора Michael Stonebraker в University of
352 California, Berkeley.
354 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
355 було додано функціональність SQL, назва змінилася на Postgres95. В
356 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
358 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
359 та більшості інших різновидів Unix.
362 Summary: PostgreSQL development header files and libraries
363 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
364 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
365 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
366 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
367 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
368 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
369 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
370 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
371 Group: Development/Libraries
372 Requires: %{name}-libs = %{version}-%{release}
375 This package contains header files and libraries required to compile
376 applications that are talking directly to the PostgreSQL backend
379 %description devel -l de.UTF-8
380 Dieses Paket enthält die Header-Dateien und Libraries, die zum
381 Kompilieren von Applikationen notwendig sind, die direkt mit dem
382 PostgreSQL-Backend-Server kommunizieren.
384 %description devel -l es.UTF-8
385 Este paquete contiene archivos de inclusión y bibliotecas requeridas
386 para compilación de aplicativos que se comunican directamente con el
387 servidor backend PostgreSQL.
389 %description devel -l fr.UTF-8
390 Ce package contient les fichiers d'en-tête et les bibliothéques
391 nécessaires pour compiler des applications ayant des échanges directs
392 avec le serveur du backend PostgreSQL.
394 %description devel -l pl.UTF-8
395 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
396 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
398 %description devel -l pt_BR.UTF-8
399 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
400 compilação de aplicativos que se comunicam diretamente com o servidor
403 %description devel -l ru.UTF-8
404 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
405 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
407 %description devel -l tr.UTF-8
408 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
409 gereken başlık dosyalarını ve kitaplıkları içerir.
411 %description devel -l uk.UTF-8
412 Цей пакет містить хедери та бібліотеки, необхідні для розробки
413 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
415 %package backend-devel
416 Summary: PostgreSQL backend development header files
417 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
418 Group: Development/Libraries
419 Requires: %{name}-devel = %{version}-%{release}
420 Requires: %{name}-libs = %{version}-%{release}
422 %description backend-devel
423 This package contains header files required to compile functions that
424 could be loaded directly by backend
426 %description backend-devel -l pl.UTF-8
427 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
428 bezposrednio ladowane przez beckend serwera PostgreSQL.
431 Summary: Clients needed to access a PostgreSQL server
432 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
433 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
434 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
435 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
436 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
437 Group: Applications/Databases
438 Requires: %{name}-libs = %{version}-%{release}
441 This package includes only the clients needed to access an PostgreSQL
442 server. The server is included in the main package. If all you need is
443 to connect to another PostgreSQL server, the this is the only package
444 you need to install. Clients include several command-line utilities
445 you can use to manage your databases on a remote PostgreSQL server.
447 %description clients -l es.UTF-8
448 Este paquete incluye solamente los clientes necesarios para acceder un
449 servidor PostgreSQL. El servidor está en el paquete principal.
451 %description clients -l pl.UTF-8
452 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
453 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
454 poleceń. Serwer znajduje się w głównym pakiecie.
456 %description clients -l pt_BR.UTF-8
457 Este pacote inclui somente os clientes necessários para acessar um
458 servidor PostgreSQL. O servidor está no pacote principal.
460 %description clients -l ru.UTF-8
461 Этот пакет включает только клиентские программы и библиотеки,
462 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
463 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
464 единственный пакет, который вам надо установить.
466 Теперь пакеты с библиотеками для разных языков программирования (C,
467 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
470 %description clients -l uk.UTF-8
471 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
472 для доступу до сервера PostgreSQL. Сервер міститься в головному
473 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
474 єдиний пакет, який вам треба встановити.
476 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
477 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
480 Summary: Documentation for PostgreSQL
481 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
482 Group: Applications/Databases
486 This package includes documentation and HOWTO for programmer, admin
487 etc., in HTML format.
489 %description doc -l pl.UTF-8
490 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
491 administratorów w formacie HTML.
494 Summary: PostgreSQL libraries
495 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
496 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
497 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
498 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
500 Requires: openssl%{?_isa} >= 1.1.1
503 PostgreSQL shared libraries.
505 %description libs -l es.UTF-8
506 Este paquete contiene la biblioteca compartida para acceso al
509 %description libs -l pl.UTF-8
510 Biblioteki dzielone programu PostgreSQL.
512 %description libs -l pt_BR.UTF-8
513 Este pacote contém a biblioteca compartilhada para acesso ao
517 Summary: Embedded SQL in C interface
518 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
520 Requires: %{name}-libs = %{version}-%{release}
523 Embedded SQL in C interface.
525 %description ecpg -l pl.UTF-8
526 Interfejs wbudowanego SQL-a w język C.
529 Summary: Embedded SQL in C interface files
530 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
531 Group: Development/Libraries
532 Requires: %{name}-devel = %{version}-%{release}
533 Requires: %{name}-ecpg = %{version}-%{release}
535 %description ecpg-devel
536 Embedded SQL in C interface files.
538 %description ecpg-devel -l pl.UTF-8
539 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
542 Summary: PostgreSQL static libraries
543 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
544 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
545 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
546 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
547 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
548 Group: Development/Libraries
549 Requires: %{name}-devel = %{version}-%{release}
552 PostgreSQL static libraries.
554 %description static -l es.UTF-8
555 Este paquete contiene bibliotecas estaticas requerida para compilación
556 de aplicativos que se comunican directamente con el servidor backend
559 %description static -l pl.UTF-8
560 Biblioteki statyczne programu PostgreSQL.
562 %description static -l pt_BR.UTF-8
563 Este pacote contém as bibliotecas estáticas requeridas para compilação
564 de aplicativos que se comunicam diretamente com o servidor backend
567 %description static -l ru.UTF-8
568 Это отдельный пакет со статическими библиотеками, которые больше не
569 входят в %{name}-devel.
571 %description static -l uk.UTF-8
572 Це окремий пакет зі статичними бібліотеками, які більш не входять в
575 %package module-llvmjit
576 Summary: LLVM JIT module for PostgreSQL
577 Summary(pl.UTF-8): Moduł LLVM JIT dla PostgreSQL-a
578 Group: Applications/Databases
579 Requires: %{name} = %{version}-%{release}
581 %description module-llvmjit
582 LLVM JIT module for PostgreSQL.
584 %description module-llvmjit -l pl.UTF-8
585 Moduł LLVM JIT dla PostgreSQL-a.
587 %package module-plperl
588 Summary: PL/perl - PostgreSQL procedural language
589 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
590 Group: Applications/Databases
591 Requires: %{name} = %{version}-%{release}
593 %description module-plperl
594 From PostgreSQL documentation:
596 Postgres supports the definition of procedural languages. In the case
597 of a function or trigger procedure defined in a procedural language,
598 the database has no built-in knowledge about how to interpret the
599 function's source text. Instead, the task is passed to a handler that
600 knows the details of the language. The handler itself is a special
601 programming language function compiled into a shared object and loaded
604 To enable PL/Perl procedural language for your database you have to
605 run createlang command.
607 %description module-plperl -l pl.UTF-8
608 Z dokumentacji PostgreSQL:
610 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
611 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
612 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
613 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
614 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
615 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
618 Za pomocą polecenia createlang można dodać obsługę języka
619 proceduralnego PL/Perl dla swojej bazy danych.
621 %package module-plpython
622 Summary: PL/Python - PostgreSQL procedural language
623 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
624 Group: Applications/Databases
625 Requires: %{name} = %{version}-%{release}
627 %description module-plpython
628 From PostgreSQL documentation:
630 Postgres supports the definition of procedural languages. In the case
631 of a function or trigger procedure defined in a procedural language,
632 the database has no built-in knowledge about how to interpret the
633 function's source text. Instead, the task is passed to a handler that
634 knows the details of the language. The handler itself is a special
635 programming language function compiled into a shared object and loaded
638 To enable PL/Python procedural language for your database you have to
639 run createlang command.
641 %description module-plpython -l pl.UTF-8
642 Z dokumentacji PostgreSQL:
644 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
645 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
646 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
647 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
648 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
649 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
652 Za pomocą polecenia createlang można dodać obsługę języka
653 proceduralnego PL/Python dla swojej bazy danych.
655 %package module-pltcl
656 Summary: PL/Tcl - PostgreSQL procedural language
657 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
658 Group: Applications/Databases
659 Requires: %{name} = %{version}-%{release}
662 %description module-pltcl
663 From PostgreSQL documentation:
665 Postgres supports the definition of procedural languages. In the case
666 of a function or trigger procedure defined in a procedural language,
667 the database has no built-in knowledge about how to interpret the
668 function's source text. Instead, the task is passed to a handler that
669 knows the details of the language. The handler itself is a special
670 programming language function compiled into a shared object and loaded
673 To enable PL/Tcl procedural language for your database you have to run
676 %description module-pltcl -l pl.UTF-8
677 Z dokumentacji PostgreSQL:
679 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
680 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
681 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
682 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
683 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
684 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
687 Za pomocą polecenia createlang można dodać obsługę języka
688 proceduralnego PL/Tcl dla swojej bazy danych.
690 %package module-dblink
691 Summary: dblink module for PostgreSQL
692 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
693 Group: Applications/Databases
694 Requires: %{name} = %{version}-%{release}
696 %description module-dblink
697 dblink module for PostgreSQL provides functions returning results from
700 %description module-dblink -l pl.UTF-8
701 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
705 Summary: Large Objects module for PostgreSQL
706 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
707 Group: Applications/Databases
708 Requires: %{name} = %{version}-%{release}
710 %description module-lo
711 Large Objects module for PostgreSQL adds a new data type 'lo', some
712 support functions and a trigger which handles the orphaning problem.
714 %description module-lo -l pl.UTF-8
715 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
716 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
717 osieroconych obiektów.
719 %package module-pg_trgm
720 Summary: Trigram matching for PostgreSQL
721 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
722 Group: Applications/Databases
723 Requires: %{name} = %{version}-%{release}
725 %description module-pg_trgm
726 This module provides functions and index classes for determining the
727 similarity of text based on trigram matching.
729 %description module-pg_trgm -l pl.UTF-8
730 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
731 w oparciu o dopasowywanie trigramowe (trigram matching).
733 %package module-pgcrypto
734 Summary: Cryptographic functions for PostgreSQL
735 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
736 Group: Applications/Databases
737 Requires: %{name} = %{version}-%{release}
739 %description module-pgcrypto
740 Cryptographic functions for PostgreSQL.
742 %description module-pgcrypto -l pl.UTF-8
743 Funkcje kryptograficzne dla PostgreSQL.
745 %package module-sepgsql
746 Summary: PostgreSQL external security provider using SELinux
747 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
748 Group: Applications/Databases
749 Requires: %{name} = %{version}-%{release}
750 Requires: libselinux >= 2.1.10
752 %description module-sepgsql
753 PostgreSQL external security provider using SELinux.
755 %description module-sepgsql -l pl.UTF-8
756 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
758 %package module-tablefunc
759 Summary: crosstab functions for PostgreSQL
760 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
761 Group: Applications/Databases
762 Requires: %{name} = %{version}-%{release}
764 %description module-tablefunc
765 crosstab functions for PostgreSQL.
767 %description module-tablefunc -l pl.UTF-8
768 Funkcje crosstab dla PostgreSQL-a.
771 Summary: XML-handling functions for PostgreSQL
772 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
773 Group: Applications/Databases
774 Requires: %{name} = %{version}-%{release}
775 Requires: libxml2 >= 1:2.6.23
777 %description module-xml2
778 Module with XML functions provides both XPath querying and XSLT
779 functionality. There is also a new table function which allows the
780 straightforward return of multiple XML results.
782 %description module-xml2 -l pl.UTF-8
783 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
784 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
785 bezpośrednie zwracanie wielu wyników XML.
788 Summary: Miscellaneous PostgreSQL contrib modules
789 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
790 Group: Applications/Databases
791 Requires: %{name} = %{version}-%{release}
794 Miscellaneous PostgreSQL contrib modules.
796 %description contrib -l pl.UTF-8
797 Różne moduły dołączone do PostgreSQL-a.
802 %{?with_absolute_dbpaths:%patch1 -p1}
809 # force rebuild of bison/flex files
810 find src -name \*.l -o -name \*.y | xargs touch
813 #find contrib -type d -name CVS -exec rm -rf {} \;
819 %{__aclocal} -I config
823 CFLAGS="%{rpmcflags} $march -DNEED_REENTRANT_FUNCS" \
824 CPPFLAGS="%{rpmcppflags} $march" \
825 CXXFLAGS="%{rpmcxxflags} $march" \
826 BITCODE_CFLAGS="%{rpmcflags}" \
827 BITCODE_CXXFLAGS="%{rpmcxxflags}" \
830 %{?with_systemtap:--enable-dtrace} \
831 --enable-integer-datetimes \
833 --enable-thread-safety \
834 %{?with_bonjour:--with-bonjour} \
835 %{?with_kerberos5:--with-gssapi} \
836 %{?with_ldap:--with-ldap} \
837 %{?with_llvm:--with-llvm} \
842 %{?with_perl:--with-perl} \
843 %{?with_python:--with-python} \
844 %{?with_selinux:--with-selinux} \
845 --with-system-tzdata=%{_datadir}/zoneinfo \
846 %{?with_systemd:--with-systemd} \
847 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
852 for mod in %{contrib_modules}; do \
853 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
854 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
855 %{__make} -C contrib/$mod CFLAGS="$flags"
858 %{__make} -C src/tutorial \
861 %ifnarch sparc sparcv9 sparc64 alpha
862 %{?with_tests:%{__make} -j1 check}
866 rm -rf $RPM_BUILD_ROOT
867 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
868 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
869 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
870 $RPM_BUILD_ROOT%{_mandir} \
871 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
872 $RPM_BUILD_ROOT/home/services/postgres
874 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
877 DESTDIR=$RPM_BUILD_ROOT
878 %{__make} -C doc/src/sgml install-man \
879 DESTDIR=$RPM_BUILD_ROOT
882 %{__make} install -C src/pl/plperl \
883 DESTDIR=$RPM_BUILD_ROOT
886 for mod in %{contrib_modules}; do \
887 %{__make} -C contrib/$mod install \
888 DESTDIR=$RPM_BUILD_ROOT
891 touch $RPM_BUILD_ROOT/var/log/pgsql
893 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
894 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
896 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
897 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
898 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
901 tar zxf %{SOURCE2} -C howto
904 %py_comp $RPM_BUILD_ROOT%{py_libdir}
905 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
909 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
910 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
911 pg_amcheck pg_archivecleanup pg_basebackup pg_checksums pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync \
912 pg_test_timing pg_upgrade pg_waldump pg_verifybackup; do
913 %find_lang $f-%{mver}
917 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
919 merge_lang pgscripts postgres plpgsql \
920 pg_basebackup pg_checksums pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
921 merge_lang psql initdb \
922 pg_amcheck pg_archivecleanup pg_ctl pg_dump pg_verifybackup > clients.lang
923 merge_lang ecpg ecpglib6 > ecpg.lang
926 %find_lang pltcl-%{mver}
930 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
933 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
935 # package it...? nah, why bother.
936 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
939 rm -rf $RPM_BUILD_ROOT
943 if [ -f /etc/sysconfig/postgresql ]; then
944 . /etc/sysconfig/postgresql
945 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
946 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
950 for pgdir in $PG_DB_CLUSTERS; do
951 if [ -f $pgdir/PG_VERSION ]; then
952 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
953 echo "Found database(s) in older, incompatible format in cluster $pgdir."
958 if [ "$foundold" = "1" ]; then
960 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
961 echo "and clean (or rename) those directories; then upgrade postgresql and"
962 echo "restore all data (using pg_restore or psql)."
963 echo "Remember to stop the daemon before upgrading!"
965 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
966 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
968 echo "Warning for upgrade from version *before* 7.2."
969 echo "Please note, that postgresql module path changed from"
970 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
971 echo "in dump file before restore."
973 echo "Warning for upgrade from version *before* 7.3."
974 echo "Reading following webpage is encouraged:"
975 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
980 %groupadd -g 88 -r postgres
981 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
983 %triggerpostun -- %{name} < 9.3.3-2
985 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
986 /usr/sbin/usermod -d /home/services/postgres postgres
990 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
991 for pgdir in $PG_DB_CLUSTERS; do
992 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
993 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
995 %systemd_trigger postgresql.service
998 /sbin/chkconfig --add postgresql
999 %service postgresql restart "postgresql server"
1000 if [ "$1" -eq "1" ]; then
1002 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
1003 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
1004 for pgdir in $PG_DB_CLUSTERS; do
1005 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
1006 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
1009 %systemd_post postgresql.service
1012 if [ "$1" = "0" ]; then
1013 %service postgresql stop
1014 /sbin/chkconfig --del postgresql
1017 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
1018 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
1019 for pgdir in $PG_DB_CLUSTERS; do
1020 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
1021 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
1024 %systemd_preun postgresql.service
1029 %post libs -p /sbin/ldconfig
1030 %postun libs -p /sbin/ldconfig
1032 %post ecpg -p /sbin/ldconfig
1033 %postun ecpg -p /sbin/ldconfig
1036 %defattr(644,root,root,755)
1037 %doc COPYRIGHT README HISTORY doc/{KNOWN_BUGS,MISSING_FEATURES,TODO}
1038 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1039 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1040 %{systemdunitdir}/%{name}.service
1041 %{systemdunitdir}/%{name}@.service
1042 %{systemdunitdir}/%{name}.target
1043 %dir /etc/systemd/system/%{name}.target.requires
1045 %attr(755,root,root) %{_bindir}/initdb
1046 %attr(755,root,root) %{_bindir}/pg_basebackup
1047 %attr(755,root,root) %{_bindir}/pg_checksums
1048 %attr(755,root,root) %{_bindir}/pg_controldata
1049 %attr(755,root,root) %{_bindir}/pg_ctl
1050 %attr(755,root,root) %{_bindir}/pg_resetwal
1051 %attr(755,root,root) %{_bindir}/pg_receivewal
1052 %attr(755,root,root) %{_bindir}/pg_recvlogical
1053 %attr(755,root,root) %{_bindir}/pg_rewind
1054 %attr(755,root,root) %{_bindir}/pg_test_fsync
1055 %attr(755,root,root) %{_bindir}/pg_test_timing
1056 %attr(755,root,root) %{_bindir}/pg_upgrade
1057 %attr(755,root,root) %{_bindir}/pg_waldump
1058 %attr(755,root,root) %{_bindir}/pgbench
1059 %attr(755,root,root) %{_bindir}/postgres
1060 %attr(755,root,root) %{_bindir}/postmaster
1062 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1063 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1064 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1065 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1066 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1067 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1068 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1069 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1070 %attr(755,root,root) %{_pgmoduledir}/pgoutput.so
1071 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1072 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1074 %{_pgsqldir}/plpgsql--*.sql
1075 %{_pgsqldir}/plpgsql.control
1077 %dir %{_datadir}/postgresql
1078 %{_datadir}/postgresql/*.bki
1079 %{_datadir}/postgresql/*.sample
1080 %{_datadir}/postgresql/*.sql
1081 %{_datadir}/postgresql/*.txt
1082 %{_datadir}/postgresql/timezonesets
1083 %{_datadir}/postgresql/tsearch_data
1085 %dir %{_datadir}/postgresql/contrib
1087 %attr(700,postgres,postgres) /home/services/postgres
1088 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1089 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1091 %{_mandir}/man1/initdb.1*
1092 %{_mandir}/man1/pg_basebackup.1*
1093 %{_mandir}/man1/pg_checksums.1*
1094 %{_mandir}/man1/pg_controldata.1*
1095 %{_mandir}/man1/pg_ctl.1*
1096 %{_mandir}/man1/pg_resetwal.1*
1097 %{_mandir}/man1/pg_receivewal.1*
1098 %{_mandir}/man1/pg_recvlogical.1*
1099 %{_mandir}/man1/pg_rewind.1*
1100 %{_mandir}/man1/pg_waldump.1*
1101 %{_mandir}/man1/pg_test_fsync.1*
1102 %{_mandir}/man1/pg_test_timing.1*
1103 %{_mandir}/man1/pg_upgrade.1*
1104 %{_mandir}/man1/pgbench.1*
1105 %{_mandir}/man1/postgres.1*
1106 %{_mandir}/man1/postmaster.1*
1109 %defattr(644,root,root,755)
1110 %doc doc/src/sgml/html howto
1111 %{_examplesdir}/%{name}-%{version}
1113 %files libs -f libpq5-%{mver}.lang
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1116 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1117 %dir %{_pgmoduledir}
1119 %dir %{_pgmoduledir}/bitcode
1122 %files ecpg -f ecpg.lang
1123 %defattr(644,root,root,755)
1124 %attr(755,root,root) %{_bindir}/ecpg
1125 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1126 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1127 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1128 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1129 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1130 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1131 %{_mandir}/man1/ecpg.1*
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_libdir}/libecpg.so
1136 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1137 %attr(755,root,root) %{_libdir}/libpgtypes.so
1138 %{_includedir}/ecpg*
1139 %{_pkgconfigdir}/libecpg.pc
1140 %{_pkgconfigdir}/libecpg_compat.pc
1141 %{_pkgconfigdir}/libpgtypes.pc
1143 %files devel -f pg_config-%{mver}.lang
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_bindir}/pg_config
1146 %attr(755,root,root) %{_libdir}/libpq.so
1147 %dir %{_includedir}/postgresql
1148 %{_includedir}/libpq-events.h
1149 %{_includedir}/libpq-fe.h
1150 %{_includedir}/pg_config.h
1151 %{_includedir}/pg_config_ext.h
1152 %{_includedir}/pg_config_manual.h
1153 %{_includedir}/pg_config_os.h
1154 %{_includedir}/postgres_ext.h
1155 %dir %{_includedir}/postgresql/internal
1156 %{_includedir}/postgresql/internal/c.h
1157 %{_includedir}/postgresql/internal/fe-auth-sasl.h
1158 %{_includedir}/postgresql/internal/libpq-int.h
1159 %{_includedir}/postgresql/internal/port.h
1160 %{_includedir}/postgresql/internal/postgres_fe.h
1161 %{_includedir}/postgresql/internal/pqexpbuffer.h
1162 %{_includedir}/postgresql/internal/libpq
1163 %{_includedir}/libpq
1164 %{_pkgconfigdir}/libpq.pc
1165 %{_mandir}/man1/pg_config.1*
1167 %files backend-devel
1168 %defattr(644,root,root,755)
1169 %{_includedir}/postgresql/server
1170 %dir %{_pgmoduledir}/pgxs
1171 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1172 %{_pgmoduledir}/pgxs/src
1173 %{_mandir}/man3/SPI_*.3*
1176 %defattr(644,root,root,755)
1177 %{_libdir}/libecpg.a
1178 %{_libdir}/libecpg_compat.a
1180 %{_libdir}/libpgcommon.a
1181 %{_libdir}/libpgfeutils.a
1182 %{_libdir}/libpgtypes.a
1183 %{_libdir}/libpgport.a
1184 %{_libdir}/libpgcommon_shlib.a
1185 %{_libdir}/libpgport_shlib.a
1187 %files clients -f clients.lang
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) %{_bindir}/clusterdb
1190 %attr(755,root,root) %{_bindir}/createdb
1191 %attr(755,root,root) %{_bindir}/createuser
1192 %attr(755,root,root) %{_bindir}/dropdb
1193 %attr(755,root,root) %{_bindir}/dropuser
1194 %attr(755,root,root) %{_bindir}/pg_amcheck
1195 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1196 %attr(755,root,root) %{_bindir}/pg_dump
1197 %attr(755,root,root) %{_bindir}/pg_dumpall
1198 %attr(755,root,root) %{_bindir}/pg_isready
1199 %attr(755,root,root) %{_bindir}/pg_restore
1200 %attr(755,root,root) %{_bindir}/pg_verifybackup
1201 %attr(755,root,root) %{_bindir}/psql
1202 %attr(755,root,root) %{_bindir}/reindexdb
1203 %attr(755,root,root) %{_bindir}/vacuumdb
1205 %{_mandir}/man1/clusterdb.1*
1206 %{_mandir}/man1/createdb.1*
1207 %{_mandir}/man1/createuser.1*
1208 %{_mandir}/man1/dropdb.1*
1209 %{_mandir}/man1/dropuser.1*
1210 %{_mandir}/man1/pg_amcheck.1*
1211 %{_mandir}/man1/pg_archivecleanup.1*
1212 %{_mandir}/man1/pg_dump.1*
1213 %{_mandir}/man1/pg_dumpall.1*
1214 %{_mandir}/man1/pg_isready.1*
1215 %{_mandir}/man1/pg_restore.1*
1216 %{_mandir}/man1/pg_verifybackup.1*
1217 %{_mandir}/man1/psql.1*
1218 %{_mandir}/man1/reindexdb.1*
1219 %{_mandir}/man1/vacuumdb.1*
1220 %{_mandir}/man7/*.7*
1223 %files module-llvmjit
1224 %defattr(644,root,root,755)
1225 %doc src/backend/jit/README
1226 %attr(755,root,root) %{_pgmoduledir}/llvmjit.so
1227 %{_pgmoduledir}/llvmjit_types.bc
1228 # base postgres bitcode
1229 %{_pgmoduledir}/bitcode/postgres
1230 %{_pgmoduledir}/bitcode/postgres.index.bc
1231 # base modules bitcode
1232 %{_pgmoduledir}/bitcode/dict_int
1233 %{_pgmoduledir}/bitcode/dict_int.index.bc
1234 %{_pgmoduledir}/bitcode/dict_xsyn
1235 %{_pgmoduledir}/bitcode/dict_xsyn.index.bc
1239 %files module-plperl -f plperl-%{mver}.lang
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1242 %{_pgsqldir}/plperl--*.sql
1243 %{_pgsqldir}/plperl.control
1244 %{_pgsqldir}/plperlu--*.sql
1245 %{_pgsqldir}/plperlu.control
1249 %files module-plpython -f plpython-%{mver}.lang
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_pgmoduledir}/plpython3.so
1252 %{_pgsqldir}/plpython*--*.sql
1253 %{_pgsqldir}/plpython*.control
1257 %files module-pltcl -f pltcl-%{mver}.lang
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1260 %{_pgsqldir}/pltcl*--*.sql
1261 %{_pgsqldir}/pltcl*.control
1264 %files module-dblink
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1268 %{_pgmoduledir}/bitcode/dblink
1269 %{_pgmoduledir}/bitcode/dblink.index.bc
1271 %{_pgsqldir}/dblink--*.sql
1272 %{_pgsqldir}/dblink.control
1273 %{_mandir}/man3/dblink*.3*
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_pgmoduledir}/lo.so
1279 %{_pgmoduledir}/bitcode/lo
1280 %{_pgmoduledir}/bitcode/lo.index.bc
1282 %{_pgsqldir}/lo--*.sql
1283 %{_pgsqldir}/lo.control
1285 %files module-pg_trgm
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1289 %{_pgmoduledir}/bitcode/pg_trgm
1290 %{_pgmoduledir}/bitcode/pg_trgm.index.bc
1292 %{_pgsqldir}/pg_trgm--*.sql
1293 %{_pgsqldir}/pg_trgm.control
1295 %files module-pgcrypto
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1299 %{_pgmoduledir}/bitcode/pgcrypto
1300 %{_pgmoduledir}/bitcode/pgcrypto.index.bc
1302 %{_pgsqldir}/pgcrypto--*.sql
1303 %{_pgsqldir}/pgcrypto.control
1306 %files module-sepgsql
1307 %defattr(644,root,root,755)
1308 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1310 %{_pgmoduledir}/bitcode/sepgsql
1311 %{_pgmoduledir}/bitcode/sepgsql.index.bc
1313 %{_pgsqldir}/sepgsql.sql
1316 %files module-tablefunc
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1320 %{_pgmoduledir}/bitcode/tablefunc
1321 %{_pgmoduledir}/bitcode/tablefunc.index.bc
1323 %{_pgsqldir}/*tablefunc--*.sql
1324 %{_pgsqldir}/*tablefunc.control
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1330 %{_pgmoduledir}/bitcode/pgxml
1331 %{_pgmoduledir}/bitcode/pgxml.index.bc
1333 %{_pgsqldir}/xml2--*.sql
1334 %{_pgsqldir}/xml2.control
1337 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_bindir}/oid2name
1340 %attr(755,root,root) %{_bindir}/vacuumlo
1341 %attr(755,root,root) %{_pgmoduledir}/_int.so
1342 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1343 %attr(755,root,root) %{_pgmoduledir}/amcheck.so
1344 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1345 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1346 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1347 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1348 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1349 %attr(755,root,root) %{_pgmoduledir}/citext.so
1350 %attr(755,root,root) %{_pgmoduledir}/cube.so
1351 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1352 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1353 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1354 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1355 %attr(755,root,root) %{_pgmoduledir}/isn.so
1356 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1357 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1358 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1359 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1360 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1361 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1362 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1363 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1364 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1365 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1366 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1367 %attr(755,root,root) %{_pgmoduledir}/seg.so
1368 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1369 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1370 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1371 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1372 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1373 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1375 %{_pgmoduledir}/bitcode/_int
1376 %{_pgmoduledir}/bitcode/_int.index.bc
1377 %{_pgmoduledir}/bitcode/adminpack
1378 %{_pgmoduledir}/bitcode/adminpack.index.bc
1379 %{_pgmoduledir}/bitcode/amcheck
1380 %{_pgmoduledir}/bitcode/amcheck.index.bc
1381 %{_pgmoduledir}/bitcode/auth_delay
1382 %{_pgmoduledir}/bitcode/auth_delay.index.bc
1383 %{_pgmoduledir}/bitcode/auto_explain
1384 %{_pgmoduledir}/bitcode/auto_explain.index.bc
1385 %{_pgmoduledir}/bitcode/bloom
1386 %{_pgmoduledir}/bitcode/bloom.index.bc
1387 %{_pgmoduledir}/bitcode/btree_gin
1388 %{_pgmoduledir}/bitcode/btree_gin.index.bc
1389 %{_pgmoduledir}/bitcode/btree_gist
1390 %{_pgmoduledir}/bitcode/btree_gist.index.bc
1391 %{_pgmoduledir}/bitcode/citext
1392 %{_pgmoduledir}/bitcode/citext.index.bc
1393 %{_pgmoduledir}/bitcode/cube
1394 %{_pgmoduledir}/bitcode/cube.index.bc
1395 %{_pgmoduledir}/bitcode/earthdistance
1396 %{_pgmoduledir}/bitcode/earthdistance.index.bc
1397 %{_pgmoduledir}/bitcode/file_fdw
1398 %{_pgmoduledir}/bitcode/file_fdw.index.bc
1399 %{_pgmoduledir}/bitcode/fuzzystrmatch
1400 %{_pgmoduledir}/bitcode/fuzzystrmatch.index.bc
1401 %{_pgmoduledir}/bitcode/hstore
1402 %{_pgmoduledir}/bitcode/hstore.index.bc
1403 %{_pgmoduledir}/bitcode/isn
1404 %{_pgmoduledir}/bitcode/isn.index.bc
1405 %{_pgmoduledir}/bitcode/ltree
1406 %{_pgmoduledir}/bitcode/ltree.index.bc
1407 %{_pgmoduledir}/bitcode/pageinspect
1408 %{_pgmoduledir}/bitcode/pageinspect.index.bc
1409 %{_pgmoduledir}/bitcode/passwordcheck
1410 %{_pgmoduledir}/bitcode/passwordcheck.index.bc
1411 %{_pgmoduledir}/bitcode/pg_buffercache
1412 %{_pgmoduledir}/bitcode/pg_buffercache.index.bc
1413 %{_pgmoduledir}/bitcode/pg_freespacemap
1414 %{_pgmoduledir}/bitcode/pg_freespacemap.index.bc
1415 %{_pgmoduledir}/bitcode/pg_prewarm
1416 %{_pgmoduledir}/bitcode/pg_prewarm.index.bc
1417 %{_pgmoduledir}/bitcode/pg_stat_statements
1418 %{_pgmoduledir}/bitcode/pg_stat_statements.index.bc
1419 %{_pgmoduledir}/bitcode/pg_visibility
1420 %{_pgmoduledir}/bitcode/pg_visibility.index.bc
1421 %{_pgmoduledir}/bitcode/pgrowlocks
1422 %{_pgmoduledir}/bitcode/pgrowlocks.index.bc
1423 %{_pgmoduledir}/bitcode/pgstattuple
1424 %{_pgmoduledir}/bitcode/pgstattuple.index.bc
1425 %{_pgmoduledir}/bitcode/postgres_fdw
1426 %{_pgmoduledir}/bitcode/postgres_fdw.index.bc
1427 %{_pgmoduledir}/bitcode/seg
1428 %{_pgmoduledir}/bitcode/seg.index.bc
1429 %{_pgmoduledir}/bitcode/sslinfo
1430 %{_pgmoduledir}/bitcode/sslinfo.index.bc
1431 %{_pgmoduledir}/bitcode/tcn
1432 %{_pgmoduledir}/bitcode/tcn.index.bc
1433 %{_pgmoduledir}/bitcode/tsm_system_rows
1434 %{_pgmoduledir}/bitcode/tsm_system_rows.index.bc
1435 %{_pgmoduledir}/bitcode/tsm_system_time
1436 %{_pgmoduledir}/bitcode/tsm_system_time.index.bc
1437 %{_pgmoduledir}/bitcode/unaccent
1438 %{_pgmoduledir}/bitcode/unaccent.index.bc
1439 %{_pgmoduledir}/bitcode/uuid-ossp
1440 %{_pgmoduledir}/bitcode/uuid-ossp.index.bc
1442 %{_pgsqldir}/adminpack--*.sql
1443 %{_pgsqldir}/adminpack.control
1444 %{_pgsqldir}/amcheck--*.sql
1445 %{_pgsqldir}/amcheck.control
1446 %{_pgsqldir}/bloom--*.sql
1447 %{_pgsqldir}/bloom.control
1448 %{_pgsqldir}/btree_gin--*.sql
1449 %{_pgsqldir}/btree_gin.control
1450 %{_pgsqldir}/btree_gist--*.sql
1451 %{_pgsqldir}/btree_gist.control
1452 %{_pgsqldir}/citext--*.sql
1453 %{_pgsqldir}/citext.control
1454 %{_pgsqldir}/cube--*.sql
1455 %{_pgsqldir}/cube.control
1456 %{_pgsqldir}/dict_int--*.sql
1457 %{_pgsqldir}/dict_int.control
1458 %{_pgsqldir}/dict_xsyn--*.sql
1459 %{_pgsqldir}/dict_xsyn.control
1460 %{_pgsqldir}/earthdistance--*.sql
1461 %{_pgsqldir}/earthdistance.control
1462 %{_pgsqldir}/file_fdw--*.sql
1463 %{_pgsqldir}/file_fdw.control
1464 %{_pgsqldir}/fuzzystrmatch--*.sql
1465 %{_pgsqldir}/fuzzystrmatch.control
1466 %{_pgsqldir}/hstore--*.sql
1467 %{_pgsqldir}/hstore.control
1468 %{_pgsqldir}/intarray--*.sql
1469 %{_pgsqldir}/intarray.control
1470 %{_pgsqldir}/intagg--*.sql
1471 %{_pgsqldir}/intagg.control
1472 %{_pgsqldir}/isn--*.sql
1473 %{_pgsqldir}/isn.control
1474 %{_pgsqldir}/ltree--*.sql
1475 %{_pgsqldir}/ltree.control
1476 %{_pgsqldir}/pageinspect--*.sql
1477 %{_pgsqldir}/pageinspect.control
1478 %{_pgsqldir}/pg_buffercache--*.sql
1479 %{_pgsqldir}/pg_buffercache.control
1480 %{_pgsqldir}/pg_freespacemap--*.sql
1481 %{_pgsqldir}/pg_freespacemap.control
1482 %{_pgsqldir}/pg_prewarm--*.sql
1483 %{_pgsqldir}/pg_prewarm.control
1484 %{_pgsqldir}/pg_stat_statements--*.sql
1485 %{_pgsqldir}/pg_stat_statements.control
1486 %{_pgsqldir}/pg_visibility--*.sql
1487 %{_pgsqldir}/pg_visibility.control
1488 %{_pgsqldir}/pgrowlocks--*.sql
1489 %{_pgsqldir}/pgrowlocks.control
1490 %{_pgsqldir}/pgstattuple--*.sql
1491 %{_pgsqldir}/pgstattuple.control
1492 %{_pgsqldir}/postgres_fdw--*.sql
1493 %{_pgsqldir}/postgres_fdw.control
1494 %{_pgsqldir}/seg--*.sql
1495 %{_pgsqldir}/seg.control
1496 %{_pgsqldir}/sslinfo--*.sql
1497 %{_pgsqldir}/sslinfo.control
1498 %{_pgsqldir}/tcn--*.sql
1499 %{_pgsqldir}/tcn.control
1500 %{_pgsqldir}/tsm_system_rows--*.sql
1501 %{_pgsqldir}/tsm_system_rows.control
1502 %{_pgsqldir}/tsm_system_time--*.sql
1503 %{_pgsqldir}/tsm_system_time.control
1504 %{_pgsqldir}/unaccent--*.sql
1505 %{_pgsqldir}/unaccent.control
1506 %{_pgsqldir}/uuid-ossp--*.sql
1507 %{_pgsqldir}/uuid-ossp.control
1509 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1510 %attr(755,root,root) %{_pgmoduledir}/jsonb_plperl.so
1511 %{_pgsqldir}/hstore_plperl--*.sql
1512 %{_pgsqldir}/hstore_plperl.control
1513 %{_pgsqldir}/hstore_plperlu--*.sql
1514 %{_pgsqldir}/hstore_plperlu.control
1515 %{_pgsqldir}/jsonb_plperl--*.sql
1516 %{_pgsqldir}/jsonb_plperl.control
1517 %{_pgsqldir}/jsonb_plperlu--*.sql
1518 %{_pgsqldir}/jsonb_plperlu.control
1520 %{_pgmoduledir}/bitcode/hstore_plperl
1521 %{_pgmoduledir}/bitcode/hstore_plperl.index.bc
1522 %{_pgmoduledir}/bitcode/jsonb_plperl
1523 %{_pgmoduledir}/bitcode/jsonb_plperl.index.bc
1527 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython3.so
1528 %attr(755,root,root) %{_pgmoduledir}/jsonb_plpython3.so
1529 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython3.so
1531 %{_pgmoduledir}/bitcode/hstore_plpython3
1532 %{_pgmoduledir}/bitcode/hstore_plpython3.index.bc
1533 %{_pgmoduledir}/bitcode/jsonb_plpython3
1534 %{_pgmoduledir}/bitcode/jsonb_plpython3.index.bc
1535 %{_pgmoduledir}/bitcode/ltree_plpython3
1536 %{_pgmoduledir}/bitcode/ltree_plpython3.index.bc
1538 %{_pgsqldir}/hstore_plpython3u--*.sql
1539 %{_pgsqldir}/hstore_plpython3u.control
1540 %{_pgsqldir}/jsonb_plpython3u--*.sql
1541 %{_pgsqldir}/jsonb_plpython3u.control
1542 %{_pgsqldir}/ltree_plpython3u--*.sql
1543 %{_pgsqldir}/ltree_plpython3u.control
1545 %{_mandir}/man1/oid2name.1*
1546 %{_mandir}/man1/vacuumlo.1*