2 # - can jit files go to subpackage?
3 # - python 3 and python 2 subpackages?
4 # - subpackage *_plperl and *_plpython contribs?
5 # - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
6 # create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
7 # - test init script (db initialization)
10 %bcond_without tests # disable testing
11 %bcond_without tcl # disable Tcl support
12 %bcond_without kerberos5 # disable kerberos5 support
13 %bcond_without llvm # disable llvm based JIT support
14 %bcond_without perl # disable Perl support
15 %bcond_without python # disable Python support
16 %bcond_with bonjour # Bonjour/DNS_SD support
17 %bcond_without ldap # disable LDAP support
18 %bcond_without selinux # sepgsql contrib module
19 %bcond_without systemd # systemd (notify) support
20 %bcond_with systemtap # systemtap/dtrace probes
21 %bcond_with absolute_dbpaths # enable absolute paths to create database
22 # (disabled by default because it is a security risk)
28 Summary: PostgreSQL Data Base Management System
29 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
30 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
31 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
32 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
33 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
34 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
35 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
36 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
37 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
42 Group: Applications/Databases
43 Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
44 # Source0-md5: 338ede84c0443db02ff6e8c4c8cbc5e9
46 Source2: pgsql-Database-HOWTO-html.tar.gz
47 # Source2-md5: 5b656ddf1db41965761f85204a14398e
48 Source3: %{name}.sysconfig
49 Source4: %{name}@.service
50 Source5: %{name}.service
51 Source6: %{name}.target
52 Patch0: %{name}-conf.patch
53 Patch1: %{name}-absolute_dbpaths.patch
54 Patch2: %{name}-ecpg-includedir.patch
56 Patch4: %{name}-disable_horology_test.patch
57 Patch5: %{name}-heimdal.patch
58 Patch6: %{name}-link.patch
59 URL: http://www.postgresql.org/
60 BuildRequires: autoconf >= 2.69
61 BuildRequires: automake
62 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
63 # not needed for releases... but fixes something in snapshot
64 BuildRequires: bison >= 1.875
65 %{?with_llvm:BuildRequires: clang}
66 BuildRequires: docbook-dtd42-sgml
67 BuildRequires: docbook-dtd42-xml
68 BuildRequires: docbook-style-xsl
69 BuildRequires: flex >= 2.5.31
70 BuildRequires: gettext-tools
71 BuildRequires: gnome-doc-tools
72 %{?with_kerberos5:BuildRequires: heimdal-devel}
73 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
74 BuildRequires: libtool
75 BuildRequires: libxml2-devel >= 1:2.6.23
76 BuildRequires: libxslt-devel
77 BuildRequires: libxslt-progs
78 %{?with_llvm:BuildRequires: llvm-devel >= 3.9}
79 BuildRequires: ncurses-devel >= 5.0
80 %{?with_ldap:BuildRequires: openldap-devel}
81 BuildRequires: openssl-devel >= 0.9.7d
82 BuildRequires: ossp-uuid-devel
83 BuildRequires: pam-devel
84 %{?with_perl:BuildRequires: perl-devel}
86 BuildRequires: python >= 1:2.4
87 BuildRequires: python-devel >= 1:2.4
88 BuildRequires: python-modules >= 1:2.4
90 BuildRequires: readline-devel >= 4.2
91 BuildRequires: rpmbuild(macros) >= 1.671
92 %{?with_systemd:BuildRequires: systemd-devel >= 1:209}
93 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
94 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
95 %{?with_tests:BuildRequires: tzdata}
96 BuildRequires: zlib-devel
97 Requires(post,preun): /sbin/chkconfig
98 Requires(pre): /bin/id
99 Requires(pre): /usr/bin/getgid
100 Requires(pre): /usr/sbin/groupadd
101 Requires(pre): /usr/sbin/useradd
102 Requires(triggerpostun): /bin/id
103 Requires(triggerpostun): /usr/sbin/usermod
104 Requires: %{name}-clients >= %{version}-%{release}
105 Requires: %{name}-libs = %{version}-%{release}
106 Requires: rc-scripts >= 0.4.3.0
107 Requires: systemd-units >= 38
109 Obsoletes: postgresql-module-plpgsql
110 Obsoletes: postgresql-module-tsearch2
111 Obsoletes: postgresql-server
112 Obsoletes: postgresql-test
113 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
115 %define _pgmoduledir %{_libdir}/postgresql
116 %define _pgsqldir %{_datadir}/postgresql/extension
118 %define _ulibdir /usr/lib
121 # spi, test_decoding, worker_spi - examples/tests
122 # tsearch2 - old module for compatibility only
123 %define contrib_modules adminpack auth_delay auto_explain bloom btree_gin btree_gist 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
126 PostgreSQL Data Base Management System (formerly known as Postgres,
129 PostgreSQL is an enhancement of the POSTGRES database management
130 system, a next-generation DBMS research prototype. While PostgreSQL
131 retains the powerful data model and rich data types of POSTGRES, it
132 replaces the PostQuel query language with an extended subset of SQL.
133 PostgreSQL is free and the complete source is available.
135 PostgreSQL development is being performed by a team of Internet
136 developers who all subscribe to the PostgreSQL development mailing
137 list. The current coordinator is Marc G. Fournier
138 (scrappy@postgreSQL.org). This team is now responsible for all current
139 and future development of PostgreSQL.
141 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
142 others have contributed to the porting, testing, debugging and
143 enhancement of the code. The original Postgres code, from which
144 PostgreSQL is derived, was the effort of many graduate students,
145 undergraduate students, and staff programmers working under the
146 direction of Professor Michael Stonebraker at the University of
147 California, Berkeley.
149 The original name of the software at Berkeley was Postgres. When SQL
150 functionality was added in 1995, its name was changed to Postgres95.
151 The name was changed at the end of 1996 to PostgreSQL.
153 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
154 and most flavours of Unix.
156 %description -l de.UTF-8
157 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
160 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
161 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
162 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
163 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
164 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
167 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
168 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
169 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
170 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
172 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
173 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
174 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
175 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
176 Studenten und Programmierern unter der Leitung von Professor Michael
177 Stonebraker an der University of California, Berkeley.
179 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
180 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
181 entschied man sich für PostgreSQL.
183 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
184 und den meisten Unix-Systemen.
186 %description -l es.UTF-8
187 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
188 como Postgres, y después como Postgres95). PostgreSQL es una
189 continuación mejorada del Sistema Administrador de Banco de Datos
190 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
191 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
192 los varios tipos de datos del POSTGRES, substituye el lenguaje de
193 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
194 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
195 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
196 en la lista de desarrollo del PostgreSQL. El coordinador actual es
197 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
198 responsable por el desarrollo actual y futuro del PostgreSQL.
200 %description -l fr.UTF-8
201 Système de gestion de bases de données PostgreSQL (D'abord nommé
202 Postgres, puis Postgres95).
204 PostgreSQL est une amélioration du système de gestion de bases de
205 données POSTGRES, un prototype de recherche de la génération suivant
206 DBMS. Tout en conservant le puissant modèle de donnée de et les types
207 de donée riches de Postgres, il remplace le langage de requêtes de
208 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
209 libre, et ses sources sont disponibles.
211 Le développement de PostgreSQL est actuellement réalisé via internet
212 parune équipe de développeurs inscrits sur la mailing-list de
213 développement de PostgreSQL. Le coordinateur actuel est Marc G
214 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
215 développemen actuel et à venir de PostgreSQL.
217 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
218 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
219 l'amélioration du code. Le code original de Postgres, duquel
220 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
221 moins haut niveau, et de programmeurs travaillant sous la direction du
222 professeur Michael Stonebraker à l'université de Berkeley Californie.
224 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
225 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
226 rebaptisé PostgreSQL en 1996.
228 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
229 et la plupart des Unix.
231 %description -l pl.UTF-8
232 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
233 Postgres, następnie jako Postgres95).
235 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
236 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
237 model danych oraz bogaty zbiór różnych typów danych, to jednak język
238 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
239 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
242 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
243 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
244 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
245 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
247 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
248 innych pomagało przenosząc na różne platformy, testując, analizując i
249 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
250 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
251 zespołu programistów, którzy pracowali pod kierunkiem profesora
252 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
254 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
255 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
256 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
259 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
260 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
262 %description -l pt_BR.UTF-8
263 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
264 Postgres, e depois como Postgres95).
266 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
267 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
268 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
269 dados e os vários tipos de dados do POSTGRES, ele substitui a
270 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
271 PostgreSQL é livre e tem os fontes disponíveis.
273 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
274 desenvolvedores da Internet, todos subscritores da lista de
275 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
276 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
277 desenvolvimento atual e futuro do PostgreSQL.
279 %description -l ru.UTF-8
280 PostgreSQL - система управления базами данных (прежде известная как
281 Postgres, потом как Postgres95).
283 PostgreSQL - это расширенная версия системы управления базами данных
284 POSTGRES, исследовательского прототипа DBMS следующей генерации.
285 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
286 она заменяет язык запросов PostQuel расширенным набором SQL.
287 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
290 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
291 на список рассылки, посвященный разработке PostgreSQL. В настоящее
292 время координатором является Marc G. Fournier
293 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
294 все текущие и будущие разработки PostgreSQL.
296 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
297 свой вклад в портирование, тестирование, отладку и улучшение кода.
298 Оригинальный код Postgres, от которого произошел PostgreSQL, был
299 создан усилиями студентов, аспирантов и персонала, работающего под
300 руководством профессора Michael Stonebraker в University of
301 California, Berkeley.
303 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
304 была добавлена функциональность SQL, название изменилось на
305 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
308 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
309 и большинстве других разновидностей Unix.
311 %description -l tr.UTF-8
312 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
313 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
314 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
315 sorgulama dilini koyar.
317 %description -l uk.UTF-8
318 PostgreSQL - система керування базами даних (раніш відома як Postgres,
319 потім як Postgres95).
321 PostgreSQL - це розширена версія системи керування базами даних
322 POSTGRES, дослідницького прототипу DBMS наступної генерації.
323 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
324 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
325 безкоштовна та поставляється у вигляді повного комплекту вихідних
328 PostgreSQL розробляється командою Internet-програмістів, учасників
329 списку розсилки, присвяченого розробці PostgreSQL. Наразі
330 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
331 відповідає за всі поточні та майбутні розробки PostgreSQL.
333 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
334 внесли свій внесок в портування, тестування, відладку та покращення
335 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
336 створений зусиллями студентів, аспірантів та персоналу, який працював
337 під керівництвом професора Michael Stonebraker в University of
338 California, Berkeley.
340 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
341 було додано функціональність SQL, назва змінилася на Postgres95. В
342 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
344 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
345 та більшості інших різновидів Unix.
348 Summary: PostgreSQL development header files and libraries
349 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
350 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
351 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
352 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
353 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
354 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
355 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
356 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
357 Group: Development/Libraries
358 Requires: %{name}-libs = %{version}-%{release}
361 This package contains header files and libraries required to compile
362 applications that are talking directly to the PostgreSQL backend
365 %description devel -l de.UTF-8
366 Dieses Paket enthält die Header-Dateien und Libraries, die zum
367 Kompilieren von Applikationen notwendig sind, die direkt mit dem
368 PostgreSQL-Backend-Server kommunizieren.
370 %description devel -l es.UTF-8
371 Este paquete contiene archivos de inclusión y bibliotecas requeridas
372 para compilación de aplicativos que se comunican directamente con el
373 servidor backend PostgreSQL.
375 %description devel -l fr.UTF-8
376 Ce package contient les fichiers d'en-tête et les bibliothéques
377 nécessaires pour compiler des applications ayant des échanges directs
378 avec le serveur du backend PostgreSQL.
380 %description devel -l pl.UTF-8
381 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
382 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
384 %description devel -l pt_BR.UTF-8
385 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
386 compilação de aplicativos que se comunicam diretamente com o servidor
389 %description devel -l ru.UTF-8
390 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
391 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
393 %description devel -l tr.UTF-8
394 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
395 gereken başlık dosyalarını ve kitaplıkları içerir.
397 %description devel -l uk.UTF-8
398 Цей пакет містить хедери та бібліотеки, необхідні для розробки
399 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
401 %package backend-devel
402 Summary: PostgreSQL backend development header files
403 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
404 Group: Development/Libraries
405 Requires: %{name}-devel = %{version}-%{release}
406 Requires: %{name}-libs = %{version}-%{release}
408 %description backend-devel
409 This package contains header files required to compile functions that
410 could be loaded directly by backend
412 %description backend-devel -l pl.UTF-8
413 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
414 bezposrednio ladowane przez beckend serwera PostgreSQL.
417 Summary: Clients needed to access a PostgreSQL server
418 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
419 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
420 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
421 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
422 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
423 Group: Applications/Databases
424 Requires: %{name}-libs = %{version}-%{release}
427 This package includes only the clients needed to access an PostgreSQL
428 server. The server is included in the main package. If all you need is
429 to connect to another PostgreSQL server, the this is the only package
430 you need to install. Clients include several command-line utilities
431 you can use to manage your databases on a remote PostgreSQL server.
433 %description clients -l es.UTF-8
434 Este paquete incluye solamente los clientes necesarios para acceder un
435 servidor PostgreSQL. El servidor está en el paquete principal.
437 %description clients -l pl.UTF-8
438 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
439 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
440 poleceń. Serwer znajduje się w głównym pakiecie.
442 %description clients -l pt_BR.UTF-8
443 Este pacote inclui somente os clientes necessários para acessar um
444 servidor PostgreSQL. O servidor está no pacote principal.
446 %description clients -l ru.UTF-8
447 Этот пакет включает только клиентские программы и библиотеки,
448 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
449 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
450 единственный пакет, который вам надо установить.
452 Теперь пакеты с библиотеками для разных языков программирования (C,
453 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
456 %description clients -l uk.UTF-8
457 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
458 для доступу до сервера PostgreSQL. Сервер міститься в головному
459 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
460 єдиний пакет, який вам треба встановити.
462 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
463 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
466 Summary: Documentation for PostgreSQL
467 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
468 Group: Applications/Databases
471 This package includes documentation and HOWTO for programmer, admin
472 etc., in HTML format.
474 %description doc -l pl.UTF-8
475 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
476 administratorów w formacie HTML.
479 Summary: PostgreSQL libraries
480 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
481 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
482 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
483 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
487 PostgreSQL shared libraries.
489 %description libs -l es.UTF-8
490 Este paquete contiene la biblioteca compartida para acceso al
493 %description libs -l pl.UTF-8
494 Biblioteki dzielone programu PostgreSQL.
496 %description libs -l pt_BR.UTF-8
497 Este pacote contém a biblioteca compartilhada para acesso ao
501 Summary: Embedded SQL in C interface
502 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
504 Requires: %{name}-libs = %{version}-%{release}
507 Embedded SQL in C interface.
509 %description ecpg -l pl.UTF-8
510 Interfejs wbudowanego SQL-a w język C.
513 Summary: Embedded SQL in C interface files
514 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
515 Group: Development/Libraries
516 Requires: %{name}-devel = %{version}-%{release}
517 Requires: %{name}-ecpg = %{version}-%{release}
519 %description ecpg-devel
520 Embedded SQL in C interface files.
522 %description ecpg-devel -l pl.UTF-8
523 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
526 Summary: PostgreSQL static libraries
527 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
528 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
529 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
530 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
531 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
532 Group: Development/Libraries
533 Requires: %{name}-devel = %{version}-%{release}
536 PostgreSQL static libraries.
538 %description static -l es.UTF-8
539 Este paquete contiene bibliotecas estaticas requerida para compilación
540 de aplicativos que se comunican directamente con el servidor backend
543 %description static -l pl.UTF-8
544 Biblioteki statyczne programu PostgreSQL.
546 %description static -l pt_BR.UTF-8
547 Este pacote contém as bibliotecas estáticas requeridas para compilação
548 de aplicativos que se comunicam diretamente com o servidor backend
551 %description static -l ru.UTF-8
552 Это отдельный пакет со статическими библиотеками, которые больше не
553 входят в %{name}-devel.
555 %description static -l uk.UTF-8
556 Це окремий пакет зі статичними бібліотеками, які більш не входять в
559 %package module-plperl
560 Summary: PL/perl - PostgreSQL procedural language
561 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
562 Group: Applications/Databases
563 Requires: %{name} = %{version}-%{release}
565 %description module-plperl
566 From PostgreSQL documentation:
568 Postgres supports the definition of procedural languages. In the case
569 of a function or trigger procedure defined in a procedural language,
570 the database has no built-in knowledge about how to interpret the
571 function's source text. Instead, the task is passed to a handler that
572 knows the details of the language. The handler itself is a special
573 programming language function compiled into a shared object and loaded
576 To enable PL/Perl procedural language for your database you have to
577 run createlang command.
579 %description module-plperl -l pl.UTF-8
580 Z dokumentacji PostgreSQL:
582 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
583 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
584 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
585 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
586 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
587 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
590 Za pomocą polecenia createlang można dodać obsługę języka
591 proceduralnego PL/Perl dla swojej bazy danych.
593 %package module-plpython
594 Summary: PL/Python - PostgreSQL procedural language
595 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
596 Group: Applications/Databases
597 Requires: %{name} = %{version}-%{release}
598 %pyrequires_eq python
600 %description module-plpython
601 From PostgreSQL documentation:
603 Postgres supports the definition of procedural languages. In the case
604 of a function or trigger procedure defined in a procedural language,
605 the database has no built-in knowledge about how to interpret the
606 function's source text. Instead, the task is passed to a handler that
607 knows the details of the language. The handler itself is a special
608 programming language function compiled into a shared object and loaded
611 To enable PL/Python procedural language for your database you have to
612 run createlang command.
614 %description module-plpython -l pl.UTF-8
615 Z dokumentacji PostgreSQL:
617 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
618 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
619 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
620 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
621 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
622 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
625 Za pomocą polecenia createlang można dodać obsługę języka
626 proceduralnego PL/Python dla swojej bazy danych.
628 %package module-pltcl
629 Summary: PL/Tcl - PostgreSQL procedural language
630 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
631 Group: Applications/Databases
632 Requires: %{name} = %{version}-%{release}
635 %description module-pltcl
636 From PostgreSQL documentation:
638 Postgres supports the definition of procedural languages. In the case
639 of a function or trigger procedure defined in a procedural language,
640 the database has no built-in knowledge about how to interpret the
641 function's source text. Instead, the task is passed to a handler that
642 knows the details of the language. The handler itself is a special
643 programming language function compiled into a shared object and loaded
646 To enable PL/Tcl procedural language for your database you have to run
649 %description module-pltcl -l pl.UTF-8
650 Z dokumentacji PostgreSQL:
652 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
653 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
654 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
655 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
656 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
657 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
660 Za pomocą polecenia createlang można dodać obsługę języka
661 proceduralnego PL/Tcl dla swojej bazy danych.
663 %package module-dblink
664 Summary: dblink module for PostgreSQL
665 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
666 Group: Applications/Databases
667 Requires: %{name} = %{version}-%{release}
669 %description module-dblink
670 dblink module for PostgreSQL provides functions returning results from
673 %description module-dblink -l pl.UTF-8
674 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
678 Summary: Large Objects module for PostgreSQL
679 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
680 Group: Applications/Databases
681 Requires: %{name} = %{version}-%{release}
683 %description module-lo
684 Large Objects module for PostgreSQL adds a new data type 'lo', some
685 support functions and a trigger which handles the orphaning problem.
687 %description module-lo -l pl.UTF-8
688 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
689 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
690 osieroconych obiektów.
692 %package module-pg_trgm
693 Summary: Trigram matching for PostgreSQL
694 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
695 Group: Applications/Databases
696 Requires: %{name} = %{version}-%{release}
698 %description module-pg_trgm
699 This module provides functions and index classes for determining the
700 similarity of text based on trigram matching.
702 %description module-pg_trgm -l pl.UTF-8
703 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
704 w oparciu o dopasowywanie trigramowe (trigram matching).
706 %package module-pgcrypto
707 Summary: Cryptographic functions for PostgreSQL
708 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
709 Group: Applications/Databases
710 Requires: %{name} = %{version}-%{release}
712 %description module-pgcrypto
713 Cryptographic functions for PostgreSQL.
715 %description module-pgcrypto -l pl.UTF-8
716 Funkcje kryptograficzne dla PostgreSQL.
718 %package module-sepgsql
719 Summary: PostgreSQL external security provider using SELinux
720 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
721 Group: Applications/Databases
722 Requires: %{name} = %{version}-%{release}
723 Requires: libselinux >= 2.1.10
725 %description module-sepgsql
726 PostgreSQL external security provider using SELinux.
728 %description module-sepgsql -l pl.UTF-8
729 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
731 %package module-tablefunc
732 Summary: crosstab functions for PostgreSQL
733 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
734 Group: Applications/Databases
735 Requires: %{name} = %{version}-%{release}
737 %description module-tablefunc
738 crosstab functions for PostgreSQL.
740 %description module-tablefunc -l pl.UTF-8
741 Funkcje crosstab dla PostgreSQL-a.
744 Summary: XML-handling functions for PostgreSQL
745 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
746 Group: Applications/Databases
747 Requires: %{name} = %{version}-%{release}
748 Requires: libxml2 >= 1:2.6.23
750 %description module-xml2
751 Module with XML functions provides both XPath querying and XSLT
752 functionality. There is also a new table function which allows the
753 straightforward return of multiple XML results.
755 %description module-xml2 -l pl.UTF-8
756 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
757 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
758 bezpośrednie zwracanie wielu wyników XML.
761 Summary: Miscellaneous PostgreSQL contrib modules
762 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
763 Group: Applications/Databases
764 Requires: %{name} = %{version}-%{release}
767 Miscellaneous PostgreSQL contrib modules.
769 %description contrib -l pl.UTF-8
770 Różne moduły dołączone do PostgreSQL-a.
775 %{?with_absolute_dbpaths:%patch1 -p1}
782 # force rebuild of bison/flex files
783 find src -name \*.l -o -name \*.y | xargs touch
786 #find contrib -type d -name CVS -exec rm -rf {} \;
789 %{__aclocal} -I config
793 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
796 %{?with_systemtap:--enable-dtrace} \
797 --enable-integer-datetimes \
799 --enable-thread-safety \
800 %{?with_bonjour:--with-bonjour} \
801 %{?with_kerberos5:--with-gssapi} \
802 %{?with_ldap:--with-ldap} \
803 %{?with_llvm:--with-llvm} \
808 %{?with_perl:--with-perl} \
809 %{?with_python:--with-python} \
810 %{?with_selinux:--with-selinux} \
811 --with-system-tzdata=%{_datadir}/zoneinfo \
812 %{?with_systemd:--with-systemd} \
813 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
818 for mod in %{contrib_modules}; do \
819 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
820 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
821 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
822 %{__make} -C contrib/$mod CFLAGS="$flags"
825 %{__make} -C src/tutorial \
828 %ifnarch sparc sparcv9 sparc64 alpha
829 %{?with_tests:%{__make} -j1 check}
833 rm -rf $RPM_BUILD_ROOT
834 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
835 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
836 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
837 $RPM_BUILD_ROOT%{_mandir} \
838 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
839 $RPM_BUILD_ROOT/home/services/postgres
841 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
844 DESTDIR=$RPM_BUILD_ROOT
845 %{__make} -C doc/src/sgml install-man \
846 DESTDIR=$RPM_BUILD_ROOT
849 %{__make} install -C src/pl/plperl \
850 DESTDIR=$RPM_BUILD_ROOT
853 for mod in %{contrib_modules}; do \
854 %{__make} -C contrib/$mod install \
855 DESTDIR=$RPM_BUILD_ROOT
858 touch $RPM_BUILD_ROOT/var/log/pgsql
860 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
861 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
863 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
864 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
865 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
868 tar zxf %{SOURCE2} -C howto
871 %py_comp $RPM_BUILD_ROOT%{py_libdir}
872 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
876 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
877 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
878 pg_archivecleanup pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_verify_checksums pg_waldump; do
879 %find_lang $f-%{mver}
883 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
885 merge_lang pgscripts postgres plpgsql \
886 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_verify_checksums pg_waldump > main.lang
887 merge_lang psql initdb \
888 pg_archivecleanup pg_ctl pg_dump > clients.lang
889 merge_lang ecpg ecpglib6 > ecpg.lang
892 %find_lang pltcl-%{mver}
896 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
899 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
901 # package it...? nah, why bother.
902 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
905 rm -rf $RPM_BUILD_ROOT
909 if [ -f /etc/sysconfig/postgresql ]; then
910 . /etc/sysconfig/postgresql
911 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
912 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
916 for pgdir in $PG_DB_CLUSTERS; do
917 if [ -f $pgdir/PG_VERSION ]; then
918 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
919 echo "Found database(s) in older, incompatible format in cluster $pgdir."
924 if [ "$foundold" = "1" ]; then
926 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
927 echo "and clean (or rename) those directories; then upgrade postgresql and"
928 echo "restore all data (using pg_restore or psql)."
929 echo "Remember to stop the daemon before upgrading!"
931 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
932 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
934 echo "Warning for upgrade from version *before* 7.2."
935 echo "Please note, that postgresql module path changed from"
936 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
937 echo "in dump file before restore."
939 echo "Warning for upgrade from version *before* 7.3."
940 echo "Reading following webpage is encouraged:"
941 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
944 %groupadd -g 88 -r postgres
945 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
947 %triggerpostun -- %{name} < 7.2-2
948 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
949 /usr/sbin/usermod -d /home/services/postgres postgres
953 /sbin/chkconfig --add postgresql
954 %service postgresql restart "postgresql server"
955 if [ "$1" -eq "1" ]; then
957 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
958 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
959 for pgdir in $PG_DB_CLUSTERS; do
960 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
961 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
964 %systemd_post postgresql.service
967 if [ "$1" = "0" ]; then
968 %service postgresql stop
969 /sbin/chkconfig --del postgresql
972 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
973 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
974 for pgdir in $PG_DB_CLUSTERS; do
975 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
976 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
979 %systemd_preun postgresql.service
984 %triggerpostun -- %{name} < 9.3.3-2
986 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
987 for pgdir in $PG_DB_CLUSTERS; do
988 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
989 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
991 %systemd_trigger postgresql.service
993 %post libs -p /sbin/ldconfig
994 %postun libs -p /sbin/ldconfig
996 %post ecpg -p /sbin/ldconfig
997 %postun ecpg -p /sbin/ldconfig
1000 %defattr(644,root,root,755)
1001 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
1002 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1003 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1004 %{systemdunitdir}/%{name}.service
1005 %{systemdunitdir}/%{name}@.service
1006 %{systemdunitdir}/%{name}.target
1007 %dir /etc/systemd/system/%{name}.target.requires
1009 %attr(755,root,root) %{_bindir}/initdb
1010 %attr(755,root,root) %{_bindir}/pg_basebackup
1011 %attr(755,root,root) %{_bindir}/pg_controldata
1012 %attr(755,root,root) %{_bindir}/pg_ctl
1013 %attr(755,root,root) %{_bindir}/pg_resetwal
1014 %attr(755,root,root) %{_bindir}/pg_receivewal
1015 %attr(755,root,root) %{_bindir}/pg_recvlogical
1016 %attr(755,root,root) %{_bindir}/pg_rewind
1017 %attr(755,root,root) %{_bindir}/pg_test_fsync
1018 %attr(755,root,root) %{_bindir}/pg_test_timing
1019 %attr(755,root,root) %{_bindir}/pg_upgrade
1020 %attr(755,root,root) %{_bindir}/pg_verify_checksums
1021 %attr(755,root,root) %{_bindir}/pg_waldump
1022 %attr(755,root,root) %{_bindir}/pgbench
1023 %attr(755,root,root) %{_bindir}/postgres
1024 %attr(755,root,root) %{_bindir}/postmaster
1026 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1027 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1028 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1029 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1030 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1031 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1032 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1033 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1034 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1035 %attr(755,root,root) %{_pgmoduledir}/pgoutput.so
1036 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1037 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1039 %{_pgmoduledir}/bitcode
1040 %attr(755,root,root) %{_pgmoduledir}/llvmjit.so
1041 %{_pgmoduledir}/llvmjit_types.bc
1046 %{_pgsqldir}/plpgsql--*.sql
1047 %{_pgsqldir}/plpgsql.control
1049 %dir %{_datadir}/postgresql
1050 %{_datadir}/postgresql/*.bki
1051 %{_datadir}/postgresql/*.sample
1052 %{_datadir}/postgresql/*.description
1053 %{_datadir}/postgresql/*.shdescription
1054 %{_datadir}/postgresql/*.sql
1055 %{_datadir}/postgresql/*.txt
1056 %{_datadir}/postgresql/timezonesets
1057 %{_datadir}/postgresql/tsearch_data
1059 %dir %{_datadir}/postgresql/contrib
1061 %attr(700,postgres,postgres) /home/services/postgres
1062 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1063 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1065 %{_mandir}/man1/initdb.1*
1066 %{_mandir}/man1/pg_basebackup.1*
1067 %{_mandir}/man1/pg_controldata.1*
1068 %{_mandir}/man1/pg_ctl.1*
1069 %{_mandir}/man1/pg_resetwal.1*
1070 %{_mandir}/man1/pg_receivewal.1*
1071 %{_mandir}/man1/pg_recvlogical.1*
1072 %{_mandir}/man1/pg_rewind.1*
1073 %{_mandir}/man1/pg_waldump.1*
1074 %{_mandir}/man1/pg_test_fsync.1*
1075 %{_mandir}/man1/pg_test_timing.1*
1076 %{_mandir}/man1/pg_upgrade.1*
1077 %{_mandir}/man1/pg_verify_checksums.1*
1078 %{_mandir}/man1/pgbench.1*
1079 %{_mandir}/man1/postgres.1*
1080 %{_mandir}/man1/postmaster.1*
1083 %defattr(644,root,root,755)
1084 %doc doc/src/sgml/html howto
1085 %{_examplesdir}/%{name}-%{version}
1087 %files libs -f libpq5-%{mver}.lang
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1090 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1091 %dir %{_pgmoduledir}
1093 %files ecpg -f ecpg.lang
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{_bindir}/ecpg
1096 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1097 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1098 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1099 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1100 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1101 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1102 %{_mandir}/man1/ecpg.1*
1105 %defattr(644,root,root,755)
1106 %attr(755,root,root) %{_libdir}/libecpg.so
1107 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1108 %attr(755,root,root) %{_libdir}/libpgtypes.so
1109 %{_includedir}/ecpg*
1110 %{_pkgconfigdir}/libecpg.pc
1111 %{_pkgconfigdir}/libecpg_compat.pc
1112 %{_pkgconfigdir}/libpgtypes.pc
1114 %files devel -f pg_config-%{mver}.lang
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_bindir}/pg_config
1117 %attr(755,root,root) %{_libdir}/libpq.so
1118 %dir %{_includedir}/postgresql
1119 %{_includedir}/libpq-events.h
1120 %{_includedir}/libpq-fe.h
1121 %{_includedir}/pg_config.h
1122 %{_includedir}/pg_config_ext.h
1123 %{_includedir}/pg_config_manual.h
1124 %{_includedir}/pg_config_os.h
1125 %{_includedir}/postgres_ext.h
1126 %dir %{_includedir}/postgresql/internal
1127 %{_includedir}/postgresql/internal/c.h
1128 %{_includedir}/postgresql/internal/libpq-int.h
1129 %{_includedir}/postgresql/internal/port.h
1130 %{_includedir}/postgresql/internal/postgres_fe.h
1131 %{_includedir}/postgresql/internal/pqexpbuffer.h
1132 %{_includedir}/postgresql/internal/libpq
1133 %{_includedir}/libpq
1134 %{_pkgconfigdir}/libpq.pc
1135 %{_mandir}/man1/pg_config.1*
1137 %files backend-devel
1138 %defattr(644,root,root,755)
1139 %{_includedir}/postgresql/server
1140 %dir %{_pgmoduledir}/pgxs
1141 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1142 %{_pgmoduledir}/pgxs/src
1143 %{_mandir}/man3/SPI_*.3*
1146 %defattr(644,root,root,755)
1147 %{_libdir}/libecpg.a
1148 %{_libdir}/libecpg_compat.a
1150 %{_libdir}/libpgcommon.a
1151 %{_libdir}/libpgfeutils.a
1152 %{_libdir}/libpgtypes.a
1153 %{_libdir}/libpgport.a
1155 %files clients -f clients.lang
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_bindir}/clusterdb
1158 %attr(755,root,root) %{_bindir}/createdb
1159 %attr(755,root,root) %{_bindir}/createuser
1160 %attr(755,root,root) %{_bindir}/dropdb
1161 %attr(755,root,root) %{_bindir}/dropuser
1162 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1163 %attr(755,root,root) %{_bindir}/pg_dump
1164 %attr(755,root,root) %{_bindir}/pg_dumpall
1165 %attr(755,root,root) %{_bindir}/pg_isready
1166 %attr(755,root,root) %{_bindir}/pg_restore
1167 %attr(755,root,root) %{_bindir}/psql
1168 %attr(755,root,root) %{_bindir}/reindexdb
1169 %attr(755,root,root) %{_bindir}/vacuumdb
1171 %{_mandir}/man1/clusterdb.1*
1172 %{_mandir}/man1/createdb.1*
1173 %{_mandir}/man1/createuser.1*
1174 %{_mandir}/man1/dropdb.1*
1175 %{_mandir}/man1/dropuser.1*
1176 %{_mandir}/man1/pg_archivecleanup.1*
1177 %{_mandir}/man1/pg_dump.1*
1178 %{_mandir}/man1/pg_dumpall.1*
1179 %{_mandir}/man1/pg_isready.1*
1180 %{_mandir}/man1/pg_restore.1*
1181 %{_mandir}/man1/psql.1*
1182 %{_mandir}/man1/reindexdb.1*
1183 %{_mandir}/man1/vacuumdb.1*
1184 %{_mandir}/man7/*.7*
1187 %files module-plperl -f plperl-%{mver}.lang
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1190 %{_pgsqldir}/plperl--*.sql
1191 %{_pgsqldir}/plperl.control
1192 %{_pgsqldir}/plperlu--*.sql
1193 %{_pgsqldir}/plperlu.control
1197 %files module-plpython -f plpython-%{mver}.lang
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1200 %{_pgsqldir}/plpython*--*.sql
1201 %{_pgsqldir}/plpython*.control
1205 %files module-pltcl -f pltcl-%{mver}.lang
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1208 %{_pgsqldir}/pltcl*--*.sql
1209 %{_pgsqldir}/pltcl*.control
1212 %files module-dblink
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1215 %{_pgsqldir}/dblink--*.sql
1216 %{_pgsqldir}/dblink.control
1217 %{_mandir}/man3/dblink*.3*
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_pgmoduledir}/lo.so
1222 %{_pgsqldir}/lo--*.sql
1223 %{_pgsqldir}/lo.control
1225 %files module-pg_trgm
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1228 %{_pgsqldir}/pg_trgm--*.sql
1229 %{_pgsqldir}/pg_trgm.control
1231 %files module-pgcrypto
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1234 %{_pgsqldir}/pgcrypto--*.sql
1235 %{_pgsqldir}/pgcrypto.control
1238 %files module-sepgsql
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1241 %{_pgsqldir}/sepgsql.sql
1244 %files module-tablefunc
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1247 %{_pgsqldir}/*tablefunc--*.sql
1248 %{_pgsqldir}/*tablefunc.control
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1253 %{_pgsqldir}/xml2--*.sql
1254 %{_pgsqldir}/xml2.control
1257 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_bindir}/oid2name
1260 %attr(755,root,root) %{_bindir}/pg_standby
1261 %attr(755,root,root) %{_bindir}/vacuumlo
1262 %attr(755,root,root) %{_pgmoduledir}/_int.so
1263 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1264 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1265 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1266 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1267 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1268 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1269 %attr(755,root,root) %{_pgmoduledir}/citext.so
1270 %attr(755,root,root) %{_pgmoduledir}/cube.so
1271 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1272 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1273 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1274 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1275 %attr(755,root,root) %{_pgmoduledir}/isn.so
1276 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1277 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1278 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1279 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1280 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1281 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1282 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1283 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1284 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1285 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1286 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1287 %attr(755,root,root) %{_pgmoduledir}/seg.so
1288 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1289 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1290 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1291 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1292 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1293 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1294 %{_pgsqldir}/adminpack--*.sql
1295 %{_pgsqldir}/adminpack.control
1296 %{_pgsqldir}/bloom--*.sql
1297 %{_pgsqldir}/bloom.control
1298 %{_pgsqldir}/btree_gin--*.sql
1299 %{_pgsqldir}/btree_gin.control
1300 %{_pgsqldir}/btree_gist--*.sql
1301 %{_pgsqldir}/btree_gist.control
1302 %{_pgsqldir}/citext--*.sql
1303 %{_pgsqldir}/citext.control
1304 %{_pgsqldir}/cube--*.sql
1305 %{_pgsqldir}/cube.control
1306 %{_pgsqldir}/dict_int--*.sql
1307 %{_pgsqldir}/dict_int.control
1308 %{_pgsqldir}/dict_xsyn--*.sql
1309 %{_pgsqldir}/dict_xsyn.control
1310 %{_pgsqldir}/earthdistance--*.sql
1311 %{_pgsqldir}/earthdistance.control
1312 %{_pgsqldir}/file_fdw--*.sql
1313 %{_pgsqldir}/file_fdw.control
1314 %{_pgsqldir}/fuzzystrmatch--*.sql
1315 %{_pgsqldir}/fuzzystrmatch.control
1316 %{_pgsqldir}/hstore--*.sql
1317 %{_pgsqldir}/hstore.control
1318 %{_pgsqldir}/intarray--*.sql
1319 %{_pgsqldir}/intarray.control
1320 %{_pgsqldir}/intagg--*.sql
1321 %{_pgsqldir}/intagg.control
1322 %{_pgsqldir}/isn--*.sql
1323 %{_pgsqldir}/isn.control
1324 %{_pgsqldir}/ltree--*.sql
1325 %{_pgsqldir}/ltree.control
1326 %{_pgsqldir}/pageinspect--*.sql
1327 %{_pgsqldir}/pageinspect.control
1328 %{_pgsqldir}/pg_buffercache--*.sql
1329 %{_pgsqldir}/pg_buffercache.control
1330 %{_pgsqldir}/pg_freespacemap--*.sql
1331 %{_pgsqldir}/pg_freespacemap.control
1332 %{_pgsqldir}/pg_prewarm--*.sql
1333 %{_pgsqldir}/pg_prewarm.control
1334 %{_pgsqldir}/pg_stat_statements--*.sql
1335 %{_pgsqldir}/pg_stat_statements.control
1336 %{_pgsqldir}/pg_visibility--*.sql
1337 %{_pgsqldir}/pg_visibility.control
1338 %{_pgsqldir}/pgrowlocks--*.sql
1339 %{_pgsqldir}/pgrowlocks.control
1340 %{_pgsqldir}/pgstattuple--*.sql
1341 %{_pgsqldir}/pgstattuple.control
1342 %{_pgsqldir}/postgres_fdw--*.sql
1343 %{_pgsqldir}/postgres_fdw.control
1344 %{_pgsqldir}/seg--*.sql
1345 %{_pgsqldir}/seg.control
1346 %{_pgsqldir}/sslinfo--*.sql
1347 %{_pgsqldir}/sslinfo.control
1348 %{_pgsqldir}/tcn--*.sql
1349 %{_pgsqldir}/tcn.control
1350 %{_pgsqldir}/tsm_system_rows--*.sql
1351 %{_pgsqldir}/tsm_system_rows.control
1352 %{_pgsqldir}/tsm_system_time--*.sql
1353 %{_pgsqldir}/tsm_system_time.control
1354 %{_pgsqldir}/unaccent--*.sql
1355 %{_pgsqldir}/unaccent.control
1356 %{_pgsqldir}/uuid-ossp--*.sql
1357 %{_pgsqldir}/uuid-ossp.control
1359 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1360 %{_pgsqldir}/hstore_plperl--*.sql
1361 %{_pgsqldir}/hstore_plperl.control
1362 %{_pgsqldir}/hstore_plperlu--*.sql
1363 %{_pgsqldir}/hstore_plperlu.control
1366 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1367 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1368 %{_pgsqldir}/hstore_plpythonu--*.sql
1369 %{_pgsqldir}/hstore_plpythonu.control
1370 %{_pgsqldir}/hstore_plpython2u--*.sql
1371 %{_pgsqldir}/hstore_plpython2u.control
1372 %{_pgsqldir}/hstore_plpython3u--*.sql
1373 %{_pgsqldir}/hstore_plpython3u.control
1374 %{_pgsqldir}/ltree_plpythonu--*.sql
1375 %{_pgsqldir}/ltree_plpythonu.control
1376 %{_pgsqldir}/ltree_plpython2u--*.sql
1377 %{_pgsqldir}/ltree_plpython2u.control
1378 %{_pgsqldir}/ltree_plpython3u--*.sql
1379 %{_pgsqldir}/ltree_plpython3u.control
1381 %{_mandir}/man1/oid2name.1*
1382 %{_mandir}/man1/pg_standby.1*
1383 %{_mandir}/man1/vacuumlo.1*