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