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