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