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)
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)
26 Summary: PostgreSQL Data Base Management System
27 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
28 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
29 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
30 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
31 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
32 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
33 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
34 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
35 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
40 Group: Applications/Databases
41 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
42 # Source0-md5: 92ae6d7cdf18e648b3c22d0aa015565d
44 Source2: pgsql-Database-HOWTO-html.tar.gz
45 # Source2-md5: 5b656ddf1db41965761f85204a14398e
46 Source3: %{name}.sysconfig
47 Source4: %{name}@.service
48 Source5: %{name}.service
49 Source6: %{name}.target
50 Patch0: %{name}-conf.patch
51 Patch1: %{name}-absolute_dbpaths.patch
52 Patch2: %{name}-ecpg-includedir.patch
54 Patch4: %{name}-disable_horology_test.patch
55 Patch5: %{name}-heimdal.patch
56 Patch6: %{name}-ossp_uuid.patch
57 Patch7: %{name}-link.patch
58 URL: http://www.postgresql.org/
59 BuildRequires: autoconf >= 2.69
60 BuildRequires: automake
61 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
62 # not needed for releases... but fixes something in snapshot
63 BuildRequires: bison >= 1.875
64 BuildRequires: docbook-dtd42-sgml
65 BuildRequires: docbook-dtd42-xml
66 BuildRequires: docbook-style-xsl
67 BuildRequires: flex >= 2.5.31
68 BuildRequires: gettext-tools
69 BuildRequires: gnome-doc-tools
70 %{?with_kerberos5:BuildRequires: heimdal-devel}
71 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
72 BuildRequires: libtool
73 BuildRequires: libxml2-devel >= 1:2.6.23
74 BuildRequires: libxslt-devel
75 BuildRequires: libxslt-progs
76 BuildRequires: ncurses-devel >= 5.0
77 %{?with_ldap:BuildRequires: openldap-devel}
78 BuildRequires: openssl-devel >= 0.9.7d
79 BuildRequires: ossp-uuid-devel
80 BuildRequires: pam-devel
81 %{?with_perl:BuildRequires: perl-devel}
83 BuildRequires: python >= 1:2.3
84 BuildRequires: python-devel >= 1:2.3
85 BuildRequires: python-modules >= 1:2.3
87 BuildRequires: readline-devel >= 4.2
88 BuildRequires: rpmbuild(macros) >= 1.671
89 %{?with_systemd:BuildRequires: systemd-devel >= 1:209}
90 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
91 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
92 %{?with_tests:BuildRequires: tzdata}
93 BuildRequires: zlib-devel
94 Requires(post,preun): /sbin/chkconfig
95 Requires(pre): /bin/id
96 Requires(pre): /usr/bin/getgid
97 Requires(pre): /usr/sbin/groupadd
98 Requires(pre): /usr/sbin/useradd
99 Requires(triggerpostun): /bin/id
100 Requires(triggerpostun): /usr/sbin/usermod
101 Requires: %{name}-clients >= %{version}-%{release}
102 Requires: %{name}-libs = %{version}-%{release}
103 Requires: rc-scripts >= 0.4.3.0
104 Requires: systemd-units >= 38
106 Obsoletes: postgresql-module-plpgsql
107 Obsoletes: postgresql-module-tsearch2
108 Obsoletes: postgresql-server
109 Obsoletes: postgresql-test
110 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
112 %define _pgmoduledir %{_libdir}/postgresql
113 %define _pgsqldir %{_datadir}/postgresql/extension
115 %define _ulibdir /usr/lib
118 # spi, test_decoding, worker_spi - examples/tests
119 # tsearch2 - old module for compatibility only
120 %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
123 PostgreSQL Data Base Management System (formerly known as Postgres,
126 PostgreSQL is an enhancement of the POSTGRES database management
127 system, a next-generation DBMS research prototype. While PostgreSQL
128 retains the powerful data model and rich data types of POSTGRES, it
129 replaces the PostQuel query language with an extended subset of SQL.
130 PostgreSQL is free and the complete source is available.
132 PostgreSQL development is being performed by a team of Internet
133 developers who all subscribe to the PostgreSQL development mailing
134 list. The current coordinator is Marc G. Fournier
135 (scrappy@postgreSQL.org). This team is now responsible for all current
136 and future development of PostgreSQL.
138 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
139 others have contributed to the porting, testing, debugging and
140 enhancement of the code. The original Postgres code, from which
141 PostgreSQL is derived, was the effort of many graduate students,
142 undergraduate students, and staff programmers working under the
143 direction of Professor Michael Stonebraker at the University of
144 California, Berkeley.
146 The original name of the software at Berkeley was Postgres. When SQL
147 functionality was added in 1995, its name was changed to Postgres95.
148 The name was changed at the end of 1996 to PostgreSQL.
150 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
151 and most flavours of Unix.
153 %description -l de.UTF-8
154 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
157 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
158 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
159 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
160 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
161 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
164 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
165 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
166 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
167 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
169 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
170 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
171 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
172 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
173 Studenten und Programmierern unter der Leitung von Professor Michael
174 Stonebraker an der University of California, Berkeley.
176 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
177 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
178 entschied man sich für PostgreSQL.
180 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
181 und den meisten Unix-Systemen.
183 %description -l es.UTF-8
184 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
185 como Postgres, y después como Postgres95). PostgreSQL es una
186 continuación mejorada del Sistema Administrador de Banco de Datos
187 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
188 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
189 los varios tipos de datos del POSTGRES, substituye el lenguaje de
190 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
191 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
192 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
193 en la lista de desarrollo del PostgreSQL. El coordinador actual es
194 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
195 responsable por el desarrollo actual y futuro del PostgreSQL.
197 %description -l fr.UTF-8
198 Système de gestion de bases de données PostgreSQL (D'abord nommé
199 Postgres, puis Postgres95).
201 PostgreSQL est une amélioration du système de gestion de bases de
202 données POSTGRES, un prototype de recherche de la génération suivant
203 DBMS. Tout en conservant le puissant modèle de donnée de et les types
204 de donée riches de Postgres, il remplace le langage de requêtes de
205 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
206 libre, et ses sources sont disponibles.
208 Le développement de PostgreSQL est actuellement réalisé via internet
209 parune équipe de développeurs inscrits sur la mailing-list de
210 développement de PostgreSQL. Le coordinateur actuel est Marc G
211 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
212 développemen actuel et à venir de PostgreSQL.
214 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
215 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
216 l'amélioration du code. Le code original de Postgres, duquel
217 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
218 moins haut niveau, et de programmeurs travaillant sous la direction du
219 professeur Michael Stonebraker à l'université de Berkeley Californie.
221 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
222 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
223 rebaptisé PostgreSQL en 1996.
225 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
226 et la plupart des Unix.
228 %description -l pl.UTF-8
229 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
230 Postgres, następnie jako Postgres95).
232 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
233 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
234 model danych oraz bogaty zbiór różnych typów danych, to jednak język
235 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
236 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
239 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
240 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
241 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
242 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
244 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
245 innych pomagało przenosząc na różne platformy, testując, analizując i
246 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
247 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
248 zespołu programistów, którzy pracowali pod kierunkiem profesora
249 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
251 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
252 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
253 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
256 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
257 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
259 %description -l pt_BR.UTF-8
260 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
261 Postgres, e depois como Postgres95).
263 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
264 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
265 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
266 dados e os vários tipos de dados do POSTGRES, ele substitui a
267 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
268 PostgreSQL é livre e tem os fontes disponíveis.
270 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
271 desenvolvedores da Internet, todos subscritores da lista de
272 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
273 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
274 desenvolvimento atual e futuro do PostgreSQL.
276 %description -l ru.UTF-8
277 PostgreSQL - система управления базами данных (прежде известная как
278 Postgres, потом как Postgres95).
280 PostgreSQL - это расширенная версия системы управления базами данных
281 POSTGRES, исследовательского прототипа DBMS следующей генерации.
282 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
283 она заменяет язык запросов PostQuel расширенным набором SQL.
284 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
287 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
288 на список рассылки, посвященный разработке PostgreSQL. В настоящее
289 время координатором является Marc G. Fournier
290 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
291 все текущие и будущие разработки PostgreSQL.
293 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
294 свой вклад в портирование, тестирование, отладку и улучшение кода.
295 Оригинальный код Postgres, от которого произошел PostgreSQL, был
296 создан усилиями студентов, аспирантов и персонала, работающего под
297 руководством профессора Michael Stonebraker в University of
298 California, Berkeley.
300 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
301 была добавлена функциональность SQL, название изменилось на
302 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
305 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
306 и большинстве других разновидностей Unix.
308 %description -l tr.UTF-8
309 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
310 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
311 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
312 sorgulama dilini koyar.
314 %description -l uk.UTF-8
315 PostgreSQL - система керування базами даних (раніш відома як Postgres,
316 потім як Postgres95).
318 PostgreSQL - це розширена версія системи керування базами даних
319 POSTGRES, дослідницького прототипу DBMS наступної генерації.
320 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
321 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
322 безкоштовна та поставляється у вигляді повного комплекту вихідних
325 PostgreSQL розробляється командою Internet-програмістів, учасників
326 списку розсилки, присвяченого розробці PostgreSQL. Наразі
327 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
328 відповідає за всі поточні та майбутні розробки PostgreSQL.
330 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
331 внесли свій внесок в портування, тестування, відладку та покращення
332 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
333 створений зусиллями студентів, аспірантів та персоналу, який працював
334 під керівництвом професора Michael Stonebraker в University of
335 California, Berkeley.
337 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
338 було додано функціональність SQL, назва змінилася на Postgres95. В
339 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
341 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
342 та більшості інших різновидів Unix.
345 Summary: PostgreSQL development header files and libraries
346 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
347 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
348 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
349 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
350 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
351 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
352 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
353 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
354 Group: Development/Libraries
355 Requires: %{name}-libs = %{version}-%{release}
358 This package contains header files and libraries required to compile
359 applications that are talking directly to the PostgreSQL backend
362 %description devel -l de.UTF-8
363 Dieses Paket enthält die Header-Dateien und Libraries, die zum
364 Kompilieren von Applikationen notwendig sind, die direkt mit dem
365 PostgreSQL-Backend-Server kommunizieren.
367 %description devel -l es.UTF-8
368 Este paquete contiene archivos de inclusión y bibliotecas requeridas
369 para compilación de aplicativos que se comunican directamente con el
370 servidor backend PostgreSQL.
372 %description devel -l fr.UTF-8
373 Ce package contient les fichiers d'en-tête et les bibliothéques
374 nécessaires pour compiler des applications ayant des échanges directs
375 avec le serveur du backend PostgreSQL.
377 %description devel -l pl.UTF-8
378 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
379 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
381 %description devel -l pt_BR.UTF-8
382 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
383 compilação de aplicativos que se comunicam diretamente com o servidor
386 %description devel -l ru.UTF-8
387 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
388 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
390 %description devel -l tr.UTF-8
391 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
392 gereken başlık dosyalarını ve kitaplıkları içerir.
394 %description devel -l uk.UTF-8
395 Цей пакет містить хедери та бібліотеки, необхідні для розробки
396 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
398 %package backend-devel
399 Summary: PostgreSQL backend development header files
400 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
401 Group: Development/Libraries
402 Requires: %{name}-devel = %{version}-%{release}
403 Requires: %{name}-libs = %{version}-%{release}
405 %description backend-devel
406 This package contains header files required to compile functions that
407 could be loaded directly by backend
409 %description backend-devel -l pl.UTF-8
410 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
411 bezposrednio ladowane przez beckend serwera PostgreSQL.
414 Summary: Clients needed to access a PostgreSQL server
415 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
416 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
417 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
418 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
419 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
420 Group: Applications/Databases
421 Requires: %{name}-libs = %{version}-%{release}
424 This package includes only the clients needed to access an PostgreSQL
425 server. The server is included in the main package. If all you need is
426 to connect to another PostgreSQL server, the this is the only package
427 you need to install. Clients include several command-line utilities
428 you can use to manage your databases on a remote PostgreSQL server.
430 %description clients -l es.UTF-8
431 Este paquete incluye solamente los clientes necesarios para acceder un
432 servidor PostgreSQL. El servidor está en el paquete principal.
434 %description clients -l pl.UTF-8
435 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
436 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
437 poleceń. Serwer znajduje się w głównym pakiecie.
439 %description clients -l pt_BR.UTF-8
440 Este pacote inclui somente os clientes necessários para acessar um
441 servidor PostgreSQL. O servidor está no pacote principal.
443 %description clients -l ru.UTF-8
444 Этот пакет включает только клиентские программы и библиотеки,
445 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
446 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
447 единственный пакет, который вам надо установить.
449 Теперь пакеты с библиотеками для разных языков программирования (C,
450 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
453 %description clients -l uk.UTF-8
454 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
455 для доступу до сервера PostgreSQL. Сервер міститься в головному
456 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
457 єдиний пакет, який вам треба встановити.
459 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
460 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
463 Summary: Documentation for PostgreSQL
464 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
465 Group: Applications/Databases
468 This package includes documentation and HOWTO for programmer, admin
469 etc., in HTML format.
471 %description doc -l pl.UTF-8
472 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
473 administratorów w formacie HTML.
476 Summary: PostgreSQL libraries
477 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
478 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
479 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
480 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
484 PostgreSQL shared libraries.
486 %description libs -l es.UTF-8
487 Este paquete contiene la biblioteca compartida para acceso al
490 %description libs -l pl.UTF-8
491 Biblioteki dzielone programu PostgreSQL.
493 %description libs -l pt_BR.UTF-8
494 Este pacote contém a biblioteca compartilhada para acesso ao
498 Summary: Embedded SQL in C interface
499 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
501 Requires: %{name}-libs = %{version}-%{release}
504 Embedded SQL in C interface.
506 %description ecpg -l pl.UTF-8
507 Interfejs wbudowanego SQL-a w język C.
510 Summary: Embedded SQL in C interface files
511 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
512 Group: Development/Libraries
513 Requires: %{name}-devel = %{version}-%{release}
514 Requires: %{name}-ecpg = %{version}-%{release}
516 %description ecpg-devel
517 Embedded SQL in C interface files.
519 %description ecpg-devel -l pl.UTF-8
520 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
523 Summary: PostgreSQL static libraries
524 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
525 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
526 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
527 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
528 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
529 Group: Development/Libraries
530 Requires: %{name}-devel = %{version}-%{release}
533 PostgreSQL static libraries.
535 %description static -l es.UTF-8
536 Este paquete contiene bibliotecas estaticas requerida para compilación
537 de aplicativos que se comunican directamente con el servidor backend
540 %description static -l pl.UTF-8
541 Biblioteki statyczne programu PostgreSQL.
543 %description static -l pt_BR.UTF-8
544 Este pacote contém as bibliotecas estáticas requeridas para compilação
545 de aplicativos que se comunicam diretamente com o servidor backend
548 %description static -l ru.UTF-8
549 Это отдельный пакет со статическими библиотеками, которые больше не
550 входят в %{name}-devel.
552 %description static -l uk.UTF-8
553 Це окремий пакет зі статичними бібліотеками, які більш не входять в
556 %package module-plperl
557 Summary: PL/perl - PostgreSQL procedural language
558 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
559 Group: Applications/Databases
560 Requires: %{name} = %{version}-%{release}
562 %description module-plperl
563 From PostgreSQL documentation:
565 Postgres supports the definition of procedural languages. In the case
566 of a function or trigger procedure defined in a procedural language,
567 the database has no built-in knowledge about how to interpret the
568 function's source text. Instead, the task is passed to a handler that
569 knows the details of the language. The handler itself is a special
570 programming language function compiled into a shared object and loaded
573 To enable PL/Perl procedural language for your database you have to
574 run createlang command.
576 %description module-plperl -l pl.UTF-8
577 Z dokumentacji PostgreSQL:
579 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
580 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
581 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
582 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
583 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
584 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
587 Za pomocą polecenia createlang można dodać obsługę języka
588 proceduralnego PL/Perl dla swojej bazy danych.
590 %package module-plpython
591 Summary: PL/Python - PostgreSQL procedural language
592 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
593 Group: Applications/Databases
594 Requires: %{name} = %{version}-%{release}
595 %pyrequires_eq python
597 %description module-plpython
598 From PostgreSQL documentation:
600 Postgres supports the definition of procedural languages. In the case
601 of a function or trigger procedure defined in a procedural language,
602 the database has no built-in knowledge about how to interpret the
603 function's source text. Instead, the task is passed to a handler that
604 knows the details of the language. The handler itself is a special
605 programming language function compiled into a shared object and loaded
608 To enable PL/Python procedural language for your database you have to
609 run createlang command.
611 %description module-plpython -l pl.UTF-8
612 Z dokumentacji PostgreSQL:
614 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
615 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
616 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
617 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
618 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
619 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
622 Za pomocą polecenia createlang można dodać obsługę języka
623 proceduralnego PL/Python dla swojej bazy danych.
625 %package module-pltcl
626 Summary: PL/Tcl - PostgreSQL procedural language
627 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
628 Group: Applications/Databases
629 Requires: %{name} = %{version}-%{release}
632 %description module-pltcl
633 From PostgreSQL documentation:
635 Postgres supports the definition of procedural languages. In the case
636 of a function or trigger procedure defined in a procedural language,
637 the database has no built-in knowledge about how to interpret the
638 function's source text. Instead, the task is passed to a handler that
639 knows the details of the language. The handler itself is a special
640 programming language function compiled into a shared object and loaded
643 To enable PL/Tcl procedural language for your database you have to run
646 %description module-pltcl -l pl.UTF-8
647 Z dokumentacji PostgreSQL:
649 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
650 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
651 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
652 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
653 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
654 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
657 Za pomocą polecenia createlang można dodać obsługę języka
658 proceduralnego PL/Tcl dla swojej bazy danych.
660 %package module-dblink
661 Summary: dblink module for PostgreSQL
662 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
663 Group: Applications/Databases
664 Requires: %{name} = %{version}-%{release}
666 %description module-dblink
667 dblink module for PostgreSQL provides functions returning results from
670 %description module-dblink -l pl.UTF-8
671 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
675 Summary: Large Objects module for PostgreSQL
676 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
677 Group: Applications/Databases
678 Requires: %{name} = %{version}-%{release}
680 %description module-lo
681 Large Objects module for PostgreSQL adds a new data type 'lo', some
682 support functions and a trigger which handles the orphaning problem.
684 %description module-lo -l pl.UTF-8
685 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
686 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
687 osieroconych obiektów.
689 %package module-pg_trgm
690 Summary: Trigram matching for PostgreSQL
691 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
692 Group: Applications/Databases
693 Requires: %{name} = %{version}-%{release}
695 %description module-pg_trgm
696 This module provides functions and index classes for determining the
697 similarity of text based on trigram matching.
699 %description module-pg_trgm -l pl.UTF-8
700 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
701 w oparciu o dopasowywanie trigramowe (trigram matching).
703 %package module-pgcrypto
704 Summary: Cryptographic functions for PostgreSQL
705 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
706 Group: Applications/Databases
707 Requires: %{name} = %{version}-%{release}
709 %description module-pgcrypto
710 Cryptographic functions for PostgreSQL.
712 %description module-pgcrypto -l pl.UTF-8
713 Funkcje kryptograficzne dla PostgreSQL.
715 %package module-sepgsql
716 Summary: PostgreSQL external security provider using SELinux
717 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
718 Group: Applications/Databases
719 Requires: %{name} = %{version}-%{release}
720 Requires: libselinux >= 2.1.10
722 %description module-sepgsql
723 PostgreSQL external security provider using SELinux.
725 %description module-sepgsql -l pl.UTF-8
726 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
728 %package module-tablefunc
729 Summary: crosstab functions for PostgreSQL
730 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
731 Group: Applications/Databases
732 Requires: %{name} = %{version}-%{release}
734 %description module-tablefunc
735 crosstab functions for PostgreSQL.
737 %description module-tablefunc -l pl.UTF-8
738 Funkcje crosstab dla PostgreSQL-a.
741 Summary: XML-handling functions for PostgreSQL
742 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
743 Group: Applications/Databases
744 Requires: %{name} = %{version}-%{release}
745 Requires: libxml2 >= 1:2.6.23
747 %description module-xml2
748 Module with XML functions provides both XPath querying and XSLT
749 functionality. There is also a new table function which allows the
750 straightforward return of multiple XML results.
752 %description module-xml2 -l pl.UTF-8
753 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
754 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
755 bezpośrednie zwracanie wielu wyników XML.
758 Summary: Miscellaneous PostgreSQL contrib modules
759 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
760 Group: Applications/Databases
761 Requires: %{name} = %{version}-%{release}
764 Miscellaneous PostgreSQL contrib modules.
766 %description contrib -l pl.UTF-8
767 Różne moduły dołączone do PostgreSQL-a.
772 %{?with_absolute_dbpaths:%patch1 -p1}
780 # force rebuild of bison/flex files
781 find src -name \*.l -o -name \*.y | xargs touch
784 #find contrib -type d -name CVS -exec rm -rf {} \;
787 %{__aclocal} -I config
791 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
794 %{?with_systemtap:--enable-dtrace} \
795 --enable-integer-datetimes \
797 --enable-thread-safety \
798 %{?with_bonjour:--with-bonjour} \
799 %{?with_kerberos5:--with-gssapi} \
800 %{?with_ldap:--with-ldap} \
805 %{?with_perl:--with-perl} \
806 %{?with_python:--with-python} \
807 %{?with_selinux:--with-selinux} \
808 --with-system-tzdata=%{_datadir}/zoneinfo \
809 %{?with_systemd:--with-systemd} \
810 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
815 for mod in %{contrib_modules}; do \
816 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
817 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
818 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
819 %{__make} -C contrib/$mod CFLAGS="$flags"
822 %{__make} -C src/tutorial \
825 %ifnarch sparc sparcv9 sparc64 alpha
826 %{?with_tests:%{__make} -j1 check}
830 rm -rf $RPM_BUILD_ROOT
831 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
832 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
833 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
834 $RPM_BUILD_ROOT%{_mandir} \
835 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
836 $RPM_BUILD_ROOT/home/services/postgres
838 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
841 DESTDIR=$RPM_BUILD_ROOT
842 %{__make} -C doc/src/sgml install-man \
843 DESTDIR=$RPM_BUILD_ROOT
846 %{__make} install -C src/pl/plperl \
847 DESTDIR=$RPM_BUILD_ROOT
850 for mod in %{contrib_modules}; do \
851 %{__make} -C contrib/$mod install \
852 DESTDIR=$RPM_BUILD_ROOT
855 touch $RPM_BUILD_ROOT/var/log/pgsql
857 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
858 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
860 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
861 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
862 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
865 tar zxf %{SOURCE2} -C howto
868 %py_comp $RPM_BUILD_ROOT%{py_libdir}
869 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
873 for f in libpq5 pg_basebackup pg_controldata pg_dump pg_resetxlog pg_rewind pgscripts postgres psql initdb pg_ctl pg_config plpgsql ecpg ecpglib6 %{?with_perl:plperl} plpgsql %{?with_python: plpython}; do
874 %find_lang $f-%{mver}
877 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
878 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
879 plpgsql-%{mver}.lang pg_rewind-%{mver}.lang \
880 pg_basebackup-%{mver}.lang \
882 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
883 pg_ctl-%{mver}.lang > clients-%{mver}.lang
884 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
887 %find_lang pltcl-%{mver}
888 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
892 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
895 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
897 # package it...? nah, why bother.
898 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
901 rm -rf $RPM_BUILD_ROOT
905 if [ -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"
912 for pgdir in $PG_DB_CLUSTERS; do
913 if [ -f $pgdir/PG_VERSION ]; then
914 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
915 echo "Found database(s) in older, incompatible format in cluster $pgdir."
920 if [ "$foundold" = "1" ]; then
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!"
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"
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."
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"
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
943 %triggerpostun -- %{name} < 7.2-2
944 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
945 /usr/sbin/usermod -d /home/services/postgres postgres
949 /sbin/chkconfig --add postgresql
950 %service postgresql restart "postgresql server"
951 if [ "$1" -eq "1" ]; then
953 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
954 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
955 for pgdir in $PG_DB_CLUSTERS; do
956 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
957 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
960 %systemd_post postgresql.service
963 if [ "$1" = "0" ]; then
964 %service postgresql stop
965 /sbin/chkconfig --del postgresql
968 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
969 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
970 for pgdir in $PG_DB_CLUSTERS; do
971 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
972 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
975 %systemd_preun postgresql.service
980 %triggerpostun -- %{name} < 9.3.3-2
982 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
983 for pgdir in $PG_DB_CLUSTERS; do
984 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
985 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
987 %systemd_trigger postgresql.service
989 %post libs -p /sbin/ldconfig
990 %postun libs -p /sbin/ldconfig
992 %post ecpg -p /sbin/ldconfig
993 %postun ecpg -p /sbin/ldconfig
995 %files -f main-%{mver}.lang
996 %defattr(644,root,root,755)
997 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
998 %attr(754,root,root) /etc/rc.d/init.d/postgresql
999 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1000 %{systemdunitdir}/%{name}.service
1001 %{systemdunitdir}/%{name}@.service
1002 %{systemdunitdir}/%{name}.target
1003 %dir /etc/systemd/system/%{name}.target.requires
1005 %attr(755,root,root) %{_bindir}/initdb
1006 %attr(755,root,root) %{_bindir}/pg_basebackup
1007 %attr(755,root,root) %{_bindir}/pg_controldata
1008 %attr(755,root,root) %{_bindir}/pg_ctl
1009 %attr(755,root,root) %{_bindir}/pg_resetxlog
1010 %attr(755,root,root) %{_bindir}/pg_receivexlog
1011 %attr(755,root,root) %{_bindir}/pg_recvlogical
1012 %attr(755,root,root) %{_bindir}/pg_rewind
1013 %attr(755,root,root) %{_bindir}/pg_test_fsync
1014 %attr(755,root,root) %{_bindir}/pg_test_timing
1015 %attr(755,root,root) %{_bindir}/pg_upgrade
1016 %attr(755,root,root) %{_bindir}/pg_xlogdump
1017 %attr(755,root,root) %{_bindir}/pgbench
1018 %attr(755,root,root) %{_bindir}/postgres
1019 %attr(755,root,root) %{_bindir}/postmaster
1021 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1022 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1023 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1024 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1025 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1026 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1027 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1028 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1029 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1030 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1031 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1034 %{_pgsqldir}/plpgsql--*.sql
1035 %{_pgsqldir}/plpgsql.control
1037 %dir %{_datadir}/postgresql
1038 %{_datadir}/postgresql/*.bki
1039 %{_datadir}/postgresql/*.sample
1040 %{_datadir}/postgresql/*.description
1041 %{_datadir}/postgresql/*.shdescription
1042 %{_datadir}/postgresql/*.sql
1043 %{_datadir}/postgresql/*.txt
1044 %{_datadir}/postgresql/timezonesets
1045 %{_datadir}/postgresql/tsearch_data
1047 %dir %{_datadir}/postgresql/contrib
1049 %attr(700,postgres,postgres) /home/services/postgres
1050 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1051 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1053 %{_mandir}/man1/initdb.1*
1054 %{_mandir}/man1/pg_basebackup.1*
1055 %{_mandir}/man1/pg_controldata.1*
1056 %{_mandir}/man1/pg_ctl.1*
1057 %{_mandir}/man1/pg_resetxlog.1*
1058 %{_mandir}/man1/pg_receivexlog.1*
1059 %{_mandir}/man1/pg_recvlogical.1*
1060 %{_mandir}/man1/pg_rewind.1*
1061 %{_mandir}/man1/pg_xlogdump.1*
1062 %{_mandir}/man1/pg_test_fsync.1*
1063 %{_mandir}/man1/pg_test_timing.1*
1064 %{_mandir}/man1/pg_upgrade.1*
1065 %{_mandir}/man1/pgbench.1*
1066 %{_mandir}/man1/postgres.1*
1067 %{_mandir}/man1/postmaster.1*
1070 %defattr(644,root,root,755)
1071 %doc doc/src/sgml/html howto
1072 %{_examplesdir}/%{name}-%{version}
1074 %files libs -f libpq5-%{mver}.lang
1075 %defattr(644,root,root,755)
1076 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1077 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1078 %dir %{_pgmoduledir}
1080 %files ecpg -f ecpg.lang
1081 %defattr(644,root,root,755)
1082 %attr(755,root,root) %{_bindir}/ecpg
1083 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1084 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1085 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1086 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1087 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1088 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1089 %{_mandir}/man1/ecpg.1*
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_libdir}/libecpg.so
1094 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1095 %attr(755,root,root) %{_libdir}/libpgtypes.so
1096 %{_includedir}/ecpg*
1097 %{_pkgconfigdir}/libecpg.pc
1098 %{_pkgconfigdir}/libecpg_compat.pc
1099 %{_pkgconfigdir}/libpgtypes.pc
1101 %files devel -f pg_config-%{mver}.lang
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_bindir}/pg_config
1104 %attr(755,root,root) %{_libdir}/libpq.so
1105 %dir %{_includedir}/postgresql
1106 %{_includedir}/libpq-events.h
1107 %{_includedir}/libpq-fe.h
1108 %{_includedir}/pg_config.h
1109 %{_includedir}/pg_config_ext.h
1110 %{_includedir}/pg_config_manual.h
1111 %{_includedir}/pg_config_os.h
1112 %{_includedir}/postgres_ext.h
1113 %dir %{_includedir}/postgresql/internal
1114 %{_includedir}/postgresql/internal/c.h
1115 %{_includedir}/postgresql/internal/libpq-int.h
1116 %{_includedir}/postgresql/internal/port.h
1117 %{_includedir}/postgresql/internal/postgres_fe.h
1118 %{_includedir}/postgresql/internal/pqexpbuffer.h
1119 %{_includedir}/postgresql/internal/libpq
1120 %{_includedir}/libpq
1121 %{_pkgconfigdir}/libpq.pc
1122 %{_mandir}/man1/pg_config.1*
1124 %files backend-devel
1125 %defattr(644,root,root,755)
1126 %{_includedir}/postgresql/server
1127 %dir %{_pgmoduledir}/pgxs
1128 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1129 %{_pgmoduledir}/pgxs/src
1130 %{_mandir}/man3/SPI_*.3*
1133 %defattr(644,root,root,755)
1134 %{_libdir}/libecpg.a
1135 %{_libdir}/libecpg_compat.a
1137 %{_libdir}/libpgcommon.a
1138 %{_libdir}/libpgfeutils.a
1139 %{_libdir}/libpgtypes.a
1140 %{_libdir}/libpgport.a
1142 %files clients -f clients-%{mver}.lang
1143 %defattr(644,root,root,755)
1144 %attr(755,root,root) %{_bindir}/clusterdb
1145 %attr(755,root,root) %{_bindir}/createdb
1146 %attr(755,root,root) %{_bindir}/createlang
1147 %attr(755,root,root) %{_bindir}/createuser
1148 %attr(755,root,root) %{_bindir}/dropdb
1149 %attr(755,root,root) %{_bindir}/droplang
1150 %attr(755,root,root) %{_bindir}/dropuser
1151 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1152 %attr(755,root,root) %{_bindir}/pg_dump
1153 %attr(755,root,root) %{_bindir}/pg_dumpall
1154 %attr(755,root,root) %{_bindir}/pg_isready
1155 %attr(755,root,root) %{_bindir}/pg_restore
1156 %attr(755,root,root) %{_bindir}/psql
1157 %attr(755,root,root) %{_bindir}/reindexdb
1158 %attr(755,root,root) %{_bindir}/vacuumdb
1160 %{_mandir}/man1/clusterdb.1*
1161 %{_mandir}/man1/createdb.1*
1162 %{_mandir}/man1/createlang.1*
1163 %{_mandir}/man1/createuser.1*
1164 %{_mandir}/man1/dropdb.1*
1165 %{_mandir}/man1/droplang.1*
1166 %{_mandir}/man1/dropuser.1*
1167 %{_mandir}/man1/pg_archivecleanup.1*
1168 %{_mandir}/man1/pg_dump.1*
1169 %{_mandir}/man1/pg_dumpall.1*
1170 %{_mandir}/man1/pg_isready.1*
1171 %{_mandir}/man1/pg_restore.1*
1172 %{_mandir}/man1/psql.1*
1173 %{_mandir}/man1/reindexdb.1*
1174 %{_mandir}/man1/vacuumdb.1*
1175 %{_mandir}/man7/*.7*
1178 %files module-plperl -f plperl-%{mver}.lang
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1181 %{_pgsqldir}/plperl--*.sql
1182 %{_pgsqldir}/plperl.control
1183 %{_pgsqldir}/plperlu--*.sql
1184 %{_pgsqldir}/plperlu.control
1188 %files module-plpython -f plpython-%{mver}.lang
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1191 %{_pgsqldir}/plpython*--*.sql
1192 %{_pgsqldir}/plpython*.control
1196 %files module-pltcl -f pltcl-%{mver}.lang
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_bindir}/pltcl_*
1199 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1200 %{_pgsqldir}/unknown.pltcl
1201 %{_pgsqldir}/pltcl*--*.sql
1202 %{_pgsqldir}/pltcl*.control
1205 %files module-dblink
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1208 %{_pgsqldir}/dblink--*.sql
1209 %{_pgsqldir}/dblink.control
1210 %{_mandir}/man3/dblink*.3*
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_pgmoduledir}/lo.so
1215 %{_pgsqldir}/lo--*.sql
1216 %{_pgsqldir}/lo.control
1218 %files module-pg_trgm
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1221 %{_pgsqldir}/pg_trgm--*.sql
1222 %{_pgsqldir}/pg_trgm.control
1224 %files module-pgcrypto
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1227 %{_pgsqldir}/pgcrypto--*.sql
1228 %{_pgsqldir}/pgcrypto.control
1231 %files module-sepgsql
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1234 %{_pgsqldir}/sepgsql.sql
1237 %files module-tablefunc
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1240 %{_pgsqldir}/*tablefunc--*.sql
1241 %{_pgsqldir}/*tablefunc.control
1244 %defattr(644,root,root,755)
1245 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1246 %{_pgsqldir}/xml2--*.sql
1247 %{_pgsqldir}/xml2.control
1250 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_bindir}/oid2name
1253 %attr(755,root,root) %{_bindir}/pg_standby
1254 %attr(755,root,root) %{_bindir}/vacuumlo
1255 %attr(755,root,root) %{_pgmoduledir}/_int.so
1256 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1257 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1258 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1259 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1260 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1261 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1262 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1263 %attr(755,root,root) %{_pgmoduledir}/citext.so
1264 %attr(755,root,root) %{_pgmoduledir}/cube.so
1265 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1266 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1267 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1268 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1269 %attr(755,root,root) %{_pgmoduledir}/isn.so
1270 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1271 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1272 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1273 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1274 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1275 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1276 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1277 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1278 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1279 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1280 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1281 %attr(755,root,root) %{_pgmoduledir}/seg.so
1282 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1283 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1284 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1285 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1286 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1287 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1288 %{_pgsqldir}/adminpack--*.sql
1289 %{_pgsqldir}/adminpack.control
1290 %{_pgsqldir}/bloom--*.sql
1291 %{_pgsqldir}/bloom.control
1292 %{_pgsqldir}/btree_gin--*.sql
1293 %{_pgsqldir}/btree_gin.control
1294 %{_pgsqldir}/btree_gist--*.sql
1295 %{_pgsqldir}/btree_gist.control
1296 %{_pgsqldir}/chkpass--*.sql
1297 %{_pgsqldir}/chkpass.control
1298 %{_pgsqldir}/citext--*.sql
1299 %{_pgsqldir}/citext.control
1300 %{_pgsqldir}/cube--*.sql
1301 %{_pgsqldir}/cube.control
1302 %{_pgsqldir}/dict_int--*.sql
1303 %{_pgsqldir}/dict_int.control
1304 %{_pgsqldir}/dict_xsyn--*.sql
1305 %{_pgsqldir}/dict_xsyn.control
1306 %{_pgsqldir}/earthdistance--*.sql
1307 %{_pgsqldir}/earthdistance.control
1308 %{_pgsqldir}/file_fdw--*.sql
1309 %{_pgsqldir}/file_fdw.control
1310 %{_pgsqldir}/fuzzystrmatch--*.sql
1311 %{_pgsqldir}/fuzzystrmatch.control
1312 %{_pgsqldir}/hstore--*.sql
1313 %{_pgsqldir}/hstore.control
1314 %{_pgsqldir}/intarray--*.sql
1315 %{_pgsqldir}/intarray.control
1316 %{_pgsqldir}/intagg--*.sql
1317 %{_pgsqldir}/intagg.control
1318 %{_pgsqldir}/isn--*.sql
1319 %{_pgsqldir}/isn.control
1320 %{_pgsqldir}/ltree--*.sql
1321 %{_pgsqldir}/ltree.control
1322 %{_pgsqldir}/pageinspect--*.sql
1323 %{_pgsqldir}/pageinspect.control
1324 %{_pgsqldir}/pg_buffercache--*.sql
1325 %{_pgsqldir}/pg_buffercache.control
1326 %{_pgsqldir}/pg_freespacemap--*.sql
1327 %{_pgsqldir}/pg_freespacemap.control
1328 %{_pgsqldir}/pg_prewarm--*.sql
1329 %{_pgsqldir}/pg_prewarm.control
1330 %{_pgsqldir}/pg_stat_statements--*.sql
1331 %{_pgsqldir}/pg_stat_statements.control
1332 %{_pgsqldir}/pg_visibility--*.sql
1333 %{_pgsqldir}/pg_visibility.control
1334 %{_pgsqldir}/pgrowlocks--*.sql
1335 %{_pgsqldir}/pgrowlocks.control
1336 %{_pgsqldir}/pgstattuple--*.sql
1337 %{_pgsqldir}/pgstattuple.control
1338 %{_pgsqldir}/postgres_fdw--*.sql
1339 %{_pgsqldir}/postgres_fdw.control
1340 %{_pgsqldir}/seg--*.sql
1341 %{_pgsqldir}/seg.control
1342 %{_pgsqldir}/sslinfo--*.sql
1343 %{_pgsqldir}/sslinfo.control
1344 %{_pgsqldir}/tcn--*.sql
1345 %{_pgsqldir}/tcn.control
1346 %{_pgsqldir}/tsm_system_rows--*.sql
1347 %{_pgsqldir}/tsm_system_rows.control
1348 %{_pgsqldir}/tsm_system_time--*.sql
1349 %{_pgsqldir}/tsm_system_time.control
1350 %{_pgsqldir}/unaccent--*.sql
1351 %{_pgsqldir}/unaccent.control
1352 %{_pgsqldir}/uuid-ossp--*.sql
1353 %{_pgsqldir}/uuid-ossp.control
1355 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1356 %{_pgsqldir}/hstore_plperl--*.sql
1357 %{_pgsqldir}/hstore_plperl.control
1358 %{_pgsqldir}/hstore_plperlu--*.sql
1359 %{_pgsqldir}/hstore_plperlu.control
1362 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1363 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1364 %{_pgsqldir}/hstore_plpythonu--*.sql
1365 %{_pgsqldir}/hstore_plpythonu.control
1366 %{_pgsqldir}/hstore_plpython2u--*.sql
1367 %{_pgsqldir}/hstore_plpython2u.control
1368 %{_pgsqldir}/hstore_plpython3u--*.sql
1369 %{_pgsqldir}/hstore_plpython3u.control
1370 %{_pgsqldir}/ltree_plpythonu--*.sql
1371 %{_pgsqldir}/ltree_plpythonu.control
1372 %{_pgsqldir}/ltree_plpython2u--*.sql
1373 %{_pgsqldir}/ltree_plpython2u.control
1374 %{_pgsqldir}/ltree_plpython3u--*.sql
1375 %{_pgsqldir}/ltree_plpython3u.control
1377 %{_mandir}/man1/oid2name.1*
1378 %{_mandir}/man1/pg_standby.1*
1379 %{_mandir}/man1/vacuumlo.1*