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