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