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: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
42 # Source0-md5: 8e8770c289b3e0bdb779b5b171593479
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}-link.patch
57 URL: http://www.postgresql.org/
58 BuildRequires: autoconf >= 2.69
59 BuildRequires: automake
60 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
61 # not needed for releases... but fixes something in snapshot
62 BuildRequires: bison >= 1.875
63 BuildRequires: docbook-dtd42-sgml
64 BuildRequires: docbook-dtd42-xml
65 BuildRequires: docbook-style-xsl
66 BuildRequires: flex >= 2.5.31
67 BuildRequires: gettext-tools
68 BuildRequires: gnome-doc-tools
69 %{?with_kerberos5:BuildRequires: heimdal-devel}
70 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
71 BuildRequires: libtool
72 BuildRequires: libxml2-devel >= 1:2.6.23
73 BuildRequires: libxslt-devel
74 BuildRequires: libxslt-progs
75 BuildRequires: ncurses-devel >= 5.0
76 %{?with_ldap:BuildRequires: openldap-devel}
77 BuildRequires: openssl-devel >= 0.9.7d
78 BuildRequires: ossp-uuid-devel
79 BuildRequires: pam-devel
80 %{?with_perl:BuildRequires: perl-devel}
82 BuildRequires: python >= 1:2.3
83 BuildRequires: python-devel >= 1:2.3
84 BuildRequires: python-modules >= 1:2.3
86 BuildRequires: readline-devel >= 4.2
87 BuildRequires: rpmbuild(macros) >= 1.671
88 %{?with_systemd:BuildRequires: systemd-devel >= 1:209}
89 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
90 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
91 %{?with_tests:BuildRequires: tzdata}
92 BuildRequires: zlib-devel
93 Requires(post,preun): /sbin/chkconfig
94 Requires(pre): /bin/id
95 Requires(pre): /usr/bin/getgid
96 Requires(pre): /usr/sbin/groupadd
97 Requires(pre): /usr/sbin/useradd
98 Requires(triggerpostun): /bin/id
99 Requires(triggerpostun): /usr/sbin/usermod
100 Requires: %{name}-clients >= %{version}-%{release}
101 Requires: %{name}-libs = %{version}-%{release}
102 Requires: rc-scripts >= 0.4.3.0
103 Requires: systemd-units >= 38
105 Obsoletes: postgresql-module-plpgsql
106 Obsoletes: postgresql-module-tsearch2
107 Obsoletes: postgresql-server
108 Obsoletes: postgresql-test
109 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
111 %define _pgmoduledir %{_libdir}/postgresql
112 %define _pgsqldir %{_datadir}/postgresql/extension
114 %define _ulibdir /usr/lib
117 # spi, test_decoding, worker_spi - examples/tests
118 # tsearch2 - old module for compatibility only
119 %define contrib_modules adminpack auth_delay auto_explain bloom btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore %{?with_perl:hstore_plperl} %{?with_python:hstore_plpython} intagg intarray isn lo ltree %{?with_python:ltree_plpython} oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pg_visibility pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn tsm_system_rows tsm_system_time unaccent uuid-ossp vacuumlo xml2
122 PostgreSQL Data Base Management System (formerly known as Postgres,
125 PostgreSQL is an enhancement of the POSTGRES database management
126 system, a next-generation DBMS research prototype. While PostgreSQL
127 retains the powerful data model and rich data types of POSTGRES, it
128 replaces the PostQuel query language with an extended subset of SQL.
129 PostgreSQL is free and the complete source is available.
131 PostgreSQL development is being performed by a team of Internet
132 developers who all subscribe to the PostgreSQL development mailing
133 list. The current coordinator is Marc G. Fournier
134 (scrappy@postgreSQL.org). This team is now responsible for all current
135 and future development of PostgreSQL.
137 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
138 others have contributed to the porting, testing, debugging and
139 enhancement of the code. The original Postgres code, from which
140 PostgreSQL is derived, was the effort of many graduate students,
141 undergraduate students, and staff programmers working under the
142 direction of Professor Michael Stonebraker at the University of
143 California, Berkeley.
145 The original name of the software at Berkeley was Postgres. When SQL
146 functionality was added in 1995, its name was changed to Postgres95.
147 The name was changed at the end of 1996 to PostgreSQL.
149 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
150 and most flavours of Unix.
152 %description -l de.UTF-8
153 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
156 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
157 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
158 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
159 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
160 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
163 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
164 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
165 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
166 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
168 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
169 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
170 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
171 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
172 Studenten und Programmierern unter der Leitung von Professor Michael
173 Stonebraker an der University of California, Berkeley.
175 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
176 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
177 entschied man sich für PostgreSQL.
179 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
180 und den meisten Unix-Systemen.
182 %description -l es.UTF-8
183 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
184 como Postgres, y después como Postgres95). PostgreSQL es una
185 continuación mejorada del Sistema Administrador de Banco de Datos
186 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
187 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
188 los varios tipos de datos del POSTGRES, substituye el lenguaje de
189 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
190 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
191 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
192 en la lista de desarrollo del PostgreSQL. El coordinador actual es
193 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
194 responsable por el desarrollo actual y futuro del PostgreSQL.
196 %description -l fr.UTF-8
197 Système de gestion de bases de données PostgreSQL (D'abord nommé
198 Postgres, puis Postgres95).
200 PostgreSQL est une amélioration du système de gestion de bases de
201 données POSTGRES, un prototype de recherche de la génération suivant
202 DBMS. Tout en conservant le puissant modèle de donnée de et les types
203 de donée riches de Postgres, il remplace le langage de requêtes de
204 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
205 libre, et ses sources sont disponibles.
207 Le développement de PostgreSQL est actuellement réalisé via internet
208 parune équipe de développeurs inscrits sur la mailing-list de
209 développement de PostgreSQL. Le coordinateur actuel est Marc G
210 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
211 développemen actuel et à venir de PostgreSQL.
213 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
214 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
215 l'amélioration du code. Le code original de Postgres, duquel
216 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
217 moins haut niveau, et de programmeurs travaillant sous la direction du
218 professeur Michael Stonebraker à l'université de Berkeley Californie.
220 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
221 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
222 rebaptisé PostgreSQL en 1996.
224 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
225 et la plupart des Unix.
227 %description -l pl.UTF-8
228 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
229 Postgres, następnie jako Postgres95).
231 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
232 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
233 model danych oraz bogaty zbiór różnych typów danych, to jednak język
234 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
235 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
238 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
239 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
240 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
241 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
243 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
244 innych pomagało przenosząc na różne platformy, testując, analizując i
245 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
246 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
247 zespołu programistów, którzy pracowali pod kierunkiem profesora
248 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
250 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
251 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
252 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
255 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
256 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
258 %description -l pt_BR.UTF-8
259 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
260 Postgres, e depois como Postgres95).
262 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
263 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
264 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
265 dados e os vários tipos de dados do POSTGRES, ele substitui a
266 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
267 PostgreSQL é livre e tem os fontes disponíveis.
269 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
270 desenvolvedores da Internet, todos subscritores da lista de
271 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
272 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
273 desenvolvimento atual e futuro do PostgreSQL.
275 %description -l ru.UTF-8
276 PostgreSQL - система управления базами данных (прежде известная как
277 Postgres, потом как Postgres95).
279 PostgreSQL - это расширенная версия системы управления базами данных
280 POSTGRES, исследовательского прототипа DBMS следующей генерации.
281 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
282 она заменяет язык запросов PostQuel расширенным набором SQL.
283 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
286 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
287 на список рассылки, посвященный разработке PostgreSQL. В настоящее
288 время координатором является Marc G. Fournier
289 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
290 все текущие и будущие разработки PostgreSQL.
292 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
293 свой вклад в портирование, тестирование, отладку и улучшение кода.
294 Оригинальный код Postgres, от которого произошел PostgreSQL, был
295 создан усилиями студентов, аспирантов и персонала, работающего под
296 руководством профессора Michael Stonebraker в University of
297 California, Berkeley.
299 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
300 была добавлена функциональность SQL, название изменилось на
301 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
304 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
305 и большинстве других разновидностей Unix.
307 %description -l tr.UTF-8
308 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
309 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
310 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
311 sorgulama dilini koyar.
313 %description -l uk.UTF-8
314 PostgreSQL - система керування базами даних (раніш відома як Postgres,
315 потім як Postgres95).
317 PostgreSQL - це розширена версія системи керування базами даних
318 POSTGRES, дослідницького прототипу DBMS наступної генерації.
319 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
320 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
321 безкоштовна та поставляється у вигляді повного комплекту вихідних
324 PostgreSQL розробляється командою Internet-програмістів, учасників
325 списку розсилки, присвяченого розробці PostgreSQL. Наразі
326 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
327 відповідає за всі поточні та майбутні розробки PostgreSQL.
329 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
330 внесли свій внесок в портування, тестування, відладку та покращення
331 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
332 створений зусиллями студентів, аспірантів та персоналу, який працював
333 під керівництвом професора Michael Stonebraker в University of
334 California, Berkeley.
336 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
337 було додано функціональність SQL, назва змінилася на Postgres95. В
338 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
340 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
341 та більшості інших різновидів Unix.
344 Summary: PostgreSQL development header files and libraries
345 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
346 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
347 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
348 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
349 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
350 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
351 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
352 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
353 Group: Development/Libraries
354 Requires: %{name}-libs = %{version}-%{release}
357 This package contains header files and libraries required to compile
358 applications that are talking directly to the PostgreSQL backend
361 %description devel -l de.UTF-8
362 Dieses Paket enthält die Header-Dateien und Libraries, die zum
363 Kompilieren von Applikationen notwendig sind, die direkt mit dem
364 PostgreSQL-Backend-Server kommunizieren.
366 %description devel -l es.UTF-8
367 Este paquete contiene archivos de inclusión y bibliotecas requeridas
368 para compilación de aplicativos que se comunican directamente con el
369 servidor backend PostgreSQL.
371 %description devel -l fr.UTF-8
372 Ce package contient les fichiers d'en-tête et les bibliothéques
373 nécessaires pour compiler des applications ayant des échanges directs
374 avec le serveur du backend PostgreSQL.
376 %description devel -l pl.UTF-8
377 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
378 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
380 %description devel -l pt_BR.UTF-8
381 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
382 compilação de aplicativos que se comunicam diretamente com o servidor
385 %description devel -l ru.UTF-8
386 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
387 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
389 %description devel -l tr.UTF-8
390 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
391 gereken başlık dosyalarını ve kitaplıkları içerir.
393 %description devel -l uk.UTF-8
394 Цей пакет містить хедери та бібліотеки, необхідні для розробки
395 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
397 %package backend-devel
398 Summary: PostgreSQL backend development header files
399 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
400 Group: Development/Libraries
401 Requires: %{name}-devel = %{version}-%{release}
402 Requires: %{name}-libs = %{version}-%{release}
404 %description backend-devel
405 This package contains header files required to compile functions that
406 could be loaded directly by backend
408 %description backend-devel -l pl.UTF-8
409 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
410 bezposrednio ladowane przez beckend serwera PostgreSQL.
413 Summary: Clients needed to access a PostgreSQL server
414 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
415 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
416 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
417 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
418 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
419 Group: Applications/Databases
420 Requires: %{name}-libs = %{version}-%{release}
423 This package includes only the clients needed to access an PostgreSQL
424 server. The server is included in the main package. If all you need is
425 to connect to another PostgreSQL server, the this is the only package
426 you need to install. Clients include several command-line utilities
427 you can use to manage your databases on a remote PostgreSQL server.
429 %description clients -l es.UTF-8
430 Este paquete incluye solamente los clientes necesarios para acceder un
431 servidor PostgreSQL. El servidor está en el paquete principal.
433 %description clients -l pl.UTF-8
434 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
435 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
436 poleceń. Serwer znajduje się w głównym pakiecie.
438 %description clients -l pt_BR.UTF-8
439 Este pacote inclui somente os clientes necessários para acessar um
440 servidor PostgreSQL. O servidor está no pacote principal.
442 %description clients -l ru.UTF-8
443 Этот пакет включает только клиентские программы и библиотеки,
444 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
445 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
446 единственный пакет, который вам надо установить.
448 Теперь пакеты с библиотеками для разных языков программирования (C,
449 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
452 %description clients -l uk.UTF-8
453 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
454 для доступу до сервера PostgreSQL. Сервер міститься в головному
455 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
456 єдиний пакет, який вам треба встановити.
458 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
459 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
462 Summary: Documentation for PostgreSQL
463 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
464 Group: Applications/Databases
467 This package includes documentation and HOWTO for programmer, admin
468 etc., in HTML format.
470 %description doc -l pl.UTF-8
471 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
472 administratorów w formacie HTML.
475 Summary: PostgreSQL libraries
476 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
477 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
478 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
479 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
483 PostgreSQL shared libraries.
485 %description libs -l es.UTF-8
486 Este paquete contiene la biblioteca compartida para acceso al
489 %description libs -l pl.UTF-8
490 Biblioteki dzielone programu PostgreSQL.
492 %description libs -l pt_BR.UTF-8
493 Este pacote contém a biblioteca compartilhada para acesso ao
497 Summary: Embedded SQL in C interface
498 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
500 Requires: %{name}-libs = %{version}-%{release}
503 Embedded SQL in C interface.
505 %description ecpg -l pl.UTF-8
506 Interfejs wbudowanego SQL-a w język C.
509 Summary: Embedded SQL in C interface files
510 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
511 Group: Development/Libraries
512 Requires: %{name}-devel = %{version}-%{release}
513 Requires: %{name}-ecpg = %{version}-%{release}
515 %description ecpg-devel
516 Embedded SQL in C interface files.
518 %description ecpg-devel -l pl.UTF-8
519 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
522 Summary: PostgreSQL static libraries
523 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
524 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
525 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
526 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
527 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
528 Group: Development/Libraries
529 Requires: %{name}-devel = %{version}-%{release}
532 PostgreSQL static libraries.
534 %description static -l es.UTF-8
535 Este paquete contiene bibliotecas estaticas requerida para compilación
536 de aplicativos que se comunican directamente con el servidor backend
539 %description static -l pl.UTF-8
540 Biblioteki statyczne programu PostgreSQL.
542 %description static -l pt_BR.UTF-8
543 Este pacote contém as bibliotecas estáticas requeridas para compilação
544 de aplicativos que se comunicam diretamente com o servidor backend
547 %description static -l ru.UTF-8
548 Это отдельный пакет со статическими библиотеками, которые больше не
549 входят в %{name}-devel.
551 %description static -l uk.UTF-8
552 Це окремий пакет зі статичними бібліотеками, які більш не входять в
555 %package module-plperl
556 Summary: PL/perl - PostgreSQL procedural language
557 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
558 Group: Applications/Databases
559 Requires: %{name} = %{version}-%{release}
561 %description module-plperl
562 From PostgreSQL documentation:
564 Postgres supports the definition of procedural languages. In the case
565 of a function or trigger procedure defined in a procedural language,
566 the database has no built-in knowledge about how to interpret the
567 function's source text. Instead, the task is passed to a handler that
568 knows the details of the language. The handler itself is a special
569 programming language function compiled into a shared object and loaded
572 To enable PL/Perl procedural language for your database you have to
573 run createlang command.
575 %description module-plperl -l pl.UTF-8
576 Z dokumentacji PostgreSQL:
578 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
579 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
580 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
581 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
582 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
583 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
586 Za pomocą polecenia createlang można dodać obsługę języka
587 proceduralnego PL/Perl dla swojej bazy danych.
589 %package module-plpython
590 Summary: PL/Python - PostgreSQL procedural language
591 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
592 Group: Applications/Databases
593 Requires: %{name} = %{version}-%{release}
594 %pyrequires_eq python
596 %description module-plpython
597 From PostgreSQL documentation:
599 Postgres supports the definition of procedural languages. In the case
600 of a function or trigger procedure defined in a procedural language,
601 the database has no built-in knowledge about how to interpret the
602 function's source text. Instead, the task is passed to a handler that
603 knows the details of the language. The handler itself is a special
604 programming language function compiled into a shared object and loaded
607 To enable PL/Python procedural language for your database you have to
608 run createlang command.
610 %description module-plpython -l pl.UTF-8
611 Z dokumentacji PostgreSQL:
613 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
614 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
615 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
616 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
617 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
618 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
621 Za pomocą polecenia createlang można dodać obsługę języka
622 proceduralnego PL/Python dla swojej bazy danych.
624 %package module-pltcl
625 Summary: PL/Tcl - PostgreSQL procedural language
626 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
627 Group: Applications/Databases
628 Requires: %{name} = %{version}-%{release}
631 %description module-pltcl
632 From PostgreSQL documentation:
634 Postgres supports the definition of procedural languages. In the case
635 of a function or trigger procedure defined in a procedural language,
636 the database has no built-in knowledge about how to interpret the
637 function's source text. Instead, the task is passed to a handler that
638 knows the details of the language. The handler itself is a special
639 programming language function compiled into a shared object and loaded
642 To enable PL/Tcl procedural language for your database you have to run
645 %description module-pltcl -l pl.UTF-8
646 Z dokumentacji PostgreSQL:
648 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
649 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
650 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
651 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
652 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
653 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
656 Za pomocą polecenia createlang można dodać obsługę języka
657 proceduralnego PL/Tcl dla swojej bazy danych.
659 %package module-dblink
660 Summary: dblink module for PostgreSQL
661 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
662 Group: Applications/Databases
663 Requires: %{name} = %{version}-%{release}
665 %description module-dblink
666 dblink module for PostgreSQL provides functions returning results from
669 %description module-dblink -l pl.UTF-8
670 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
674 Summary: Large Objects module for PostgreSQL
675 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
676 Group: Applications/Databases
677 Requires: %{name} = %{version}-%{release}
679 %description module-lo
680 Large Objects module for PostgreSQL adds a new data type 'lo', some
681 support functions and a trigger which handles the orphaning problem.
683 %description module-lo -l pl.UTF-8
684 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
685 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
686 osieroconych obiektów.
688 %package module-pg_trgm
689 Summary: Trigram matching for PostgreSQL
690 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
691 Group: Applications/Databases
692 Requires: %{name} = %{version}-%{release}
694 %description module-pg_trgm
695 This module provides functions and index classes for determining the
696 similarity of text based on trigram matching.
698 %description module-pg_trgm -l pl.UTF-8
699 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
700 w oparciu o dopasowywanie trigramowe (trigram matching).
702 %package module-pgcrypto
703 Summary: Cryptographic functions for PostgreSQL
704 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
705 Group: Applications/Databases
706 Requires: %{name} = %{version}-%{release}
708 %description module-pgcrypto
709 Cryptographic functions for PostgreSQL.
711 %description module-pgcrypto -l pl.UTF-8
712 Funkcje kryptograficzne dla PostgreSQL.
714 %package module-sepgsql
715 Summary: PostgreSQL external security provider using SELinux
716 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
717 Group: Applications/Databases
718 Requires: %{name} = %{version}-%{release}
719 Requires: libselinux >= 2.1.10
721 %description module-sepgsql
722 PostgreSQL external security provider using SELinux.
724 %description module-sepgsql -l pl.UTF-8
725 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
727 %package module-tablefunc
728 Summary: crosstab functions for PostgreSQL
729 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
730 Group: Applications/Databases
731 Requires: %{name} = %{version}-%{release}
733 %description module-tablefunc
734 crosstab functions for PostgreSQL.
736 %description module-tablefunc -l pl.UTF-8
737 Funkcje crosstab dla PostgreSQL-a.
740 Summary: XML-handling functions for PostgreSQL
741 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
742 Group: Applications/Databases
743 Requires: %{name} = %{version}-%{release}
744 Requires: libxml2 >= 1:2.6.23
746 %description module-xml2
747 Module with XML functions provides both XPath querying and XSLT
748 functionality. There is also a new table function which allows the
749 straightforward return of multiple XML results.
751 %description module-xml2 -l pl.UTF-8
752 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
753 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
754 bezpośrednie zwracanie wielu wyników XML.
757 Summary: Miscellaneous PostgreSQL contrib modules
758 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
759 Group: Applications/Databases
760 Requires: %{name} = %{version}-%{release}
763 Miscellaneous PostgreSQL contrib modules.
765 %description contrib -l pl.UTF-8
766 Różne moduły dołączone do PostgreSQL-a.
771 %{?with_absolute_dbpaths:%patch1 -p1}
778 # force rebuild of bison/flex files
779 find src -name \*.l -o -name \*.y | xargs touch
782 #find contrib -type d -name CVS -exec rm -rf {} \;
785 %{__aclocal} -I config
789 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
792 %{?with_systemtap:--enable-dtrace} \
793 --enable-integer-datetimes \
795 --enable-thread-safety \
796 %{?with_bonjour:--with-bonjour} \
797 %{?with_kerberos5:--with-gssapi} \
798 %{?with_ldap:--with-ldap} \
803 %{?with_perl:--with-perl} \
804 %{?with_python:--with-python} \
805 %{?with_selinux:--with-selinux} \
806 --with-system-tzdata=%{_datadir}/zoneinfo \
807 %{?with_systemd:--with-systemd} \
808 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
813 for mod in %{contrib_modules}; do \
814 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
815 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
816 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
817 %{__make} -C contrib/$mod CFLAGS="$flags"
820 %{__make} -C src/tutorial \
823 %ifnarch sparc sparcv9 sparc64 alpha
824 %{?with_tests:%{__make} -j1 check}
828 rm -rf $RPM_BUILD_ROOT
829 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
830 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
831 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
832 $RPM_BUILD_ROOT%{_mandir} \
833 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
834 $RPM_BUILD_ROOT/home/services/postgres
836 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
839 DESTDIR=$RPM_BUILD_ROOT
840 %{__make} -C doc/src/sgml install-man \
841 DESTDIR=$RPM_BUILD_ROOT
844 %{__make} install -C src/pl/plperl \
845 DESTDIR=$RPM_BUILD_ROOT
848 for mod in %{contrib_modules}; do \
849 %{__make} -C contrib/$mod install \
850 DESTDIR=$RPM_BUILD_ROOT
853 touch $RPM_BUILD_ROOT/var/log/pgsql
855 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
856 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
858 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
859 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
860 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
863 tar zxf %{SOURCE2} -C howto
866 %py_comp $RPM_BUILD_ROOT%{py_libdir}
867 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
871 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
872 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
873 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_waldump; do
874 %find_lang $f-%{mver}
878 cat $(for f in $@; do echo ${f}-%{mver}.lang ; done)
880 merge_lang pgscripts postgres plpgsql \
881 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
882 merge_lang psql initdb \
883 pg_archivecleanup pg_ctl pg_dump > clients.lang
884 merge_lang ecpg ecpglib6 > ecpg.lang
887 %find_lang pltcl-%{mver}
891 %{__mv} $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
894 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
896 # package it...? nah, why bother.
897 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
900 rm -rf $RPM_BUILD_ROOT
904 if [ -f /etc/sysconfig/postgresql ]; then
905 . /etc/sysconfig/postgresql
906 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
907 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
911 for pgdir in $PG_DB_CLUSTERS; do
912 if [ -f $pgdir/PG_VERSION ]; then
913 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
914 echo "Found database(s) in older, incompatible format in cluster $pgdir."
919 if [ "$foundold" = "1" ]; then
921 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
922 echo "and clean (or rename) those directories; then upgrade postgresql and"
923 echo "restore all data (using pg_restore or psql)."
924 echo "Remember to stop the daemon before upgrading!"
926 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
927 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
929 echo "Warning for upgrade from version *before* 7.2."
930 echo "Please note, that postgresql module path changed from"
931 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
932 echo "in dump file before restore."
934 echo "Warning for upgrade from version *before* 7.3."
935 echo "Reading following webpage is encouraged:"
936 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
939 %groupadd -g 88 -r postgres
940 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
942 %triggerpostun -- %{name} < 7.2-2
943 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
944 /usr/sbin/usermod -d /home/services/postgres postgres
948 /sbin/chkconfig --add postgresql
949 %service postgresql restart "postgresql server"
950 if [ "$1" -eq "1" ]; then
952 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
953 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
954 for pgdir in $PG_DB_CLUSTERS; do
955 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
956 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
959 %systemd_post postgresql.service
962 if [ "$1" = "0" ]; then
963 %service postgresql stop
964 /sbin/chkconfig --del postgresql
967 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
968 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
969 for pgdir in $PG_DB_CLUSTERS; do
970 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
971 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
974 %systemd_preun postgresql.service
979 %triggerpostun -- %{name} < 9.3.3-2
981 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
982 for pgdir in $PG_DB_CLUSTERS; do
983 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
984 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
986 %systemd_trigger postgresql.service
988 %post libs -p /sbin/ldconfig
989 %postun libs -p /sbin/ldconfig
991 %post ecpg -p /sbin/ldconfig
992 %postun ecpg -p /sbin/ldconfig
995 %defattr(644,root,root,755)
996 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
997 %attr(754,root,root) /etc/rc.d/init.d/postgresql
998 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
999 %{systemdunitdir}/%{name}.service
1000 %{systemdunitdir}/%{name}@.service
1001 %{systemdunitdir}/%{name}.target
1002 %dir /etc/systemd/system/%{name}.target.requires
1004 %attr(755,root,root) %{_bindir}/initdb
1005 %attr(755,root,root) %{_bindir}/pg_basebackup
1006 %attr(755,root,root) %{_bindir}/pg_controldata
1007 %attr(755,root,root) %{_bindir}/pg_ctl
1008 %attr(755,root,root) %{_bindir}/pg_resetwal
1009 %attr(755,root,root) %{_bindir}/pg_receivewal
1010 %attr(755,root,root) %{_bindir}/pg_recvlogical
1011 %attr(755,root,root) %{_bindir}/pg_rewind
1012 %attr(755,root,root) %{_bindir}/pg_test_fsync
1013 %attr(755,root,root) %{_bindir}/pg_test_timing
1014 %attr(755,root,root) %{_bindir}/pg_upgrade
1015 %attr(755,root,root) %{_bindir}/pg_waldump
1016 %attr(755,root,root) %{_bindir}/pgbench
1017 %attr(755,root,root) %{_bindir}/postgres
1018 %attr(755,root,root) %{_bindir}/postmaster
1020 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1021 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1022 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1023 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1024 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1025 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1026 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1027 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1028 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1029 %attr(755,root,root) %{_pgmoduledir}/pgoutput.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_resetwal.1*
1058 %{_mandir}/man1/pg_receivewal.1*
1059 %{_mandir}/man1/pg_recvlogical.1*
1060 %{_mandir}/man1/pg_rewind.1*
1061 %{_mandir}/man1/pg_waldump.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.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}/createuser
1147 %attr(755,root,root) %{_bindir}/dropdb
1148 %attr(755,root,root) %{_bindir}/dropuser
1149 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1150 %attr(755,root,root) %{_bindir}/pg_dump
1151 %attr(755,root,root) %{_bindir}/pg_dumpall
1152 %attr(755,root,root) %{_bindir}/pg_isready
1153 %attr(755,root,root) %{_bindir}/pg_restore
1154 %attr(755,root,root) %{_bindir}/psql
1155 %attr(755,root,root) %{_bindir}/reindexdb
1156 %attr(755,root,root) %{_bindir}/vacuumdb
1158 %{_mandir}/man1/clusterdb.1*
1159 %{_mandir}/man1/createdb.1*
1160 %{_mandir}/man1/createuser.1*
1161 %{_mandir}/man1/dropdb.1*
1162 %{_mandir}/man1/dropuser.1*
1163 %{_mandir}/man1/pg_archivecleanup.1*
1164 %{_mandir}/man1/pg_dump.1*
1165 %{_mandir}/man1/pg_dumpall.1*
1166 %{_mandir}/man1/pg_isready.1*
1167 %{_mandir}/man1/pg_restore.1*
1168 %{_mandir}/man1/psql.1*
1169 %{_mandir}/man1/reindexdb.1*
1170 %{_mandir}/man1/vacuumdb.1*
1171 %{_mandir}/man7/*.7*
1174 %files module-plperl -f plperl-%{mver}.lang
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1177 %{_pgsqldir}/plperl--*.sql
1178 %{_pgsqldir}/plperl.control
1179 %{_pgsqldir}/plperlu--*.sql
1180 %{_pgsqldir}/plperlu.control
1184 %files module-plpython -f plpython-%{mver}.lang
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1187 %{_pgsqldir}/plpython*--*.sql
1188 %{_pgsqldir}/plpython*.control
1192 %files module-pltcl -f pltcl-%{mver}.lang
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1195 %{_pgsqldir}/pltcl*--*.sql
1196 %{_pgsqldir}/pltcl*.control
1199 %files module-dblink
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1202 %{_pgsqldir}/dblink--*.sql
1203 %{_pgsqldir}/dblink.control
1204 %{_mandir}/man3/dblink*.3*
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_pgmoduledir}/lo.so
1209 %{_pgsqldir}/lo--*.sql
1210 %{_pgsqldir}/lo.control
1212 %files module-pg_trgm
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1215 %{_pgsqldir}/pg_trgm--*.sql
1216 %{_pgsqldir}/pg_trgm.control
1218 %files module-pgcrypto
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1221 %{_pgsqldir}/pgcrypto--*.sql
1222 %{_pgsqldir}/pgcrypto.control
1225 %files module-sepgsql
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1228 %{_pgsqldir}/sepgsql.sql
1231 %files module-tablefunc
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1234 %{_pgsqldir}/*tablefunc--*.sql
1235 %{_pgsqldir}/*tablefunc.control
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1240 %{_pgsqldir}/xml2--*.sql
1241 %{_pgsqldir}/xml2.control
1244 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_bindir}/oid2name
1247 %attr(755,root,root) %{_bindir}/pg_standby
1248 %attr(755,root,root) %{_bindir}/vacuumlo
1249 %attr(755,root,root) %{_pgmoduledir}/_int.so
1250 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1251 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1252 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1253 %attr(755,root,root) %{_pgmoduledir}/bloom.so
1254 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1255 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1256 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1257 %attr(755,root,root) %{_pgmoduledir}/citext.so
1258 %attr(755,root,root) %{_pgmoduledir}/cube.so
1259 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1260 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1261 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1262 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1263 %attr(755,root,root) %{_pgmoduledir}/isn.so
1264 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1265 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1266 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1267 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1268 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1269 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1270 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1271 %attr(755,root,root) %{_pgmoduledir}/pg_visibility.so
1272 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1273 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1274 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1275 %attr(755,root,root) %{_pgmoduledir}/seg.so
1276 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1277 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1278 %attr(755,root,root) %{_pgmoduledir}/tsm_system_rows.so
1279 %attr(755,root,root) %{_pgmoduledir}/tsm_system_time.so
1280 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1281 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1282 %{_pgsqldir}/adminpack--*.sql
1283 %{_pgsqldir}/adminpack.control
1284 %{_pgsqldir}/bloom--*.sql
1285 %{_pgsqldir}/bloom.control
1286 %{_pgsqldir}/btree_gin--*.sql
1287 %{_pgsqldir}/btree_gin.control
1288 %{_pgsqldir}/btree_gist--*.sql
1289 %{_pgsqldir}/btree_gist.control
1290 %{_pgsqldir}/chkpass--*.sql
1291 %{_pgsqldir}/chkpass.control
1292 %{_pgsqldir}/citext--*.sql
1293 %{_pgsqldir}/citext.control
1294 %{_pgsqldir}/cube--*.sql
1295 %{_pgsqldir}/cube.control
1296 %{_pgsqldir}/dict_int--*.sql
1297 %{_pgsqldir}/dict_int.control
1298 %{_pgsqldir}/dict_xsyn--*.sql
1299 %{_pgsqldir}/dict_xsyn.control
1300 %{_pgsqldir}/earthdistance--*.sql
1301 %{_pgsqldir}/earthdistance.control
1302 %{_pgsqldir}/file_fdw--*.sql
1303 %{_pgsqldir}/file_fdw.control
1304 %{_pgsqldir}/fuzzystrmatch--*.sql
1305 %{_pgsqldir}/fuzzystrmatch.control
1306 %{_pgsqldir}/hstore--*.sql
1307 %{_pgsqldir}/hstore.control
1308 %{_pgsqldir}/intarray--*.sql
1309 %{_pgsqldir}/intarray.control
1310 %{_pgsqldir}/intagg--*.sql
1311 %{_pgsqldir}/intagg.control
1312 %{_pgsqldir}/isn--*.sql
1313 %{_pgsqldir}/isn.control
1314 %{_pgsqldir}/ltree--*.sql
1315 %{_pgsqldir}/ltree.control
1316 %{_pgsqldir}/pageinspect--*.sql
1317 %{_pgsqldir}/pageinspect.control
1318 %{_pgsqldir}/pg_buffercache--*.sql
1319 %{_pgsqldir}/pg_buffercache.control
1320 %{_pgsqldir}/pg_freespacemap--*.sql
1321 %{_pgsqldir}/pg_freespacemap.control
1322 %{_pgsqldir}/pg_prewarm--*.sql
1323 %{_pgsqldir}/pg_prewarm.control
1324 %{_pgsqldir}/pg_stat_statements--*.sql
1325 %{_pgsqldir}/pg_stat_statements.control
1326 %{_pgsqldir}/pg_visibility--*.sql
1327 %{_pgsqldir}/pg_visibility.control
1328 %{_pgsqldir}/pgrowlocks--*.sql
1329 %{_pgsqldir}/pgrowlocks.control
1330 %{_pgsqldir}/pgstattuple--*.sql
1331 %{_pgsqldir}/pgstattuple.control
1332 %{_pgsqldir}/postgres_fdw--*.sql
1333 %{_pgsqldir}/postgres_fdw.control
1334 %{_pgsqldir}/seg--*.sql
1335 %{_pgsqldir}/seg.control
1336 %{_pgsqldir}/sslinfo--*.sql
1337 %{_pgsqldir}/sslinfo.control
1338 %{_pgsqldir}/tcn--*.sql
1339 %{_pgsqldir}/tcn.control
1340 %{_pgsqldir}/tsm_system_rows--*.sql
1341 %{_pgsqldir}/tsm_system_rows.control
1342 %{_pgsqldir}/tsm_system_time--*.sql
1343 %{_pgsqldir}/tsm_system_time.control
1344 %{_pgsqldir}/unaccent--*.sql
1345 %{_pgsqldir}/unaccent.control
1346 %{_pgsqldir}/uuid-ossp--*.sql
1347 %{_pgsqldir}/uuid-ossp.control
1349 %attr(755,root,root) %{_pgmoduledir}/hstore_plperl.so
1350 %{_pgsqldir}/hstore_plperl--*.sql
1351 %{_pgsqldir}/hstore_plperl.control
1352 %{_pgsqldir}/hstore_plperlu--*.sql
1353 %{_pgsqldir}/hstore_plperlu.control
1356 %attr(755,root,root) %{_pgmoduledir}/hstore_plpython2.so
1357 %attr(755,root,root) %{_pgmoduledir}/ltree_plpython2.so
1358 %{_pgsqldir}/hstore_plpythonu--*.sql
1359 %{_pgsqldir}/hstore_plpythonu.control
1360 %{_pgsqldir}/hstore_plpython2u--*.sql
1361 %{_pgsqldir}/hstore_plpython2u.control
1362 %{_pgsqldir}/hstore_plpython3u--*.sql
1363 %{_pgsqldir}/hstore_plpython3u.control
1364 %{_pgsqldir}/ltree_plpythonu--*.sql
1365 %{_pgsqldir}/ltree_plpythonu.control
1366 %{_pgsqldir}/ltree_plpython2u--*.sql
1367 %{_pgsqldir}/ltree_plpython2u.control
1368 %{_pgsqldir}/ltree_plpython3u--*.sql
1369 %{_pgsqldir}/ltree_plpython3u.control
1371 %{_mandir}/man1/oid2name.1*
1372 %{_mandir}/man1/pg_standby.1*
1373 %{_mandir}/man1/vacuumlo.1*