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