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