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