]> git.pld-linux.org Git - packages/postgresql.git/blame - postgresql.spec
- initial support for full pg_upgrade
[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)
d24d2940 4# - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
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
a1ace3a4 13%bcond_without ldap # disable LDAP support
60fcd7d3 14%bcond_without selinux # sepgsql contrib module
16404f9a 15%bcond_with absolute_dbpaths # enable absolute paths to create database
550a1fa5 16 # (disabled by default because it is a security risk)
1909f764 17#
055aa993
JR
18
19%define beta %{nil}
a1aa6bb4 20%define mver 9.2
055aa993 21
9214a4d4
AZ
22%define prevmver 9.1
23%define prevver 9.1.6
24
016f481d 25Summary: PostgreSQL Data Base Management System
620f9138
ER
26Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
27Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
28Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
29Summary(pl.UTF-8): PostgreSQL - system bazodanowy
30Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
31Summary(ru.UTF-8): PostgreSQL - система управления базами данных
32Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
33Summary(uk.UTF-8): PostgreSQL - система керування базами даних
34Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
016f481d 35Name: postgresql
9214a4d4
AZ
36Version: %{mver}.1
37Release: 0.1
3b12d52f 38License: BSD
016f481d 39Group: Applications/Databases
74ecf57d 40Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
9214a4d4 41# Source0-md5: c0b4799ea9850eae3ead14f0a60e9418
b752f531 42Source1: %{name}.init
9d4c7921 43Source2: pgsql-Database-HOWTO-html.tar.gz
b21c6987 44# Source2-md5: 5b656ddf1db41965761f85204a14398e
b752f531 45Source3: %{name}.sysconfig
9214a4d4 46# http://git.postgresql.org/gitweb/?p=pldebugger.git;a=snapshot;h=eb754b6ba9a1c18e7bc4ddf521408be06768c697;sf=tgz
ecdee535 47Source4: pldebugger-eb754b6.tar.gz
9214a4d4 48# Source4-md5: e596193b87695d29fa9161e7182dcd32
94b00d5a
JK
49Source5: %{name}.upstart
50Source6: %{name}-instance.upstart
9214a4d4
AZ
51Source7: ftp://ftp.postgresql.org/pub/source/v%{prevver}/%{name}-%{prevver}.tar.bz2
52# Source7-md5: 000755f66c0de58bbd4cd2b89b45b8e2
dc307bb4 53Patch0: %{name}-conf.patch
54Patch1: %{name}-absolute_dbpaths.patch
c51da2b5 55Patch2: %{name}-ecpg-includedir.patch
56Patch3: %{name}-ac_version.patch
57Patch4: %{name}-disable_horology_test.patch
4614112f 58Patch5: %{name}-heimdal.patch
9214a4d4 59Patch6: %{name}_%{prevmver}-ac_version.patch
016f481d 60URL: http://www.postgresql.org/
368587a1 61BuildRequires: autoconf
a9e3ed5f 62BuildRequires: automake
c51da2b5 63# not needed for releases... but fixes something in snapshot
64BuildRequires: bison >= 1.875
cfcef89a 65BuildRequires: docbook-dtd42-sgml
66BuildRequires: docbook-dtd42-xml
67BuildRequires: docbook-style-xsl
60fcd7d3 68BuildRequires: flex >= 2.5.31
899ec251 69BuildRequires: gettext-devel
7a6f5720 70%{?with_kerberos5:BuildRequires: heimdal-devel}
60fcd7d3 71%{?with_selinux:BuildRequires: libselinux-devel >= 2.0.93}
b4e9d937 72BuildRequires: libtool
c51da2b5 73BuildRequires: libxml2-devel >= 2.6.23
0b02f266 74BuildRequires: libxslt-devel
c4156621 75BuildRequires: libxslt-progs
c32c47f8 76BuildRequires: ncurses-devel >= 5.0
a1ace3a4 77%{?with_ldap:BuildRequires: openldap-devel}
e05bfd03 78BuildRequires: openssl-devel >= 0.9.7d
c74c603d 79BuildRequires: ossp-uuid-devel
0715e574 80BuildRequires: pam-devel
c6b2c886 81%{?with_perl:BuildRequires: perl-devel}
6006bd58
KK
82%if %{with python}
83BuildRequires: python >= 1:2.3
84BuildRequires: python-devel >= 1:2.3
024f308f 85BuildRequires: python-modules >= 1:2.3
6006bd58 86%endif
cd61d421 87BuildRequires: readline-devel >= 4.2
3a2e0fdd 88BuildRequires: rpmbuild(macros) >= 1.268
16404f9a 89%{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
c4156621 90%{?with_tests:BuildRequires: tzdata}
40a8e4da 91BuildRequires: zlib-devel
3a2e0fdd 92Requires(post,preun): /sbin/chkconfig
320d02f0 93Requires(pre): /bin/id
3a2e0fdd 94Requires(pre): /usr/bin/getgid
320d02f0
JB
95Requires(pre): /usr/sbin/groupadd
96Requires(pre): /usr/sbin/useradd
3c7ef761
ER
97Requires(triggerpostun): /bin/id
98Requires(triggerpostun): /usr/sbin/usermod
3a2e0fdd
ER
99Requires: %{name}-clients = %{version}-%{release}
100Requires: %{name}-libs = %{version}-%{release}
94b00d5a 101Requires: rc-scripts >= 0.4.3.0
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:
60fcd7d3 115# dummy_seclabel, pg_test_fsync, spi and test_parser - examples/tests
d24d2940 116# tsearch2 - old module for compatibility only
60fcd7d3 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_archivecleanup pg_buffercache pg_freespacemap pg_standby pg_stat_statements pg_trgm pg_upgrade pg_upgrade_support pgbench pgcrypto pgrowlocks pgstattuple pldebugger seg %{?with_selinux:sepgsql} sslinfo tablefunc 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
94b00d5a
JK
341%package upstart
342Summary: Upstart job description for PostgreSQL server
343Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
344Group: Daemons
345Requires: %{name} = %{version}-%{release}
346Requires: upstart >= 0.6
562496af 347Conflicts: syslog-ng < 3.2.4-1
94b00d5a
JK
348
349%description upstart
350Upstart job description for PostgreSQL.
351
352%description upstart -l pl.UTF-8
353Opis zadania Upstart dla PostgreSQL.
354
b35e841d 355%package devel
016f481d 356Summary: PostgreSQL development header files and libraries
620f9138
ER
357Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
358Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
359Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
360Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
361Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
362Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
363Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
364Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
016f481d 365Group: Development/Libraries
2bfb68de 366Requires: %{name}-libs = %{version}-%{release}
b35e841d 367
368%description devel
369This package contains header files and libraries required to compile
e59a0118 370applications that are talking directly to the PostgreSQL backend
371server.
b35e841d 372
c76c631a
JR
373%description devel -l de.UTF-8
374Dieses Paket enthält die Header-Dateien und Libraries, die zum
e59a0118 375Kompilieren von Applikationen notwendig sind, die direkt mit dem
b35e841d 376PostgreSQL-Backend-Server kommunizieren.
377
c76c631a
JR
378%description devel -l es.UTF-8
379Este paquete contiene archivos de inclusión y bibliotecas requeridas
380para compilación de aplicativos que se comunican directamente con el
55747262 381servidor backend PostgreSQL.
382
c76c631a
JR
383%description devel -l fr.UTF-8
384Ce package contient les fichiers d'en-tête et les bibliothéques
385nécessaires pour compiler des applications ayant des échanges directs
e59a0118 386avec le serveur du backend PostgreSQL.
b35e841d 387
c76c631a
JR
388%description devel -l pl.UTF-8
389Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
390aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
b35e841d 391
c76c631a
JR
392%description devel -l pt_BR.UTF-8
393Este pacote contém arquivos de inclusão e bibliotecas requeridas para
394compilação de aplicativos que se comunicam diretamente com o servidor
55747262 395backend PostgreSQL.
396
c76c631a
JR
397%description devel -l ru.UTF-8
398Этот пакет содержит хедеры и библиотеки, необходимые для сборки
399приложений, непосредственно взаимодействующих с сервером PostgreSQL.
9f84dc01 400
c76c631a
JR
401%description devel -l tr.UTF-8
402Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
403gereken başlık dosyalarını ve kitaplıkları içerir.
b35e841d 404
c76c631a
JR
405%description devel -l uk.UTF-8
406Цей пакет містить хедери та бібліотеки, необхідні для розробки
407програм, які безпосередньо взаємодіють з сервером PostgreSQL.
9f84dc01 408
cb920eb9 409%package backend-devel
410Summary: PostgreSQL backend development header files
620f9138 411Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
cb920eb9 412Group: Development/Libraries
2bfb68de
JB
413Requires: %{name}-devel = %{version}-%{release}
414Requires: %{name}-libs = %{version}-%{release}
cb920eb9 415
416%description backend-devel
a9e3ed5f
JB
417This package contains header files required to compile functions that
418could be loaded directly by backend
cb920eb9 419
c76c631a
JR
420%description backend-devel -l pl.UTF-8
421Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
a9e3ed5f 422bezposrednio ladowane przez beckend serwera PostgreSQL.
cb920eb9 423
b35e841d 424%package clients
a57096f6 425Summary: Clients needed to access a PostgreSQL server
620f9138
ER
426Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
427Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
428Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
429Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
430Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
016f481d 431Group: Applications/Databases
2bfb68de 432Requires: %{name}-libs = %{version}-%{release}
b35e841d 433
434%description clients
aa1db817 435This package includes only the clients needed to access an PostgreSQL
1f130e30 436server. The server is included in the main package. If all you need is
437to connect to another PostgreSQL server, the this is the only package
438you need to install. Clients include several command-line utilities
439you can use to manage your databases on a remote PostgreSQL server.
b35e841d 440
c76c631a 441%description clients -l es.UTF-8
55747262 442Este paquete incluye solamente los clientes necesarios para acceder un
c76c631a 443servidor PostgreSQL. El servidor está en el paquete principal.
55747262 444
c76c631a
JR
445%description clients -l pl.UTF-8
446Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
447PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
448poleceń. Serwer znajduje się w głównym pakiecie.
b35e841d 449
c76c631a
JR
450%description clients -l pt_BR.UTF-8
451Este pacote inclui somente os clientes necessários para acessar um
452servidor PostgreSQL. O servidor está no pacote principal.
55747262 453
c76c631a
JR
454%description clients -l ru.UTF-8
455Этот пакет включает только клиентские программы и библиотеки,
456необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
457пакет. Если вам надо только работать с другим сервером PostgreSQL, это
458единственный пакет, который вам надо установить.
9f84dc01 459
c76c631a
JR
460Теперь пакеты с библиотеками для разных языков программирования (C,
461C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
462языка C.
9f84dc01 463
c76c631a
JR
464%description clients -l uk.UTF-8
465Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
466для доступу до сервера PostgreSQL. Сервер міститься в головному
467пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
468єдиний пакет, який вам треба встановити.
9f84dc01 469
c76c631a
JR
470Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
471і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
9f84dc01 472
b35e841d 473%package doc
016f481d 474Summary: Documentation for PostgreSQL
620f9138 475Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
016f481d 476Group: Applications/Databases
b35e841d 477
478%description doc
e59a0118 479This package includes documentation and HOWTO for programmer, admin
480etc., in HTML format.
b35e841d 481
c76c631a
JR
482%description doc -l pl.UTF-8
483Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
484administratorów w formacie HTML.
b35e841d 485
9ea08160 486%package libs
487Summary: PostgreSQL libraries
620f9138
ER
488Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
489Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
490Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
491Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
9ea08160 492Group: Libraries
9ea08160 493
494%description libs
aa1db817 495PostgreSQL shared libraries.
9ea08160 496
c76c631a 497%description libs -l es.UTF-8
55747262 498Este paquete contiene la biblioteca compartida para acceso al
832d7cf9 499PostgreSQL.
55747262 500
c76c631a 501%description libs -l pl.UTF-8
9ea08160 502Biblioteki dzielone programu PostgreSQL.
503
c76c631a
JR
504%description libs -l pt_BR.UTF-8
505Este pacote contém a biblioteca compartilhada para acesso ao
832d7cf9 506PostgreSQL.
55747262 507
6564a583 508%package ecpg
509Summary: Embedded SQL in C interface
620f9138 510Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
6564a583 511Group: Libraries
2bfb68de 512Requires: %{name}-libs = %{version}-%{release}
6564a583 513
514%description ecpg
515Embedded SQL in C interface.
516
c76c631a
JR
517%description ecpg -l pl.UTF-8
518Interfejs wbudowanego SQL-a w język C.
6564a583 519
520%package ecpg-devel
521Summary: Embedded SQL in C interface files
620f9138 522Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
6564a583 523Group: Development/Libraries
2bfb68de
JB
524Requires: %{name}-devel = %{version}-%{release}
525Requires: %{name}-ecpg = %{version}-%{release}
6564a583 526
527%description ecpg-devel
528Embedded SQL in C interface files.
529
c76c631a
JR
530%description ecpg-devel -l pl.UTF-8
531Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
6564a583 532
9ea08160 533%package static
534Summary: PostgreSQL static libraries
620f9138
ER
535Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
536Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
537Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
538Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
539Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
9ea08160 540Group: Development/Libraries
2bfb68de 541Requires: %{name}-devel = %{version}-%{release}
9ea08160 542
543%description static
544PostgreSQL static libraries.
545
c76c631a
JR
546%description static -l es.UTF-8
547Este paquete contiene bibliotecas estaticas requerida para compilación
55747262 548de aplicativos que se comunican directamente con el servidor backend
549PostgreSQL.
550
c76c631a 551%description static -l pl.UTF-8
9ea08160 552Biblioteki statyczne programu PostgreSQL.
553
c76c631a
JR
554%description static -l pt_BR.UTF-8
555Este pacote contém as bibliotecas estáticas requeridas para compilação
55747262 556de aplicativos que se comunicam diretamente com o servidor backend
557PostgreSQL.
558
c76c631a
JR
559%description static -l ru.UTF-8
560Это отдельный пакет со статическими библиотеками, которые больше не
561входят в %{name}-devel.
9f84dc01 562
c76c631a
JR
563%description static -l uk.UTF-8
564Це окремий пакет зі статичними бібліотеками, які більш не входять в
9f84dc01 565%{name}-devel.
566
00287bb7 567%package module-plperl
568Summary: PL/perl - PostgreSQL procedural language
620f9138 569Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
00287bb7 570Group: Applications/Databases
2bfb68de 571Requires: %{name} = %{version}-%{release}
00287bb7 572
573%description module-plperl
a94ae93a 574From PostgreSQL documentation:
00287bb7 575
576Postgres supports the definition of procedural languages. In the case
577of a function or trigger procedure defined in a procedural language,
578the database has no built-in knowledge about how to interpret the
579function's source text. Instead, the task is passed to a handler that
580knows the details of the language. The handler itself is a special
581programming language function compiled into a shared object and loaded
582on demand.
583
dce5630b 584To enable PL/Perl procedural language for your database you have to
00287bb7 585run createlang command.
586
c76c631a 587%description module-plperl -l pl.UTF-8
a94ae93a 588Z dokumentacji PostgreSQL:
00287bb7 589
c76c631a
JR
590Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
591programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
592proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
593funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
594który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
595funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
00287bb7 596potrzeby.
597
c76c631a 598Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 599proceduralnego PL/Perl dla swojej bazy danych.
00287bb7 600
601%package module-plpython
dce5630b 602Summary: PL/Python - PostgreSQL procedural language
620f9138 603Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
00287bb7 604Group: Applications/Databases
2bfb68de 605Requires: %{name} = %{version}-%{release}
6a64b227 606%pyrequires_eq python
00287bb7 607
608%description module-plpython
a94ae93a 609From PostgreSQL documentation:
00287bb7 610
611Postgres supports the definition of procedural languages. In the case
612of a function or trigger procedure defined in a procedural language,
613the database has no built-in knowledge about how to interpret the
614function's source text. Instead, the task is passed to a handler that
615knows the details of the language. The handler itself is a special
616programming language function compiled into a shared object and loaded
617on demand.
618
dce5630b 619To enable PL/Python procedural language for your database you have to
00287bb7 620run createlang command.
621
c76c631a 622%description module-plpython -l pl.UTF-8
a94ae93a 623Z dokumentacji PostgreSQL:
00287bb7 624
c76c631a
JR
625Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
626programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
627proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
628funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
629który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
630funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
00287bb7 631potrzeby.
632
c76c631a 633Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 634proceduralnego PL/Python dla swojej bazy danych.
00287bb7 635
4ddf546b 636%package module-pltcl
dce5630b 637Summary: PL/Tcl - PostgreSQL procedural language
620f9138 638Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
4ddf546b 639Group: Applications/Databases
2bfb68de 640Requires: %{name} = %{version}-%{release}
7543e4a8 641Requires: tcl(Pgtcl)
4ddf546b 642
643%description module-pltcl
a94ae93a 644From PostgreSQL documentation:
4ddf546b 645
368587a1 646Postgres supports the definition of procedural languages. In the case
647of a function or trigger procedure defined in a procedural language,
648the database has no built-in knowledge about how to interpret the
649function's source text. Instead, the task is passed to a handler that
650knows the details of the language. The handler itself is a special
651programming language function compiled into a shared object and loaded
652on demand.
4ddf546b 653
dce5630b 654To enable PL/Tcl procedural language for your database you have to run
4ddf546b 655createlang command.
656
c76c631a 657%description module-pltcl -l pl.UTF-8
a94ae93a 658Z dokumentacji PostgreSQL:
4ddf546b 659
c76c631a
JR
660Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
661programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
662proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
663funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
664który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
665funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
368587a1 666potrzeby.
4ddf546b 667
c76c631a 668Za pomocą polecenia createlang można dodać obsługę języka
dce5630b 669proceduralnego PL/Tcl dla swojej bazy danych.
4ddf546b 670
d8edd803
JB
671%package module-dblink
672Summary: dblink module for PostgreSQL
620f9138 673Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
d8edd803
JB
674Group: Applications/Databases
675Requires: %{name} = %{version}-%{release}
676
677%description module-dblink
678dblink module for PostgreSQL provides functions returning results from
679remote database.
680
c76c631a
JR
681%description module-dblink -l pl.UTF-8
682Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
d8edd803
JB
683zdalnej bazy danych.
684
8646766c
JB
685%package module-lo
686Summary: Large Objects module for PostgreSQL
620f9138 687Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
8646766c
JB
688Group: Applications/Databases
689Requires: %{name} = %{version}-%{release}
690
691%description module-lo
692Large Objects module for PostgreSQL adds a new data type 'lo', some
693support functions and a trigger which handles the orphaning problem.
694
c76c631a
JR
695%description module-lo -l pl.UTF-8
696Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
697kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
698osieroconych obiektów.
8646766c 699
60fcd7d3
JB
700%package module-pg_trgm
701Summary: Trigram matching for PostgreSQL
702Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
703Group: Applications/Databases
704Requires: %{name} = %{version}-%{release}
705
706%description module-pg_trgm
707This module provides functions and index classes for determining the
708similarity of text based on trigram matching.
709
710%description module-pg_trgm -l pl.UTF-8
711Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
712w oparciu o dopasowywanie trigramowe (trigram matching).
713
5b79623d 714%package module-pgcrypto
ff04b431 715Summary: Cryptographic functions for PostgreSQL
620f9138 716Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
ff04b431 717Group: Applications/Databases
2bfb68de 718Requires: %{name} = %{version}-%{release}
ff04b431 719
5b79623d 720%description module-pgcrypto
721Cryptographic functions for PostgreSQL.
ff04b431 722
c76c631a 723%description module-pgcrypto -l pl.UTF-8
5b79623d 724Funkcje kryptograficzne dla PostgreSQL.
ff04b431 725
60fcd7d3
JB
726%package module-sepgsql
727Summary: PostgreSQL external security provider using SELinux
728Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
729Group: Applications/Databases
730Requires: %{name} = %{version}-%{release}
731Requires: libselinux >= 2.0.93
732
733%description module-sepgsql
734PostgreSQL external security provider using SELinux.
735
736%description module-sepgsql -l pl.UTF-8
737Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
738
bc5c807d 739%package module-tablefunc
d8edd803 740Summary: crosstab functions for PostgreSQL
620f9138 741Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
bc5c807d
PG
742Group: Applications/Databases
743Requires: %{name} = %{version}-%{release}
744
745%description module-tablefunc
d8edd803
JB
746crosstab functions for PostgreSQL.
747
c76c631a 748%description module-tablefunc -l pl.UTF-8
d8edd803 749Funkcje crosstab dla PostgreSQL-a.
bc5c807d 750
0b02f266 751%package module-xml2
752Summary: XML-handling functions for PostgreSQL
620f9138 753Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
0b02f266 754Group: Applications/Databases
755Requires: %{name} = %{version}-%{release}
756
757%description module-xml2
758Module with XML functions provides both XPath querying and XSLT
759functionality. There is also a new table function which allows the
760straightforward return of multiple XML results.
761
c76c631a
JR
762%description module-xml2 -l pl.UTF-8
763Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
764funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
765bezpośrednie zwracanie wielu wyników XML.
6a83c38f 766
c51da2b5 767%package contrib
01586e45
JB
768Summary: Miscellaneous PostgreSQL contrib modules
769Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
c51da2b5 770Group: Applications/Databases
771Requires: %{name} = %{version}-%{release}
772
773%description contrib
01586e45
JB
774Miscellaneous PostgreSQL contrib modules.
775
776%description contrib -l pl.UTF-8
777Różne moduły dołączone do PostgreSQL-a.
c51da2b5 778
9214a4d4
AZ
779%package upgrade
780Summary: Support for upgrading from the previous major release
781Summary(pl.UTF-8): Wsparcie
782Group: Applications/Databases
783Requires: %{name} = %{version}-%{release}
784
785%description upgrade
786The postgresql-upgrade package contains the pg_upgrade utility and supporting
787files needed for upgrading a PostgreSQL database from the previous major
788version of PostgreSQL.
789
790
791%description upgrade -l pl.UTF-8
792The postgresql-upgrade package contains the pg_upgrade utility and supporting
793files needed for upgrading a PostgreSQL database from the previous major
794version of PostgreSQL.
795
b35e841d 796%prep
9214a4d4 797%setup -q -a 7
a1028a17 798%patch0 -p1
dc307bb4 799%{?with_absolute_dbpaths:%patch1 -p1}
c51da2b5 800%patch2 -p1
0fed4ed9 801%patch3 -p1
dc307bb4 802%patch4 -p1
2a4e3782 803%patch5 -p1
a1028a17 804
9214a4d4
AZ
805cd postgresql-%{prevver}
806
807%patch0 -p1
808%{?with_absolute_dbpaths:%patch1 -p1}
809%patch2 -p1
810%patch4 -p1
811%patch5 -p1
812%patch6 -p1
813cd ..
814
671f96ef 815tar xzf %{SOURCE4} -C contrib
ecdee535 816mv contrib/pldebugger-* contrib/pldebugger
671f96ef 817
c51da2b5 818# force rebuild of bison/flex files
819find src -name \*.l -o -name \*.y | xargs touch
820
99e19e69 821# Erase all CVS dirs
dc307bb4 822#find contrib -type d -name CVS -exec rm -rf {} \;
48115857 823
b35e841d 824%build
0188dcac 825%{__aclocal} -I config
8204288a 826%{__autoconf}
99e19e69 827%configure \
c74c603d 828 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
12ff1bb8
JB
829 --disable-rpath \
830 --enable-depend \
831 --enable-integer-datetimes \
c51da2b5 832 --with-system-tzdata=%{_datadir}/zoneinfo \
eaf24b0b 833 --enable-nls \
12ff1bb8 834 --enable-thread-safety \
7a6f5720 835 %{?with_kerberos5:--with-gssapi} \
dc307bb4 836 %{?with_kerberos5:--with-krb5} \
4c35c6a5 837 %{?with_ldap:--with-ldap} \
40a8e4da 838 --with-openssl \
12ff1bb8 839 --with-pam \
55c59a48 840 --with-libxml \
e482b477 841 --with-libxslt \
12ff1bb8
JB
842 %{?with_perl:--with-perl} \
843 %{?with_python:--with-python} \
60fcd7d3 844 %{?with_selinux:--with-selinux} \
2477983b 845 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
c74c603d 846 --with-ossp-uuid \
b35e841d 847
40a8e4da 848%{__make}
c51da2b5 849
850for mod in %{contrib_modules}; do \
4614112f 851 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
c74c603d 852 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
853 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
c7427375 854 %{__make} -C contrib/$mod CFLAGS="$flags"
c51da2b5 855done
856
12ff1bb8
JB
857%{__make} -C src/tutorial \
858 NO_PGXS=1
b4287983 859
f863bf87 860%ifnarch sparc sparcv9 sparc64 alpha
6ceb4ff1 861%{?with_tests:%{__make} -j1 check}
00287bb7 862%endif
b35e841d 863
9214a4d4
AZ
864cd postgresql-%{prevver}
865%{__aclocal} -I config
866%{__autoconf}
867
868./configure \
869 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
870 --prefix=%{_libdir}/pgsql/postgresql-%{prevmver} \
871 --disable-rpath \
872 --enable-depend \
873 --enable-integer-datetimes \
874 --with-system-tzdata=%{_datadir}/zoneinfo \
875 --enable-nls \
876 --enable-thread-safety \
877 %{?with_kerberos5:--with-gssapi} \
878 %{?with_kerberos5:--with-krb5} \
879 %{?with_ldap:--with-ldap} \
880 --with-openssl \
881 --with-pam \
882 --with-libxml \
883 --with-libxslt \
884 %{?with_perl:--with-perl} \
885 %{?with_python:--with-python} \
886 %{?with_selinux:--with-selinux} \
887 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
888 --with-ossp-uuid \
889
890%{__make}
891cd ..
892
b35e841d 893%install
894rm -rf $RPM_BUILD_ROOT
94b00d5a 895install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
7dac5ffa 896 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
ee5a78dc 897 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
d2bf084f 898 $RPM_BUILD_ROOT%{_mandir} \
320d02f0 899 $RPM_BUILD_ROOT/home/services/postgres
4f5dceb8 900
12ff1bb8 901install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
438eb355 902
dc307bb4 903%{__make} install \
00287bb7 904 DESTDIR=$RPM_BUILD_ROOT
500e26d8
AM
905%{__make} -C doc/src/sgml install-man \
906 DESTDIR=$RPM_BUILD_ROOT
00287bb7 907
99e19e69
JB
908%if %{with perl}
909%{__make} install -C src/pl/plperl \
910 DESTDIR=$RPM_BUILD_ROOT
911%endif
00287bb7 912
c51da2b5 913for mod in %{contrib_modules}; do \
914 %{__make} -C contrib/$mod install \
915 DESTDIR=$RPM_BUILD_ROOT
916done
0b02f266 917
048840cb 918touch $RPM_BUILD_ROOT/var/log/pgsql
b35e841d 919
9bf007d0 920install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
b752f531 921install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
b35e841d 922
94b00d5a
JK
923install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/%{name}.conf
924install %{SOURCE6} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
925
b35e841d 926install -d howto
4b61b2c1 927tar zxf %{SOURCE2} -C howto
b35e841d 928
f43486f3 929%if %{with python}
be3e6567 930%py_comp $RPM_BUILD_ROOT%{py_libdir}
931%py_ocomp $RPM_BUILD_ROOT%{py_libdir}
f43486f3 932%endif
40a8e4da 933
fe8440d2 934# find locales
6ceb4ff1 935for 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 936 %find_lang $f-%{mver}
fe8440d2 937done
938# merge locales
055aa993
JR
939cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
940 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
6d8da3ba 941 plpgsql-%{mver}.lang \
6ceb4ff1 942 pg_basebackup-%{mver}.lang \
055aa993
JR
943 > main-%{mver}.lang
944cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
945 pg_ctl-%{mver}.lang > clients-%{mver}.lang
3a90355c 946cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
dc307bb4 947
b86befb8
JR
948%if %{with tcl}
949%find_lang pltcl-%{mver}
950mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
951%endif
7543e4a8 952
60fcd7d3
JB
953%if %{with selinux}
954mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
955%endif
6ceb4ff1 956
e0ee9cb2 957install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
958
c74c603d 959# package it...? nah, why bother.
60fcd7d3 960%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
c74c603d 961
9214a4d4
AZ
962cd postgresql-%{prevver}
963%{__make} install \
964 DESTDIR=$RPM_BUILD_ROOT/postgresql-%{prevmver}
965cd $RPM_BUILD_ROOT/postgresql-%{prevmver}%{_libdir}/pgsql/postgresql-%{prevmver}
966 rm bin/clusterdb
967 rm bin/createdb
968 rm bin/createlang
969 rm bin/createuser
970 rm bin/dropdb
971 rm bin/droplang
972 rm bin/dropuser
973 rm bin/ecpg
974 rm bin/initdb
975 rm bin/pg_basebackup
976 rm bin/pg_config
977 rm bin/pg_controldata
978 rm bin/pg_dump
979 rm bin/pg_dumpall
980 rm bin/pg_restore
981 rm bin/psql
982 rm bin/reindexdb
983 rm bin/vacuumdb
984 rm -rf include
985 rm lib/dict_snowball.so
986 rm lib/libecpg*
987 rm lib/libpg*
988 rm lib/libpq*
989 rm -rf lib/pgxs
990 rm lib/plpgsql.so
991 rm -rf share/doc
992 rm -rf share/man
993 rm -rf share/tsearch_data
994 rm share/*.bki
995 rm share/*description
996 rm share/*.sample
997 rm share/*.sql
998 rm share/*.txt
999 mkdir -p $RPM_BUILD_ROOT%{_libdir}/postgresql-%{prevmver}
1000 cp -ra $RPM_BUILD_ROOT/postgresql-%{prevmver}%{_libdir}/pgsql/postgresql-%{prevmver}/* $RPM_BUILD_ROOT%{_libdir}/postgresql-%{prevmver}
1001cd $RPM_BUILD_ROOT
1002
a9e3ed5f 1003%clean
9214a4d4 1004#rm -rf $RPM_BUILD_ROOT
a9e3ed5f 1005
7949db6e 1006%pre
4239f689
JB
1007PG_DB_CLUSTERS=""
1008if [ -f /etc/sysconfig/postgresql ]; then
1009 . /etc/sysconfig/postgresql
1010 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
1011 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
1012 fi
1013fi
1014foundold=0
1015for pgdir in $PG_DB_CLUSTERS; do
1016 if [ -f $pgdir/PG_VERSION ]; then
6ceb4ff1 1017 if [ $(cat $pgdir/PG_VERSION) != '9.1' ]; then
4239f689
JB
1018 echo "Found database(s) in older, incompatible format in cluster $pgdir."
1019 foundold=1
1020 fi
1021 fi
1022done
1023if [ "$foundold" = "1" ]; then
1024 echo
1025 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
1026 echo "and clean (or rename) those directories; then upgrade postgresql and"
1027 echo "restore all data (using pg_restore or psql)."
1028 echo "Remember to stop the daemon before upgrading!"
1029 echo
d5ec79c4
AM
1030 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
1031 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
1032 echo
4239f689
JB
1033 echo "Warning for upgrade from version *before* 7.2."
1034 echo "Please note, that postgresql module path changed from"
7949db6e 1035 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
4239f689
JB
1036 echo "in dump file before restore."
1037 echo
1038 echo "Warning for upgrade from version *before* 7.3."
1039 echo "Reading following webpage is encouraged:"
258750c1 1040 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
4239f689
JB
1041 exit 1
1042fi
4b61b2c1
ER
1043%groupadd -g 88 -r postgres
1044%useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
1045
3c7ef761 1046%triggerpostun -- %{name} < 7.2-2
e76d3d1a 1047if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
320d02f0 1048 /usr/sbin/usermod -d /home/services/postgres postgres
320d02f0 1049fi
4a025d17 1050
b35e841d 1051%post
1bc01910 1052/sbin/chkconfig --add postgresql
3a2e0fdd 1053%service postgresql restart "postgresql server"
c1db913e 1054
1bc01910 1055%preun
1056if [ "$1" = "0" ]; then
3a2e0fdd 1057 %service postgresql stop
1bc01910 1058 /sbin/chkconfig --del postgresql
1059fi
016f481d 1060
94b00d5a
JK
1061%post upstart
1062%upstart_post postgresql
1063
1064%postun upstart
1065%upstart_postun postgresql
1066
a0af78da 1067%post libs -p /sbin/ldconfig
1068%postun libs -p /sbin/ldconfig
48115857 1069
a0af78da 1070%post ecpg -p /sbin/ldconfig
1071%postun ecpg -p /sbin/ldconfig
6564a583 1072
055aa993 1073%files -f main-%{mver}.lang
103c268d 1074%defattr(644,root,root,755)
6ceb4ff1 1075%doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
bd011839 1076%attr(754,root,root) /etc/rc.d/init.d/postgresql
63ca64a6 1077%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
b35e841d 1078
e957782b 1079%attr(755,root,root) %{_bindir}/initdb
6ceb4ff1 1080%attr(755,root,root) %{_bindir}/pg_basebackup
084a7c24 1081%attr(755,root,root) %{_bindir}/pg_controldata
1082%attr(755,root,root) %{_bindir}/pg_ctl
084a7c24 1083%attr(755,root,root) %{_bindir}/pg_resetxlog
ecdee535 1084%attr(755,root,root) %{_bindir}/pg_receivexlog
e957782b 1085%attr(755,root,root) %{_bindir}/postgres
1086%attr(755,root,root) %{_bindir}/postmaster
084a7c24 1087
d24d2940
JB
1088%attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1089%attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1090%attr(755,root,root) %{_pgmoduledir}/dict_int.so
1091%attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1092%attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1093%attr(755,root,root) %{_pgmoduledir}/euc*.so
1094%attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1095%attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1096%attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
d24d2940
JB
1097%attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1098%attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
7386fb4a 1099
00287bb7 1100%dir %{_pgsqldir}
6ceb4ff1
AM
1101%{_pgsqldir}/plpgsql--*.sql
1102%{_pgsqldir}/plpgsql.control
1103
1888f1fe 1104%dir %{_datadir}/postgresql
c80000c0
JR
1105%{_datadir}/postgresql/*.bki
1106%{_datadir}/postgresql/*.sample
1107%{_datadir}/postgresql/*.description
26925000 1108%{_datadir}/postgresql/*.shdescription
fd6c8fe0 1109%{_datadir}/postgresql/*.sql
16404f9a 1110%{_datadir}/postgresql/*.txt
687787e7 1111%{_datadir}/postgresql/timezonesets
c51da2b5 1112%{_datadir}/postgresql/tsearch_data
3786c16b 1113
587cbf9a
JR
1114%dir %{_datadir}/postgresql/contrib
1115
320d02f0 1116%attr(700,postgres,postgres) /home/services/postgres
af01ba47 1117%attr(700,postgres,postgres) %dir /var/lib/pgsql
63ca64a6 1118%attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
048840cb 1119
7386fb4a 1120%{_mandir}/man1/initdb.1*
6ceb4ff1 1121%{_mandir}/man1/pg_basebackup.1*
084a7c24 1122%{_mandir}/man1/pg_controldata.1*
1123%{_mandir}/man1/pg_ctl.1*
1124%{_mandir}/man1/pg_resetxlog.1*
7386fb4a
AF
1125%{_mandir}/man1/postgres.1*
1126%{_mandir}/man1/postmaster.1*
ecdee535
ŁC
1127%{_mandir}/man1/oid2name.1.gz
1128%{_mandir}/man1/pg_archivecleanup.1.gz
1129%{_mandir}/man1/pg_receivexlog.1.gz
1130%{_mandir}/man1/pg_standby.1.gz
1131%{_mandir}/man1/pg_test_fsync.1.gz
1132%{_mandir}/man1/pg_test_timing.1.gz
ecdee535
ŁC
1133%{_mandir}/man1/pgbench.1.gz
1134%{_mandir}/man1/vacuumlo.1.gz
1135
084a7c24 1136
19055269 1137%if "%{pld_release}" != "ti"
94b00d5a
JK
1138%files upstart
1139%defattr(644,root,root,755)
1140%config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1141%dir /etc/init/postgresql
1142%config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
19055269 1143%endif
94b00d5a 1144
048840cb 1145%files doc
1146%defattr(644,root,root,755)
500e26d8 1147%doc doc/src/sgml/html howto
438eb355 1148%{_examplesdir}/%{name}-%{version}
5cb5ee80 1149
055aa993 1150%files libs -f libpq5-%{mver}.lang
7386fb4a 1151%defattr(644,root,root,755)
a28e2aa1 1152%attr(755,root,root) %{_libdir}/libpq.so.*.*
1909f764 1153%attr(755,root,root) %ghost %{_libdir}/libpq.so.5
12ff1bb8 1154%dir %{_pgmoduledir}
7386fb4a 1155
dc856210 1156%files ecpg -f ecpg.lang
016f481d 1157%defattr(644,root,root,755)
00287bb7 1158%attr(755,root,root) %{_bindir}/ecpg
6564a583 1159%attr(755,root,root) %{_libdir}/libecpg.so.*.*
1909f764 1160%attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
6564a583 1161%attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1909f764 1162%attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
6564a583 1163%attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1909f764 1164%attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
6564a583 1165%{_mandir}/man1/ecpg.1*
1166
1167%files ecpg-devel
1168%defattr(644,root,root,755)
7386fb4a 1169%attr(755,root,root) %{_libdir}/libecpg.so
16404f9a 1170%attr(755,root,root) %{_libdir}/libecpg_compat.so
16404f9a 1171%attr(755,root,root) %{_libdir}/libpgtypes.so
687787e7 1172%{_includedir}/ecpg*
6564a583 1173
055aa993 1174%files devel -f pg_config-%{mver}.lang
6564a583 1175%defattr(644,root,root,755)
1176%attr(755,root,root) %{_bindir}/pg_config
1177%attr(755,root,root) %{_libdir}/libpq.so
1178%dir %{_includedir}/postgresql
ed4eae76 1179%{_includedir}/libpq-events.h
6564a583 1180%{_includedir}/libpq-fe.h
1181%{_includedir}/pg_config.h
6ec5e7a2 1182%{_includedir}/pg_config_manual.h
6564a583 1183%{_includedir}/pg_config_os.h
697ce059 1184%{_includedir}/postgres_ext.h
00287bb7 1185%dir %{_includedir}/postgresql/internal
1186%{_includedir}/postgresql/internal/c.h
1187%{_includedir}/postgresql/internal/libpq-int.h
6ec5e7a2 1188%{_includedir}/postgresql/internal/port.h
00287bb7 1189%{_includedir}/postgresql/internal/postgres_fe.h
1190%{_includedir}/postgresql/internal/pqexpbuffer.h
00287bb7 1191%{_includedir}/postgresql/internal/libpq
084a7c24 1192%{_includedir}/libpq
2b04c0fa 1193%{_mandir}/man1/pg_config.1*
7386fb4a 1194
cb920eb9 1195%files backend-devel
ec709611 1196%defattr(644,root,root,755)
00287bb7 1197%{_includedir}/postgresql/server
12ff1bb8
JB
1198%dir %{_pgmoduledir}/pgxs
1199%attr(755,root,root) %{_pgmoduledir}/pgxs/config
1200%{_pgmoduledir}/pgxs/src
dd3bd164 1201%{_mandir}/man3/SPI_*.3*
cb920eb9 1202
7386fb4a
AF
1203%files static
1204%defattr(644,root,root,755)
1205%{_libdir}/libecpg.a
16404f9a 1206%{_libdir}/libecpg_compat.a
7386fb4a 1207%{_libdir}/libpq.a
16404f9a 1208%{_libdir}/libpgtypes.a
dc307bb4 1209%{_libdir}/libpgport.a
b35e841d 1210
055aa993 1211%files clients -f clients-%{mver}.lang
103c268d 1212%defattr(644,root,root,755)
06095b90 1213%attr(755,root,root) %{_bindir}/clusterdb
1214%attr(755,root,root) %{_bindir}/createdb
1215%attr(755,root,root) %{_bindir}/createlang
1216%attr(755,root,root) %{_bindir}/createuser
1217%attr(755,root,root) %{_bindir}/dropdb
1218%attr(755,root,root) %{_bindir}/droplang
1219%attr(755,root,root) %{_bindir}/dropuser
e957782b 1220%attr(755,root,root) %{_bindir}/pg_dump
9bf007d0 1221%attr(755,root,root) %{_bindir}/pg_dumpall
c80000c0 1222%attr(755,root,root) %{_bindir}/pg_restore
e957782b 1223%attr(755,root,root) %{_bindir}/psql
af6badf5 1224%attr(755,root,root) %{_bindir}/reindexdb
5cb5ee80 1225%attr(755,root,root) %{_bindir}/vacuumdb
b35e841d 1226
06095b90 1227%{_mandir}/man1/clusterdb.1*
1228%{_mandir}/man1/createdb.1*
1229%{_mandir}/man1/createlang.1*
1230%{_mandir}/man1/createuser.1*
1231%{_mandir}/man1/dropdb.1*
1232%{_mandir}/man1/droplang.1*
1233%{_mandir}/man1/dropuser.1*
7386fb4a
AF
1234%{_mandir}/man1/pg_dump.1*
1235%{_mandir}/man1/pg_dumpall.1*
c80000c0 1236%{_mandir}/man1/pg_restore.1*
7386fb4a 1237%{_mandir}/man1/psql.1*
af6badf5 1238%{_mandir}/man1/reindexdb.1*
c80000c0 1239%{_mandir}/man1/vacuumdb.1*
7dac5ffa 1240%{_mandir}/man7/*.7*
7386fb4a 1241
c6b2c886 1242%if %{with perl}
500e26d8 1243%files module-plperl -f plperl-%{mver}.lang
00287bb7 1244%defattr(644,root,root,755)
1245%attr(755,root,root) %{_pgmoduledir}/plperl.so
6ceb4ff1
AM
1246%{_pgsqldir}/plperl--*.sql
1247%{_pgsqldir}/plperl.control
1248%{_pgsqldir}/plperlu--*.sql
1249%{_pgsqldir}/plperlu.control
c6b2c886 1250%endif
00287bb7 1251
c6b2c886 1252%if %{with python}
500e26d8 1253%files module-plpython -f plpython-%{mver}.lang
00287bb7 1254%defattr(644,root,root,755)
6d8da3ba 1255%attr(755,root,root) %{_pgmoduledir}/plpython2.so
6ceb4ff1
AM
1256%{_pgsqldir}/plpython*--*.sql
1257%{_pgsqldir}/plpython*.control
c6b2c886 1258%endif
4ddf546b 1259
16404f9a 1260%if %{with tcl}
500e26d8 1261%files module-pltcl -f pltcl-%{mver}.lang
4ddf546b 1262%defattr(644,root,root,755)
084a7c24 1263%attr(755,root,root) %{_bindir}/pltcl_*
00287bb7 1264%attr(755,root,root) %{_pgmoduledir}/pltcl.so
7543e4a8 1265%{_pgsqldir}/unknown.pltcl
6ceb4ff1
AM
1266%{_pgsqldir}/pltcl*--*.sql
1267%{_pgsqldir}/pltcl*.control
16404f9a 1268%endif
ff04b431 1269
d8edd803
JB
1270%files module-dblink
1271%defattr(644,root,root,755)
d8edd803 1272%attr(755,root,root) %{_pgmoduledir}/dblink.so
6ceb4ff1
AM
1273%{_pgsqldir}/dblink--*.sql
1274%{_pgsqldir}/dblink.control
75373ca4 1275%{_mandir}/man3/dblink*.3*
d8edd803 1276
8646766c
JB
1277%files module-lo
1278%defattr(644,root,root,755)
8646766c 1279%attr(755,root,root) %{_pgmoduledir}/lo.so
6ceb4ff1
AM
1280%{_pgsqldir}/lo--*.sql
1281%{_pgsqldir}/lo.control
8646766c 1282
60fcd7d3
JB
1283%files module-pg_trgm
1284%defattr(644,root,root,755)
1285%attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1286%{_pgsqldir}/pg_trgm--*.sql
1287%{_pgsqldir}/pg_trgm.control
1288
5b79623d 1289%files module-pgcrypto
ff04b431 1290%defattr(644,root,root,755)
5b79623d 1291%attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
6ceb4ff1
AM
1292%{_pgsqldir}/pgcrypto--*.sql
1293%{_pgsqldir}/pgcrypto.control
ae08c8ad 1294
60fcd7d3
JB
1295%files module-sepgsql
1296%defattr(644,root,root,755)
1297%attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1298%{_pgsqldir}/sepgsql.sql
1299
bc5c807d
PG
1300%files module-tablefunc
1301%defattr(644,root,root,755)
bc5c807d 1302%attr(755,root,root) %{_pgmoduledir}/tablefunc.so
6ceb4ff1
AM
1303%{_pgsqldir}/*tablefunc--*.sql
1304%{_pgsqldir}/*tablefunc.control
bc5c807d 1305
0b02f266 1306%files module-xml2
1307%defattr(644,root,root,755)
0b02f266 1308%attr(755,root,root) %{_pgmoduledir}/pgxml.so
6ceb4ff1
AM
1309%{_pgsqldir}/xml2--*.sql
1310%{_pgsqldir}/xml2.control
c51da2b5 1311
1312%files contrib
1313%defattr(644,root,root,755)
671f96ef 1314%doc contrib/README contrib/pldebugger/README.pl*
3c7ef761 1315%attr(755,root,root) %{_bindir}/oid2name
d24d2940 1316%attr(755,root,root) %{_bindir}/pg_archivecleanup
c74c603d 1317%attr(755,root,root) %{_bindir}/pg_standby
3c7ef761
ER
1318%attr(755,root,root) %{_bindir}/pgbench
1319%attr(755,root,root) %{_bindir}/vacuumlo
c51da2b5 1320%attr(755,root,root) %{_pgmoduledir}/_int.so
1321%attr(755,root,root) %{_pgmoduledir}/adminpack.so
60fcd7d3 1322%attr(755,root,root) %{_pgmoduledir}/auth_delay.so
c74c603d 1323%attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1324%attr(755,root,root) %{_pgmoduledir}/btree_gin.so
c51da2b5 1325%attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1326%attr(755,root,root) %{_pgmoduledir}/chkpass.so
c74c603d 1327%attr(755,root,root) %{_pgmoduledir}/citext.so
1328%attr(755,root,root) %{_pgmoduledir}/cube.so
1329%attr(755,root,root) %{_pgmoduledir}/earthdistance.so
60fcd7d3 1330%attr(755,root,root) %{_pgmoduledir}/file_fdw.so
7caa0fe8 1331%attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
c51da2b5 1332%attr(755,root,root) %{_pgmoduledir}/hstore.so
c51da2b5 1333%attr(755,root,root) %{_pgmoduledir}/isn.so
1334%attr(755,root,root) %{_pgmoduledir}/ltree.so
1335%attr(755,root,root) %{_pgmoduledir}/pageinspect.so
d24d2940 1336%attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
c51da2b5 1337%attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1338%attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
c74c603d 1339%attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
c51da2b5 1340%attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1341%attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
ecdee535 1342%attr(755,root,root) %{_pgmoduledir}/plugin_debugger.so
c74c603d 1343%attr(755,root,root) %{_pgmoduledir}/seg.so
c51da2b5 1344%attr(755,root,root) %{_pgmoduledir}/sslinfo.so
d24d2940 1345%attr(755,root,root) %{_pgmoduledir}/unaccent.so
c74c603d 1346%attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
6ceb4ff1
AM
1347%{_pgsqldir}/adminpack--*.sql
1348%{_pgsqldir}/adminpack.control
1349%{_pgsqldir}/btree_gin--*.sql
1350%{_pgsqldir}/btree_gin.control
1351%{_pgsqldir}/btree_gist--*.sql
1352%{_pgsqldir}/btree_gist.control
1353%{_pgsqldir}/chkpass--*.sql
1354%{_pgsqldir}/chkpass.control
1355%{_pgsqldir}/citext--*.sql
1356%{_pgsqldir}/citext.control
1357%{_pgsqldir}/cube--*.sql
1358%{_pgsqldir}/cube.control
1359%{_pgsqldir}/dict_int--*.sql
1360%{_pgsqldir}/dict_int.control
1361%{_pgsqldir}/dict_xsyn--*.sql
1362%{_pgsqldir}/dict_xsyn.control
1363%{_pgsqldir}/earthdistance--*.sql
1364%{_pgsqldir}/earthdistance.control
60fcd7d3
JB
1365%{_pgsqldir}/file_fdw--*.sql
1366%{_pgsqldir}/file_fdw.control
1367%{_pgsqldir}/fuzzystrmatch--*.sql
6ceb4ff1
AM
1368%{_pgsqldir}/fuzzystrmatch.control
1369%{_pgsqldir}/hstore--*.sql
1370%{_pgsqldir}/hstore.control
1371%{_pgsqldir}/intarray--*.sql
1372%{_pgsqldir}/intarray.control
1373%{_pgsqldir}/intagg--*.sql
1374%{_pgsqldir}/intagg.control
1375%{_pgsqldir}/isn--*.sql
1376%{_pgsqldir}/isn.control
1377%{_pgsqldir}/ltree--*.sql
1378%{_pgsqldir}/ltree.control
1379%{_pgsqldir}/pageinspect--*.sql
1380%{_pgsqldir}/pageinspect.control
1381%{_pgsqldir}/pg_buffercache--*.sql
1382%{_pgsqldir}/pg_buffercache.control
1383%{_pgsqldir}/pg_freespacemap--*.sql
1384%{_pgsqldir}/pg_freespacemap.control
1385%{_pgsqldir}/pg_stat_statements--*.sql
1386%{_pgsqldir}/pg_stat_statements.control
1387%{_pgsqldir}/pgrowlocks--*.sql
1388%{_pgsqldir}/pgrowlocks.control
1389%{_pgsqldir}/pgstattuple--*.sql
1390%{_pgsqldir}/pgstattuple.control
ecdee535
ŁC
1391%{_pgsqldir}/pldbgapi--*.sql
1392%{_pgsqldir}/pldbgapi.control
6ceb4ff1
AM
1393%{_pgsqldir}/seg--*.sql
1394%{_pgsqldir}/seg.control
1395%{_pgsqldir}/sslinfo--*.sql
1396%{_pgsqldir}/sslinfo.control
1397%{_pgsqldir}/unaccent--*.sql
1398%{_pgsqldir}/unaccent.control
1399%{_pgsqldir}/uuid-ossp--*.sql
1400%{_pgsqldir}/uuid-ossp.control
9214a4d4
AZ
1401
1402%files upgrade
1403%attr(755,root,root) %{_bindir}/pg_upgrade
1404%attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so
1405%dir %{_libdir}/postgresql-%{prevmver}
1406%{_libdir}/postgresql-%{prevmver}
1407%{_mandir}/man1/pg_upgrade.1.gz
This page took 0.395143 seconds and 4 git commands to generate.