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