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