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