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