]> git.pld-linux.org Git - packages/postgresql.git/blame_incremental - postgresql.spec
- up to 10.1
[packages/postgresql.git] / postgresql.spec
... / ...
CommitLineData
1# TODO:
2# - python 3 and python 2 subpackages?
3# - subpackage *_plperl and *_plpython contribs?
4# - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
5# create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
6# - test init script (db initialization)
7#
8# Conditional build:
9%bcond_without tests # disable testing
10%bcond_without tcl # disable Tcl support
11%bcond_without kerberos5 # disable kerberos5 support
12%bcond_without perl # disable Perl support
13%bcond_without python # disable Python support
14%bcond_with bonjour # Bonjour/DNS_SD support
15%bcond_without ldap # disable LDAP support
16%bcond_without selinux # sepgsql contrib module
17%bcond_without systemd # systemd (notify) support
18%bcond_with systemtap # systemtap/dtrace probes
19%bcond_with absolute_dbpaths # enable absolute paths to create database
20 # (disabled by default because it is a security risk)
21#
22
23%define beta %{nil}
24%define mver 10
25
26Summary: PostgreSQL Data Base Management System
27Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
28Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
29Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
30Summary(pl.UTF-8): PostgreSQL - system bazodanowy
31Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
32Summary(ru.UTF-8): PostgreSQL - система управления базами данных
33Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
34Summary(uk.UTF-8): PostgreSQL - система керування базами даних
35Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
36Name: postgresql
37Version: %{mver}.1
38Release: 1
39License: BSD
40Group: Applications/Databases
41Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
42# Source0-md5: 0a92328d9970bfb85dcecd011817238a
43Source1: %{name}.init
44Source2: pgsql-Database-HOWTO-html.tar.gz
45# Source2-md5: 5b656ddf1db41965761f85204a14398e
46Source3: %{name}.sysconfig
47Source4: %{name}@.service
48Source5: %{name}.service
49Source6: %{name}.target
50Patch0: %{name}-conf.patch
51Patch1: %{name}-absolute_dbpaths.patch
52Patch2: %{name}-ecpg-includedir.patch
53
54Patch4: %{name}-disable_horology_test.patch
55Patch5: %{name}-heimdal.patch
56Patch6: %{name}-link.patch
57URL: http://www.postgresql.org/
58BuildRequires: autoconf >= 2.69
59BuildRequires: automake
60%{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
61# not needed for releases... but fixes something in snapshot
62BuildRequires: bison >= 1.875
63BuildRequires: docbook-dtd42-sgml
64BuildRequires: docbook-dtd42-xml
65BuildRequires: docbook-style-xsl
66BuildRequires: flex >= 2.5.31
67BuildRequires: gettext-tools
68BuildRequires: gnome-doc-tools
69%{?with_kerberos5:BuildRequires: heimdal-devel}
70%{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
71BuildRequires: libtool
72BuildRequires: libxml2-devel >= 1:2.6.23
73BuildRequires: libxslt-devel
74BuildRequires: libxslt-progs
75BuildRequires: ncurses-devel >= 5.0
76%{?with_ldap:BuildRequires: openldap-devel}
77BuildRequires: openssl-devel >= 0.9.7d
78BuildRequires: ossp-uuid-devel
79BuildRequires: pam-devel
80%{?with_perl:BuildRequires: perl-devel}
81%if %{with python}
82BuildRequires: python >= 1:2.3
83BuildRequires: python-devel >= 1:2.3
84BuildRequires: python-modules >= 1:2.3
85%endif
86BuildRequires: readline-devel >= 4.2
87BuildRequires: rpmbuild(macros) >= 1.671
88%{?with_systemd:BuildRequires: systemd-devel >= 1:209}
89%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
90%{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
91%{?with_tests:BuildRequires: tzdata}
92BuildRequires: zlib-devel
93Requires(post,preun): /sbin/chkconfig
94Requires(pre): /bin/id
95Requires(pre): /usr/bin/getgid
96Requires(pre): /usr/sbin/groupadd
97Requires(pre): /usr/sbin/useradd
98Requires(triggerpostun): /bin/id
99Requires(triggerpostun): /usr/sbin/usermod
100Requires: %{name}-clients >= %{version}-%{release}
101Requires: %{name}-libs = %{version}-%{release}
102Requires: rc-scripts >= 0.4.3.0
103Requires: systemd-units >= 38
104Requires: tzdata
105Obsoletes: postgresql-module-plpgsql
106Obsoletes: postgresql-module-tsearch2
107Obsoletes: postgresql-server
108Obsoletes: postgresql-test
109BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
110
111%define _pgmoduledir %{_libdir}/postgresql
112%define _pgsqldir %{_datadir}/postgresql/extension
113
114%define _ulibdir /usr/lib
115
116# omitted contribs:
117# spi, test_decoding, worker_spi - examples/tests
118# tsearch2 - old module for compatibility only
119%define contrib_modules adminpack auth_delay auto_explain bloom btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore %{?with_perl:hstore_plperl} %{?with_python:hstore_plpython} intagg intarray isn lo ltree %{?with_python:ltree_plpython} oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pg_visibility pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn tsm_system_rows tsm_system_time unaccent uuid-ossp vacuumlo xml2
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 devel
344Summary: PostgreSQL development header files and libraries
345Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
346Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
347Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
348Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
349Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
350Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
351Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
352Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
353Group: Development/Libraries
354Requires: %{name}-libs = %{version}-%{release}
355
356%description devel
357This package contains header files and libraries required to compile
358applications that are talking directly to the PostgreSQL backend
359server.
360
361%description devel -l de.UTF-8
362Dieses Paket enthält die Header-Dateien und Libraries, die zum
363Kompilieren von Applikationen notwendig sind, die direkt mit dem
364PostgreSQL-Backend-Server kommunizieren.
365
366%description devel -l es.UTF-8
367Este paquete contiene archivos de inclusión y bibliotecas requeridas
368para compilación de aplicativos que se comunican directamente con el
369servidor backend PostgreSQL.
370
371%description devel -l fr.UTF-8
372Ce package contient les fichiers d'en-tête et les bibliothéques
373nécessaires pour compiler des applications ayant des échanges directs
374avec le serveur du backend PostgreSQL.
375
376%description devel -l pl.UTF-8
377Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
378aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
379
380%description devel -l pt_BR.UTF-8
381Este pacote contém arquivos de inclusão e bibliotecas requeridas para
382compilação de aplicativos que se comunicam diretamente com o servidor
383backend PostgreSQL.
384
385%description devel -l ru.UTF-8
386Этот пакет содержит хедеры и библиотеки, необходимые для сборки
387приложений, непосредственно взаимодействующих с сервером PostgreSQL.
388
389%description devel -l tr.UTF-8
390Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
391gereken başlık dosyalarını ve kitaplıkları içerir.
392
393%description devel -l uk.UTF-8
394Цей пакет містить хедери та бібліотеки, необхідні для розробки
395програм, які безпосередньо взаємодіють з сервером PostgreSQL.
396
397%package backend-devel
398Summary: PostgreSQL backend development header files
399Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
400Group: Development/Libraries
401Requires: %{name}-devel = %{version}-%{release}
402Requires: %{name}-libs = %{version}-%{release}
403
404%description backend-devel
405This package contains header files required to compile functions that
406could be loaded directly by backend
407
408%description backend-devel -l pl.UTF-8
409Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
410bezposrednio ladowane przez beckend serwera PostgreSQL.
411
412%package clients
413Summary: Clients needed to access a PostgreSQL server
414Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
415Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
416Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
417Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
418Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
419Group: Applications/Databases
420Requires: %{name}-libs = %{version}-%{release}
421
422%description clients
423This package includes only the clients needed to access an PostgreSQL
424server. The server is included in the main package. If all you need is
425to connect to another PostgreSQL server, the this is the only package
426you need to install. Clients include several command-line utilities
427you can use to manage your databases on a remote PostgreSQL server.
428
429%description clients -l es.UTF-8
430Este paquete incluye solamente los clientes necesarios para acceder un
431servidor PostgreSQL. El servidor está en el paquete principal.
432
433%description clients -l pl.UTF-8
434Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
435PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
436poleceń. Serwer znajduje się w głównym pakiecie.
437
438%description clients -l pt_BR.UTF-8
439Este pacote inclui somente os clientes necessários para acessar um
440servidor PostgreSQL. O servidor está no pacote principal.
441
442%description clients -l ru.UTF-8
443Этот пакет включает только клиентские программы и библиотеки,
444необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
445пакет. Если вам надо только работать с другим сервером PostgreSQL, это
446единственный пакет, который вам надо установить.
447
448Теперь пакеты с библиотеками для разных языков программирования (C,
449C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
450языка C.
451
452%description clients -l uk.UTF-8
453Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
454для доступу до сервера PostgreSQL. Сервер міститься в головному
455пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
456єдиний пакет, який вам треба встановити.
457
458Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
459і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
460
461%package doc
462Summary: Documentation for PostgreSQL
463Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
464Group: Applications/Databases
465
466%description doc
467This package includes documentation and HOWTO for programmer, admin
468etc., in HTML format.
469
470%description doc -l pl.UTF-8
471Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
472administratorów w formacie HTML.
473
474%package libs
475Summary: PostgreSQL libraries
476Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
477Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
478Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
479Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
480Group: Libraries
481
482%description libs
483PostgreSQL shared libraries.
484
485%description libs -l es.UTF-8
486Este paquete contiene la biblioteca compartida para acceso al
487PostgreSQL.
488
489%description libs -l pl.UTF-8
490Biblioteki dzielone programu PostgreSQL.
491
492%description libs -l pt_BR.UTF-8
493Este pacote contém a biblioteca compartilhada para acesso ao
494PostgreSQL.
495
496%package ecpg
497Summary: Embedded SQL in C interface
498Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
499Group: Libraries
500Requires: %{name}-libs = %{version}-%{release}
501
502%description ecpg
503Embedded SQL in C interface.
504
505%description ecpg -l pl.UTF-8
506Interfejs wbudowanego SQL-a w język C.
507
508%package ecpg-devel
509Summary: Embedded SQL in C interface files
510Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
511Group: Development/Libraries
512Requires: %{name}-devel = %{version}-%{release}
513Requires: %{name}-ecpg = %{version}-%{release}
514
515%description ecpg-devel
516Embedded SQL in C interface files.
517
518%description ecpg-devel -l pl.UTF-8
519Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
520
521%package static
522Summary: PostgreSQL static libraries
523Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
524Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
525Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
526Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
527Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
528Group: Development/Libraries
529Requires: %{name}-devel = %{version}-%{release}
530
531%description static
532PostgreSQL static libraries.
533
534%description static -l es.UTF-8
535Este paquete contiene bibliotecas estaticas requerida para compilación
536de aplicativos que se comunican directamente con el servidor backend
537PostgreSQL.
538
539%description static -l pl.UTF-8
540Biblioteki statyczne programu PostgreSQL.
541
542%description static -l pt_BR.UTF-8
543Este pacote contém as bibliotecas estáticas requeridas para compilação
544de aplicativos que se comunicam diretamente com o servidor backend
545PostgreSQL.
546
547%description static -l ru.UTF-8
548Это отдельный пакет со статическими библиотеками, которые больше не
549входят в %{name}-devel.
550
551%description static -l uk.UTF-8
552Це окремий пакет зі статичними бібліотеками, які більш не входять в
553%{name}-devel.
554
555%package module-plperl
556Summary: PL/perl - PostgreSQL procedural language
557Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
558Group: Applications/Databases
559Requires: %{name} = %{version}-%{release}
560
561%description module-plperl
562From PostgreSQL documentation:
563
564Postgres supports the definition of procedural languages. In the case
565of a function or trigger procedure defined in a procedural language,
566the database has no built-in knowledge about how to interpret the
567function's source text. Instead, the task is passed to a handler that
568knows the details of the language. The handler itself is a special
569programming language function compiled into a shared object and loaded
570on demand.
571
572To enable PL/Perl procedural language for your database you have to
573run createlang command.
574
575%description module-plperl -l pl.UTF-8
576Z dokumentacji PostgreSQL:
577
578Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
579programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
580proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
581funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
582który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
583funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
584potrzeby.
585
586Za pomocą polecenia createlang można dodać obsługę języka
587proceduralnego PL/Perl dla swojej bazy danych.
588
589%package module-plpython
590Summary: PL/Python - PostgreSQL procedural language
591Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
592Group: Applications/Databases
593Requires: %{name} = %{version}-%{release}
594%pyrequires_eq python
595
596%description module-plpython
597From PostgreSQL documentation:
598
599Postgres supports the definition of procedural languages. In the case
600of a function or trigger procedure defined in a procedural language,
601the database has no built-in knowledge about how to interpret the
602function's source text. Instead, the task is passed to a handler that
603knows the details of the language. The handler itself is a special
604programming language function compiled into a shared object and loaded
605on demand.
606
607To enable PL/Python procedural language for your database you have to
608run createlang command.
609
610%description module-plpython -l pl.UTF-8
611Z dokumentacji PostgreSQL:
612
613Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
614programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
615proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
616funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
617który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
618funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
619potrzeby.
620
621Za pomocą polecenia createlang można dodać obsługę języka
622proceduralnego PL/Python dla swojej bazy danych.
623
624%package module-pltcl
625Summary: PL/Tcl - PostgreSQL procedural language
626Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
627Group: Applications/Databases
628Requires: %{name} = %{version}-%{release}
629Requires: tcl(Pgtcl)
630
631%description module-pltcl
632From PostgreSQL documentation:
633
634Postgres supports the definition of procedural languages. In the case
635of a function or trigger procedure defined in a procedural language,
636the database has no built-in knowledge about how to interpret the
637function's source text. Instead, the task is passed to a handler that
638knows the details of the language. The handler itself is a special
639programming language function compiled into a shared object and loaded
640on demand.
641
642To enable PL/Tcl procedural language for your database you have to run
643createlang command.
644
645%description module-pltcl -l pl.UTF-8
646Z dokumentacji PostgreSQL:
647
648Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
649programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
650proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
651funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
652który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
653funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
654potrzeby.
655
656Za pomocą polecenia createlang można dodać obsługę języka
657proceduralnego PL/Tcl dla swojej bazy danych.
658
659%package module-dblink
660Summary: dblink module for PostgreSQL
661Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
662Group: Applications/Databases
663Requires: %{name} = %{version}-%{release}
664
665%description module-dblink
666dblink module for PostgreSQL provides functions returning results from
667remote database.
668
669%description module-dblink -l pl.UTF-8
670Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
671zdalnej bazy danych.
672
673%package module-lo
674Summary: Large Objects module for PostgreSQL
675Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
676Group: Applications/Databases
677Requires: %{name} = %{version}-%{release}
678
679%description module-lo
680Large Objects module for PostgreSQL adds a new data type 'lo', some
681support functions and a trigger which handles the orphaning problem.
682
683%description module-lo -l pl.UTF-8
684Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
685kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
686osieroconych obiektów.
687
688%package module-pg_trgm
689Summary: Trigram matching for PostgreSQL
690Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
691Group: Applications/Databases
692Requires: %{name} = %{version}-%{release}
693
694%description module-pg_trgm
695This module provides functions and index classes for determining the
696similarity of text based on trigram matching.
697
698%description module-pg_trgm -l pl.UTF-8
699Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
700w oparciu o dopasowywanie trigramowe (trigram matching).
701
702%package module-pgcrypto
703Summary: Cryptographic functions for PostgreSQL
704Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
705Group: Applications/Databases
706Requires: %{name} = %{version}-%{release}
707
708%description module-pgcrypto
709Cryptographic functions for PostgreSQL.
710
711%description module-pgcrypto -l pl.UTF-8
712Funkcje kryptograficzne dla PostgreSQL.
713
714%package module-sepgsql
715Summary: PostgreSQL external security provider using SELinux
716Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
717Group: Applications/Databases
718Requires: %{name} = %{version}-%{release}
719Requires: libselinux >= 2.1.10
720
721%description module-sepgsql
722PostgreSQL external security provider using SELinux.
723
724%description module-sepgsql -l pl.UTF-8
725Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
726
727%package module-tablefunc
728Summary: crosstab functions for PostgreSQL
729Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
730Group: Applications/Databases
731Requires: %{name} = %{version}-%{release}
732
733%description module-tablefunc
734crosstab functions for PostgreSQL.
735
736%description module-tablefunc -l pl.UTF-8
737Funkcje crosstab dla PostgreSQL-a.
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}
744Requires: libxml2 >= 1:2.6.23
745
746%description module-xml2
747Module with XML functions provides both XPath querying and XSLT
748functionality. There is also a new table function which allows the
749straightforward return of multiple XML results.
750
751%description module-xml2 -l pl.UTF-8
752Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
753funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
754bezpośrednie zwracanie wielu wyników XML.
755
756%package contrib
757Summary: Miscellaneous PostgreSQL contrib modules
758Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
759Group: Applications/Databases
760Requires: %{name} = %{version}-%{release}
761
762%description contrib
763Miscellaneous PostgreSQL contrib modules.
764
765%description contrib -l pl.UTF-8
766Różne moduły dołączone do PostgreSQL-a.
767
768%prep
769%setup -q
770%patch0 -p1
771%{?with_absolute_dbpaths:%patch1 -p1}
772%patch2 -p1
773
774%patch4 -p1
775%patch5 -p1
776%patch6 -p1
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%{__autoheader}
788%configure \
789 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
790 --disable-rpath \
791 --enable-depend \
792 %{?with_systemtap:--enable-dtrace} \
793 --enable-integer-datetimes \
794 --enable-nls \
795 --enable-thread-safety \
796 %{?with_bonjour:--with-bonjour} \
797 %{?with_kerberos5:--with-gssapi} \
798 %{?with_ldap:--with-ldap} \
799 --with-libxml \
800 --with-libxslt \
801 --with-openssl \
802 --with-pam \
803 %{?with_perl:--with-perl} \
804 %{?with_python:--with-python} \
805 %{?with_selinux:--with-selinux} \
806 --with-system-tzdata=%{_datadir}/zoneinfo \
807 %{?with_systemd:--with-systemd} \
808 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
809 --with-uuid=e2fs
810
811%{__make}
812
813for mod in %{contrib_modules}; do \
814 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
815 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
816 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
817 %{__make} -C contrib/$mod CFLAGS="$flags"
818done
819
820%{__make} -C src/tutorial \
821 NO_PGXS=1
822
823%ifnarch sparc sparcv9 sparc64 alpha
824%{?with_tests:%{__make} -j1 check}
825%endif
826
827%install
828rm -rf $RPM_BUILD_ROOT
829install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
830 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
831 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
832 $RPM_BUILD_ROOT%{_mandir} \
833 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
834 $RPM_BUILD_ROOT/home/services/postgres
835
836install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
837
838%{__make} install \
839 DESTDIR=$RPM_BUILD_ROOT
840%{__make} -C doc/src/sgml install-man \
841 DESTDIR=$RPM_BUILD_ROOT
842
843%if %{with perl}
844%{__make} install -C src/pl/plperl \
845 DESTDIR=$RPM_BUILD_ROOT
846%endif
847
848for mod in %{contrib_modules}; do \
849 %{__make} -C contrib/$mod install \
850 DESTDIR=$RPM_BUILD_ROOT
851done
852
853touch $RPM_BUILD_ROOT/var/log/pgsql
854
855install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
856install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
857
858install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
859install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
860install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
861
862install -d howto
863tar zxf %{SOURCE2} -C howto
864
865%if %{with python}
866%py_comp $RPM_BUILD_ROOT%{py_libdir}
867%py_ocomp $RPM_BUILD_ROOT%{py_libdir}
868%endif
869
870# find locales
871for f in libpq5 pg_basebackup pg_controldata pg_dump pg_resetwal pg_rewind pg_upgrade pgscripts postgres psql initdb pg_ctl pg_config plpgsql ecpg ecpglib6 %{?with_perl:plperl} plpgsql %{?with_python: plpython}; do
872 %find_lang $f-%{mver}
873done
874# merge locales
875cat pgscripts-%{mver}.lang pg_resetwal-%{mver}.lang \
876 pg_upgrade-%{mver}.lang \
877 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
878 plpgsql-%{mver}.lang pg_rewind-%{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}
887%endif
888
889%if %{with selinux}
890mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
891%endif
892
893install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
894
895# package it...? nah, why bother.
896%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
897
898%clean
899rm -rf $RPM_BUILD_ROOT
900
901%pre
902PG_DB_CLUSTERS=""
903if [ -f /etc/sysconfig/postgresql ]; then
904 . /etc/sysconfig/postgresql
905 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
906 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
907 fi
908fi
909foundold=0
910for pgdir in $PG_DB_CLUSTERS; do
911 if [ -f $pgdir/PG_VERSION ]; then
912 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
913 echo "Found database(s) in older, incompatible format in cluster $pgdir."
914 foundold=1
915 fi
916 fi
917done
918if [ "$foundold" = "1" ]; then
919 echo
920 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
921 echo "and clean (or rename) those directories; then upgrade postgresql and"
922 echo "restore all data (using pg_restore or psql)."
923 echo "Remember to stop the daemon before upgrading!"
924 echo
925 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
926 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
927 echo
928 echo "Warning for upgrade from version *before* 7.2."
929 echo "Please note, that postgresql module path changed from"
930 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
931 echo "in dump file before restore."
932 echo
933 echo "Warning for upgrade from version *before* 7.3."
934 echo "Reading following webpage is encouraged:"
935 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
936 exit 1
937fi
938%groupadd -g 88 -r postgres
939%useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
940
941%triggerpostun -- %{name} < 7.2-2
942if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
943 /usr/sbin/usermod -d /home/services/postgres postgres
944fi
945
946%post
947/sbin/chkconfig --add postgresql
948%service postgresql restart "postgresql server"
949if [ "$1" -eq "1" ]; then
950 PG_DB_CLUSTERS=""
951 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
952 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
953 for pgdir in $PG_DB_CLUSTERS; do
954 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
955 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
956 done
957fi
958%systemd_post postgresql.service
959
960%preun
961if [ "$1" = "0" ]; then
962 %service postgresql stop
963 /sbin/chkconfig --del postgresql
964
965 PG_DB_CLUSTERS=""
966 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
967 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
968 for pgdir in $PG_DB_CLUSTERS; do
969 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
970 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
971 done
972fi
973%systemd_preun postgresql.service
974
975%postun
976%systemd_reload
977
978%triggerpostun -- %{name} < 9.3.3-2
979PG_DB_CLUSTERS=""
980[ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
981for pgdir in $PG_DB_CLUSTERS; do
982 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
983 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
984done
985%systemd_trigger postgresql.service
986
987%post libs -p /sbin/ldconfig
988%postun libs -p /sbin/ldconfig
989
990%post ecpg -p /sbin/ldconfig
991%postun ecpg -p /sbin/ldconfig
992
993%files -f main-%{mver}.lang
994%defattr(644,root,root,755)
995%doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
996%attr(754,root,root) /etc/rc.d/init.d/postgresql
997%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
998%{systemdunitdir}/%{name}.service
999%{systemdunitdir}/%{name}@.service
1000%{systemdunitdir}/%{name}.target
1001%dir /etc/systemd/system/%{name}.target.requires
1002
1003%attr(755,root,root) %{_bindir}/initdb
1004%attr(755,root,root) %{_bindir}/pg_basebackup
1005%attr(755,root,root) %{_bindir}/pg_controldata
1006%attr(755,root,root) %{_bindir}/pg_ctl
1007%attr(755,root,root) %{_bindir}/pg_resetwal
1008%attr(755,root,root) %{_bindir}/pg_receivewal
1009%attr(755,root,root) %{_bindir}/pg_recvlogical
1010%attr(755,root,root) %{_bindir}/pg_rewind
1011%attr(755,root,root) %{_bindir}/pg_test_fsync
1012%attr(755,root,root) %{_bindir}/pg_test_timing
1013%attr(755,root,root) %{_bindir}/pg_upgrade
1014%attr(755,root,root) %{_bindir}/pg_waldump
1015%attr(755,root,root) %{_bindir}/pgbench
1016%attr(755,root,root) %{_bindir}/postgres
1017%attr(755,root,root) %{_bindir}/postmaster
1018
1019%attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1020%attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1021%attr(755,root,root) %{_pgmoduledir}/dict_int.so
1022%attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1023%attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1024%attr(755,root,root) %{_pgmoduledir}/euc*.so
1025%attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1026%attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1027%attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1028%attr(755,root,root) %{_pgmoduledir}/pgoutput.so
1029%attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1030%attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1031
1032%dir %{_pgsqldir}
1033%{_pgsqldir}/plpgsql--*.sql
1034%{_pgsqldir}/plpgsql.control
1035
1036%dir %{_datadir}/postgresql
1037%{_datadir}/postgresql/*.bki
1038%{_datadir}/postgresql/*.sample
1039%{_datadir}/postgresql/*.description
1040%{_datadir}/postgresql/*.shdescription
1041%{_datadir}/postgresql/*.sql
1042%{_datadir}/postgresql/*.txt
1043%{_datadir}/postgresql/timezonesets
1044%{_datadir}/postgresql/tsearch_data
1045
1046%dir %{_datadir}/postgresql/contrib
1047
1048%attr(700,postgres,postgres) /home/services/postgres
1049%attr(700,postgres,postgres) %dir /var/lib/pgsql
1050%attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1051
1052%{_mandir}/man1/initdb.1*
1053%{_mandir}/man1/pg_basebackup.1*
1054%{_mandir}/man1/pg_controldata.1*
1055%{_mandir}/man1/pg_ctl.1*
1056%{_mandir}/man1/pg_resetwal.1*
1057%{_mandir}/man1/pg_receivewal.1*
1058%{_mandir}/man1/pg_recvlogical.1*
1059%{_mandir}/man1/pg_rewind.1*
1060%{_mandir}/man1/pg_waldump.1*
1061%{_mandir}/man1/pg_test_fsync.1*
1062%{_mandir}/man1/pg_test_timing.1*
1063%{_mandir}/man1/pg_upgrade.1*
1064%{_mandir}/man1/pgbench.1*
1065%{_mandir}/man1/postgres.1*
1066%{_mandir}/man1/postmaster.1*
1067
1068%files doc
1069%defattr(644,root,root,755)
1070%doc doc/src/sgml/html howto
1071%{_examplesdir}/%{name}-%{version}
1072
1073%files libs -f libpq5-%{mver}.lang
1074%defattr(644,root,root,755)
1075%attr(755,root,root) %{_libdir}/libpq.so.*.*
1076%attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1077%dir %{_pgmoduledir}
1078
1079%files ecpg -f ecpg.lang
1080%defattr(644,root,root,755)
1081%attr(755,root,root) %{_bindir}/ecpg
1082%attr(755,root,root) %{_libdir}/libecpg.so.*.*
1083%attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1084%attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1085%attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1086%attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1087%attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1088%{_mandir}/man1/ecpg.1*
1089
1090%files ecpg-devel
1091%defattr(644,root,root,755)
1092%attr(755,root,root) %{_libdir}/libecpg.so
1093%attr(755,root,root) %{_libdir}/libecpg_compat.so
1094%attr(755,root,root) %{_libdir}/libpgtypes.so
1095%{_includedir}/ecpg*
1096%{_pkgconfigdir}/libecpg.pc
1097%{_pkgconfigdir}/libecpg_compat.pc
1098%{_pkgconfigdir}/libpgtypes.pc
1099
1100%files devel -f pg_config-%{mver}.lang
1101%defattr(644,root,root,755)
1102%attr(755,root,root) %{_bindir}/pg_config
1103%attr(755,root,root) %{_libdir}/libpq.so
1104%dir %{_includedir}/postgresql
1105%{_includedir}/libpq-events.h
1106%{_includedir}/libpq-fe.h
1107%{_includedir}/pg_config.h
1108%{_includedir}/pg_config_ext.h
1109%{_includedir}/pg_config_manual.h
1110%{_includedir}/pg_config_os.h
1111%{_includedir}/postgres_ext.h
1112%dir %{_includedir}/postgresql/internal
1113%{_includedir}/postgresql/internal/c.h
1114%{_includedir}/postgresql/internal/libpq-int.h
1115%{_includedir}/postgresql/internal/port.h
1116%{_includedir}/postgresql/internal/postgres_fe.h
1117%{_includedir}/postgresql/internal/pqexpbuffer.h
1118%{_includedir}/postgresql/internal/libpq
1119%{_includedir}/libpq
1120%{_pkgconfigdir}/libpq.pc
1121%{_mandir}/man1/pg_config.1*
1122
1123%files backend-devel
1124%defattr(644,root,root,755)
1125%{_includedir}/postgresql/server
1126%dir %{_pgmoduledir}/pgxs
1127%attr(755,root,root) %{_pgmoduledir}/pgxs/config
1128%{_pgmoduledir}/pgxs/src
1129%{_mandir}/man3/SPI_*.3*
1130
1131%files static
1132%defattr(644,root,root,755)
1133%{_libdir}/libecpg.a
1134%{_libdir}/libecpg_compat.a
1135%{_libdir}/libpq.a
1136%{_libdir}/libpgcommon.a
1137%{_libdir}/libpgfeutils.a
1138%{_libdir}/libpgtypes.a
1139%{_libdir}/libpgport.a
1140
1141%files clients -f clients-%{mver}.lang
1142%defattr(644,root,root,755)
1143%attr(755,root,root) %{_bindir}/clusterdb
1144%attr(755,root,root) %{_bindir}/createdb
1145%attr(755,root,root) %{_bindir}/createuser
1146%attr(755,root,root) %{_bindir}/dropdb
1147%attr(755,root,root) %{_bindir}/dropuser
1148%attr(755,root,root) %{_bindir}/pg_archivecleanup
1149%attr(755,root,root) %{_bindir}/pg_dump
1150%attr(755,root,root) %{_bindir}/pg_dumpall
1151%attr(755,root,root) %{_bindir}/pg_isready
1152%attr(755,root,root) %{_bindir}/pg_restore
1153%attr(755,root,root) %{_bindir}/psql
1154%attr(755,root,root) %{_bindir}/reindexdb
1155%attr(755,root,root) %{_bindir}/vacuumdb
1156
1157%{_mandir}/man1/clusterdb.1*
1158%{_mandir}/man1/createdb.1*
1159%{_mandir}/man1/createuser.1*
1160%{_mandir}/man1/dropdb.1*
1161%{_mandir}/man1/dropuser.1*
1162%{_mandir}/man1/pg_archivecleanup.1*
1163%{_mandir}/man1/pg_dump.1*
1164%{_mandir}/man1/pg_dumpall.1*
1165%{_mandir}/man1/pg_isready.1*
1166%{_mandir}/man1/pg_restore.1*
1167%{_mandir}/man1/psql.1*
1168%{_mandir}/man1/reindexdb.1*
1169%{_mandir}/man1/vacuumdb.1*
1170%{_mandir}/man7/*.7*
1171
1172%if %{with perl}
1173%files module-plperl -f plperl-%{mver}.lang
1174%defattr(644,root,root,755)
1175%attr(755,root,root) %{_pgmoduledir}/plperl.so
1176%{_pgsqldir}/plperl--*.sql
1177%{_pgsqldir}/plperl.control
1178%{_pgsqldir}/plperlu--*.sql
1179%{_pgsqldir}/plperlu.control
1180%endif
1181
1182%if %{with python}
1183%files module-plpython -f plpython-%{mver}.lang
1184%defattr(644,root,root,755)
1185%attr(755,root,root) %{_pgmoduledir}/plpython2.so
1186%{_pgsqldir}/plpython*--*.sql
1187%{_pgsqldir}/plpython*.control
1188%endif
1189
1190%if %{with tcl}
1191%files module-pltcl -f pltcl-%{mver}.lang
1192%defattr(644,root,root,755)
1193%attr(755,root,root) %{_pgmoduledir}/pltcl.so
1194%{_pgsqldir}/pltcl*--*.sql
1195%{_pgsqldir}/pltcl*.control
1196%endif
1197
1198%files module-dblink
1199%defattr(644,root,root,755)
1200%attr(755,root,root) %{_pgmoduledir}/dblink.so
1201%{_pgsqldir}/dblink--*.sql
1202%{_pgsqldir}/dblink.control
1203%{_mandir}/man3/dblink*.3*
1204
1205%files module-lo
1206%defattr(644,root,root,755)
1207%attr(755,root,root) %{_pgmoduledir}/lo.so
1208%{_pgsqldir}/lo--*.sql
1209%{_pgsqldir}/lo.control
1210
1211%files module-pg_trgm
1212%defattr(644,root,root,755)
1213%attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1214%{_pgsqldir}/pg_trgm--*.sql
1215%{_pgsqldir}/pg_trgm.control
1216
1217%files module-pgcrypto
1218%defattr(644,root,root,755)
1219%attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1220%{_pgsqldir}/pgcrypto--*.sql
1221%{_pgsqldir}/pgcrypto.control
1222
1223%if %{with selinux}
1224%files module-sepgsql
1225%defattr(644,root,root,755)
1226%attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1227%{_pgsqldir}/sepgsql.sql
1228%endif
1229
1230%files module-tablefunc
1231%defattr(644,root,root,755)
1232%attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1233%{_pgsqldir}/*tablefunc--*.sql
1234%{_pgsqldir}/*tablefunc.control
1235
1236%files module-xml2
1237%defattr(644,root,root,755)
1238%attr(755,root,root) %{_pgmoduledir}/pgxml.so
1239%{_pgsqldir}/xml2--*.sql
1240%{_pgsqldir}/xml2.control
1241
1242%files contrib
1243%defattr(644,root,root,755)
1244%doc contrib/README
1245%attr(755,root,root) %{_bindir}/oid2name
1246%attr(755,root,root) %{_bindir}/pg_standby
1247%attr(755,root,root) %{_bindir}/vacuumlo
1248%attr(755,root,root) %{_pgmoduledir}/_int.so
1249%attr(755,root,root) %{_pgmoduledir}/adminpack.so
1250%attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1251%attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1252%attr(755,root,root) %{_pgmoduledir}/bloom.so
1253%attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1254%attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1255%attr(755,root,root) %{_pgmoduledir}/chkpass.so
1256%attr(755,root,root) %{_pgmoduledir}/citext.so
1257%attr(755,root,root) %{_pgmoduledir}/cube.so
1258%attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1259%attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1260%attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1261%attr(755,root,root) %{_pgmoduledir}/hstore.so
1262%attr(755,root,root) %{_pgmoduledir}/isn.so
1263%attr(755,root,root) %{_pgmoduledir}/ltree.so
1264%attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1265%attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1266%attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1267%attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1268%attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1269%attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1270%attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1271%attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1272%attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1273%attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1274%attr(755,root,root) %{_pgmoduledir}/seg.so
1275%attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1276%attr(755,root,root) %{_pgmoduledir}/tcn.so
1277%attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1278%attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1279%attr(755,root,root) %{_pgmoduledir}/unaccent.so
1280%attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1281%{_pgsqldir}/adminpack--*.sql
1282%{_pgsqldir}/adminpack.control
1283%{_pgsqldir}/bloom--*.sql
1284%{_pgsqldir}/bloom.control
1285%{_pgsqldir}/btree_gin--*.sql
1286%{_pgsqldir}/btree_gin.control
1287%{_pgsqldir}/btree_gist--*.sql
1288%{_pgsqldir}/btree_gist.control
1289%{_pgsqldir}/chkpass--*.sql
1290%{_pgsqldir}/chkpass.control
1291%{_pgsqldir}/citext--*.sql
1292%{_pgsqldir}/citext.control
1293%{_pgsqldir}/cube--*.sql
1294%{_pgsqldir}/cube.control
1295%{_pgsqldir}/dict_int--*.sql
1296%{_pgsqldir}/dict_int.control
1297%{_pgsqldir}/dict_xsyn--*.sql
1298%{_pgsqldir}/dict_xsyn.control
1299%{_pgsqldir}/earthdistance--*.sql
1300%{_pgsqldir}/earthdistance.control
1301%{_pgsqldir}/file_fdw--*.sql
1302%{_pgsqldir}/file_fdw.control
1303%{_pgsqldir}/fuzzystrmatch--*.sql
1304%{_pgsqldir}/fuzzystrmatch.control
1305%{_pgsqldir}/hstore--*.sql
1306%{_pgsqldir}/hstore.control
1307%{_pgsqldir}/intarray--*.sql
1308%{_pgsqldir}/intarray.control
1309%{_pgsqldir}/intagg--*.sql
1310%{_pgsqldir}/intagg.control
1311%{_pgsqldir}/isn--*.sql
1312%{_pgsqldir}/isn.control
1313%{_pgsqldir}/ltree--*.sql
1314%{_pgsqldir}/ltree.control
1315%{_pgsqldir}/pageinspect--*.sql
1316%{_pgsqldir}/pageinspect.control
1317%{_pgsqldir}/pg_buffercache--*.sql
1318%{_pgsqldir}/pg_buffercache.control
1319%{_pgsqldir}/pg_freespacemap--*.sql
1320%{_pgsqldir}/pg_freespacemap.control
1321%{_pgsqldir}/pg_prewarm--*.sql
1322%{_pgsqldir}/pg_prewarm.control
1323%{_pgsqldir}/pg_stat_statements--*.sql
1324%{_pgsqldir}/pg_stat_statements.control
1325%{_pgsqldir}/pg_visibility--*.sql
1326%{_pgsqldir}/pg_visibility.control
1327%{_pgsqldir}/pgrowlocks--*.sql
1328%{_pgsqldir}/pgrowlocks.control
1329%{_pgsqldir}/pgstattuple--*.sql
1330%{_pgsqldir}/pgstattuple.control
1331%{_pgsqldir}/postgres_fdw--*.sql
1332%{_pgsqldir}/postgres_fdw.control
1333%{_pgsqldir}/seg--*.sql
1334%{_pgsqldir}/seg.control
1335%{_pgsqldir}/sslinfo--*.sql
1336%{_pgsqldir}/sslinfo.control
1337%{_pgsqldir}/tcn--*.sql
1338%{_pgsqldir}/tcn.control
1339%{_pgsqldir}/tsm_system_rows--*.sql
1340%{_pgsqldir}/tsm_system_rows.control
1341%{_pgsqldir}/tsm_system_time--*.sql
1342%{_pgsqldir}/tsm_system_time.control
1343%{_pgsqldir}/unaccent--*.sql
1344%{_pgsqldir}/unaccent.control
1345%{_pgsqldir}/uuid-ossp--*.sql
1346%{_pgsqldir}/uuid-ossp.control
1347%if %{with perl}
1348%attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1349%{_pgsqldir}/hstore_plperl--*.sql
1350%{_pgsqldir}/hstore_plperl.control
1351%{_pgsqldir}/hstore_plperlu--*.sql
1352%{_pgsqldir}/hstore_plperlu.control
1353%endif
1354%if %{with python}
1355%attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1356%attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1357%{_pgsqldir}/hstore_plpythonu--*.sql
1358%{_pgsqldir}/hstore_plpythonu.control
1359%{_pgsqldir}/hstore_plpython2u--*.sql
1360%{_pgsqldir}/hstore_plpython2u.control
1361%{_pgsqldir}/hstore_plpython3u--*.sql
1362%{_pgsqldir}/hstore_plpython3u.control
1363%{_pgsqldir}/ltree_plpythonu--*.sql
1364%{_pgsqldir}/ltree_plpythonu.control
1365%{_pgsqldir}/ltree_plpython2u--*.sql
1366%{_pgsqldir}/ltree_plpython2u.control
1367%{_pgsqldir}/ltree_plpython3u--*.sql
1368%{_pgsqldir}/ltree_plpython3u.control
1369%endif
1370%{_mandir}/man1/oid2name.1*
1371%{_mandir}/man1/pg_standby.1*
1372%{_mandir}/man1/vacuumlo.1*
This page took 0.071149 seconds and 4 git commands to generate.