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