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