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