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