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 llvm # disable llvm based JIT support
13 %bcond_without perl # disable Perl support
14 %bcond_without python # disable Python support
15 %bcond_with bonjour # Bonjour/DNS_SD support
16 %bcond_without ldap # disable LDAP support
17 %bcond_without selinux # sepgsql contrib module
18 %bcond_without systemd # systemd (notify) support
19 %bcond_with systemtap # systemtap/dtrace probes
20 %bcond_with absolute_dbpaths # enable absolute paths to create database
21 # (disabled by default because it is a security risk)
27 Summary: PostgreSQL Data Base Management System
28 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
29 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
30 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
31 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
32 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
33 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
34 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
35 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
36 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
41 Group: Applications/Databases
42 Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
43 # Source0-md5: 580da94f6d85046ff2a228785ab2cc89
45 Source2: pgsql-Database-HOWTO-html.tar.gz
46 # Source2-md5: 5b656ddf1db41965761f85204a14398e
47 Source3: %{name}.sysconfig
48 Source4: %{name}@.service
49 Source5: %{name}.service
50 Source6: %{name}.target
51 Patch0: %{name}-conf.patch
52 Patch1: %{name}-absolute_dbpaths.patch
53 Patch2: %{name}-ecpg-includedir.patch
55 Patch4: %{name}-disable_horology_test.patch
56 Patch5: %{name}-heimdal.patch
57 Patch6: %{name}-link.patch
62 URL: http://www.postgresql.org/
63 BuildRequires: autoconf >= 2.69
64 BuildRequires: automake
65 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
66 # not needed for releases... but fixes something in snapshot
67 BuildRequires: bison >= 1.875
68 %{?with_llvm:BuildRequires: clang >= 3.9}
69 BuildRequires: docbook-dtd42-xml
70 BuildRequires: docbook-style-xsl
71 BuildRequires: flex >= 2.5.31
72 BuildRequires: gettext-tools
73 BuildRequires: gnome-doc-tools
74 %{?with_kerberos5:BuildRequires: heimdal-devel}
75 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
76 BuildRequires: libtool
77 BuildRequires: libxml2-devel >= 1:2.6.23
78 BuildRequires: libxslt-devel
79 BuildRequires: libxslt-progs
80 %{?with_llvm:BuildRequires: llvm-devel >= 3.9}
81 BuildRequires: ncurses-devel >= 5.0
82 %{?with_ldap:BuildRequires: openldap-devel}
83 BuildRequires: openssl-devel >= 0.9.7d
84 BuildRequires: ossp-uuid-devel
85 BuildRequires: pam-devel
86 %{?with_perl:BuildRequires: perl-devel}
88 BuildRequires: python >= 1:2.4
89 BuildRequires: python-devel >= 1:2.4
90 BuildRequires: python-modules >= 1:2.4
92 BuildRequires: readline-devel >= 4.2
93 BuildRequires: rpmbuild(macros) >= 1.671
94 %{?with_systemd:BuildRequires: systemd-devel >= 1:209}
95 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
96 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
97 %{?with_tests:BuildRequires: tzdata}
98 BuildRequires: zlib-devel
99 Requires(post,preun): /sbin/chkconfig
100 Requires(pre): /bin/id
101 Requires(pre): /usr/bin/getgid
102 Requires(pre): /usr/sbin/groupadd
103 Requires(pre): /usr/sbin/useradd
104 Requires(postun): /bin/id
105 Requires(postun): /usr/sbin/usermod
106 Requires: %{name}-clients >= %{version}-%{release}
107 Requires: %{name}-libs = %{version}-%{release}
108 Requires: rc-scripts >= 0.4.3.0
109 Requires: systemd-units >= 38
112 Suggests: %{name}-module-llvmjit = %{version}-%{release}
114 Obsoletes: postgresql-module-plpgsql
115 Obsoletes: postgresql-module-tsearch2
116 Obsoletes: postgresql-server
117 Obsoletes: postgresql-test
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 %define _pgmoduledir %{_libdir}/postgresql
121 %define _pgsqldir %{_datadir}/postgresql/extension
123 %define _ulibdir /usr/lib
126 # spi, test_decoding, worker_spi - examples/tests
127 # tsearch2 - old module for compatibility only
128 %define contrib_modules adminpack 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 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
131 PostgreSQL Data Base Management System (formerly known as Postgres,
134 PostgreSQL is an enhancement of the POSTGRES database management
135 system, a next-generation DBMS research prototype. While PostgreSQL
136 retains the powerful data model and rich data types of POSTGRES, it
137 replaces the PostQuel query language with an extended subset of SQL.
138 PostgreSQL is free and the complete source is available.
140 PostgreSQL development is being performed by a team of Internet
141 developers who all subscribe to the PostgreSQL development mailing
142 list. The current coordinator is Marc G. Fournier
143 (scrappy@postgreSQL.org). This team is now responsible for all current
144 and future development of PostgreSQL.
146 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
147 others have contributed to the porting, testing, debugging and
148 enhancement of the code. The original Postgres code, from which
149 PostgreSQL is derived, was the effort of many graduate students,
150 undergraduate students, and staff programmers working under the
151 direction of Professor Michael Stonebraker at the University of
152 California, Berkeley.
154 The original name of the software at Berkeley was Postgres. When SQL
155 functionality was added in 1995, its name was changed to Postgres95.
156 The name was changed at the end of 1996 to PostgreSQL.
158 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
159 and most flavours of Unix.
161 %description -l de.UTF-8
162 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
165 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
166 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
167 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
168 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
169 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
172 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
173 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
174 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
175 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
177 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
178 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
179 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
180 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
181 Studenten und Programmierern unter der Leitung von Professor Michael
182 Stonebraker an der University of California, Berkeley.
184 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
185 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
186 entschied man sich für PostgreSQL.
188 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
189 und den meisten Unix-Systemen.
191 %description -l es.UTF-8
192 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
193 como Postgres, y después como Postgres95). PostgreSQL es una
194 continuación mejorada del Sistema Administrador de Banco de Datos
195 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
196 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
197 los varios tipos de datos del POSTGRES, substituye el lenguaje de
198 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
199 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
200 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
201 en la lista de desarrollo del PostgreSQL. El coordinador actual es
202 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
203 responsable por el desarrollo actual y futuro del PostgreSQL.
205 %description -l fr.UTF-8
206 Système de gestion de bases de données PostgreSQL (D'abord nommé
207 Postgres, puis Postgres95).
209 PostgreSQL est une amélioration du système de gestion de bases de
210 données POSTGRES, un prototype de recherche de la génération suivant
211 DBMS. Tout en conservant le puissant modèle de donnée de et les types
212 de donée riches de Postgres, il remplace le langage de requêtes de
213 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
214 libre, et ses sources sont disponibles.
216 Le développement de PostgreSQL est actuellement réalisé via internet
217 parune équipe de développeurs inscrits sur la mailing-list de
218 développement de PostgreSQL. Le coordinateur actuel est Marc G
219 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
220 développemen actuel et à venir de PostgreSQL.
222 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
223 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
224 l'amélioration du code. Le code original de Postgres, duquel
225 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
226 moins haut niveau, et de programmeurs travaillant sous la direction du
227 professeur Michael Stonebraker à l'université de Berkeley Californie.
229 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
230 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
231 rebaptisé PostgreSQL en 1996.
233 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
234 et la plupart des Unix.
236 %description -l pl.UTF-8
237 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
238 Postgres, następnie jako Postgres95).
240 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
241 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
242 model danych oraz bogaty zbiór różnych typów danych, to jednak język
243 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
244 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
247 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
248 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
249 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
250 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
252 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
253 innych pomagało przenosząc na różne platformy, testując, analizując i
254 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
255 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
256 zespołu programistów, którzy pracowali pod kierunkiem profesora
257 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
259 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
260 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
261 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
264 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
265 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
267 %description -l pt_BR.UTF-8
268 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
269 Postgres, e depois como Postgres95).
271 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
272 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
273 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
274 dados e os vários tipos de dados do POSTGRES, ele substitui a
275 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
276 PostgreSQL é livre e tem os fontes disponíveis.
278 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
279 desenvolvedores da Internet, todos subscritores da lista de
280 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
281 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
282 desenvolvimento atual e futuro do PostgreSQL.
284 %description -l ru.UTF-8
285 PostgreSQL - система управления базами данных (прежде известная как
286 Postgres, потом как Postgres95).
288 PostgreSQL - это расширенная версия системы управления базами данных
289 POSTGRES, исследовательского прототипа DBMS следующей генерации.
290 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
291 она заменяет язык запросов PostQuel расширенным набором SQL.
292 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
295 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
296 на список рассылки, посвященный разработке PostgreSQL. В настоящее
297 время координатором является Marc G. Fournier
298 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
299 все текущие и будущие разработки PostgreSQL.
301 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
302 свой вклад в портирование, тестирование, отладку и улучшение кода.
303 Оригинальный код Postgres, от которого произошел PostgreSQL, был
304 создан усилиями студентов, аспирантов и персонала, работающего под
305 руководством профессора Michael Stonebraker в University of
306 California, Berkeley.
308 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
309 была добавлена функциональность SQL, название изменилось на
310 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
313 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
314 и большинстве других разновидностей Unix.
316 %description -l tr.UTF-8
317 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
318 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
319 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
320 sorgulama dilini koyar.
322 %description -l uk.UTF-8
323 PostgreSQL - система керування базами даних (раніш відома як Postgres,
324 потім як Postgres95).
326 PostgreSQL - це розширена версія системи керування базами даних
327 POSTGRES, дослідницького прототипу DBMS наступної генерації.
328 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
329 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
330 безкоштовна та поставляється у вигляді повного комплекту вихідних
333 PostgreSQL розробляється командою Internet-програмістів, учасників
334 списку розсилки, присвяченого розробці PostgreSQL. Наразі
335 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
336 відповідає за всі поточні та майбутні розробки PostgreSQL.
338 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
339 внесли свій внесок в портування, тестування, відладку та покращення
340 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
341 створений зусиллями студентів, аспірантів та персоналу, який працював
342 під керівництвом професора Michael Stonebraker в University of
343 California, Berkeley.
345 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
346 було додано функціональність SQL, назва змінилася на Postgres95. В
347 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
349 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
350 та більшості інших різновидів Unix.
353 Summary: PostgreSQL development header files and libraries
354 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
355 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
356 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
357 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
358 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
359 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
360 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
361 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
362 Group: Development/Libraries
363 Requires: %{name}-libs = %{version}-%{release}
366 This package contains header files and libraries required to compile
367 applications that are talking directly to the PostgreSQL backend
370 %description devel -l de.UTF-8
371 Dieses Paket enthält die Header-Dateien und Libraries, die zum
372 Kompilieren von Applikationen notwendig sind, die direkt mit dem
373 PostgreSQL-Backend-Server kommunizieren.
375 %description devel -l es.UTF-8
376 Este paquete contiene archivos de inclusión y bibliotecas requeridas
377 para compilación de aplicativos que se comunican directamente con el
378 servidor backend PostgreSQL.
380 %description devel -l fr.UTF-8
381 Ce package contient les fichiers d'en-tête et les bibliothéques
382 nécessaires pour compiler des applications ayant des échanges directs
383 avec le serveur du backend PostgreSQL.
385 %description devel -l pl.UTF-8
386 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
387 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
389 %description devel -l pt_BR.UTF-8
390 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
391 compilação de aplicativos que se comunicam diretamente com o servidor
394 %description devel -l ru.UTF-8
395 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
396 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
398 %description devel -l tr.UTF-8
399 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
400 gereken başlık dosyalarını ve kitaplıkları içerir.
402 %description devel -l uk.UTF-8
403 Цей пакет містить хедери та бібліотеки, необхідні для розробки
404 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
406 %package backend-devel
407 Summary: PostgreSQL backend development header files
408 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
409 Group: Development/Libraries
410 Requires: %{name}-devel = %{version}-%{release}
411 Requires: %{name}-libs = %{version}-%{release}
413 %description backend-devel
414 This package contains header files required to compile functions that
415 could be loaded directly by backend
417 %description backend-devel -l pl.UTF-8
418 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
419 bezposrednio ladowane przez beckend serwera PostgreSQL.
422 Summary: Clients needed to access a PostgreSQL server
423 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
424 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
425 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
426 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
427 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
428 Group: Applications/Databases
429 Requires: %{name}-libs = %{version}-%{release}
432 This package includes only the clients needed to access an PostgreSQL
433 server. The server is included in the main package. If all you need is
434 to connect to another PostgreSQL server, the this is the only package
435 you need to install. Clients include several command-line utilities
436 you can use to manage your databases on a remote PostgreSQL server.
438 %description clients -l es.UTF-8
439 Este paquete incluye solamente los clientes necesarios para acceder un
440 servidor PostgreSQL. El servidor está en el paquete principal.
442 %description clients -l pl.UTF-8
443 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
444 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
445 poleceń. Serwer znajduje się w głównym pakiecie.
447 %description clients -l pt_BR.UTF-8
448 Este pacote inclui somente os clientes necessários para acessar um
449 servidor PostgreSQL. O servidor está no pacote principal.
451 %description clients -l ru.UTF-8
452 Этот пакет включает только клиентские программы и библиотеки,
453 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
454 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
455 единственный пакет, который вам надо установить.
457 Теперь пакеты с библиотеками для разных языков программирования (C,
458 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
461 %description clients -l uk.UTF-8
462 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
463 для доступу до сервера PostgreSQL. Сервер міститься в головному
464 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
465 єдиний пакет, який вам треба встановити.
467 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
468 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
471 Summary: Documentation for PostgreSQL
472 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
473 Group: Applications/Databases
476 This package includes documentation and HOWTO for programmer, admin
477 etc., in HTML format.
479 %description doc -l pl.UTF-8
480 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
481 administratorów w formacie HTML.
484 Summary: PostgreSQL libraries
485 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
486 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
487 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
488 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
492 PostgreSQL shared libraries.
494 %description libs -l es.UTF-8
495 Este paquete contiene la biblioteca compartida para acceso al
498 %description libs -l pl.UTF-8
499 Biblioteki dzielone programu PostgreSQL.
501 %description libs -l pt_BR.UTF-8
502 Este pacote contém a biblioteca compartilhada para acesso ao
506 Summary: Embedded SQL in C interface
507 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
509 Requires: %{name}-libs = %{version}-%{release}
512 Embedded SQL in C interface.
514 %description ecpg -l pl.UTF-8
515 Interfejs wbudowanego SQL-a w język C.
518 Summary: Embedded SQL in C interface files
519 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
520 Group: Development/Libraries
521 Requires: %{name}-devel = %{version}-%{release}
522 Requires: %{name}-ecpg = %{version}-%{release}
524 %description ecpg-devel
525 Embedded SQL in C interface files.
527 %description ecpg-devel -l pl.UTF-8
528 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
531 Summary: PostgreSQL static libraries
532 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
533 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
534 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
535 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
536 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
537 Group: Development/Libraries
538 Requires: %{name}-devel = %{version}-%{release}
541 PostgreSQL static libraries.
543 %description static -l es.UTF-8
544 Este paquete contiene bibliotecas estaticas requerida para compilación
545 de aplicativos que se comunican directamente con el servidor backend
548 %description static -l pl.UTF-8
549 Biblioteki statyczne programu PostgreSQL.
551 %description static -l pt_BR.UTF-8
552 Este pacote contém as bibliotecas estáticas requeridas para compilação
553 de aplicativos que se comunicam diretamente com o servidor backend
556 %description static -l ru.UTF-8
557 Это отдельный пакет со статическими библиотеками, которые больше не
558 входят в %{name}-devel.
560 %description static -l uk.UTF-8
561 Це окремий пакет зі статичними бібліотеками, які більш не входять в
564 %package module-llvmjit
565 Summary: LLVM JIT module for PostgreSQL
566 Summary(pl.UTF-8): Moduł LLVM JIT dla PostgreSQL-a
567 Group: Applications/Databases
568 Requires: %{name} = %{version}-%{release}
570 %description module-llvmjit
571 LLVM JIT module for PostgreSQL.
573 %description module-llvmjit -l pl.UTF-8
574 Moduł LLVM JIT dla PostgreSQL-a.
576 %package module-plperl
577 Summary: PL/perl - PostgreSQL procedural language
578 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
579 Group: Applications/Databases
580 Requires: %{name} = %{version}-%{release}
582 %description module-plperl
583 From PostgreSQL documentation:
585 Postgres supports the definition of procedural languages. In the case
586 of a function or trigger procedure defined in a procedural language,
587 the database has no built-in knowledge about how to interpret the
588 function's source text. Instead, the task is passed to a handler that
589 knows the details of the language. The handler itself is a special
590 programming language function compiled into a shared object and loaded
593 To enable PL/Perl procedural language for your database you have to
594 run createlang command.
596 %description module-plperl -l pl.UTF-8
597 Z dokumentacji PostgreSQL:
599 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
600 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
601 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
602 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
603 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
604 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
607 Za pomocą polecenia createlang można dodać obsługę języka
608 proceduralnego PL/Perl dla swojej bazy danych.
610 %package module-plpython
611 Summary: PL/Python - PostgreSQL procedural language
612 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
613 Group: Applications/Databases
614 Requires: %{name} = %{version}-%{release}
615 %pyrequires_eq python
617 %description module-plpython
618 From PostgreSQL documentation:
620 Postgres supports the definition of procedural languages. In the case
621 of a function or trigger procedure defined in a procedural language,
622 the database has no built-in knowledge about how to interpret the
623 function's source text. Instead, the task is passed to a handler that
624 knows the details of the language. The handler itself is a special
625 programming language function compiled into a shared object and loaded
628 To enable PL/Python procedural language for your database you have to
629 run createlang command.
631 %description module-plpython -l pl.UTF-8
632 Z dokumentacji PostgreSQL:
634 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
635 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
636 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
637 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
638 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
639 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
642 Za pomocą polecenia createlang można dodać obsługę języka
643 proceduralnego PL/Python dla swojej bazy danych.
645 %package module-pltcl
646 Summary: PL/Tcl - PostgreSQL procedural language
647 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
648 Group: Applications/Databases
649 Requires: %{name} = %{version}-%{release}
652 %description module-pltcl
653 From PostgreSQL documentation:
655 Postgres supports the definition of procedural languages. In the case
656 of a function or trigger procedure defined in a procedural language,
657 the database has no built-in knowledge about how to interpret the
658 function's source text. Instead, the task is passed to a handler that
659 knows the details of the language. The handler itself is a special
660 programming language function compiled into a shared object and loaded
663 To enable PL/Tcl procedural language for your database you have to run
666 %description module-pltcl -l pl.UTF-8
667 Z dokumentacji PostgreSQL:
669 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
670 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
671 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
672 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
673 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
674 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
677 Za pomocą polecenia createlang można dodać obsługę języka
678 proceduralnego PL/Tcl dla swojej bazy danych.
680 %package module-dblink
681 Summary: dblink module for PostgreSQL
682 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
683 Group: Applications/Databases
684 Requires: %{name} = %{version}-%{release}
686 %description module-dblink
687 dblink module for PostgreSQL provides functions returning results from
690 %description module-dblink -l pl.UTF-8
691 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
695 Summary: Large Objects module for PostgreSQL
696 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
697 Group: Applications/Databases
698 Requires: %{name} = %{version}-%{release}
700 %description module-lo
701 Large Objects module for PostgreSQL adds a new data type 'lo', some
702 support functions and a trigger which handles the orphaning problem.
704 %description module-lo -l pl.UTF-8
705 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
706 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
707 osieroconych obiektów.
709 %package module-pg_trgm
710 Summary: Trigram matching for PostgreSQL
711 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
712 Group: Applications/Databases
713 Requires: %{name} = %{version}-%{release}
715 %description module-pg_trgm
716 This module provides functions and index classes for determining the
717 similarity of text based on trigram matching.
719 %description module-pg_trgm -l pl.UTF-8
720 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
721 w oparciu o dopasowywanie trigramowe (trigram matching).
723 %package module-pgcrypto
724 Summary: Cryptographic functions for PostgreSQL
725 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
726 Group: Applications/Databases
727 Requires: %{name} = %{version}-%{release}
729 %description module-pgcrypto
730 Cryptographic functions for PostgreSQL.
732 %description module-pgcrypto -l pl.UTF-8
733 Funkcje kryptograficzne dla PostgreSQL.
735 %package module-sepgsql
736 Summary: PostgreSQL external security provider using SELinux
737 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
738 Group: Applications/Databases
739 Requires: %{name} = %{version}-%{release}
740 Requires: libselinux >= 2.1.10
742 %description module-sepgsql
743 PostgreSQL external security provider using SELinux.
745 %description module-sepgsql -l pl.UTF-8
746 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
748 %package module-tablefunc
749 Summary: crosstab functions for PostgreSQL
750 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
751 Group: Applications/Databases
752 Requires: %{name} = %{version}-%{release}
754 %description module-tablefunc
755 crosstab functions for PostgreSQL.
757 %description module-tablefunc -l pl.UTF-8
758 Funkcje crosstab dla PostgreSQL-a.
761 Summary: XML-handling functions for PostgreSQL
762 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
763 Group: Applications/Databases
764 Requires: %{name} = %{version}-%{release}
765 Requires: libxml2 >= 1:2.6.23
767 %description module-xml2
768 Module with XML functions provides both XPath querying and XSLT
769 functionality. There is also a new table function which allows the
770 straightforward return of multiple XML results.
772 %description module-xml2 -l pl.UTF-8
773 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
774 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
775 bezpośrednie zwracanie wielu wyników XML.
778 Summary: Miscellaneous PostgreSQL contrib modules
779 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
780 Group: Applications/Databases
781 Requires: %{name} = %{version}-%{release}
784 Miscellaneous PostgreSQL contrib modules.
786 %description contrib -l pl.UTF-8
787 Różne moduły dołączone do PostgreSQL-a.
792 %{?with_absolute_dbpaths:%patch1 -p1}
803 # force rebuild of bison/flex files
804 find src -name \*.l -o -name \*.y | xargs touch
807 #find contrib -type d -name CVS -exec rm -rf {} \;
813 %{__aclocal} -I config
817 CFLAGS="%{rpmcflags} $march -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
818 CPPFLAGS="%{rpmcppflags} $march" \
819 CXXFLAGS="%{rpmcxxflags} $march" \
822 %{?with_systemtap:--enable-dtrace} \
823 --enable-integer-datetimes \
825 --enable-thread-safety \
826 %{?with_bonjour:--with-bonjour} \
827 %{?with_kerberos5:--with-gssapi} \
828 %{?with_ldap:--with-ldap} \
829 %{?with_llvm:--with-llvm} \
834 %{?with_perl:--with-perl} \
835 %{?with_python:--with-python} \
836 %{?with_selinux:--with-selinux} \
837 --with-system-tzdata=%{_datadir}/zoneinfo \
838 %{?with_systemd:--with-systemd} \
839 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
844 for mod in %{contrib_modules}; do \
845 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
846 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
847 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
848 %{__make} -C contrib/$mod CFLAGS="$flags"
851 %{__make} -C src/tutorial \
854 %ifnarch sparc sparcv9 sparc64 alpha
855 %{?with_tests:%{__make} -j1 check}
859 rm -rf $RPM_BUILD_ROOT
860 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
861 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
862 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
863 $RPM_BUILD_ROOT%{_mandir} \
864 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
865 $RPM_BUILD_ROOT/home/services/postgres
867 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
870 DESTDIR=$RPM_BUILD_ROOT
871 %{__make} -C doc/src/sgml install-man \
872 DESTDIR=$RPM_BUILD_ROOT
875 %{__make} install -C src/pl/plperl \
876 DESTDIR=$RPM_BUILD_ROOT
879 for mod in %{contrib_modules}; do \
880 %{__make} -C contrib/$mod install \
881 DESTDIR=$RPM_BUILD_ROOT
884 touch $RPM_BUILD_ROOT/var/log/pgsql
886 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
887 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
889 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
890 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
891 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
894 tar zxf %{SOURCE2} -C howto
897 %py_comp $RPM_BUILD_ROOT%{py_libdir}
898 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
902 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
903 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
904 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_verify_checksums pg_waldump; do
905 %find_lang $f-%{mver}
909 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
911 merge_lang pgscripts postgres plpgsql \
912 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_verify_checksums pg_waldump > main.lang
913 merge_lang psql initdb \
914 pg_archivecleanup pg_ctl pg_dump > clients.lang
915 merge_lang ecpg ecpglib6 > ecpg.lang
918 %find_lang pltcl-%{mver}
922 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
925 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
927 # package it...? nah, why bother.
928 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
931 rm -rf $RPM_BUILD_ROOT
935 if [ -f /etc/sysconfig/postgresql ]; then
936 . /etc/sysconfig/postgresql
937 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
938 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
942 for pgdir in $PG_DB_CLUSTERS; do
943 if [ -f $pgdir/PG_VERSION ]; then
944 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
945 echo "Found database(s) in older, incompatible format in cluster $pgdir."
950 if [ "$foundold" = "1" ]; then
952 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
953 echo "and clean (or rename) those directories; then upgrade postgresql and"
954 echo "restore all data (using pg_restore or psql)."
955 echo "Remember to stop the daemon before upgrading!"
957 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
958 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
960 echo "Warning for upgrade from version *before* 7.2."
961 echo "Please note, that postgresql module path changed from"
962 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
963 echo "in dump file before restore."
965 echo "Warning for upgrade from version *before* 7.3."
966 echo "Reading following webpage is encouraged:"
967 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
970 %groupadd -g 88 -r postgres
971 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
973 %triggerpostun -- %{name} < 7.2-2
974 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
975 /usr/sbin/usermod -d /home/services/postgres postgres
979 /sbin/chkconfig --add postgresql
980 %service postgresql restart "postgresql server"
981 if [ "$1" -eq "1" ]; then
983 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
984 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
985 for pgdir in $PG_DB_CLUSTERS; do
986 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
987 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
990 %systemd_post postgresql.service
993 if [ "$1" = "0" ]; then
994 %service postgresql stop
995 /sbin/chkconfig --del postgresql
998 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
999 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
1000 for pgdir in $PG_DB_CLUSTERS; do
1001 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
1002 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
1005 %systemd_preun postgresql.service
1010 %triggerpostun -- %{name} < 9.3.3-2
1012 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
1013 for pgdir in $PG_DB_CLUSTERS; do
1014 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
1015 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
1017 %systemd_trigger postgresql.service
1019 %post libs -p /sbin/ldconfig
1020 %postun libs -p /sbin/ldconfig
1022 %post ecpg -p /sbin/ldconfig
1023 %postun ecpg -p /sbin/ldconfig
1026 %defattr(644,root,root,755)
1027 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
1028 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1029 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1030 %{systemdunitdir}/%{name}.service
1031 %{systemdunitdir}/%{name}@.service
1032 %{systemdunitdir}/%{name}.target
1033 %dir /etc/systemd/system/%{name}.target.requires
1035 %attr(755,root,root) %{_bindir}/initdb
1036 %attr(755,root,root) %{_bindir}/pg_basebackup
1037 %attr(755,root,root) %{_bindir}/pg_controldata
1038 %attr(755,root,root) %{_bindir}/pg_ctl
1039 %attr(755,root,root) %{_bindir}/pg_resetwal
1040 %attr(755,root,root) %{_bindir}/pg_receivewal
1041 %attr(755,root,root) %{_bindir}/pg_recvlogical
1042 %attr(755,root,root) %{_bindir}/pg_rewind
1043 %attr(755,root,root) %{_bindir}/pg_test_fsync
1044 %attr(755,root,root) %{_bindir}/pg_test_timing
1045 %attr(755,root,root) %{_bindir}/pg_upgrade
1046 %attr(755,root,root) %{_bindir}/pg_verify_checksums
1047 %attr(755,root,root) %{_bindir}/pg_waldump
1048 %attr(755,root,root) %{_bindir}/pgbench
1049 %attr(755,root,root) %{_bindir}/postgres
1050 %attr(755,root,root) %{_bindir}/postmaster
1052 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1053 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1054 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1055 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1056 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1057 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1058 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1059 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1060 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1061 %attr(755,root,root) %{_pgmoduledir}/pgoutput.so
1062 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1063 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1065 %{_pgsqldir}/plpgsql--*.sql
1066 %{_pgsqldir}/plpgsql.control
1068 %dir %{_datadir}/postgresql
1069 %{_datadir}/postgresql/*.bki
1070 %{_datadir}/postgresql/*.sample
1071 %{_datadir}/postgresql/*.description
1072 %{_datadir}/postgresql/*.shdescription
1073 %{_datadir}/postgresql/*.sql
1074 %{_datadir}/postgresql/*.txt
1075 %{_datadir}/postgresql/timezonesets
1076 %{_datadir}/postgresql/tsearch_data
1078 %dir %{_datadir}/postgresql/contrib
1080 %attr(700,postgres,postgres) /home/services/postgres
1081 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1082 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1084 %{_mandir}/man1/initdb.1*
1085 %{_mandir}/man1/pg_basebackup.1*
1086 %{_mandir}/man1/pg_controldata.1*
1087 %{_mandir}/man1/pg_ctl.1*
1088 %{_mandir}/man1/pg_resetwal.1*
1089 %{_mandir}/man1/pg_receivewal.1*
1090 %{_mandir}/man1/pg_recvlogical.1*
1091 %{_mandir}/man1/pg_rewind.1*
1092 %{_mandir}/man1/pg_waldump.1*
1093 %{_mandir}/man1/pg_test_fsync.1*
1094 %{_mandir}/man1/pg_test_timing.1*
1095 %{_mandir}/man1/pg_upgrade.1*
1096 %{_mandir}/man1/pg_verify_checksums.1*
1097 %{_mandir}/man1/pgbench.1*
1098 %{_mandir}/man1/postgres.1*
1099 %{_mandir}/man1/postmaster.1*
1102 %defattr(644,root,root,755)
1103 %doc doc/src/sgml/html howto
1104 %{_examplesdir}/%{name}-%{version}
1106 %files libs -f libpq5-%{mver}.lang
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1109 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1110 %dir %{_pgmoduledir}
1112 %dir %{_pgmoduledir}/bitcode
1115 %files ecpg -f ecpg.lang
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_bindir}/ecpg
1118 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1119 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1120 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1121 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1122 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1123 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1124 %{_mandir}/man1/ecpg.1*
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libecpg.so
1129 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1130 %attr(755,root,root) %{_libdir}/libpgtypes.so
1131 %{_includedir}/ecpg*
1132 %{_pkgconfigdir}/libecpg.pc
1133 %{_pkgconfigdir}/libecpg_compat.pc
1134 %{_pkgconfigdir}/libpgtypes.pc
1136 %files devel -f pg_config-%{mver}.lang
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_bindir}/pg_config
1139 %attr(755,root,root) %{_libdir}/libpq.so
1140 %dir %{_includedir}/postgresql
1141 %{_includedir}/libpq-events.h
1142 %{_includedir}/libpq-fe.h
1143 %{_includedir}/pg_config.h
1144 %{_includedir}/pg_config_ext.h
1145 %{_includedir}/pg_config_manual.h
1146 %{_includedir}/pg_config_os.h
1147 %{_includedir}/postgres_ext.h
1148 %dir %{_includedir}/postgresql/internal
1149 %{_includedir}/postgresql/internal/c.h
1150 %{_includedir}/postgresql/internal/libpq-int.h
1151 %{_includedir}/postgresql/internal/port.h
1152 %{_includedir}/postgresql/internal/postgres_fe.h
1153 %{_includedir}/postgresql/internal/pqexpbuffer.h
1154 %{_includedir}/postgresql/internal/libpq
1155 %{_includedir}/libpq
1156 %{_pkgconfigdir}/libpq.pc
1157 %{_mandir}/man1/pg_config.1*
1159 %files backend-devel
1160 %defattr(644,root,root,755)
1161 %{_includedir}/postgresql/server
1162 %dir %{_pgmoduledir}/pgxs
1163 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1164 %{_pgmoduledir}/pgxs/src
1165 %{_mandir}/man3/SPI_*.3*
1168 %defattr(644,root,root,755)
1169 %{_libdir}/libecpg.a
1170 %{_libdir}/libecpg_compat.a
1172 %{_libdir}/libpgcommon.a
1173 %{_libdir}/libpgfeutils.a
1174 %{_libdir}/libpgtypes.a
1175 %{_libdir}/libpgport.a
1177 %files clients -f clients.lang
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_bindir}/clusterdb
1180 %attr(755,root,root) %{_bindir}/createdb
1181 %attr(755,root,root) %{_bindir}/createuser
1182 %attr(755,root,root) %{_bindir}/dropdb
1183 %attr(755,root,root) %{_bindir}/dropuser
1184 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1185 %attr(755,root,root) %{_bindir}/pg_dump
1186 %attr(755,root,root) %{_bindir}/pg_dumpall
1187 %attr(755,root,root) %{_bindir}/pg_isready
1188 %attr(755,root,root) %{_bindir}/pg_restore
1189 %attr(755,root,root) %{_bindir}/psql
1190 %attr(755,root,root) %{_bindir}/reindexdb
1191 %attr(755,root,root) %{_bindir}/vacuumdb
1193 %{_mandir}/man1/clusterdb.1*
1194 %{_mandir}/man1/createdb.1*
1195 %{_mandir}/man1/createuser.1*
1196 %{_mandir}/man1/dropdb.1*
1197 %{_mandir}/man1/dropuser.1*
1198 %{_mandir}/man1/pg_archivecleanup.1*
1199 %{_mandir}/man1/pg_dump.1*
1200 %{_mandir}/man1/pg_dumpall.1*
1201 %{_mandir}/man1/pg_isready.1*
1202 %{_mandir}/man1/pg_restore.1*
1203 %{_mandir}/man1/psql.1*
1204 %{_mandir}/man1/reindexdb.1*
1205 %{_mandir}/man1/vacuumdb.1*
1206 %{_mandir}/man7/*.7*
1209 %files module-llvmjit
1210 %defattr(644,root,root,755)
1211 %doc src/backend/jit/README
1212 %attr(755,root,root) %{_pgmoduledir}/llvmjit.so
1213 %{_pgmoduledir}/llvmjit_types.bc
1214 # base postgres bitcode
1215 %{_pgmoduledir}/bitcode/postgres
1216 %{_pgmoduledir}/bitcode/postgres.index.bc
1217 # base modules bitcode
1218 %{_pgmoduledir}/bitcode/dict_int
1219 %{_pgmoduledir}/bitcode/dict_int.index.bc
1220 %{_pgmoduledir}/bitcode/dict_xsyn
1221 %{_pgmoduledir}/bitcode/dict_xsyn.index.bc
1225 %files module-plperl -f plperl-%{mver}.lang
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1228 %{_pgsqldir}/plperl--*.sql
1229 %{_pgsqldir}/plperl.control
1230 %{_pgsqldir}/plperlu--*.sql
1231 %{_pgsqldir}/plperlu.control
1235 %files module-plpython -f plpython-%{mver}.lang
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1238 %{_pgsqldir}/plpython*--*.sql
1239 %{_pgsqldir}/plpython*.control
1243 %files module-pltcl -f pltcl-%{mver}.lang
1244 %defattr(644,root,root,755)
1245 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1246 %{_pgsqldir}/pltcl*--*.sql
1247 %{_pgsqldir}/pltcl*.control
1250 %files module-dblink
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1254 %{_pgmoduledir}/bitcode/dblink
1255 %{_pgmoduledir}/bitcode/dblink.index.bc
1257 %{_pgsqldir}/dblink--*.sql
1258 %{_pgsqldir}/dblink.control
1259 %{_mandir}/man3/dblink*.3*
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) %{_pgmoduledir}/lo.so
1265 %{_pgmoduledir}/bitcode/lo
1266 %{_pgmoduledir}/bitcode/lo.index.bc
1268 %{_pgsqldir}/lo--*.sql
1269 %{_pgsqldir}/lo.control
1271 %files module-pg_trgm
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1275 %{_pgmoduledir}/bitcode/pg_trgm
1276 %{_pgmoduledir}/bitcode/pg_trgm.index.bc
1278 %{_pgsqldir}/pg_trgm--*.sql
1279 %{_pgsqldir}/pg_trgm.control
1281 %files module-pgcrypto
1282 %defattr(644,root,root,755)
1283 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1285 %{_pgmoduledir}/bitcode/pgcrypto
1286 %{_pgmoduledir}/bitcode/pgcrypto.index.bc
1288 %{_pgsqldir}/pgcrypto--*.sql
1289 %{_pgsqldir}/pgcrypto.control
1292 %files module-sepgsql
1293 %defattr(644,root,root,755)
1294 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1296 %{_pgmoduledir}/bitcode/sepgsql
1297 %{_pgmoduledir}/bitcode/sepgsql.index.bc
1299 %{_pgsqldir}/sepgsql.sql
1302 %files module-tablefunc
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1306 %{_pgmoduledir}/bitcode/tablefunc
1307 %{_pgmoduledir}/bitcode/tablefunc.index.bc
1309 %{_pgsqldir}/*tablefunc--*.sql
1310 %{_pgsqldir}/*tablefunc.control
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1316 %{_pgmoduledir}/bitcode/pgxml
1317 %{_pgmoduledir}/bitcode/pgxml.index.bc
1319 %{_pgsqldir}/xml2--*.sql
1320 %{_pgsqldir}/xml2.control
1323 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_bindir}/oid2name
1326 %attr(755,root,root) %{_bindir}/pg_standby
1327 %attr(755,root,root) %{_bindir}/vacuumlo
1328 %attr(755,root,root) %{_pgmoduledir}/_int.so
1329 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1330 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1331 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1332 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1333 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1334 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1335 %attr(755,root,root) %{_pgmoduledir}/citext.so
1336 %attr(755,root,root) %{_pgmoduledir}/cube.so
1337 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1338 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1339 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1340 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1341 %attr(755,root,root) %{_pgmoduledir}/isn.so
1342 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1343 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1344 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1345 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1346 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1347 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1348 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1349 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1350 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1351 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1352 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1353 %attr(755,root,root) %{_pgmoduledir}/seg.so
1354 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1355 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1356 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1357 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1358 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1359 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1361 %{_pgmoduledir}/bitcode/_int
1362 %{_pgmoduledir}/bitcode/_int.index.bc
1363 %{_pgmoduledir}/bitcode/adminpack
1364 %{_pgmoduledir}/bitcode/adminpack.index.bc
1365 %{_pgmoduledir}/bitcode/auth_delay
1366 %{_pgmoduledir}/bitcode/auth_delay.index.bc
1367 %{_pgmoduledir}/bitcode/auto_explain
1368 %{_pgmoduledir}/bitcode/auto_explain.index.bc
1369 %{_pgmoduledir}/bitcode/bloom
1370 %{_pgmoduledir}/bitcode/bloom.index.bc
1371 %{_pgmoduledir}/bitcode/btree_gin
1372 %{_pgmoduledir}/bitcode/btree_gin.index.bc
1373 %{_pgmoduledir}/bitcode/btree_gist
1374 %{_pgmoduledir}/bitcode/btree_gist.index.bc
1375 %{_pgmoduledir}/bitcode/citext
1376 %{_pgmoduledir}/bitcode/citext.index.bc
1377 %{_pgmoduledir}/bitcode/cube
1378 %{_pgmoduledir}/bitcode/cube.index.bc
1379 %{_pgmoduledir}/bitcode/earthdistance
1380 %{_pgmoduledir}/bitcode/earthdistance.index.bc
1381 %{_pgmoduledir}/bitcode/file_fdw
1382 %{_pgmoduledir}/bitcode/file_fdw.index.bc
1383 %{_pgmoduledir}/bitcode/fuzzystrmatch
1384 %{_pgmoduledir}/bitcode/fuzzystrmatch.index.bc
1385 %{_pgmoduledir}/bitcode/hstore
1386 %{_pgmoduledir}/bitcode/hstore.index.bc
1387 %{_pgmoduledir}/bitcode/isn
1388 %{_pgmoduledir}/bitcode/isn.index.bc
1389 %{_pgmoduledir}/bitcode/ltree
1390 %{_pgmoduledir}/bitcode/ltree.index.bc
1391 %{_pgmoduledir}/bitcode/pageinspect
1392 %{_pgmoduledir}/bitcode/pageinspect.index.bc
1393 %{_pgmoduledir}/bitcode/passwordcheck
1394 %{_pgmoduledir}/bitcode/passwordcheck.index.bc
1395 %{_pgmoduledir}/bitcode/pg_buffercache
1396 %{_pgmoduledir}/bitcode/pg_buffercache.index.bc
1397 %{_pgmoduledir}/bitcode/pg_freespacemap
1398 %{_pgmoduledir}/bitcode/pg_freespacemap.index.bc
1399 %{_pgmoduledir}/bitcode/pg_prewarm
1400 %{_pgmoduledir}/bitcode/pg_prewarm.index.bc
1401 %{_pgmoduledir}/bitcode/pg_stat_statements
1402 %{_pgmoduledir}/bitcode/pg_stat_statements.index.bc
1403 %{_pgmoduledir}/bitcode/pg_visibility
1404 %{_pgmoduledir}/bitcode/pg_visibility.index.bc
1405 %{_pgmoduledir}/bitcode/pgrowlocks
1406 %{_pgmoduledir}/bitcode/pgrowlocks.index.bc
1407 %{_pgmoduledir}/bitcode/pgstattuple
1408 %{_pgmoduledir}/bitcode/pgstattuple.index.bc
1409 %{_pgmoduledir}/bitcode/postgres_fdw
1410 %{_pgmoduledir}/bitcode/postgres_fdw.index.bc
1411 %{_pgmoduledir}/bitcode/seg
1412 %{_pgmoduledir}/bitcode/seg.index.bc
1413 %{_pgmoduledir}/bitcode/sslinfo
1414 %{_pgmoduledir}/bitcode/sslinfo.index.bc
1415 %{_pgmoduledir}/bitcode/tcn
1416 %{_pgmoduledir}/bitcode/tcn.index.bc
1417 %{_pgmoduledir}/bitcode/tsm_system_rows
1418 %{_pgmoduledir}/bitcode/tsm_system_rows.index.bc
1419 %{_pgmoduledir}/bitcode/tsm_system_time
1420 %{_pgmoduledir}/bitcode/tsm_system_time.index.bc
1421 %{_pgmoduledir}/bitcode/unaccent
1422 %{_pgmoduledir}/bitcode/unaccent.index.bc
1423 %{_pgmoduledir}/bitcode/uuid-ossp
1424 %{_pgmoduledir}/bitcode/uuid-ossp.index.bc
1426 %{_pgsqldir}/adminpack--*.sql
1427 %{_pgsqldir}/adminpack.control
1428 %{_pgsqldir}/bloom--*.sql
1429 %{_pgsqldir}/bloom.control
1430 %{_pgsqldir}/btree_gin--*.sql
1431 %{_pgsqldir}/btree_gin.control
1432 %{_pgsqldir}/btree_gist--*.sql
1433 %{_pgsqldir}/btree_gist.control
1434 %{_pgsqldir}/citext--*.sql
1435 %{_pgsqldir}/citext.control
1436 %{_pgsqldir}/cube--*.sql
1437 %{_pgsqldir}/cube.control
1438 %{_pgsqldir}/dict_int--*.sql
1439 %{_pgsqldir}/dict_int.control
1440 %{_pgsqldir}/dict_xsyn--*.sql
1441 %{_pgsqldir}/dict_xsyn.control
1442 %{_pgsqldir}/earthdistance--*.sql
1443 %{_pgsqldir}/earthdistance.control
1444 %{_pgsqldir}/file_fdw--*.sql
1445 %{_pgsqldir}/file_fdw.control
1446 %{_pgsqldir}/fuzzystrmatch--*.sql
1447 %{_pgsqldir}/fuzzystrmatch.control
1448 %{_pgsqldir}/hstore--*.sql
1449 %{_pgsqldir}/hstore.control
1450 %{_pgsqldir}/intarray--*.sql
1451 %{_pgsqldir}/intarray.control
1452 %{_pgsqldir}/intagg--*.sql
1453 %{_pgsqldir}/intagg.control
1454 %{_pgsqldir}/isn--*.sql
1455 %{_pgsqldir}/isn.control
1456 %{_pgsqldir}/ltree--*.sql
1457 %{_pgsqldir}/ltree.control
1458 %{_pgsqldir}/pageinspect--*.sql
1459 %{_pgsqldir}/pageinspect.control
1460 %{_pgsqldir}/pg_buffercache--*.sql
1461 %{_pgsqldir}/pg_buffercache.control
1462 %{_pgsqldir}/pg_freespacemap--*.sql
1463 %{_pgsqldir}/pg_freespacemap.control
1464 %{_pgsqldir}/pg_prewarm--*.sql
1465 %{_pgsqldir}/pg_prewarm.control
1466 %{_pgsqldir}/pg_stat_statements--*.sql
1467 %{_pgsqldir}/pg_stat_statements.control
1468 %{_pgsqldir}/pg_visibility--*.sql
1469 %{_pgsqldir}/pg_visibility.control
1470 %{_pgsqldir}/pgrowlocks--*.sql
1471 %{_pgsqldir}/pgrowlocks.control
1472 %{_pgsqldir}/pgstattuple--*.sql
1473 %{_pgsqldir}/pgstattuple.control
1474 %{_pgsqldir}/postgres_fdw--*.sql
1475 %{_pgsqldir}/postgres_fdw.control
1476 %{_pgsqldir}/seg--*.sql
1477 %{_pgsqldir}/seg.control
1478 %{_pgsqldir}/sslinfo--*.sql
1479 %{_pgsqldir}/sslinfo.control
1480 %{_pgsqldir}/tcn--*.sql
1481 %{_pgsqldir}/tcn.control
1482 %{_pgsqldir}/tsm_system_rows--*.sql
1483 %{_pgsqldir}/tsm_system_rows.control
1484 %{_pgsqldir}/tsm_system_time--*.sql
1485 %{_pgsqldir}/tsm_system_time.control
1486 %{_pgsqldir}/unaccent--*.sql
1487 %{_pgsqldir}/unaccent.control
1488 %{_pgsqldir}/uuid-ossp--*.sql
1489 %{_pgsqldir}/uuid-ossp.control
1491 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1492 %{_pgsqldir}/hstore_plperl--*.sql
1493 %{_pgsqldir}/hstore_plperl.control
1494 %{_pgsqldir}/hstore_plperlu--*.sql
1495 %{_pgsqldir}/hstore_plperlu.control
1497 %{_pgmoduledir}/bitcode/hstore_plperl
1498 %{_pgmoduledir}/bitcode/hstore_plperl.index.bc
1502 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1503 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1505 %{_pgmoduledir}/bitcode/hstore_plpython2
1506 %{_pgmoduledir}/bitcode/hstore_plpython2.index.bc
1507 %{_pgmoduledir}/bitcode/ltree_plpython2
1508 %{_pgmoduledir}/bitcode/ltree_plpython2.index.bc
1510 %{_pgsqldir}/hstore_plpythonu--*.sql
1511 %{_pgsqldir}/hstore_plpythonu.control
1512 %{_pgsqldir}/hstore_plpython2u--*.sql
1513 %{_pgsqldir}/hstore_plpython2u.control
1514 %{_pgsqldir}/hstore_plpython3u--*.sql
1515 %{_pgsqldir}/hstore_plpython3u.control
1516 %{_pgsqldir}/ltree_plpythonu--*.sql
1517 %{_pgsqldir}/ltree_plpythonu.control
1518 %{_pgsqldir}/ltree_plpython2u--*.sql
1519 %{_pgsqldir}/ltree_plpython2u.control
1520 %{_pgsqldir}/ltree_plpython3u--*.sql
1521 %{_pgsqldir}/ltree_plpython3u.control
1523 %{_mandir}/man1/oid2name.1*
1524 %{_mandir}/man1/pg_standby.1*
1525 %{_mandir}/man1/vacuumlo.1*