]> git.pld-linux.org Git - packages/postgresql.git/blame - postgresql.spec
- up to 9.5.3
[packages/postgresql.git] / postgresql.spec
CommitLineData
500e26d8 1# TODO:
6d8da3ba 2# - python 3 and python 2 subpackages?
d24d2940 3# - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
ade88dbb 4# create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
500e26d8 5# - test init script (db initialization)
a774e725 6#
7# Conditional build:
c51da2b5 8%bcond_without tests # disable testing
9%bcond_without tcl # disable Tcl support
964e9385 10%bcond_without kerberos5 # disable kerberos5 support
5f47c8ad 11%bcond_without perl # disable Perl support
c51da2b5 12%bcond_without python # disable Python support
081e09bf 13%bcond_with bonjour # Bonjour/DNS_SD support
a1ace3a4 14%bcond_without ldap # disable LDAP support
60fcd7d3 15%bcond_without selinux # sepgsql contrib module
081e09bf 16%bcond_with systemtap # systemtap/dtrace probes
16404f9a 17%bcond_with absolute_dbpaths # enable absolute paths to create database
550a1fa5 18 # (disabled by default because it is a security risk)
1909f764 19#
055aa993
JR
20
21%define beta %{nil}
cda562e5 22%define mver 9.5
055aa993 23
016f481d 24Summary: PostgreSQL Data Base Management System
620f9138
ER
25Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
26Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
27Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
28Summary(pl.UTF-8): PostgreSQL - system bazodanowy
29Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
30Summary(ru.UTF-8): PostgreSQL - система управления базами данных
31Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
32Summary(uk.UTF-8): PostgreSQL - система керування базами даних
33Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
016f481d 34Name: postgresql
b6ebd2e6 35Version: %{mver}.3
5cdfa2e6 36Release: 1
3b12d52f 37License: BSD
016f481d 38Group: Applications/Databases
74ecf57d 39Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
b6ebd2e6 40# Source0-md5: 3f0c388566c688c82b01a0edf1e6b7a0
b752f531 41Source1: %{name}.init
9d4c7921 42Source2: pgsql-Database-HOWTO-html.tar.gz
b21c6987 43# Source2-md5: 5b656ddf1db41965761f85204a14398e
b752f531 44Source3: %{name}.sysconfig
d183f71c
JK
45Source4: %{name}@.service
46Source5: %{name}.service
47Source6: %{name}.target
dc307bb4 48Patch0: %{name}-conf.patch
49Patch1: %{name}-absolute_dbpaths.patch
c51da2b5 50Patch2: %{name}-ecpg-includedir.patch
51Patch3: %{name}-ac_version.patch
52Patch4: %{name}-disable_horology_test.patch
4614112f 53Patch5: %{name}-heimdal.patch
17ad3dd0 54Patch6: %{name}-ossp_uuid.patch
081e09bf 55Patch7: %{name}-link.patch
016f481d 56URL: http://www.postgresql.org/
368587a1 57BuildRequires: autoconf
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
081e09bf 87%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
16404f9a 88%{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
c4156621 89%{?with_tests:BuildRequires: tzdata}
40a8e4da 90BuildRequires: zlib-devel
3a2e0fdd 91Requires(post,preun): /sbin/chkconfig
320d02f0 92Requires(pre): /bin/id
3a2e0fdd 93Requires(pre): /usr/bin/getgid
320d02f0
JB
94Requires(pre): /usr/sbin/groupadd
95Requires(pre): /usr/sbin/useradd
3c7ef761
ER
96Requires(triggerpostun): /bin/id
97Requires(triggerpostun): /usr/sbin/usermod
a6f8ada9 98Requires: %{name}-clients >= %{version}-%{release}
3a2e0fdd 99Requires: %{name}-libs = %{version}-%{release}
94b00d5a 100Requires: rc-scripts >= 0.4.3.0
d183f71c 101Requires: systemd-units >= 38
c51da2b5 102Requires: tzdata
ea5af212 103Obsoletes: postgresql-module-plpgsql
3c7ef761 104Obsoletes: postgresql-module-tsearch2
1e933717 105Obsoletes: postgresql-server
38168fb1 106Obsoletes: postgresql-test
2bfb68de 107BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7386fb4a 108
00287bb7 109%define _pgmoduledir %{_libdir}/postgresql
6ceb4ff1 110%define _pgsqldir %{_datadir}/postgresql/extension
48115857 111
2477983b
AM
112%define _ulibdir /usr/lib
113
d24d2940 114# omitted contribs:
cda562e5 115# dummy_seclabel, spi, test_parser, worker_spi - examples/tests
d24d2940 116# tsearch2 - old module for compatibility only
cda562e5 117%define contrib_modules adminpack auth_delay auto_explain btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore intagg intarray isn lo ltree oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn unaccent uuid-ossp vacuumlo xml2
c51da2b5 118
b35e841d 119%description
e59a0118 120PostgreSQL Data Base Management System (formerly known as Postgres,
121then as Postgres95).
122
123PostgreSQL is an enhancement of the POSTGRES database management
124system, a next-generation DBMS research prototype. While PostgreSQL
125retains the powerful data model and rich data types of POSTGRES, it
126replaces the PostQuel query language with an extended subset of SQL.
127PostgreSQL is free and the complete source is available.
128
129PostgreSQL development is being performed by a team of Internet
130developers who all subscribe to the PostgreSQL development mailing
131list. The current coordinator is Marc G. Fournier
132(scrappy@postgreSQL.org). This team is now responsible for all current
133and future development of PostgreSQL.
134
135The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
136others have contributed to the porting, testing, debugging and
137enhancement of the code. The original Postgres code, from which
138PostgreSQL is derived, was the effort of many graduate students,
139undergraduate students, and staff programmers working under the
140direction of Professor Michael Stonebraker at the University of
141California, Berkeley.
b35e841d 142
143The original name of the software at Berkeley was Postgres. When SQL
e59a0118 144functionality was added in 1995, its name was changed to Postgres95.
145The name was changed at the end of 1996 to PostgreSQL.
b35e841d 146
e59a0118 147PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
148and most flavours of Unix.
b35e841d 149
c76c631a
JR
150%description -l de.UTF-8
151PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
b35e841d 152Postgres95 bekannt).
153
e59a0118 154PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
c76c631a
JR
155ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
156leistungsfähige Datenmodell und die reichhaltigen Datentypen von
157POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
e59a0118 158Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
c76c631a 159verfügbar.
48115857 160
c76c631a
JR
161Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
162sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
163Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
164alle aktuellen und künftigen Entwicklungen von PostgreSQL.
48115857 165
e59a0118 166Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
167Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
168Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
169sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
170Studenten und Programmierern unter der Leitung von Professor Michael
171Stonebraker an der University of California, Berkeley.
b35e841d 172
c76c631a
JR
173Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
174hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
175entschied man sich für PostgreSQL.
b35e841d 176
c76c631a 177PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
e59a0118 178und den meisten Unix-Systemen.
b35e841d 179
c76c631a 180%description -l es.UTF-8
55747262 181Administrador de Banco de Datos PostgreSQL (conocido anteriormente
c76c631a
JR
182como Postgres, y después como Postgres95). PostgreSQL es una
183continuación mejorada del Sistema Administrador de Banco de Datos
55747262 184POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
c76c631a 185generación. Mientras PostgreSQL mantiene el potente modelo de datos y
55747262 186los varios tipos de datos del POSTGRES, substituye el lenguaje de
187consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
188es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
189se ejecutado por un equipo de estudiosos de Internet, todos suscritos
190en la lista de desarrollo del PostgreSQL. El coordinador actual es
191Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
192responsable por el desarrollo actual y futuro del PostgreSQL.
193
c76c631a
JR
194%description -l fr.UTF-8
195Système de gestion de bases de données PostgreSQL (D'abord nommé
e59a0118 196Postgres, puis Postgres95).
197
c76c631a
JR
198PostgreSQL est une amélioration du système de gestion de bases de
199données POSTGRES, un prototype de recherche de la génération suivant
200DBMS. Tout en conservant le puissant modèle de donnée de et les types
201de donée riches de Postgres, il remplace le langage de requêtes de
e59a0118 202Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
203libre, et ses sources sont disponibles.
204
c76c631a
JR
205Le développement de PostgreSQL est actuellement réalisé via internet
206parune équipe de développeurs inscrits sur la mailing-list de
207développement de PostgreSQL. Le coordinateur actuel est Marc G
208Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
209développemen actuel et à venir de PostgreSQL.
e59a0118 210
c76c631a
JR
211Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
212Beaucoup d'autres ont contribué au portage, au test, au débogage et à
213l'amélioration du code. Le code original de Postgres, duquel
214PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
e59a0118 215moins haut niveau, et de programmeurs travaillant sous la direction du
c76c631a 216professeur Michael Stonebraker à l'université de Berkeley Californie.
e59a0118 217
c76c631a
JR
218Le nom original du logiciel était Postgres. Quand les fonctionnalitées
219SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
220rebaptisé PostgreSQL en 1996.
e59a0118 221
222PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
223et la plupart des Unix.
b35e841d 224
c76c631a
JR
225%description -l pl.UTF-8
226System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
227Postgres, następnie jako Postgres95).
3afbcd28 228
c76c631a
JR
229PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
230prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
231model danych oraz bogaty zbiór różnych typów danych, to jednak język
232zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
233jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
234pełni dostępne.
1f130e30 235
c76c631a
JR
236System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
237na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
238Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
239jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
1f130e30 240
241Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
c76c631a
JR
242innych pomagało przenosząc na różne platformy, testując, analizując i
243rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
244PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
245zespołu programistów, którzy pracowali pod kierunkiem profesora
1f130e30 246Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
247
c76c631a
JR
248Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
249Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
250Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
1f130e30 251PostgreSQL.
252
c76c631a 253PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
67280bfd 254SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
b35e841d 255
c76c631a 256%description -l pt_BR.UTF-8
55747262 257Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
258Postgres, e depois como Postgres95).
259
c76c631a
JR
260O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
261Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
262de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
263dados e os vários tipos de dados do POSTGRES, ele substitui a
55747262 264linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
c76c631a 265PostgreSQL é livre e tem os fontes disponíveis.
55747262 266
c76c631a 267O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
55747262 268desenvolvedores da Internet, todos subscritores da lista de
c76c631a
JR
269desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
270(scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
55747262 271desenvolvimento atual e futuro do PostgreSQL.
272
c76c631a
JR
273%description -l ru.UTF-8
274PostgreSQL - система управления базами данных (прежде известная как
275Postgres, потом как Postgres95).
276
277PostgreSQL - это расширенная версия системы управления базами данных
278POSTGRES, исследовательского прототипа DBMS следующей генерации.
279Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
280она заменяет язык запросов PostQuel расширенным набором SQL.
281PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
282текстов.
283
284PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
285на список рассылки, посвященный разработке PostgreSQL. В настоящее
286время координатором является Marc G. Fournier
287(scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
288все текущие и будущие разработки PostgreSQL.
289
290Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
291свой вклад в портирование, тестирование, отладку и улучшение кода.
292Оригинальный код Postgres, от которого произошел PostgreSQL, был
293создан усилиями студентов, аспирантов и персонала, работающего под
294руководством профессора Michael Stonebraker в University of
9f84dc01 295California, Berkeley.
296
c76c631a
JR
297Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
298была добавлена функциональность SQL, название изменилось на
299Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
9f84dc01 300PostgreSQL.
301
c76c631a
JR
302PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
303и большинстве других разновидностей Unix.
9f84dc01 304
c76c631a
JR
305%description -l tr.UTF-8
306PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
307(DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
308desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
e59a0118 309sorgulama dilini koyar.
b35e841d 310
c76c631a
JR
311%description -l uk.UTF-8
312PostgreSQL - система керування базами даних (раніш відома як Postgres,
313потім як Postgres95).
314
315PostgreSQL - це розширена версія системи керування базами даних
316POSTGRES, дослідницького прототипу DBMS наступної генерації.
317Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
318вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
319безкоштовна та поставляється у вигляді повного комплекту вихідних
320текстів.
321
322PostgreSQL розробляється командою Internet-програмістів, учасників
323списку розсилки, присвяченого розробці PostgreSQL. Наразі
324координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
325відповідає за всі поточні та майбутні розробки PostgreSQL.
326
327Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
328внесли свій внесок в портування, тестування, відладку та покращення
329коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
330створений зусиллями студентів, аспірантів та персоналу, який працював
331під керівництвом професора Michael Stonebraker в University of
9f84dc01 332California, Berkeley.
333
c76c631a
JR
334Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
335було додано функціональність SQL, назва змінилася на Postgres95. В
336кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
9f84dc01 337
c76c631a
JR
338PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
339та більшості інших різновидів Unix.
9f84dc01 340
b35e841d 341%package devel
016f481d 342Summary: PostgreSQL development header files and libraries
620f9138
ER
343Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
344Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
345Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
346Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
347Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
348Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
349Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
350Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
016f481d 351Group: Development/Libraries
2bfb68de 352Requires: %{name}-libs = %{version}-%{release}
b35e841d 353
354%description devel
355This package contains header files and libraries required to compile
e59a0118 356applications that are talking directly to the PostgreSQL backend
357server.
b35e841d 358
c76c631a
JR
359%description devel -l de.UTF-8
360Dieses Paket enthält die Header-Dateien und Libraries, die zum
e59a0118 361Kompilieren von Applikationen notwendig sind, die direkt mit dem
b35e841d 362PostgreSQL-Backend-Server kommunizieren.
363
c76c631a
JR
364%description devel -l es.UTF-8
365Este paquete contiene archivos de inclusión y bibliotecas requeridas
366para compilación de aplicativos que se comunican directamente con el
55747262 367servidor backend PostgreSQL.
368
c76c631a
JR
369%description devel -l fr.UTF-8
370Ce package contient les fichiers d'en-tête et les bibliothéques
371nécessaires pour compiler des applications ayant des échanges directs
e59a0118 372avec le serveur du backend PostgreSQL.
b35e841d 373
c76c631a
JR
374%description devel -l pl.UTF-8
375Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
376aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
b35e841d 377
c76c631a
JR
378%description devel -l pt_BR.UTF-8
379Este pacote contém arquivos de inclusão e bibliotecas requeridas para
380compilação de aplicativos que se comunicam diretamente com o servidor
55747262 381backend PostgreSQL.
382
c76c631a
JR
383%description devel -l ru.UTF-8
384Этот пакет содержит хедеры и библиотеки, необходимые для сборки
385приложений, непосредственно взаимодействующих с сервером PostgreSQL.
9f84dc01 386
c76c631a
JR
387%description devel -l tr.UTF-8
388Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
389gereken başlık dosyalarını ve kitaplıkları içerir.
b35e841d 390
c76c631a
JR
391%description devel -l uk.UTF-8
392Цей пакет містить хедери та бібліотеки, необхідні для розробки
393програм, які безпосередньо взаємодіють з сервером PostgreSQL.
9f84dc01 394
cb920eb9 395%package backend-devel
396Summary: PostgreSQL backend development header files
620f9138 397Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
cb920eb9 398Group: Development/Libraries
2bfb68de
JB
399Requires: %{name}-devel = %{version}-%{release}
400Requires: %{name}-libs = %{version}-%{release}
cb920eb9 401
402%description backend-devel
a9e3ed5f
JB
403This package contains header files required to compile functions that
404could be loaded directly by backend
cb920eb9 405
c76c631a
JR
406%description backend-devel -l pl.UTF-8
407Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
a9e3ed5f 408bezposrednio ladowane przez beckend serwera PostgreSQL.
cb920eb9 409
b35e841d 410%package clients
a57096f6 411Summary: Clients needed to access a PostgreSQL server
620f9138
ER
412Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
413Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
414Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
415Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
416Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
016f481d 417Group: Applications/Databases
2bfb68de 418Requires: %{name}-libs = %{version}-%{release}
b35e841d 419
420%description clients
aa1db817 421This package includes only the clients needed to access an PostgreSQL
1f130e30 422server. The server is included in the main package. If all you need is
423to connect to another PostgreSQL server, the this is the only package
424you need to install. Clients include several command-line utilities
425you can use to manage your databases on a remote PostgreSQL server.
b35e841d 426
c76c631a 427%description clients -l es.UTF-8
55747262 428Este paquete incluye solamente los clientes necesarios para acceder un
c76c631a 429servidor PostgreSQL. El servidor está en el paquete principal.
55747262 430
c76c631a
JR
431%description clients -l pl.UTF-8
432Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
433PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
434poleceń. Serwer znajduje się w głównym pakiecie.
b35e841d 435
c76c631a
JR
436%description clients -l pt_BR.UTF-8
437Este pacote inclui somente os clientes necessários para acessar um
438servidor PostgreSQL. O servidor está no pacote principal.
55747262 439
c76c631a
JR
440%description clients -l ru.UTF-8
441Этот пакет включает только клиентские программы и библиотеки,
442необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
443пакет. Если вам надо только работать с другим сервером PostgreSQL, это
444единственный пакет, который вам надо установить.
9f84dc01 445
c76c631a
JR
446Теперь пакеты с библиотеками для разных языков программирования (C,
447C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
448языка C.
9f84dc01 449
c76c631a
JR
450%description clients -l uk.UTF-8
451Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
452для доступу до сервера PostgreSQL. Сервер міститься в головному
453пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
454єдиний пакет, який вам треба встановити.
9f84dc01 455
c76c631a
JR
456Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
457і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
9f84dc01 458
b35e841d 459%package doc
016f481d 460Summary: Documentation for PostgreSQL
620f9138 461Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
016f481d 462Group: Applications/Databases
b35e841d 463
464%description doc
e59a0118 465This package includes documentation and HOWTO for programmer, admin
466etc., in HTML format.
b35e841d 467
c76c631a
JR
468%description doc -l pl.UTF-8
469Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
470administratorów w formacie HTML.
b35e841d 471
9ea08160 472%package libs
473Summary: PostgreSQL libraries
620f9138
ER
474Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
475Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
476Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
477Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
9ea08160 478Group: Libraries
9ea08160 479
480%description libs
aa1db817 481PostgreSQL shared libraries.
9ea08160 482
c76c631a 483%description libs -l es.UTF-8
55747262 484Este paquete contiene la biblioteca compartida para acceso al
832d7cf9 485PostgreSQL.
55747262 486
c76c631a 487%description libs -l pl.UTF-8
9ea08160 488Biblioteki dzielone programu PostgreSQL.
489
c76c631a
JR
490%description libs -l pt_BR.UTF-8
491Este pacote contém a biblioteca compartilhada para acesso ao
832d7cf9 492PostgreSQL.
55747262 493
6564a583 494%package ecpg
495Summary: Embedded SQL in C interface
620f9138 496Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
6564a583 497Group: Libraries
2bfb68de 498Requires: %{name}-libs = %{version}-%{release}
6564a583 499
500%description ecpg
501Embedded SQL in C interface.
502
c76c631a
JR
503%description ecpg -l pl.UTF-8
504Interfejs wbudowanego SQL-a w język C.
6564a583 505
506%package ecpg-devel
507Summary: Embedded SQL in C interface files
620f9138 508Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
6564a583 509Group: Development/Libraries
2bfb68de
JB
510Requires: %{name}-devel = %{version}-%{release}
511Requires: %{name}-ecpg = %{version}-%{release}
6564a583 512
513%description ecpg-devel
514Embedded SQL in C interface files.
515
c76c631a
JR
516%description ecpg-devel -l pl.UTF-8
517Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
6564a583 518
9ea08160 519%package static
520Summary: PostgreSQL static libraries
620f9138
ER
521Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
522Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
523Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
524Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
525Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
9ea08160 526Group: Development/Libraries
2bfb68de 527Requires: %{name}-devel = %{version}-%{release}
9ea08160 528
529%description static
530PostgreSQL static libraries.
531
c76c631a
JR
532%description static -l es.UTF-8
533Este paquete contiene bibliotecas estaticas requerida para compilación
55747262 534de aplicativos que se comunican directamente con el servidor backend
535PostgreSQL.
536
c76c631a 537%description static -l pl.UTF-8
9ea08160 538Biblioteki statyczne programu PostgreSQL.
539
c76c631a
JR
540%description static -l pt_BR.UTF-8
541Este pacote contém as bibliotecas estáticas requeridas para compilação
55747262 542de aplicativos que se comunicam diretamente com o servidor backend
543PostgreSQL.
544
c76c631a
JR
545%description static -l ru.UTF-8
546Это отдельный пакет со статическими библиотеками, которые больше не
547входят в %{name}-devel.
9f84dc01 548
c76c631a
JR
549%description static -l uk.UTF-8
550Це окремий пакет зі статичними бібліотеками, які більш не входять в
9f84dc01 551%{name}-devel.
552
00287bb7 553%package module-plperl
554Summary: PL/perl - PostgreSQL procedural language
620f9138 555Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
00287bb7 556Group: Applications/Databases
2bfb68de 557Requires: %{name} = %{version}-%{release}
00287bb7 558
559%description module-plperl
a94ae93a 560From PostgreSQL documentation:
00287bb7 561
562Postgres supports the definition of procedural languages. In the case
563of a function or trigger procedure defined in a procedural language,
564the database has no built-in knowledge about how to interpret the
565function's source text. Instead, the task is passed to a handler that
566knows the details of the language. The handler itself is a special
567programming language function compiled into a shared object and loaded
568on demand.
569
dce5630b 570To enable PL/Perl procedural language for your database you have to
00287bb7 571run createlang command.
572
c76c631a 573%description module-plperl -l pl.UTF-8
a94ae93a 574Z dokumentacji PostgreSQL:
00287bb7 575
c76c631a
JR
576Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
577programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
578proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
579funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
580który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
581funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
00287bb7 582potrzeby.
583
c76c631a 584Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 585proceduralnego PL/Perl dla swojej bazy danych.
00287bb7 586
587%package module-plpython
dce5630b 588Summary: PL/Python - PostgreSQL procedural language
620f9138 589Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
00287bb7 590Group: Applications/Databases
2bfb68de 591Requires: %{name} = %{version}-%{release}
6a64b227 592%pyrequires_eq python
00287bb7 593
594%description module-plpython
a94ae93a 595From PostgreSQL documentation:
00287bb7 596
597Postgres supports the definition of procedural languages. In the case
598of a function or trigger procedure defined in a procedural language,
599the database has no built-in knowledge about how to interpret the
600function's source text. Instead, the task is passed to a handler that
601knows the details of the language. The handler itself is a special
602programming language function compiled into a shared object and loaded
603on demand.
604
dce5630b 605To enable PL/Python procedural language for your database you have to
00287bb7 606run createlang command.
607
c76c631a 608%description module-plpython -l pl.UTF-8
a94ae93a 609Z dokumentacji PostgreSQL:
00287bb7 610
c76c631a
JR
611Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
612programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
613proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
614funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
615który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
616funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
00287bb7 617potrzeby.
618
c76c631a 619Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 620proceduralnego PL/Python dla swojej bazy danych.
00287bb7 621
4ddf546b 622%package module-pltcl
dce5630b 623Summary: PL/Tcl - PostgreSQL procedural language
620f9138 624Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
4ddf546b 625Group: Applications/Databases
2bfb68de 626Requires: %{name} = %{version}-%{release}
7543e4a8 627Requires: tcl(Pgtcl)
4ddf546b 628
629%description module-pltcl
a94ae93a 630From PostgreSQL documentation:
4ddf546b 631
368587a1 632Postgres supports the definition of procedural languages. In the case
633of a function or trigger procedure defined in a procedural language,
634the database has no built-in knowledge about how to interpret the
635function's source text. Instead, the task is passed to a handler that
636knows the details of the language. The handler itself is a special
637programming language function compiled into a shared object and loaded
638on demand.
4ddf546b 639
dce5630b 640To enable PL/Tcl procedural language for your database you have to run
4ddf546b 641createlang command.
642
c76c631a 643%description module-pltcl -l pl.UTF-8
a94ae93a 644Z dokumentacji PostgreSQL:
4ddf546b 645
c76c631a
JR
646Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
647programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
648proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
649funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
650który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
651funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
368587a1 652potrzeby.
4ddf546b 653
c76c631a 654Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 655proceduralnego PL/Tcl dla swojej bazy danych.
4ddf546b 656
d8edd803
JB
657%package module-dblink
658Summary: dblink module for PostgreSQL
620f9138 659Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
d8edd803
JB
660Group: Applications/Databases
661Requires: %{name} = %{version}-%{release}
662
663%description module-dblink
664dblink module for PostgreSQL provides functions returning results from
665remote database.
666
c76c631a
JR
667%description module-dblink -l pl.UTF-8
668Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
d8edd803
JB
669zdalnej bazy danych.
670
8646766c
JB
671%package module-lo
672Summary: Large Objects module for PostgreSQL
620f9138 673Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
8646766c
JB
674Group: Applications/Databases
675Requires: %{name} = %{version}-%{release}
676
677%description module-lo
678Large Objects module for PostgreSQL adds a new data type 'lo', some
679support functions and a trigger which handles the orphaning problem.
680
c76c631a
JR
681%description module-lo -l pl.UTF-8
682Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
683kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
684osieroconych obiektów.
8646766c 685
60fcd7d3
JB
686%package module-pg_trgm
687Summary: Trigram matching for PostgreSQL
688Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
689Group: Applications/Databases
690Requires: %{name} = %{version}-%{release}
691
692%description module-pg_trgm
693This module provides functions and index classes for determining the
694similarity of text based on trigram matching.
695
696%description module-pg_trgm -l pl.UTF-8
697Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
698w oparciu o dopasowywanie trigramowe (trigram matching).
699
5b79623d 700%package module-pgcrypto
ff04b431 701Summary: Cryptographic functions for PostgreSQL
620f9138 702Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
ff04b431 703Group: Applications/Databases
2bfb68de 704Requires: %{name} = %{version}-%{release}
ff04b431 705
5b79623d 706%description module-pgcrypto
707Cryptographic functions for PostgreSQL.
ff04b431 708
c76c631a 709%description module-pgcrypto -l pl.UTF-8
5b79623d 710Funkcje kryptograficzne dla PostgreSQL.
ff04b431 711
60fcd7d3
JB
712%package module-sepgsql
713Summary: PostgreSQL external security provider using SELinux
714Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
715Group: Applications/Databases
716Requires: %{name} = %{version}-%{release}
5d47dd36 717Requires: libselinux >= 2.1.10
60fcd7d3
JB
718
719%description module-sepgsql
720PostgreSQL external security provider using SELinux.
721
722%description module-sepgsql -l pl.UTF-8
723Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
724
bc5c807d 725%package module-tablefunc
d8edd803 726Summary: crosstab functions for PostgreSQL
620f9138 727Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
bc5c807d
PG
728Group: Applications/Databases
729Requires: %{name} = %{version}-%{release}
730
731%description module-tablefunc
d8edd803
JB
732crosstab functions for PostgreSQL.
733
c76c631a 734%description module-tablefunc -l pl.UTF-8
d8edd803 735Funkcje crosstab dla PostgreSQL-a.
bc5c807d 736
0b02f266 737%package module-xml2
738Summary: XML-handling functions for PostgreSQL
620f9138 739Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
0b02f266 740Group: Applications/Databases
741Requires: %{name} = %{version}-%{release}
1acf1090 742Requires: libxml2 >= 1:2.6.23
0b02f266 743
744%description module-xml2
745Module with XML functions provides both XPath querying and XSLT
746functionality. There is also a new table function which allows the
747straightforward return of multiple XML results.
748
c76c631a
JR
749%description module-xml2 -l pl.UTF-8
750Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
751funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
752bezpośrednie zwracanie wielu wyników XML.
6a83c38f 753
c51da2b5 754%package contrib
01586e45
JB
755Summary: Miscellaneous PostgreSQL contrib modules
756Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
c51da2b5 757Group: Applications/Databases
758Requires: %{name} = %{version}-%{release}
759
760%description contrib
01586e45
JB
761Miscellaneous PostgreSQL contrib modules.
762
763%description contrib -l pl.UTF-8
764Różne moduły dołączone do PostgreSQL-a.
c51da2b5 765
b35e841d 766%prep
b5d14337 767%setup -q
a1028a17 768%patch0 -p1
dc307bb4 769%{?with_absolute_dbpaths:%patch1 -p1}
c51da2b5 770%patch2 -p1
0fed4ed9 771%patch3 -p1
dc307bb4 772%patch4 -p1
2a4e3782 773%patch5 -p1
17ad3dd0 774%patch6 -p1
081e09bf 775%patch7 -p1
a1028a17 776
c51da2b5 777# force rebuild of bison/flex files
778find src -name \*.l -o -name \*.y | xargs touch
779
99e19e69 780# Erase all CVS dirs
dc307bb4 781#find contrib -type d -name CVS -exec rm -rf {} \;
48115857 782
b35e841d 783%build
0188dcac 784%{__aclocal} -I config
8204288a 785%{__autoconf}
7f05d1f9 786%{__autoheader}
99e19e69 787%configure \
c74c603d 788 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
12ff1bb8
JB
789 --disable-rpath \
790 --enable-depend \
081e09bf 791 %{?with_systemtap:--enable-dtrace} \
12ff1bb8 792 --enable-integer-datetimes \
eaf24b0b 793 --enable-nls \
12ff1bb8 794 --enable-thread-safety \
081e09bf 795 %{?with_bonjour:--with-bonjour} \
7a6f5720 796 %{?with_kerberos5:--with-gssapi} \
4c35c6a5 797 %{?with_ldap:--with-ldap} \
55c59a48 798 --with-libxml \
e482b477 799 --with-libxslt \
081e09bf
JB
800 --with-openssl \
801 --with-pam \
12ff1bb8
JB
802 %{?with_perl:--with-perl} \
803 %{?with_python:--with-python} \
60fcd7d3 804 %{?with_selinux:--with-selinux} \
081e09bf 805 --with-system-tzdata=%{_datadir}/zoneinfo \
2477983b 806 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
7f05d1f9 807 --with-uuid=ossp
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
16404f9a 1134%{_libdir}/libpgtypes.a
dc307bb4 1135%{_libdir}/libpgport.a
b35e841d 1136
055aa993 1137%files clients -f clients-%{mver}.lang
103c268d 1138%defattr(644,root,root,755)
06095b90 1139%attr(755,root,root) %{_bindir}/clusterdb
1140%attr(755,root,root) %{_bindir}/createdb
1141%attr(755,root,root) %{_bindir}/createlang
1142%attr(755,root,root) %{_bindir}/createuser
1143%attr(755,root,root) %{_bindir}/dropdb
1144%attr(755,root,root) %{_bindir}/droplang
1145%attr(755,root,root) %{_bindir}/dropuser
cda562e5 1146%attr(755,root,root) %{_bindir}/pg_archivecleanup
e957782b 1147%attr(755,root,root) %{_bindir}/pg_dump
9bf007d0 1148%attr(755,root,root) %{_bindir}/pg_dumpall
5d47dd36 1149%attr(755,root,root) %{_bindir}/pg_isready
c80000c0 1150%attr(755,root,root) %{_bindir}/pg_restore
e957782b 1151%attr(755,root,root) %{_bindir}/psql
af6badf5 1152%attr(755,root,root) %{_bindir}/reindexdb
5cb5ee80 1153%attr(755,root,root) %{_bindir}/vacuumdb
b35e841d 1154
06095b90 1155%{_mandir}/man1/clusterdb.1*
1156%{_mandir}/man1/createdb.1*
1157%{_mandir}/man1/createlang.1*
1158%{_mandir}/man1/createuser.1*
1159%{_mandir}/man1/dropdb.1*
1160%{_mandir}/man1/droplang.1*
1161%{_mandir}/man1/dropuser.1*
cda562e5 1162%{_mandir}/man1/pg_archivecleanup.1*
7386fb4a
AF
1163%{_mandir}/man1/pg_dump.1*
1164%{_mandir}/man1/pg_dumpall.1*
5d47dd36 1165%{_mandir}/man1/pg_isready.1*
c80000c0 1166%{_mandir}/man1/pg_restore.1*
7386fb4a 1167%{_mandir}/man1/psql.1*
af6badf5 1168%{_mandir}/man1/reindexdb.1*
c80000c0 1169%{_mandir}/man1/vacuumdb.1*
7dac5ffa 1170%{_mandir}/man7/*.7*
7386fb4a 1171
c6b2c886 1172%if %{with perl}
500e26d8 1173%files module-plperl -f plperl-%{mver}.lang
00287bb7 1174%defattr(644,root,root,755)
1175%attr(755,root,root) %{_pgmoduledir}/plperl.so
6ceb4ff1
AM
1176%{_pgsqldir}/plperl--*.sql
1177%{_pgsqldir}/plperl.control
1178%{_pgsqldir}/plperlu--*.sql
1179%{_pgsqldir}/plperlu.control
c6b2c886 1180%endif
00287bb7 1181
c6b2c886 1182%if %{with python}
500e26d8 1183%files module-plpython -f plpython-%{mver}.lang
00287bb7 1184%defattr(644,root,root,755)
6d8da3ba 1185%attr(755,root,root) %{_pgmoduledir}/plpython2.so
6ceb4ff1
AM
1186%{_pgsqldir}/plpython*--*.sql
1187%{_pgsqldir}/plpython*.control
c6b2c886 1188%endif
4ddf546b 1189
16404f9a 1190%if %{with tcl}
500e26d8 1191%files module-pltcl -f pltcl-%{mver}.lang
4ddf546b 1192%defattr(644,root,root,755)
084a7c24 1193%attr(755,root,root) %{_bindir}/pltcl_*
00287bb7 1194%attr(755,root,root) %{_pgmoduledir}/pltcl.so
7543e4a8 1195%{_pgsqldir}/unknown.pltcl
6ceb4ff1
AM
1196%{_pgsqldir}/pltcl*--*.sql
1197%{_pgsqldir}/pltcl*.control
16404f9a 1198%endif
ff04b431 1199
d8edd803
JB
1200%files module-dblink
1201%defattr(644,root,root,755)
d8edd803 1202%attr(755,root,root) %{_pgmoduledir}/dblink.so
6ceb4ff1
AM
1203%{_pgsqldir}/dblink--*.sql
1204%{_pgsqldir}/dblink.control
75373ca4 1205%{_mandir}/man3/dblink*.3*
d8edd803 1206
8646766c
JB
1207%files module-lo
1208%defattr(644,root,root,755)
8646766c 1209%attr(755,root,root) %{_pgmoduledir}/lo.so
6ceb4ff1
AM
1210%{_pgsqldir}/lo--*.sql
1211%{_pgsqldir}/lo.control
8646766c 1212
60fcd7d3
JB
1213%files module-pg_trgm
1214%defattr(644,root,root,755)
1215%attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1216%{_pgsqldir}/pg_trgm--*.sql
1217%{_pgsqldir}/pg_trgm.control
1218
5b79623d 1219%files module-pgcrypto
ff04b431 1220%defattr(644,root,root,755)
5b79623d 1221%attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
6ceb4ff1
AM
1222%{_pgsqldir}/pgcrypto--*.sql
1223%{_pgsqldir}/pgcrypto.control
ae08c8ad 1224
2fff9ae7 1225%if %{with selinux}
60fcd7d3
JB
1226%files module-sepgsql
1227%defattr(644,root,root,755)
1228%attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1229%{_pgsqldir}/sepgsql.sql
2fff9ae7 1230%endif
60fcd7d3 1231
bc5c807d
PG
1232%files module-tablefunc
1233%defattr(644,root,root,755)
bc5c807d 1234%attr(755,root,root) %{_pgmoduledir}/tablefunc.so
6ceb4ff1
AM
1235%{_pgsqldir}/*tablefunc--*.sql
1236%{_pgsqldir}/*tablefunc.control
bc5c807d 1237
0b02f266 1238%files module-xml2
1239%defattr(644,root,root,755)
0b02f266 1240%attr(755,root,root) %{_pgmoduledir}/pgxml.so
6ceb4ff1
AM
1241%{_pgsqldir}/xml2--*.sql
1242%{_pgsqldir}/xml2.control
c51da2b5 1243
1244%files contrib
1245%defattr(644,root,root,755)
3be975a0 1246%doc contrib/README
3c7ef761 1247%attr(755,root,root) %{_bindir}/oid2name
c74c603d 1248%attr(755,root,root) %{_bindir}/pg_standby
3c7ef761 1249%attr(755,root,root) %{_bindir}/vacuumlo
c51da2b5 1250%attr(755,root,root) %{_pgmoduledir}/_int.so
1251%attr(755,root,root) %{_pgmoduledir}/adminpack.so
60fcd7d3 1252%attr(755,root,root) %{_pgmoduledir}/auth_delay.so
c74c603d 1253%attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1254%attr(755,root,root) %{_pgmoduledir}/btree_gin.so
c51da2b5 1255%attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1256%attr(755,root,root) %{_pgmoduledir}/chkpass.so
c74c603d 1257%attr(755,root,root) %{_pgmoduledir}/citext.so
1258%attr(755,root,root) %{_pgmoduledir}/cube.so
1259%attr(755,root,root) %{_pgmoduledir}/earthdistance.so
60fcd7d3 1260%attr(755,root,root) %{_pgmoduledir}/file_fdw.so
7caa0fe8 1261%attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
c51da2b5 1262%attr(755,root,root) %{_pgmoduledir}/hstore.so
c51da2b5 1263%attr(755,root,root) %{_pgmoduledir}/isn.so
1264%attr(755,root,root) %{_pgmoduledir}/ltree.so
1265%attr(755,root,root) %{_pgmoduledir}/pageinspect.so
d24d2940 1266%attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
c51da2b5 1267%attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1268%attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
17ad3dd0 1269%attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
c74c603d 1270%attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
c51da2b5 1271%attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1272%attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
f2e6a39c 1273%attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
c74c603d 1274%attr(755,root,root) %{_pgmoduledir}/seg.so
c51da2b5 1275%attr(755,root,root) %{_pgmoduledir}/sslinfo.so
f2e6a39c 1276%attr(755,root,root) %{_pgmoduledir}/tcn.so
d24d2940 1277%attr(755,root,root) %{_pgmoduledir}/unaccent.so
c74c603d 1278%attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
6ceb4ff1
AM
1279%{_pgsqldir}/adminpack--*.sql
1280%{_pgsqldir}/adminpack.control
1281%{_pgsqldir}/btree_gin--*.sql
1282%{_pgsqldir}/btree_gin.control
1283%{_pgsqldir}/btree_gist--*.sql
1284%{_pgsqldir}/btree_gist.control
1285%{_pgsqldir}/chkpass--*.sql
1286%{_pgsqldir}/chkpass.control
1287%{_pgsqldir}/citext--*.sql
1288%{_pgsqldir}/citext.control
1289%{_pgsqldir}/cube--*.sql
1290%{_pgsqldir}/cube.control
1291%{_pgsqldir}/dict_int--*.sql
1292%{_pgsqldir}/dict_int.control
1293%{_pgsqldir}/dict_xsyn--*.sql
1294%{_pgsqldir}/dict_xsyn.control
1295%{_pgsqldir}/earthdistance--*.sql
1296%{_pgsqldir}/earthdistance.control
60fcd7d3
JB
1297%{_pgsqldir}/file_fdw--*.sql
1298%{_pgsqldir}/file_fdw.control
1299%{_pgsqldir}/fuzzystrmatch--*.sql
6ceb4ff1
AM
1300%{_pgsqldir}/fuzzystrmatch.control
1301%{_pgsqldir}/hstore--*.sql
1302%{_pgsqldir}/hstore.control
1303%{_pgsqldir}/intarray--*.sql
1304%{_pgsqldir}/intarray.control
1305%{_pgsqldir}/intagg--*.sql
1306%{_pgsqldir}/intagg.control
1307%{_pgsqldir}/isn--*.sql
1308%{_pgsqldir}/isn.control
1309%{_pgsqldir}/ltree--*.sql
1310%{_pgsqldir}/ltree.control
1311%{_pgsqldir}/pageinspect--*.sql
1312%{_pgsqldir}/pageinspect.control
1313%{_pgsqldir}/pg_buffercache--*.sql
1314%{_pgsqldir}/pg_buffercache.control
1315%{_pgsqldir}/pg_freespacemap--*.sql
1316%{_pgsqldir}/pg_freespacemap.control
17ad3dd0
AZ
1317%{_pgsqldir}/pg_prewarm--*.sql
1318%{_pgsqldir}/pg_prewarm.control
6ceb4ff1
AM
1319%{_pgsqldir}/pg_stat_statements--*.sql
1320%{_pgsqldir}/pg_stat_statements.control
1321%{_pgsqldir}/pgrowlocks--*.sql
1322%{_pgsqldir}/pgrowlocks.control
1323%{_pgsqldir}/pgstattuple--*.sql
1324%{_pgsqldir}/pgstattuple.control
f2e6a39c
JB
1325%{_pgsqldir}/postgres_fdw--*.sql
1326%{_pgsqldir}/postgres_fdw.control
6ceb4ff1
AM
1327%{_pgsqldir}/seg--*.sql
1328%{_pgsqldir}/seg.control
1329%{_pgsqldir}/sslinfo--*.sql
1330%{_pgsqldir}/sslinfo.control
f2e6a39c
JB
1331%{_pgsqldir}/tcn--*.sql
1332%{_pgsqldir}/tcn.control
6ceb4ff1
AM
1333%{_pgsqldir}/unaccent--*.sql
1334%{_pgsqldir}/unaccent.control
1335%{_pgsqldir}/uuid-ossp--*.sql
1336%{_pgsqldir}/uuid-ossp.control
f2e6a39c 1337%{_mandir}/man1/oid2name.1*
f2e6a39c 1338%{_mandir}/man1/pg_standby.1*
f2e6a39c 1339%{_mandir}/man1/vacuumlo.1*
This page took 0.467266 seconds and 4 git commands to generate.