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: 26e85a23c6a0ef68e9755555aea31141
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
56 Patch5: %{name}-heimdal.patch
57 Patch6: %{name}-link.patch
58 URL: http://www.postgresql.org/
59 BuildRequires: autoconf >= 2.69
60 BuildRequires: automake
61 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
62 # not needed for releases... but fixes something in snapshot
63 BuildRequires: bison >= 1.875
64 %{?with_llvm:BuildRequires: clang >= 3.9}
65 BuildRequires: docbook-dtd42-xml
66 BuildRequires: docbook-style-xsl
67 BuildRequires: flex >= 2.5.31
68 BuildRequires: gettext-tools
69 BuildRequires: gnome-doc-tools
70 %{?with_kerberos5:BuildRequires: heimdal-devel}
71 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
72 BuildRequires: libtool
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 >= 0.9.7d
80 BuildRequires: ossp-uuid-devel
81 BuildRequires: pam-devel
83 BuildRequires: perl-Scalar-List-Utils
84 BuildRequires: perl-devel
87 BuildRequires: python >= 1:2.4
88 BuildRequires: python-devel >= 1:2.4
89 BuildRequires: python-modules >= 1:2.4
91 BuildRequires: readline-devel >= 4.2
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,preun): /sbin/chkconfig
99 Requires(pre): /bin/id
100 Requires(pre): /usr/bin/getgid
101 Requires(pre): /usr/sbin/groupadd
102 Requires(pre): /usr/sbin/useradd
103 Requires(postun): /bin/id
104 Requires(postun): /usr/sbin/usermod
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-module-plpgsql
114 Obsoletes: postgresql-module-tsearch2
115 Obsoletes: postgresql-server
116 Obsoletes: postgresql-test
117 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
119 %define _pgmoduledir %{_libdir}/postgresql
120 %define _pgsqldir %{_datadir}/postgresql/extension
122 %define _ulibdir /usr/lib
125 # spi, test_decoding, worker_spi - examples/tests
126 # tsearch2 - old module for compatibility only
127 %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
130 PostgreSQL Data Base Management System (formerly known as Postgres,
133 PostgreSQL is an enhancement of the POSTGRES database management
134 system, a next-generation DBMS research prototype. While PostgreSQL
135 retains the powerful data model and rich data types of POSTGRES, it
136 replaces the PostQuel query language with an extended subset of SQL.
137 PostgreSQL is free and the complete source is available.
139 PostgreSQL development is being performed by a team of Internet
140 developers who all subscribe to the PostgreSQL development mailing
141 list. The current coordinator is Marc G. Fournier
142 (scrappy@postgreSQL.org). This team is now responsible for all current
143 and future development of PostgreSQL.
145 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
146 others have contributed to the porting, testing, debugging and
147 enhancement of the code. The original Postgres code, from which
148 PostgreSQL is derived, was the effort of many graduate students,
149 undergraduate students, and staff programmers working under the
150 direction of Professor Michael Stonebraker at the University of
151 California, Berkeley.
153 The original name of the software at Berkeley was Postgres. When SQL
154 functionality was added in 1995, its name was changed to Postgres95.
155 The name was changed at the end of 1996 to PostgreSQL.
157 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
158 and most flavours of Unix.
160 %description -l de.UTF-8
161 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
164 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
165 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
166 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
167 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
168 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
171 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
172 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
173 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
174 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
176 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
177 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
178 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
179 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
180 Studenten und Programmierern unter der Leitung von Professor Michael
181 Stonebraker an der University of California, Berkeley.
183 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
184 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
185 entschied man sich für PostgreSQL.
187 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
188 und den meisten Unix-Systemen.
190 %description -l es.UTF-8
191 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
192 como Postgres, y después como Postgres95). PostgreSQL es una
193 continuación mejorada del Sistema Administrador de Banco de Datos
194 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
195 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
196 los varios tipos de datos del POSTGRES, substituye el lenguaje de
197 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
198 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
199 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
200 en la lista de desarrollo del PostgreSQL. El coordinador actual es
201 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
202 responsable por el desarrollo actual y futuro del PostgreSQL.
204 %description -l fr.UTF-8
205 Système de gestion de bases de données PostgreSQL (D'abord nommé
206 Postgres, puis Postgres95).
208 PostgreSQL est une amélioration du système de gestion de bases de
209 données POSTGRES, un prototype de recherche de la génération suivant
210 DBMS. Tout en conservant le puissant modèle de donnée de et les types
211 de donée riches de Postgres, il remplace le langage de requêtes de
212 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
213 libre, et ses sources sont disponibles.
215 Le développement de PostgreSQL est actuellement réalisé via internet
216 parune équipe de développeurs inscrits sur la mailing-list de
217 développement de PostgreSQL. Le coordinateur actuel est Marc G
218 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
219 développemen actuel et à venir de PostgreSQL.
221 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
222 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
223 l'amélioration du code. Le code original de Postgres, duquel
224 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
225 moins haut niveau, et de programmeurs travaillant sous la direction du
226 professeur Michael Stonebraker à l'université de Berkeley Californie.
228 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
229 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
230 rebaptisé PostgreSQL en 1996.
232 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
233 et la plupart des Unix.
235 %description -l pl.UTF-8
236 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
237 Postgres, następnie jako Postgres95).
239 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
240 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
241 model danych oraz bogaty zbiór różnych typów danych, to jednak język
242 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
243 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
246 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
247 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
248 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
249 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
251 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
252 innych pomagało przenosząc na różne platformy, testując, analizując i
253 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
254 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
255 zespołu programistów, którzy pracowali pod kierunkiem profesora
256 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
258 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
259 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
260 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
263 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
264 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
266 %description -l pt_BR.UTF-8
267 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
268 Postgres, e depois como Postgres95).
270 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
271 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
272 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
273 dados e os vários tipos de dados do POSTGRES, ele substitui a
274 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
275 PostgreSQL é livre e tem os fontes disponíveis.
277 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
278 desenvolvedores da Internet, todos subscritores da lista de
279 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
280 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
281 desenvolvimento atual e futuro do PostgreSQL.
283 %description -l ru.UTF-8
284 PostgreSQL - система управления базами данных (прежде известная как
285 Postgres, потом как Postgres95).
287 PostgreSQL - это расширенная версия системы управления базами данных
288 POSTGRES, исследовательского прототипа DBMS следующей генерации.
289 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
290 она заменяет язык запросов PostQuel расширенным набором SQL.
291 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
294 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
295 на список рассылки, посвященный разработке PostgreSQL. В настоящее
296 время координатором является Marc G. Fournier
297 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
298 все текущие и будущие разработки PostgreSQL.
300 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
301 свой вклад в портирование, тестирование, отладку и улучшение кода.
302 Оригинальный код Postgres, от которого произошел PostgreSQL, был
303 создан усилиями студентов, аспирантов и персонала, работающего под
304 руководством профессора Michael Stonebraker в University of
305 California, Berkeley.
307 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
308 была добавлена функциональность SQL, название изменилось на
309 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
312 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
313 и большинстве других разновидностей Unix.
315 %description -l tr.UTF-8
316 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
317 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
318 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
319 sorgulama dilini koyar.
321 %description -l uk.UTF-8
322 PostgreSQL - система керування базами даних (раніш відома як Postgres,
323 потім як Postgres95).
325 PostgreSQL - це розширена версія системи керування базами даних
326 POSTGRES, дослідницького прототипу DBMS наступної генерації.
327 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
328 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
329 безкоштовна та поставляється у вигляді повного комплекту вихідних
332 PostgreSQL розробляється командою Internet-програмістів, учасників
333 списку розсилки, присвяченого розробці PostgreSQL. Наразі
334 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
335 відповідає за всі поточні та майбутні розробки PostgreSQL.
337 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
338 внесли свій внесок в портування, тестування, відладку та покращення
339 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
340 створений зусиллями студентів, аспірантів та персоналу, який працював
341 під керівництвом професора Michael Stonebraker в University of
342 California, Berkeley.
344 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
345 було додано функціональність SQL, назва змінилася на Postgres95. В
346 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
348 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
349 та більшості інших різновидів Unix.
352 Summary: PostgreSQL development header files and libraries
353 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
354 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
355 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
356 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
357 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
358 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
359 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
360 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
361 Group: Development/Libraries
362 Requires: %{name}-libs = %{version}-%{release}
365 This package contains header files and libraries required to compile
366 applications that are talking directly to the PostgreSQL backend
369 %description devel -l de.UTF-8
370 Dieses Paket enthält die Header-Dateien und Libraries, die zum
371 Kompilieren von Applikationen notwendig sind, die direkt mit dem
372 PostgreSQL-Backend-Server kommunizieren.
374 %description devel -l es.UTF-8
375 Este paquete contiene archivos de inclusión y bibliotecas requeridas
376 para compilación de aplicativos que se comunican directamente con el
377 servidor backend PostgreSQL.
379 %description devel -l fr.UTF-8
380 Ce package contient les fichiers d'en-tête et les bibliothéques
381 nécessaires pour compiler des applications ayant des échanges directs
382 avec le serveur du backend PostgreSQL.
384 %description devel -l pl.UTF-8
385 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
386 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
388 %description devel -l pt_BR.UTF-8
389 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
390 compilação de aplicativos que se comunicam diretamente com o servidor
393 %description devel -l ru.UTF-8
394 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
395 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
397 %description devel -l tr.UTF-8
398 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
399 gereken başlık dosyalarını ve kitaplıkları içerir.
401 %description devel -l uk.UTF-8
402 Цей пакет містить хедери та бібліотеки, необхідні для розробки
403 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
405 %package backend-devel
406 Summary: PostgreSQL backend development header files
407 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
408 Group: Development/Libraries
409 Requires: %{name}-devel = %{version}-%{release}
410 Requires: %{name}-libs = %{version}-%{release}
412 %description backend-devel
413 This package contains header files required to compile functions that
414 could be loaded directly by backend
416 %description backend-devel -l pl.UTF-8
417 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
418 bezposrednio ladowane przez beckend serwera PostgreSQL.
421 Summary: Clients needed to access a PostgreSQL server
422 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
423 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
424 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
425 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
426 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
427 Group: Applications/Databases
428 Requires: %{name}-libs = %{version}-%{release}
431 This package includes only the clients needed to access an PostgreSQL
432 server. The server is included in the main package. If all you need is
433 to connect to another PostgreSQL server, the this is the only package
434 you need to install. Clients include several command-line utilities
435 you can use to manage your databases on a remote PostgreSQL server.
437 %description clients -l es.UTF-8
438 Este paquete incluye solamente los clientes necesarios para acceder un
439 servidor PostgreSQL. El servidor está en el paquete principal.
441 %description clients -l pl.UTF-8
442 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
443 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
444 poleceń. Serwer znajduje się w głównym pakiecie.
446 %description clients -l pt_BR.UTF-8
447 Este pacote inclui somente os clientes necessários para acessar um
448 servidor PostgreSQL. O servidor está no pacote principal.
450 %description clients -l ru.UTF-8
451 Этот пакет включает только клиентские программы и библиотеки,
452 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
453 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
454 единственный пакет, который вам надо установить.
456 Теперь пакеты с библиотеками для разных языков программирования (C,
457 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
460 %description clients -l uk.UTF-8
461 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
462 для доступу до сервера PostgreSQL. Сервер міститься в головному
463 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
464 єдиний пакет, який вам треба встановити.
466 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
467 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
470 Summary: Documentation for PostgreSQL
471 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
472 Group: Applications/Databases
475 This package includes documentation and HOWTO for programmer, admin
476 etc., in HTML format.
478 %description doc -l pl.UTF-8
479 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
480 administratorów w formacie HTML.
483 Summary: PostgreSQL libraries
484 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
485 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
486 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
487 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
491 PostgreSQL shared libraries.
493 %description libs -l es.UTF-8
494 Este paquete contiene la biblioteca compartida para acceso al
497 %description libs -l pl.UTF-8
498 Biblioteki dzielone programu PostgreSQL.
500 %description libs -l pt_BR.UTF-8
501 Este pacote contém a biblioteca compartilhada para acesso ao
505 Summary: Embedded SQL in C interface
506 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
508 Requires: %{name}-libs = %{version}-%{release}
511 Embedded SQL in C interface.
513 %description ecpg -l pl.UTF-8
514 Interfejs wbudowanego SQL-a w język C.
517 Summary: Embedded SQL in C interface files
518 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
519 Group: Development/Libraries
520 Requires: %{name}-devel = %{version}-%{release}
521 Requires: %{name}-ecpg = %{version}-%{release}
523 %description ecpg-devel
524 Embedded SQL in C interface files.
526 %description ecpg-devel -l pl.UTF-8
527 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
530 Summary: PostgreSQL static libraries
531 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
532 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
533 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
534 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
535 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
536 Group: Development/Libraries
537 Requires: %{name}-devel = %{version}-%{release}
540 PostgreSQL static libraries.
542 %description static -l es.UTF-8
543 Este paquete contiene bibliotecas estaticas requerida para compilación
544 de aplicativos que se comunican directamente con el servidor backend
547 %description static -l pl.UTF-8
548 Biblioteki statyczne programu PostgreSQL.
550 %description static -l pt_BR.UTF-8
551 Este pacote contém as bibliotecas estáticas requeridas para compilação
552 de aplicativos que se comunicam diretamente com o servidor backend
555 %description static -l ru.UTF-8
556 Это отдельный пакет со статическими библиотеками, которые больше не
557 входят в %{name}-devel.
559 %description static -l uk.UTF-8
560 Це окремий пакет зі статичними бібліотеками, які більш не входять в
563 %package module-llvmjit
564 Summary: LLVM JIT module for PostgreSQL
565 Summary(pl.UTF-8): Moduł LLVM JIT dla PostgreSQL-a
566 Group: Applications/Databases
567 Requires: %{name} = %{version}-%{release}
569 %description module-llvmjit
570 LLVM JIT module for PostgreSQL.
572 %description module-llvmjit -l pl.UTF-8
573 Moduł LLVM JIT dla PostgreSQL-a.
575 %package module-plperl
576 Summary: PL/perl - PostgreSQL procedural language
577 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
578 Group: Applications/Databases
579 Requires: %{name} = %{version}-%{release}
581 %description module-plperl
582 From PostgreSQL documentation:
584 Postgres supports the definition of procedural languages. In the case
585 of a function or trigger procedure defined in a procedural language,
586 the database has no built-in knowledge about how to interpret the
587 function's source text. Instead, the task is passed to a handler that
588 knows the details of the language. The handler itself is a special
589 programming language function compiled into a shared object and loaded
592 To enable PL/Perl procedural language for your database you have to
593 run createlang command.
595 %description module-plperl -l pl.UTF-8
596 Z dokumentacji PostgreSQL:
598 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
599 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
600 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
601 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
602 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
603 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
606 Za pomocą polecenia createlang można dodać obsługę języka
607 proceduralnego PL/Perl dla swojej bazy danych.
609 %package module-plpython
610 Summary: PL/Python - PostgreSQL procedural language
611 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
612 Group: Applications/Databases
613 Requires: %{name} = %{version}-%{release}
614 %pyrequires_eq python
616 %description module-plpython
617 From PostgreSQL documentation:
619 Postgres supports the definition of procedural languages. In the case
620 of a function or trigger procedure defined in a procedural language,
621 the database has no built-in knowledge about how to interpret the
622 function's source text. Instead, the task is passed to a handler that
623 knows the details of the language. The handler itself is a special
624 programming language function compiled into a shared object and loaded
627 To enable PL/Python procedural language for your database you have to
628 run createlang command.
630 %description module-plpython -l pl.UTF-8
631 Z dokumentacji PostgreSQL:
633 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
634 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
635 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
636 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
637 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
638 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
641 Za pomocą polecenia createlang można dodać obsługę języka
642 proceduralnego PL/Python dla swojej bazy danych.
644 %package module-pltcl
645 Summary: PL/Tcl - PostgreSQL procedural language
646 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
647 Group: Applications/Databases
648 Requires: %{name} = %{version}-%{release}
651 %description module-pltcl
652 From PostgreSQL documentation:
654 Postgres supports the definition of procedural languages. In the case
655 of a function or trigger procedure defined in a procedural language,
656 the database has no built-in knowledge about how to interpret the
657 function's source text. Instead, the task is passed to a handler that
658 knows the details of the language. The handler itself is a special
659 programming language function compiled into a shared object and loaded
662 To enable PL/Tcl procedural language for your database you have to run
665 %description module-pltcl -l pl.UTF-8
666 Z dokumentacji PostgreSQL:
668 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
669 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
670 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
671 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
672 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
673 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
676 Za pomocą polecenia createlang można dodać obsługę języka
677 proceduralnego PL/Tcl dla swojej bazy danych.
679 %package module-dblink
680 Summary: dblink module for PostgreSQL
681 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
682 Group: Applications/Databases
683 Requires: %{name} = %{version}-%{release}
685 %description module-dblink
686 dblink module for PostgreSQL provides functions returning results from
689 %description module-dblink -l pl.UTF-8
690 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
694 Summary: Large Objects module for PostgreSQL
695 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
696 Group: Applications/Databases
697 Requires: %{name} = %{version}-%{release}
699 %description module-lo
700 Large Objects module for PostgreSQL adds a new data type 'lo', some
701 support functions and a trigger which handles the orphaning problem.
703 %description module-lo -l pl.UTF-8
704 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
705 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
706 osieroconych obiektów.
708 %package module-pg_trgm
709 Summary: Trigram matching for PostgreSQL
710 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
711 Group: Applications/Databases
712 Requires: %{name} = %{version}-%{release}
714 %description module-pg_trgm
715 This module provides functions and index classes for determining the
716 similarity of text based on trigram matching.
718 %description module-pg_trgm -l pl.UTF-8
719 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
720 w oparciu o dopasowywanie trigramowe (trigram matching).
722 %package module-pgcrypto
723 Summary: Cryptographic functions for PostgreSQL
724 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
725 Group: Applications/Databases
726 Requires: %{name} = %{version}-%{release}
728 %description module-pgcrypto
729 Cryptographic functions for PostgreSQL.
731 %description module-pgcrypto -l pl.UTF-8
732 Funkcje kryptograficzne dla PostgreSQL.
734 %package module-sepgsql
735 Summary: PostgreSQL external security provider using SELinux
736 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
737 Group: Applications/Databases
738 Requires: %{name} = %{version}-%{release}
739 Requires: libselinux >= 2.1.10
741 %description module-sepgsql
742 PostgreSQL external security provider using SELinux.
744 %description module-sepgsql -l pl.UTF-8
745 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
747 %package module-tablefunc
748 Summary: crosstab functions for PostgreSQL
749 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
750 Group: Applications/Databases
751 Requires: %{name} = %{version}-%{release}
753 %description module-tablefunc
754 crosstab functions for PostgreSQL.
756 %description module-tablefunc -l pl.UTF-8
757 Funkcje crosstab dla PostgreSQL-a.
760 Summary: XML-handling functions for PostgreSQL
761 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
762 Group: Applications/Databases
763 Requires: %{name} = %{version}-%{release}
764 Requires: libxml2 >= 1:2.6.23
766 %description module-xml2
767 Module with XML functions provides both XPath querying and XSLT
768 functionality. There is also a new table function which allows the
769 straightforward return of multiple XML results.
771 %description module-xml2 -l pl.UTF-8
772 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
773 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
774 bezpośrednie zwracanie wielu wyników XML.
777 Summary: Miscellaneous PostgreSQL contrib modules
778 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
779 Group: Applications/Databases
780 Requires: %{name} = %{version}-%{release}
783 Miscellaneous PostgreSQL contrib modules.
785 %description contrib -l pl.UTF-8
786 Różne moduły dołączone do PostgreSQL-a.
791 %{?with_absolute_dbpaths:%patch1 -p1}
798 # force rebuild of bison/flex files
799 find src -name \*.l -o -name \*.y | xargs touch
802 #find contrib -type d -name CVS -exec rm -rf {} \;
808 %{__aclocal} -I config
812 CFLAGS="%{rpmcflags} $march -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
813 CPPFLAGS="%{rpmcppflags} $march" \
814 CXXFLAGS="%{rpmcxxflags} $march" \
817 %{?with_systemtap:--enable-dtrace} \
818 --enable-integer-datetimes \
820 --enable-thread-safety \
821 %{?with_bonjour:--with-bonjour} \
822 %{?with_kerberos5:--with-gssapi} \
823 %{?with_ldap:--with-ldap} \
824 %{?with_llvm:--with-llvm} \
829 %{?with_perl:--with-perl} \
830 %{?with_python:--with-python} \
831 %{?with_selinux:--with-selinux} \
832 --with-system-tzdata=%{_datadir}/zoneinfo \
833 %{?with_systemd:--with-systemd} \
834 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
839 for mod in %{contrib_modules}; do \
840 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
841 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
842 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
843 %{__make} -C contrib/$mod CFLAGS="$flags"
846 %{__make} -C src/tutorial \
849 %ifnarch sparc sparcv9 sparc64 alpha
850 %{?with_tests:%{__make} -j1 check}
854 rm -rf $RPM_BUILD_ROOT
855 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
856 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
857 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
858 $RPM_BUILD_ROOT%{_mandir} \
859 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
860 $RPM_BUILD_ROOT/home/services/postgres
862 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
865 DESTDIR=$RPM_BUILD_ROOT
866 %{__make} -C doc/src/sgml install-man \
867 DESTDIR=$RPM_BUILD_ROOT
870 %{__make} install -C src/pl/plperl \
871 DESTDIR=$RPM_BUILD_ROOT
874 for mod in %{contrib_modules}; do \
875 %{__make} -C contrib/$mod install \
876 DESTDIR=$RPM_BUILD_ROOT
879 touch $RPM_BUILD_ROOT/var/log/pgsql
881 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
882 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
884 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
885 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
886 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
889 tar zxf %{SOURCE2} -C howto
892 %py_comp $RPM_BUILD_ROOT%{py_libdir}
893 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
897 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
898 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
899 pg_amcheck pg_archivecleanup pg_basebackup pg_checksums pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync \
900 pg_test_timing pg_upgrade pg_waldump pg_verifybackup; do
901 %find_lang $f-%{mver}
905 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
907 merge_lang pgscripts postgres plpgsql \
908 pg_basebackup pg_checksums pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
909 merge_lang psql initdb \
910 pg_amcheck pg_archivecleanup pg_ctl pg_dump pg_verifybackup > clients.lang
911 merge_lang ecpg ecpglib6 > ecpg.lang
914 %find_lang pltcl-%{mver}
918 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
921 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
923 # package it...? nah, why bother.
924 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
927 rm -rf $RPM_BUILD_ROOT
931 if [ -f /etc/sysconfig/postgresql ]; then
932 . /etc/sysconfig/postgresql
933 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
934 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
938 for pgdir in $PG_DB_CLUSTERS; do
939 if [ -f $pgdir/PG_VERSION ]; then
940 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
941 echo "Found database(s) in older, incompatible format in cluster $pgdir."
946 if [ "$foundold" = "1" ]; then
948 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
949 echo "and clean (or rename) those directories; then upgrade postgresql and"
950 echo "restore all data (using pg_restore or psql)."
951 echo "Remember to stop the daemon before upgrading!"
953 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
954 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
956 echo "Warning for upgrade from version *before* 7.2."
957 echo "Please note, that postgresql module path changed from"
958 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
959 echo "in dump file before restore."
961 echo "Warning for upgrade from version *before* 7.3."
962 echo "Reading following webpage is encouraged:"
963 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
968 %groupadd -g 88 -r postgres
969 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
971 %triggerpostun -- %{name} < 9.3.3-2
973 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
974 /usr/sbin/usermod -d /home/services/postgres postgres
978 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
979 for pgdir in $PG_DB_CLUSTERS; do
980 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
981 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
983 %systemd_trigger postgresql.service
986 /sbin/chkconfig --add postgresql
987 %service postgresql restart "postgresql server"
988 if [ "$1" -eq "1" ]; then
990 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
991 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
992 for pgdir in $PG_DB_CLUSTERS; do
993 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
994 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
997 %systemd_post postgresql.service
1000 if [ "$1" = "0" ]; then
1001 %service postgresql stop
1002 /sbin/chkconfig --del postgresql
1005 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
1006 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
1007 for pgdir in $PG_DB_CLUSTERS; do
1008 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
1009 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
1012 %systemd_preun postgresql.service
1017 %post libs -p /sbin/ldconfig
1018 %postun libs -p /sbin/ldconfig
1020 %post ecpg -p /sbin/ldconfig
1021 %postun ecpg -p /sbin/ldconfig
1024 %defattr(644,root,root,755)
1025 %doc COPYRIGHT README HISTORY doc/{KNOWN_BUGS,MISSING_FEATURES,TODO}
1026 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1027 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1028 %{systemdunitdir}/%{name}.service
1029 %{systemdunitdir}/%{name}@.service
1030 %{systemdunitdir}/%{name}.target
1031 %dir /etc/systemd/system/%{name}.target.requires
1033 %attr(755,root,root) %{_bindir}/initdb
1034 %attr(755,root,root) %{_bindir}/pg_basebackup
1035 %attr(755,root,root) %{_bindir}/pg_checksums
1036 %attr(755,root,root) %{_bindir}/pg_controldata
1037 %attr(755,root,root) %{_bindir}/pg_ctl
1038 %attr(755,root,root) %{_bindir}/pg_resetwal
1039 %attr(755,root,root) %{_bindir}/pg_receivewal
1040 %attr(755,root,root) %{_bindir}/pg_recvlogical
1041 %attr(755,root,root) %{_bindir}/pg_rewind
1042 %attr(755,root,root) %{_bindir}/pg_test_fsync
1043 %attr(755,root,root) %{_bindir}/pg_test_timing
1044 %attr(755,root,root) %{_bindir}/pg_upgrade
1045 %attr(755,root,root) %{_bindir}/pg_waldump
1046 %attr(755,root,root) %{_bindir}/pgbench
1047 %attr(755,root,root) %{_bindir}/postgres
1048 %attr(755,root,root) %{_bindir}/postmaster
1050 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1051 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1052 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1053 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1054 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1055 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1056 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1057 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1058 %attr(755,root,root) %{_pgmoduledir}/pgoutput.so
1059 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1060 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1062 %{_pgsqldir}/plpgsql--*.sql
1063 %{_pgsqldir}/plpgsql.control
1065 %dir %{_datadir}/postgresql
1066 %{_datadir}/postgresql/*.bki
1067 %{_datadir}/postgresql/*.sample
1068 %{_datadir}/postgresql/*.sql
1069 %{_datadir}/postgresql/*.txt
1070 %{_datadir}/postgresql/timezonesets
1071 %{_datadir}/postgresql/tsearch_data
1073 %dir %{_datadir}/postgresql/contrib
1075 %attr(700,postgres,postgres) /home/services/postgres
1076 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1077 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1079 %{_mandir}/man1/initdb.1*
1080 %{_mandir}/man1/pg_basebackup.1*
1081 %{_mandir}/man1/pg_checksums.1*
1082 %{_mandir}/man1/pg_controldata.1*
1083 %{_mandir}/man1/pg_ctl.1*
1084 %{_mandir}/man1/pg_resetwal.1*
1085 %{_mandir}/man1/pg_receivewal.1*
1086 %{_mandir}/man1/pg_recvlogical.1*
1087 %{_mandir}/man1/pg_rewind.1*
1088 %{_mandir}/man1/pg_waldump.1*
1089 %{_mandir}/man1/pg_test_fsync.1*
1090 %{_mandir}/man1/pg_test_timing.1*
1091 %{_mandir}/man1/pg_upgrade.1*
1092 %{_mandir}/man1/pgbench.1*
1093 %{_mandir}/man1/postgres.1*
1094 %{_mandir}/man1/postmaster.1*
1097 %defattr(644,root,root,755)
1098 %doc doc/src/sgml/html howto
1099 %{_examplesdir}/%{name}-%{version}
1101 %files libs -f libpq5-%{mver}.lang
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1104 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1105 %dir %{_pgmoduledir}
1107 %dir %{_pgmoduledir}/bitcode
1110 %files ecpg -f ecpg.lang
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_bindir}/ecpg
1113 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1114 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1115 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1116 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1117 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1118 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1119 %{_mandir}/man1/ecpg.1*
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_libdir}/libecpg.so
1124 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1125 %attr(755,root,root) %{_libdir}/libpgtypes.so
1126 %{_includedir}/ecpg*
1127 %{_pkgconfigdir}/libecpg.pc
1128 %{_pkgconfigdir}/libecpg_compat.pc
1129 %{_pkgconfigdir}/libpgtypes.pc
1131 %files devel -f pg_config-%{mver}.lang
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) %{_bindir}/pg_config
1134 %attr(755,root,root) %{_libdir}/libpq.so
1135 %dir %{_includedir}/postgresql
1136 %{_includedir}/libpq-events.h
1137 %{_includedir}/libpq-fe.h
1138 %{_includedir}/pg_config.h
1139 %{_includedir}/pg_config_ext.h
1140 %{_includedir}/pg_config_manual.h
1141 %{_includedir}/pg_config_os.h
1142 %{_includedir}/postgres_ext.h
1143 %dir %{_includedir}/postgresql/internal
1144 %{_includedir}/postgresql/internal/c.h
1145 %{_includedir}/postgresql/internal/libpq-int.h
1146 %{_includedir}/postgresql/internal/port.h
1147 %{_includedir}/postgresql/internal/postgres_fe.h
1148 %{_includedir}/postgresql/internal/pqexpbuffer.h
1149 %{_includedir}/postgresql/internal/libpq
1150 %{_includedir}/libpq
1151 %{_pkgconfigdir}/libpq.pc
1152 %{_mandir}/man1/pg_config.1*
1154 %files backend-devel
1155 %defattr(644,root,root,755)
1156 %{_includedir}/postgresql/server
1157 %dir %{_pgmoduledir}/pgxs
1158 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1159 %{_pgmoduledir}/pgxs/src
1160 %{_mandir}/man3/SPI_*.3*
1163 %defattr(644,root,root,755)
1164 %{_libdir}/libecpg.a
1165 %{_libdir}/libecpg_compat.a
1167 %{_libdir}/libpgcommon.a
1168 %{_libdir}/libpgfeutils.a
1169 %{_libdir}/libpgtypes.a
1170 %{_libdir}/libpgport.a
1171 %{_libdir}/libpgcommon_shlib.a
1172 %{_libdir}/libpgport_shlib.a
1174 %files clients -f clients.lang
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_bindir}/clusterdb
1177 %attr(755,root,root) %{_bindir}/createdb
1178 %attr(755,root,root) %{_bindir}/createuser
1179 %attr(755,root,root) %{_bindir}/dropdb
1180 %attr(755,root,root) %{_bindir}/dropuser
1181 %attr(755,root,root) %{_bindir}/pg_amcheck
1182 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1183 %attr(755,root,root) %{_bindir}/pg_dump
1184 %attr(755,root,root) %{_bindir}/pg_dumpall
1185 %attr(755,root,root) %{_bindir}/pg_isready
1186 %attr(755,root,root) %{_bindir}/pg_restore
1187 %attr(755,root,root) %{_bindir}/pg_verifybackup
1188 %attr(755,root,root) %{_bindir}/psql
1189 %attr(755,root,root) %{_bindir}/reindexdb
1190 %attr(755,root,root) %{_bindir}/vacuumdb
1192 %{_mandir}/man1/clusterdb.1*
1193 %{_mandir}/man1/createdb.1*
1194 %{_mandir}/man1/createuser.1*
1195 %{_mandir}/man1/dropdb.1*
1196 %{_mandir}/man1/dropuser.1*
1197 %{_mandir}/man1/pg_amcheck.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/pg_verifybackup.1*
1204 %{_mandir}/man1/psql.1*
1205 %{_mandir}/man1/reindexdb.1*
1206 %{_mandir}/man1/vacuumdb.1*
1207 %{_mandir}/man7/*.7*
1210 %files module-llvmjit
1211 %defattr(644,root,root,755)
1212 %doc src/backend/jit/README
1213 %attr(755,root,root) %{_pgmoduledir}/llvmjit.so
1214 %{_pgmoduledir}/llvmjit_types.bc
1215 # base postgres bitcode
1216 %{_pgmoduledir}/bitcode/postgres
1217 %{_pgmoduledir}/bitcode/postgres.index.bc
1218 # base modules bitcode
1219 %{_pgmoduledir}/bitcode/dict_int
1220 %{_pgmoduledir}/bitcode/dict_int.index.bc
1221 %{_pgmoduledir}/bitcode/dict_xsyn
1222 %{_pgmoduledir}/bitcode/dict_xsyn.index.bc
1226 %files module-plperl -f plperl-%{mver}.lang
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1229 %{_pgsqldir}/plperl--*.sql
1230 %{_pgsqldir}/plperl.control
1231 %{_pgsqldir}/plperlu--*.sql
1232 %{_pgsqldir}/plperlu.control
1236 %files module-plpython -f plpython-%{mver}.lang
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1239 %{_pgsqldir}/plpython*--*.sql
1240 %{_pgsqldir}/plpython*.control
1244 %files module-pltcl -f pltcl-%{mver}.lang
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1247 %{_pgsqldir}/pltcl*--*.sql
1248 %{_pgsqldir}/pltcl*.control
1251 %files module-dblink
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1255 %{_pgmoduledir}/bitcode/dblink
1256 %{_pgmoduledir}/bitcode/dblink.index.bc
1258 %{_pgsqldir}/dblink--*.sql
1259 %{_pgsqldir}/dblink.control
1260 %{_mandir}/man3/dblink*.3*
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_pgmoduledir}/lo.so
1266 %{_pgmoduledir}/bitcode/lo
1267 %{_pgmoduledir}/bitcode/lo.index.bc
1269 %{_pgsqldir}/lo--*.sql
1270 %{_pgsqldir}/lo.control
1272 %files module-pg_trgm
1273 %defattr(644,root,root,755)
1274 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1276 %{_pgmoduledir}/bitcode/pg_trgm
1277 %{_pgmoduledir}/bitcode/pg_trgm.index.bc
1279 %{_pgsqldir}/pg_trgm--*.sql
1280 %{_pgsqldir}/pg_trgm.control
1282 %files module-pgcrypto
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1286 %{_pgmoduledir}/bitcode/pgcrypto
1287 %{_pgmoduledir}/bitcode/pgcrypto.index.bc
1289 %{_pgsqldir}/pgcrypto--*.sql
1290 %{_pgsqldir}/pgcrypto.control
1293 %files module-sepgsql
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1297 %{_pgmoduledir}/bitcode/sepgsql
1298 %{_pgmoduledir}/bitcode/sepgsql.index.bc
1300 %{_pgsqldir}/sepgsql.sql
1303 %files module-tablefunc
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1307 %{_pgmoduledir}/bitcode/tablefunc
1308 %{_pgmoduledir}/bitcode/tablefunc.index.bc
1310 %{_pgsqldir}/*tablefunc--*.sql
1311 %{_pgsqldir}/*tablefunc.control
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1317 %{_pgmoduledir}/bitcode/pgxml
1318 %{_pgmoduledir}/bitcode/pgxml.index.bc
1320 %{_pgsqldir}/xml2--*.sql
1321 %{_pgsqldir}/xml2.control
1324 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_bindir}/oid2name
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}/amcheck.so
1331 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1332 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1333 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1334 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1335 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1336 %attr(755,root,root) %{_pgmoduledir}/citext.so
1337 %attr(755,root,root) %{_pgmoduledir}/cube.so
1338 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1339 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1340 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1341 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1342 %attr(755,root,root) %{_pgmoduledir}/isn.so
1343 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1344 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1345 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1346 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1347 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1348 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1349 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1350 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1351 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1352 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1353 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1354 %attr(755,root,root) %{_pgmoduledir}/seg.so
1355 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1356 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1357 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1358 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1359 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1360 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1362 %{_pgmoduledir}/bitcode/_int
1363 %{_pgmoduledir}/bitcode/_int.index.bc
1364 %{_pgmoduledir}/bitcode/adminpack
1365 %{_pgmoduledir}/bitcode/adminpack.index.bc
1366 %{_pgmoduledir}/bitcode/amcheck
1367 %{_pgmoduledir}/bitcode/amcheck.index.bc
1368 %{_pgmoduledir}/bitcode/auth_delay
1369 %{_pgmoduledir}/bitcode/auth_delay.index.bc
1370 %{_pgmoduledir}/bitcode/auto_explain
1371 %{_pgmoduledir}/bitcode/auto_explain.index.bc
1372 %{_pgmoduledir}/bitcode/bloom
1373 %{_pgmoduledir}/bitcode/bloom.index.bc
1374 %{_pgmoduledir}/bitcode/btree_gin
1375 %{_pgmoduledir}/bitcode/btree_gin.index.bc
1376 %{_pgmoduledir}/bitcode/btree_gist
1377 %{_pgmoduledir}/bitcode/btree_gist.index.bc
1378 %{_pgmoduledir}/bitcode/citext
1379 %{_pgmoduledir}/bitcode/citext.index.bc
1380 %{_pgmoduledir}/bitcode/cube
1381 %{_pgmoduledir}/bitcode/cube.index.bc
1382 %{_pgmoduledir}/bitcode/earthdistance
1383 %{_pgmoduledir}/bitcode/earthdistance.index.bc
1384 %{_pgmoduledir}/bitcode/file_fdw
1385 %{_pgmoduledir}/bitcode/file_fdw.index.bc
1386 %{_pgmoduledir}/bitcode/fuzzystrmatch
1387 %{_pgmoduledir}/bitcode/fuzzystrmatch.index.bc
1388 %{_pgmoduledir}/bitcode/hstore
1389 %{_pgmoduledir}/bitcode/hstore.index.bc
1390 %{_pgmoduledir}/bitcode/isn
1391 %{_pgmoduledir}/bitcode/isn.index.bc
1392 %{_pgmoduledir}/bitcode/ltree
1393 %{_pgmoduledir}/bitcode/ltree.index.bc
1394 %{_pgmoduledir}/bitcode/pageinspect
1395 %{_pgmoduledir}/bitcode/pageinspect.index.bc
1396 %{_pgmoduledir}/bitcode/passwordcheck
1397 %{_pgmoduledir}/bitcode/passwordcheck.index.bc
1398 %{_pgmoduledir}/bitcode/pg_buffercache
1399 %{_pgmoduledir}/bitcode/pg_buffercache.index.bc
1400 %{_pgmoduledir}/bitcode/pg_freespacemap
1401 %{_pgmoduledir}/bitcode/pg_freespacemap.index.bc
1402 %{_pgmoduledir}/bitcode/pg_prewarm
1403 %{_pgmoduledir}/bitcode/pg_prewarm.index.bc
1404 %{_pgmoduledir}/bitcode/pg_stat_statements
1405 %{_pgmoduledir}/bitcode/pg_stat_statements.index.bc
1406 %{_pgmoduledir}/bitcode/pg_visibility
1407 %{_pgmoduledir}/bitcode/pg_visibility.index.bc
1408 %{_pgmoduledir}/bitcode/pgrowlocks
1409 %{_pgmoduledir}/bitcode/pgrowlocks.index.bc
1410 %{_pgmoduledir}/bitcode/pgstattuple
1411 %{_pgmoduledir}/bitcode/pgstattuple.index.bc
1412 %{_pgmoduledir}/bitcode/postgres_fdw
1413 %{_pgmoduledir}/bitcode/postgres_fdw.index.bc
1414 %{_pgmoduledir}/bitcode/seg
1415 %{_pgmoduledir}/bitcode/seg.index.bc
1416 %{_pgmoduledir}/bitcode/sslinfo
1417 %{_pgmoduledir}/bitcode/sslinfo.index.bc
1418 %{_pgmoduledir}/bitcode/tcn
1419 %{_pgmoduledir}/bitcode/tcn.index.bc
1420 %{_pgmoduledir}/bitcode/tsm_system_rows
1421 %{_pgmoduledir}/bitcode/tsm_system_rows.index.bc
1422 %{_pgmoduledir}/bitcode/tsm_system_time
1423 %{_pgmoduledir}/bitcode/tsm_system_time.index.bc
1424 %{_pgmoduledir}/bitcode/unaccent
1425 %{_pgmoduledir}/bitcode/unaccent.index.bc
1426 %{_pgmoduledir}/bitcode/uuid-ossp
1427 %{_pgmoduledir}/bitcode/uuid-ossp.index.bc
1429 %{_pgsqldir}/adminpack--*.sql
1430 %{_pgsqldir}/adminpack.control
1431 %{_pgsqldir}/amcheck--*.sql
1432 %{_pgsqldir}/amcheck.control
1433 %{_pgsqldir}/bloom--*.sql
1434 %{_pgsqldir}/bloom.control
1435 %{_pgsqldir}/btree_gin--*.sql
1436 %{_pgsqldir}/btree_gin.control
1437 %{_pgsqldir}/btree_gist--*.sql
1438 %{_pgsqldir}/btree_gist.control
1439 %{_pgsqldir}/citext--*.sql
1440 %{_pgsqldir}/citext.control
1441 %{_pgsqldir}/cube--*.sql
1442 %{_pgsqldir}/cube.control
1443 %{_pgsqldir}/dict_int--*.sql
1444 %{_pgsqldir}/dict_int.control
1445 %{_pgsqldir}/dict_xsyn--*.sql
1446 %{_pgsqldir}/dict_xsyn.control
1447 %{_pgsqldir}/earthdistance--*.sql
1448 %{_pgsqldir}/earthdistance.control
1449 %{_pgsqldir}/file_fdw--*.sql
1450 %{_pgsqldir}/file_fdw.control
1451 %{_pgsqldir}/fuzzystrmatch--*.sql
1452 %{_pgsqldir}/fuzzystrmatch.control
1453 %{_pgsqldir}/hstore--*.sql
1454 %{_pgsqldir}/hstore.control
1455 %{_pgsqldir}/intarray--*.sql
1456 %{_pgsqldir}/intarray.control
1457 %{_pgsqldir}/intagg--*.sql
1458 %{_pgsqldir}/intagg.control
1459 %{_pgsqldir}/isn--*.sql
1460 %{_pgsqldir}/isn.control
1461 %{_pgsqldir}/ltree--*.sql
1462 %{_pgsqldir}/ltree.control
1463 %{_pgsqldir}/pageinspect--*.sql
1464 %{_pgsqldir}/pageinspect.control
1465 %{_pgsqldir}/pg_buffercache--*.sql
1466 %{_pgsqldir}/pg_buffercache.control
1467 %{_pgsqldir}/pg_freespacemap--*.sql
1468 %{_pgsqldir}/pg_freespacemap.control
1469 %{_pgsqldir}/pg_prewarm--*.sql
1470 %{_pgsqldir}/pg_prewarm.control
1471 %{_pgsqldir}/pg_stat_statements--*.sql
1472 %{_pgsqldir}/pg_stat_statements.control
1473 %{_pgsqldir}/pg_visibility--*.sql
1474 %{_pgsqldir}/pg_visibility.control
1475 %{_pgsqldir}/pgrowlocks--*.sql
1476 %{_pgsqldir}/pgrowlocks.control
1477 %{_pgsqldir}/pgstattuple--*.sql
1478 %{_pgsqldir}/pgstattuple.control
1479 %{_pgsqldir}/postgres_fdw--*.sql
1480 %{_pgsqldir}/postgres_fdw.control
1481 %{_pgsqldir}/seg--*.sql
1482 %{_pgsqldir}/seg.control
1483 %{_pgsqldir}/sslinfo--*.sql
1484 %{_pgsqldir}/sslinfo.control
1485 %{_pgsqldir}/tcn--*.sql
1486 %{_pgsqldir}/tcn.control
1487 %{_pgsqldir}/tsm_system_rows--*.sql
1488 %{_pgsqldir}/tsm_system_rows.control
1489 %{_pgsqldir}/tsm_system_time--*.sql
1490 %{_pgsqldir}/tsm_system_time.control
1491 %{_pgsqldir}/unaccent--*.sql
1492 %{_pgsqldir}/unaccent.control
1493 %{_pgsqldir}/uuid-ossp--*.sql
1494 %{_pgsqldir}/uuid-ossp.control
1496 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1497 %attr(755,root,root) %{_pgmoduledir}/jsonb_plperl.so
1498 %{_pgsqldir}/hstore_plperl--*.sql
1499 %{_pgsqldir}/hstore_plperl.control
1500 %{_pgsqldir}/hstore_plperlu--*.sql
1501 %{_pgsqldir}/hstore_plperlu.control
1502 %{_pgsqldir}/jsonb_plperl--*.sql
1503 %{_pgsqldir}/jsonb_plperl.control
1504 %{_pgsqldir}/jsonb_plperlu--*.sql
1505 %{_pgsqldir}/jsonb_plperlu.control
1507 %{_pgmoduledir}/bitcode/hstore_plperl
1508 %{_pgmoduledir}/bitcode/hstore_plperl.index.bc
1509 %{_pgmoduledir}/bitcode/jsonb_plperl
1510 %{_pgmoduledir}/bitcode/jsonb_plperl.index.bc
1514 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1515 %attr(755,root,root) %{_pgmoduledir}/jsonb_plpython2.so
1516 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1518 %{_pgmoduledir}/bitcode/hstore_plpython2
1519 %{_pgmoduledir}/bitcode/hstore_plpython2.index.bc
1520 %{_pgmoduledir}/bitcode/jsonb_plpython2
1521 %{_pgmoduledir}/bitcode/jsonb_plpython2.index.bc
1522 %{_pgmoduledir}/bitcode/ltree_plpython2
1523 %{_pgmoduledir}/bitcode/ltree_plpython2.index.bc
1525 %{_pgsqldir}/hstore_plpythonu--*.sql
1526 %{_pgsqldir}/hstore_plpythonu.control
1527 %{_pgsqldir}/hstore_plpython2u--*.sql
1528 %{_pgsqldir}/hstore_plpython2u.control
1529 %{_pgsqldir}/hstore_plpython3u--*.sql
1530 %{_pgsqldir}/hstore_plpython3u.control
1531 %{_pgsqldir}/jsonb_plpythonu--*.sql
1532 %{_pgsqldir}/jsonb_plpythonu.control
1533 %{_pgsqldir}/jsonb_plpython2u--*.sql
1534 %{_pgsqldir}/jsonb_plpython2u.control
1535 %{_pgsqldir}/jsonb_plpython3u--*.sql
1536 %{_pgsqldir}/jsonb_plpython3u.control
1537 %{_pgsqldir}/ltree_plpythonu--*.sql
1538 %{_pgsqldir}/ltree_plpythonu.control
1539 %{_pgsqldir}/ltree_plpython2u--*.sql
1540 %{_pgsqldir}/ltree_plpython2u.control
1541 %{_pgsqldir}/ltree_plpython3u--*.sql
1542 %{_pgsqldir}/ltree_plpython3u.control
1544 %{_mandir}/man1/oid2name.1*
1545 %{_mandir}/man1/vacuumlo.1*