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