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