2 # - python 3 and python 2 subpackages?
3 # - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
4 # create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
5 # - test init script (db initialization)
8 %bcond_without tests # disable testing
9 %bcond_without tcl # disable Tcl support
10 %bcond_without kerberos5 # disable kerberos5 support
11 %bcond_without perl # disable Perl support
12 %bcond_without python # disable Python support
13 %bcond_with bonjour # Bonjour/DNS_SD support
14 %bcond_without ldap # disable LDAP support
15 %bcond_without selinux # sepgsql contrib module
16 %bcond_with systemtap # systemtap/dtrace probes
17 %bcond_with absolute_dbpaths # enable absolute paths to create database
18 # (disabled by default because it is a security risk)
24 Summary: PostgreSQL Data Base Management System
25 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
26 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
27 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
28 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
29 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
30 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
31 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
32 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
33 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
38 Group: Applications/Databases
39 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
40 # Source0-md5: c5af6ebb790ab877e1d2e56e19cebb29
42 Source2: pgsql-Database-HOWTO-html.tar.gz
43 # Source2-md5: 5b656ddf1db41965761f85204a14398e
44 Source3: %{name}.sysconfig
45 Source4: %{name}@.service
46 Source5: %{name}.service
47 Source6: %{name}.target
48 Patch0: %{name}-conf.patch
49 Patch1: %{name}-absolute_dbpaths.patch
50 Patch2: %{name}-ecpg-includedir.patch
52 Patch4: %{name}-disable_horology_test.patch
53 Patch5: %{name}-heimdal.patch
54 Patch6: %{name}-ossp_uuid.patch
55 Patch7: %{name}-link.patch
56 URL: http://www.postgresql.org/
57 BuildRequires: autoconf
58 BuildRequires: automake
59 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
60 # not needed for releases... but fixes something in snapshot
61 BuildRequires: bison >= 1.875
62 BuildRequires: docbook-dtd42-sgml
63 BuildRequires: docbook-dtd42-xml
64 BuildRequires: docbook-style-xsl
65 BuildRequires: flex >= 2.5.31
66 BuildRequires: gettext-tools
67 BuildRequires: gnome-doc-tools
68 %{?with_kerberos5:BuildRequires: heimdal-devel}
69 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
70 BuildRequires: libtool
71 BuildRequires: libxml2-devel >= 1:2.6.23
72 BuildRequires: libxslt-devel
73 BuildRequires: libxslt-progs
74 BuildRequires: ncurses-devel >= 5.0
75 %{?with_ldap:BuildRequires: openldap-devel}
76 BuildRequires: openssl-devel >= 0.9.7d
77 BuildRequires: ossp-uuid-devel
78 BuildRequires: pam-devel
79 %{?with_perl:BuildRequires: perl-devel}
81 BuildRequires: python >= 1:2.3
82 BuildRequires: python-devel >= 1:2.3
83 BuildRequires: python-modules >= 1:2.3
85 BuildRequires: readline-devel >= 4.2
86 BuildRequires: rpmbuild(macros) >= 1.671
87 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
88 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
89 %{?with_tests:BuildRequires: tzdata}
90 BuildRequires: zlib-devel
91 Requires(post,preun): /sbin/chkconfig
92 Requires(pre): /bin/id
93 Requires(pre): /usr/bin/getgid
94 Requires(pre): /usr/sbin/groupadd
95 Requires(pre): /usr/sbin/useradd
96 Requires(triggerpostun): /bin/id
97 Requires(triggerpostun): /usr/sbin/usermod
98 Requires: %{name}-clients >= %{version}-%{release}
99 Requires: %{name}-libs = %{version}-%{release}
100 Requires: rc-scripts >= 0.4.3.0
101 Requires: systemd-units >= 38
103 Obsoletes: postgresql-module-plpgsql
104 Obsoletes: postgresql-module-tsearch2
105 Obsoletes: postgresql-server
106 Obsoletes: postgresql-test
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
109 %define _pgmoduledir %{_libdir}/postgresql
110 %define _pgsqldir %{_datadir}/postgresql/extension
112 %define _ulibdir /usr/lib
115 # dummy_seclabel, spi, test_parser, worker_spi - examples/tests
116 # tsearch2 - old module for compatibility only
117 %define contrib_modules adminpack auth_delay auto_explain btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore intagg intarray isn lo ltree oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn unaccent uuid-ossp vacuumlo xml2
120 PostgreSQL Data Base Management System (formerly known as Postgres,
123 PostgreSQL is an enhancement of the POSTGRES database management
124 system, a next-generation DBMS research prototype. While PostgreSQL
125 retains the powerful data model and rich data types of POSTGRES, it
126 replaces the PostQuel query language with an extended subset of SQL.
127 PostgreSQL is free and the complete source is available.
129 PostgreSQL development is being performed by a team of Internet
130 developers who all subscribe to the PostgreSQL development mailing
131 list. The current coordinator is Marc G. Fournier
132 (scrappy@postgreSQL.org). This team is now responsible for all current
133 and future development of PostgreSQL.
135 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
136 others have contributed to the porting, testing, debugging and
137 enhancement of the code. The original Postgres code, from which
138 PostgreSQL is derived, was the effort of many graduate students,
139 undergraduate students, and staff programmers working under the
140 direction of Professor Michael Stonebraker at the University of
141 California, Berkeley.
143 The original name of the software at Berkeley was Postgres. When SQL
144 functionality was added in 1995, its name was changed to Postgres95.
145 The name was changed at the end of 1996 to PostgreSQL.
147 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
148 and most flavours of Unix.
150 %description -l de.UTF-8
151 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
154 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
155 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
156 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
157 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
158 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
161 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
162 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
163 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
164 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
166 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
167 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
168 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
169 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
170 Studenten und Programmierern unter der Leitung von Professor Michael
171 Stonebraker an der University of California, Berkeley.
173 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
174 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
175 entschied man sich für PostgreSQL.
177 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
178 und den meisten Unix-Systemen.
180 %description -l es.UTF-8
181 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
182 como Postgres, y después como Postgres95). PostgreSQL es una
183 continuación mejorada del Sistema Administrador de Banco de Datos
184 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
185 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
186 los varios tipos de datos del POSTGRES, substituye el lenguaje de
187 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
188 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
189 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
190 en la lista de desarrollo del PostgreSQL. El coordinador actual es
191 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
192 responsable por el desarrollo actual y futuro del PostgreSQL.
194 %description -l fr.UTF-8
195 Système de gestion de bases de données PostgreSQL (D'abord nommé
196 Postgres, puis Postgres95).
198 PostgreSQL est une amélioration du système de gestion de bases de
199 données POSTGRES, un prototype de recherche de la génération suivant
200 DBMS. Tout en conservant le puissant modèle de donnée de et les types
201 de donée riches de Postgres, il remplace le langage de requêtes de
202 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
203 libre, et ses sources sont disponibles.
205 Le développement de PostgreSQL est actuellement réalisé via internet
206 parune équipe de développeurs inscrits sur la mailing-list de
207 développement de PostgreSQL. Le coordinateur actuel est Marc G
208 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
209 développemen actuel et à venir de PostgreSQL.
211 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
212 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
213 l'amélioration du code. Le code original de Postgres, duquel
214 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
215 moins haut niveau, et de programmeurs travaillant sous la direction du
216 professeur Michael Stonebraker à l'université de Berkeley Californie.
218 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
219 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
220 rebaptisé PostgreSQL en 1996.
222 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
223 et la plupart des Unix.
225 %description -l pl.UTF-8
226 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
227 Postgres, następnie jako Postgres95).
229 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
230 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
231 model danych oraz bogaty zbiór różnych typów danych, to jednak język
232 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
233 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
236 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
237 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
238 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
239 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
241 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
242 innych pomagało przenosząc na różne platformy, testując, analizując i
243 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
244 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
245 zespołu programistów, którzy pracowali pod kierunkiem profesora
246 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
248 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
249 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
250 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
253 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
254 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
256 %description -l pt_BR.UTF-8
257 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
258 Postgres, e depois como Postgres95).
260 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
261 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
262 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
263 dados e os vários tipos de dados do POSTGRES, ele substitui a
264 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
265 PostgreSQL é livre e tem os fontes disponíveis.
267 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
268 desenvolvedores da Internet, todos subscritores da lista de
269 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
270 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
271 desenvolvimento atual e futuro do PostgreSQL.
273 %description -l ru.UTF-8
274 PostgreSQL - система управления базами данных (прежде известная как
275 Postgres, потом как Postgres95).
277 PostgreSQL - это расширенная версия системы управления базами данных
278 POSTGRES, исследовательского прототипа DBMS следующей генерации.
279 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
280 она заменяет язык запросов PostQuel расширенным набором SQL.
281 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
284 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
285 на список рассылки, посвященный разработке PostgreSQL. В настоящее
286 время координатором является Marc G. Fournier
287 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
288 все текущие и будущие разработки PostgreSQL.
290 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
291 свой вклад в портирование, тестирование, отладку и улучшение кода.
292 Оригинальный код Postgres, от которого произошел PostgreSQL, был
293 создан усилиями студентов, аспирантов и персонала, работающего под
294 руководством профессора Michael Stonebraker в University of
295 California, Berkeley.
297 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
298 была добавлена функциональность SQL, название изменилось на
299 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
302 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
303 и большинстве других разновидностей Unix.
305 %description -l tr.UTF-8
306 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
307 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
308 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
309 sorgulama dilini koyar.
311 %description -l uk.UTF-8
312 PostgreSQL - система керування базами даних (раніш відома як Postgres,
313 потім як Postgres95).
315 PostgreSQL - це розширена версія системи керування базами даних
316 POSTGRES, дослідницького прототипу DBMS наступної генерації.
317 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
318 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
319 безкоштовна та поставляється у вигляді повного комплекту вихідних
322 PostgreSQL розробляється командою Internet-програмістів, учасників
323 списку розсилки, присвяченого розробці PostgreSQL. Наразі
324 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
325 відповідає за всі поточні та майбутні розробки PostgreSQL.
327 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
328 внесли свій внесок в портування, тестування, відладку та покращення
329 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
330 створений зусиллями студентів, аспірантів та персоналу, який працював
331 під керівництвом професора Michael Stonebraker в University of
332 California, Berkeley.
334 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
335 було додано функціональність SQL, назва змінилася на Postgres95. В
336 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
338 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
339 та більшості інших різновидів Unix.
342 Summary: PostgreSQL development header files and libraries
343 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
344 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
345 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
346 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
347 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
348 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
349 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
350 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
351 Group: Development/Libraries
352 Requires: %{name}-libs = %{version}-%{release}
355 This package contains header files and libraries required to compile
356 applications that are talking directly to the PostgreSQL backend
359 %description devel -l de.UTF-8
360 Dieses Paket enthält die Header-Dateien und Libraries, die zum
361 Kompilieren von Applikationen notwendig sind, die direkt mit dem
362 PostgreSQL-Backend-Server kommunizieren.
364 %description devel -l es.UTF-8
365 Este paquete contiene archivos de inclusión y bibliotecas requeridas
366 para compilación de aplicativos que se comunican directamente con el
367 servidor backend PostgreSQL.
369 %description devel -l fr.UTF-8
370 Ce package contient les fichiers d'en-tête et les bibliothéques
371 nécessaires pour compiler des applications ayant des échanges directs
372 avec le serveur du backend PostgreSQL.
374 %description devel -l pl.UTF-8
375 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
376 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
378 %description devel -l pt_BR.UTF-8
379 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
380 compilação de aplicativos que se comunicam diretamente com o servidor
383 %description devel -l ru.UTF-8
384 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
385 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
387 %description devel -l tr.UTF-8
388 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
389 gereken başlık dosyalarını ve kitaplıkları içerir.
391 %description devel -l uk.UTF-8
392 Цей пакет містить хедери та бібліотеки, необхідні для розробки
393 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
395 %package backend-devel
396 Summary: PostgreSQL backend development header files
397 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
398 Group: Development/Libraries
399 Requires: %{name}-devel = %{version}-%{release}
400 Requires: %{name}-libs = %{version}-%{release}
402 %description backend-devel
403 This package contains header files required to compile functions that
404 could be loaded directly by backend
406 %description backend-devel -l pl.UTF-8
407 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
408 bezposrednio ladowane przez beckend serwera PostgreSQL.
411 Summary: Clients needed to access a PostgreSQL server
412 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
413 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
414 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
415 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
416 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
417 Group: Applications/Databases
418 Requires: %{name}-libs = %{version}-%{release}
421 This package includes only the clients needed to access an PostgreSQL
422 server. The server is included in the main package. If all you need is
423 to connect to another PostgreSQL server, the this is the only package
424 you need to install. Clients include several command-line utilities
425 you can use to manage your databases on a remote PostgreSQL server.
427 %description clients -l es.UTF-8
428 Este paquete incluye solamente los clientes necesarios para acceder un
429 servidor PostgreSQL. El servidor está en el paquete principal.
431 %description clients -l pl.UTF-8
432 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
433 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
434 poleceń. Serwer znajduje się w głównym pakiecie.
436 %description clients -l pt_BR.UTF-8
437 Este pacote inclui somente os clientes necessários para acessar um
438 servidor PostgreSQL. O servidor está no pacote principal.
440 %description clients -l ru.UTF-8
441 Этот пакет включает только клиентские программы и библиотеки,
442 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
443 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
444 единственный пакет, который вам надо установить.
446 Теперь пакеты с библиотеками для разных языков программирования (C,
447 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
450 %description clients -l uk.UTF-8
451 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
452 для доступу до сервера PostgreSQL. Сервер міститься в головному
453 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
454 єдиний пакет, який вам треба встановити.
456 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
457 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
460 Summary: Documentation for PostgreSQL
461 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
462 Group: Applications/Databases
465 This package includes documentation and HOWTO for programmer, admin
466 etc., in HTML format.
468 %description doc -l pl.UTF-8
469 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
470 administratorów w formacie HTML.
473 Summary: PostgreSQL libraries
474 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
475 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
476 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
477 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
481 PostgreSQL shared libraries.
483 %description libs -l es.UTF-8
484 Este paquete contiene la biblioteca compartida para acceso al
487 %description libs -l pl.UTF-8
488 Biblioteki dzielone programu PostgreSQL.
490 %description libs -l pt_BR.UTF-8
491 Este pacote contém a biblioteca compartilhada para acesso ao
495 Summary: Embedded SQL in C interface
496 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
498 Requires: %{name}-libs = %{version}-%{release}
501 Embedded SQL in C interface.
503 %description ecpg -l pl.UTF-8
504 Interfejs wbudowanego SQL-a w język C.
507 Summary: Embedded SQL in C interface files
508 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
509 Group: Development/Libraries
510 Requires: %{name}-devel = %{version}-%{release}
511 Requires: %{name}-ecpg = %{version}-%{release}
513 %description ecpg-devel
514 Embedded SQL in C interface files.
516 %description ecpg-devel -l pl.UTF-8
517 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
520 Summary: PostgreSQL static libraries
521 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
522 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
523 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
524 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
525 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
526 Group: Development/Libraries
527 Requires: %{name}-devel = %{version}-%{release}
530 PostgreSQL static libraries.
532 %description static -l es.UTF-8
533 Este paquete contiene bibliotecas estaticas requerida para compilación
534 de aplicativos que se comunican directamente con el servidor backend
537 %description static -l pl.UTF-8
538 Biblioteki statyczne programu PostgreSQL.
540 %description static -l pt_BR.UTF-8
541 Este pacote contém as bibliotecas estáticas requeridas para compilação
542 de aplicativos que se comunicam diretamente com o servidor backend
545 %description static -l ru.UTF-8
546 Это отдельный пакет со статическими библиотеками, которые больше не
547 входят в %{name}-devel.
549 %description static -l uk.UTF-8
550 Це окремий пакет зі статичними бібліотеками, які більш не входять в
553 %package module-plperl
554 Summary: PL/perl - PostgreSQL procedural language
555 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
556 Group: Applications/Databases
557 Requires: %{name} = %{version}-%{release}
559 %description module-plperl
560 From PostgreSQL documentation:
562 Postgres supports the definition of procedural languages. In the case
563 of a function or trigger procedure defined in a procedural language,
564 the database has no built-in knowledge about how to interpret the
565 function's source text. Instead, the task is passed to a handler that
566 knows the details of the language. The handler itself is a special
567 programming language function compiled into a shared object and loaded
570 To enable PL/Perl procedural language for your database you have to
571 run createlang command.
573 %description module-plperl -l pl.UTF-8
574 Z dokumentacji PostgreSQL:
576 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
577 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
578 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
579 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
580 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
581 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
584 Za pomocą polecenia createlang można dodać obsługę języka
585 proceduralnego PL/Perl dla swojej bazy danych.
587 %package module-plpython
588 Summary: PL/Python - PostgreSQL procedural language
589 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
590 Group: Applications/Databases
591 Requires: %{name} = %{version}-%{release}
592 %pyrequires_eq python
594 %description module-plpython
595 From PostgreSQL documentation:
597 Postgres supports the definition of procedural languages. In the case
598 of a function or trigger procedure defined in a procedural language,
599 the database has no built-in knowledge about how to interpret the
600 function's source text. Instead, the task is passed to a handler that
601 knows the details of the language. The handler itself is a special
602 programming language function compiled into a shared object and loaded
605 To enable PL/Python procedural language for your database you have to
606 run createlang command.
608 %description module-plpython -l pl.UTF-8
609 Z dokumentacji PostgreSQL:
611 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
612 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
613 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
614 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
615 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
616 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
619 Za pomocą polecenia createlang można dodać obsługę języka
620 proceduralnego PL/Python dla swojej bazy danych.
622 %package module-pltcl
623 Summary: PL/Tcl - PostgreSQL procedural language
624 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
625 Group: Applications/Databases
626 Requires: %{name} = %{version}-%{release}
629 %description module-pltcl
630 From PostgreSQL documentation:
632 Postgres supports the definition of procedural languages. In the case
633 of a function or trigger procedure defined in a procedural language,
634 the database has no built-in knowledge about how to interpret the
635 function's source text. Instead, the task is passed to a handler that
636 knows the details of the language. The handler itself is a special
637 programming language function compiled into a shared object and loaded
640 To enable PL/Tcl procedural language for your database you have to run
643 %description module-pltcl -l pl.UTF-8
644 Z dokumentacji PostgreSQL:
646 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
647 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
648 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
649 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
650 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
651 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
654 Za pomocą polecenia createlang można dodać obsługę języka
655 proceduralnego PL/Tcl dla swojej bazy danych.
657 %package module-dblink
658 Summary: dblink module for PostgreSQL
659 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
660 Group: Applications/Databases
661 Requires: %{name} = %{version}-%{release}
663 %description module-dblink
664 dblink module for PostgreSQL provides functions returning results from
667 %description module-dblink -l pl.UTF-8
668 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
672 Summary: Large Objects module for PostgreSQL
673 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
674 Group: Applications/Databases
675 Requires: %{name} = %{version}-%{release}
677 %description module-lo
678 Large Objects module for PostgreSQL adds a new data type 'lo', some
679 support functions and a trigger which handles the orphaning problem.
681 %description module-lo -l pl.UTF-8
682 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
683 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
684 osieroconych obiektów.
686 %package module-pg_trgm
687 Summary: Trigram matching for PostgreSQL
688 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
689 Group: Applications/Databases
690 Requires: %{name} = %{version}-%{release}
692 %description module-pg_trgm
693 This module provides functions and index classes for determining the
694 similarity of text based on trigram matching.
696 %description module-pg_trgm -l pl.UTF-8
697 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
698 w oparciu o dopasowywanie trigramowe (trigram matching).
700 %package module-pgcrypto
701 Summary: Cryptographic functions for PostgreSQL
702 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
703 Group: Applications/Databases
704 Requires: %{name} = %{version}-%{release}
706 %description module-pgcrypto
707 Cryptographic functions for PostgreSQL.
709 %description module-pgcrypto -l pl.UTF-8
710 Funkcje kryptograficzne dla PostgreSQL.
712 %package module-sepgsql
713 Summary: PostgreSQL external security provider using SELinux
714 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
715 Group: Applications/Databases
716 Requires: %{name} = %{version}-%{release}
717 Requires: libselinux >= 2.1.10
719 %description module-sepgsql
720 PostgreSQL external security provider using SELinux.
722 %description module-sepgsql -l pl.UTF-8
723 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
725 %package module-tablefunc
726 Summary: crosstab functions for PostgreSQL
727 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
728 Group: Applications/Databases
729 Requires: %{name} = %{version}-%{release}
731 %description module-tablefunc
732 crosstab functions for PostgreSQL.
734 %description module-tablefunc -l pl.UTF-8
735 Funkcje crosstab dla PostgreSQL-a.
738 Summary: XML-handling functions for PostgreSQL
739 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
740 Group: Applications/Databases
741 Requires: %{name} = %{version}-%{release}
742 Requires: libxml2 >= 1:2.6.23
744 %description module-xml2
745 Module with XML functions provides both XPath querying and XSLT
746 functionality. There is also a new table function which allows the
747 straightforward return of multiple XML results.
749 %description module-xml2 -l pl.UTF-8
750 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
751 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
752 bezpośrednie zwracanie wielu wyników XML.
755 Summary: Miscellaneous PostgreSQL contrib modules
756 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
757 Group: Applications/Databases
758 Requires: %{name} = %{version}-%{release}
761 Miscellaneous PostgreSQL contrib modules.
763 %description contrib -l pl.UTF-8
764 Różne moduły dołączone do PostgreSQL-a.
769 %{?with_absolute_dbpaths:%patch1 -p1}
777 # force rebuild of bison/flex files
778 find src -name \*.l -o -name \*.y | xargs touch
781 #find contrib -type d -name CVS -exec rm -rf {} \;
784 %{__aclocal} -I config
788 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
791 %{?with_systemtap:--enable-dtrace} \
792 --enable-integer-datetimes \
794 --enable-thread-safety \
795 %{?with_bonjour:--with-bonjour} \
796 %{?with_kerberos5:--with-gssapi} \
797 %{?with_ldap:--with-ldap} \
802 %{?with_perl:--with-perl} \
803 %{?with_python:--with-python} \
804 %{?with_selinux:--with-selinux} \
805 --with-system-tzdata=%{_datadir}/zoneinfo \
806 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
811 for mod in %{contrib_modules}; do \
812 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
813 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
814 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
815 %{__make} -C contrib/$mod CFLAGS="$flags"
818 %{__make} -C src/tutorial \
821 %ifnarch sparc sparcv9 sparc64 alpha
822 %{?with_tests:%{__make} -j1 check}
826 rm -rf $RPM_BUILD_ROOT
827 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
828 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
829 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
830 $RPM_BUILD_ROOT%{_mandir} \
831 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
832 $RPM_BUILD_ROOT/home/services/postgres
834 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
837 DESTDIR=$RPM_BUILD_ROOT
838 %{__make} -C doc/src/sgml install-man \
839 DESTDIR=$RPM_BUILD_ROOT
842 %{__make} install -C src/pl/plperl \
843 DESTDIR=$RPM_BUILD_ROOT
846 for mod in %{contrib_modules}; do \
847 %{__make} -C contrib/$mod install \
848 DESTDIR=$RPM_BUILD_ROOT
851 touch $RPM_BUILD_ROOT/var/log/pgsql
853 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
854 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
856 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
857 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
858 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
861 tar zxf %{SOURCE2} -C howto
864 %py_comp $RPM_BUILD_ROOT%{py_libdir}
865 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
869 for f in libpq5 pg_basebackup pg_controldata pg_dump pg_resetxlog pg_rewind pgscripts postgres psql initdb pg_ctl pg_config plpgsql ecpg ecpglib6 %{?with_perl:plperl} plpgsql %{?with_python: plpython}; do
870 %find_lang $f-%{mver}
873 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
874 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
875 plpgsql-%{mver}.lang pg_rewind-%{mver}.lang \
876 pg_basebackup-%{mver}.lang \
878 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
879 pg_ctl-%{mver}.lang > clients-%{mver}.lang
880 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
883 %find_lang pltcl-%{mver}
884 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
888 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
891 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
893 # package it...? nah, why bother.
894 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
897 rm -rf $RPM_BUILD_ROOT
901 if [ -f /etc/sysconfig/postgresql ]; then
902 . /etc/sysconfig/postgresql
903 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
904 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
908 for pgdir in $PG_DB_CLUSTERS; do
909 if [ -f $pgdir/PG_VERSION ]; then
910 if [ $(cat $pgdir/PG_VERSION) != '%{mver}' ]; then
911 echo "Found database(s) in older, incompatible format in cluster $pgdir."
916 if [ "$foundold" = "1" ]; then
918 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
919 echo "and clean (or rename) those directories; then upgrade postgresql and"
920 echo "restore all data (using pg_restore or psql)."
921 echo "Remember to stop the daemon before upgrading!"
923 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
924 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
926 echo "Warning for upgrade from version *before* 7.2."
927 echo "Please note, that postgresql module path changed from"
928 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
929 echo "in dump file before restore."
931 echo "Warning for upgrade from version *before* 7.3."
932 echo "Reading following webpage is encouraged:"
933 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
936 %groupadd -g 88 -r postgres
937 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
939 %triggerpostun -- %{name} < 7.2-2
940 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
941 /usr/sbin/usermod -d /home/services/postgres postgres
945 /sbin/chkconfig --add postgresql
946 %service postgresql restart "postgresql server"
947 if [ "$1" -eq "1" ]; then
949 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
950 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
951 for pgdir in $PG_DB_CLUSTERS; do
952 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
953 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
956 %systemd_post postgresql.service
959 if [ "$1" = "0" ]; then
960 %service postgresql stop
961 /sbin/chkconfig --del postgresql
964 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
965 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
966 for pgdir in $PG_DB_CLUSTERS; do
967 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
968 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
971 %systemd_preun postgresql.service
976 %triggerpostun -- %{name} < 9.3.3-2
978 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
979 for pgdir in $PG_DB_CLUSTERS; do
980 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
981 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
983 %systemd_trigger postgresql.service
985 %post libs -p /sbin/ldconfig
986 %postun libs -p /sbin/ldconfig
988 %post ecpg -p /sbin/ldconfig
989 %postun ecpg -p /sbin/ldconfig
991 %files -f main-%{mver}.lang
992 %defattr(644,root,root,755)
993 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
994 %attr(754,root,root) /etc/rc.d/init.d/postgresql
995 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
996 %{systemdunitdir}/%{name}.service
997 %{systemdunitdir}/%{name}@.service
998 %{systemdunitdir}/%{name}.target
999 %dir /etc/systemd/system/%{name}.target.requires
1001 %attr(755,root,root) %{_bindir}/initdb
1002 %attr(755,root,root) %{_bindir}/pg_basebackup
1003 %attr(755,root,root) %{_bindir}/pg_controldata
1004 %attr(755,root,root) %{_bindir}/pg_ctl
1005 %attr(755,root,root) %{_bindir}/pg_resetxlog
1006 %attr(755,root,root) %{_bindir}/pg_receivexlog
1007 %attr(755,root,root) %{_bindir}/pg_recvlogical
1008 %attr(755,root,root) %{_bindir}/pg_rewind
1009 %attr(755,root,root) %{_bindir}/pg_test_fsync
1010 %attr(755,root,root) %{_bindir}/pg_test_timing
1011 %attr(755,root,root) %{_bindir}/pg_upgrade
1012 %attr(755,root,root) %{_bindir}/pg_xlogdump
1013 %attr(755,root,root) %{_bindir}/pgbench
1014 %attr(755,root,root) %{_bindir}/postgres
1015 %attr(755,root,root) %{_bindir}/postmaster
1017 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1018 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1019 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1020 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1021 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1022 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1023 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1024 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1025 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1026 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1027 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1030 %{_pgsqldir}/plpgsql--*.sql
1031 %{_pgsqldir}/plpgsql.control
1033 %dir %{_datadir}/postgresql
1034 %{_datadir}/postgresql/*.bki
1035 %{_datadir}/postgresql/*.sample
1036 %{_datadir}/postgresql/*.description
1037 %{_datadir}/postgresql/*.shdescription
1038 %{_datadir}/postgresql/*.sql
1039 %{_datadir}/postgresql/*.txt
1040 %{_datadir}/postgresql/timezonesets
1041 %{_datadir}/postgresql/tsearch_data
1043 %dir %{_datadir}/postgresql/contrib
1045 %attr(700,postgres,postgres) /home/services/postgres
1046 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1047 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1049 %{_mandir}/man1/initdb.1*
1050 %{_mandir}/man1/pg_basebackup.1*
1051 %{_mandir}/man1/pg_controldata.1*
1052 %{_mandir}/man1/pg_ctl.1*
1053 %{_mandir}/man1/pg_resetxlog.1*
1054 %{_mandir}/man1/pg_receivexlog.1*
1055 %{_mandir}/man1/pg_recvlogical.1*
1056 %{_mandir}/man1/pg_rewind.1*
1057 %{_mandir}/man1/pg_xlogdump.1*
1058 %{_mandir}/man1/pg_test_fsync.1*
1059 %{_mandir}/man1/pg_test_timing.1*
1060 %{_mandir}/man1/pg_upgrade.1*
1061 %{_mandir}/man1/pgbench.1*
1062 %{_mandir}/man1/postgres.1*
1063 %{_mandir}/man1/postmaster.1*
1066 %defattr(644,root,root,755)
1067 %doc doc/src/sgml/html howto
1068 %{_examplesdir}/%{name}-%{version}
1070 %files libs -f libpq5-%{mver}.lang
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1073 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1074 %dir %{_pgmoduledir}
1076 %files ecpg -f ecpg.lang
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_bindir}/ecpg
1079 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1080 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1081 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1082 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1083 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1084 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1085 %{_mandir}/man1/ecpg.1*
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{_libdir}/libecpg.so
1090 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1091 %attr(755,root,root) %{_libdir}/libpgtypes.so
1092 %{_includedir}/ecpg*
1093 %{_pkgconfigdir}/libecpg.pc
1094 %{_pkgconfigdir}/libecpg_compat.pc
1095 %{_pkgconfigdir}/libpgtypes.pc
1097 %files devel -f pg_config-%{mver}.lang
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_bindir}/pg_config
1100 %attr(755,root,root) %{_libdir}/libpq.so
1101 %dir %{_includedir}/postgresql
1102 %{_includedir}/libpq-events.h
1103 %{_includedir}/libpq-fe.h
1104 %{_includedir}/pg_config.h
1105 %{_includedir}/pg_config_ext.h
1106 %{_includedir}/pg_config_manual.h
1107 %{_includedir}/pg_config_os.h
1108 %{_includedir}/postgres_ext.h
1109 %dir %{_includedir}/postgresql/internal
1110 %{_includedir}/postgresql/internal/c.h
1111 %{_includedir}/postgresql/internal/libpq-int.h
1112 %{_includedir}/postgresql/internal/port.h
1113 %{_includedir}/postgresql/internal/postgres_fe.h
1114 %{_includedir}/postgresql/internal/pqexpbuffer.h
1115 %{_includedir}/postgresql/internal/libpq
1116 %{_includedir}/libpq
1117 %{_pkgconfigdir}/libpq.pc
1118 %{_mandir}/man1/pg_config.1*
1120 %files backend-devel
1121 %defattr(644,root,root,755)
1122 %{_includedir}/postgresql/server
1123 %dir %{_pgmoduledir}/pgxs
1124 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1125 %{_pgmoduledir}/pgxs/src
1126 %{_mandir}/man3/SPI_*.3*
1129 %defattr(644,root,root,755)
1130 %{_libdir}/libecpg.a
1131 %{_libdir}/libecpg_compat.a
1133 %{_libdir}/libpgcommon.a
1134 %{_libdir}/libpgfeutils.a
1135 %{_libdir}/libpgtypes.a
1136 %{_libdir}/libpgport.a
1138 %files clients -f clients-%{mver}.lang
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_bindir}/clusterdb
1141 %attr(755,root,root) %{_bindir}/createdb
1142 %attr(755,root,root) %{_bindir}/createlang
1143 %attr(755,root,root) %{_bindir}/createuser
1144 %attr(755,root,root) %{_bindir}/dropdb
1145 %attr(755,root,root) %{_bindir}/droplang
1146 %attr(755,root,root) %{_bindir}/dropuser
1147 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1148 %attr(755,root,root) %{_bindir}/pg_dump
1149 %attr(755,root,root) %{_bindir}/pg_dumpall
1150 %attr(755,root,root) %{_bindir}/pg_isready
1151 %attr(755,root,root) %{_bindir}/pg_restore
1152 %attr(755,root,root) %{_bindir}/psql
1153 %attr(755,root,root) %{_bindir}/reindexdb
1154 %attr(755,root,root) %{_bindir}/vacuumdb
1156 %{_mandir}/man1/clusterdb.1*
1157 %{_mandir}/man1/createdb.1*
1158 %{_mandir}/man1/createlang.1*
1159 %{_mandir}/man1/createuser.1*
1160 %{_mandir}/man1/dropdb.1*
1161 %{_mandir}/man1/droplang.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) %{_bindir}/pltcl_*
1195 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1196 %{_pgsqldir}/unknown.pltcl
1197 %{_pgsqldir}/pltcl*--*.sql
1198 %{_pgsqldir}/pltcl*.control
1201 %files module-dblink
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1204 %{_pgsqldir}/dblink--*.sql
1205 %{_pgsqldir}/dblink.control
1206 %{_mandir}/man3/dblink*.3*
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_pgmoduledir}/lo.so
1211 %{_pgsqldir}/lo--*.sql
1212 %{_pgsqldir}/lo.control
1214 %files module-pg_trgm
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1217 %{_pgsqldir}/pg_trgm--*.sql
1218 %{_pgsqldir}/pg_trgm.control
1220 %files module-pgcrypto
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1223 %{_pgsqldir}/pgcrypto--*.sql
1224 %{_pgsqldir}/pgcrypto.control
1227 %files module-sepgsql
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1230 %{_pgsqldir}/sepgsql.sql
1233 %files module-tablefunc
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1236 %{_pgsqldir}/*tablefunc--*.sql
1237 %{_pgsqldir}/*tablefunc.control
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1242 %{_pgsqldir}/xml2--*.sql
1243 %{_pgsqldir}/xml2.control
1246 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_bindir}/oid2name
1249 %attr(755,root,root) %{_bindir}/pg_standby
1250 %attr(755,root,root) %{_bindir}/vacuumlo
1251 %attr(755,root,root) %{_pgmoduledir}/_int.so
1252 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1253 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1254 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1255 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1256 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1257 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1258 %attr(755,root,root) %{_pgmoduledir}/citext.so
1259 %attr(755,root,root) %{_pgmoduledir}/cube.so
1260 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1261 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1262 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1263 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1264 %attr(755,root,root) %{_pgmoduledir}/isn.so
1265 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1266 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1267 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1268 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1269 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1270 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1271 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.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}/unaccent.so
1279 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1280 %{_pgsqldir}/adminpack--*.sql
1281 %{_pgsqldir}/adminpack.control
1282 %{_pgsqldir}/btree_gin--*.sql
1283 %{_pgsqldir}/btree_gin.control
1284 %{_pgsqldir}/btree_gist--*.sql
1285 %{_pgsqldir}/btree_gist.control
1286 %{_pgsqldir}/chkpass--*.sql
1287 %{_pgsqldir}/chkpass.control
1288 %{_pgsqldir}/citext--*.sql
1289 %{_pgsqldir}/citext.control
1290 %{_pgsqldir}/cube--*.sql
1291 %{_pgsqldir}/cube.control
1292 %{_pgsqldir}/dict_int--*.sql
1293 %{_pgsqldir}/dict_int.control
1294 %{_pgsqldir}/dict_xsyn--*.sql
1295 %{_pgsqldir}/dict_xsyn.control
1296 %{_pgsqldir}/earthdistance--*.sql
1297 %{_pgsqldir}/earthdistance.control
1298 %{_pgsqldir}/file_fdw--*.sql
1299 %{_pgsqldir}/file_fdw.control
1300 %{_pgsqldir}/fuzzystrmatch--*.sql
1301 %{_pgsqldir}/fuzzystrmatch.control
1302 %{_pgsqldir}/hstore--*.sql
1303 %{_pgsqldir}/hstore.control
1304 %{_pgsqldir}/intarray--*.sql
1305 %{_pgsqldir}/intarray.control
1306 %{_pgsqldir}/intagg--*.sql
1307 %{_pgsqldir}/intagg.control
1308 %{_pgsqldir}/isn--*.sql
1309 %{_pgsqldir}/isn.control
1310 %{_pgsqldir}/ltree--*.sql
1311 %{_pgsqldir}/ltree.control
1312 %{_pgsqldir}/pageinspect--*.sql
1313 %{_pgsqldir}/pageinspect.control
1314 %{_pgsqldir}/pg_buffercache--*.sql
1315 %{_pgsqldir}/pg_buffercache.control
1316 %{_pgsqldir}/pg_freespacemap--*.sql
1317 %{_pgsqldir}/pg_freespacemap.control
1318 %{_pgsqldir}/pg_prewarm--*.sql
1319 %{_pgsqldir}/pg_prewarm.control
1320 %{_pgsqldir}/pg_stat_statements--*.sql
1321 %{_pgsqldir}/pg_stat_statements.control
1322 %{_pgsqldir}/pgrowlocks--*.sql
1323 %{_pgsqldir}/pgrowlocks.control
1324 %{_pgsqldir}/pgstattuple--*.sql
1325 %{_pgsqldir}/pgstattuple.control
1326 %{_pgsqldir}/postgres_fdw--*.sql
1327 %{_pgsqldir}/postgres_fdw.control
1328 %{_pgsqldir}/seg--*.sql
1329 %{_pgsqldir}/seg.control
1330 %{_pgsqldir}/sslinfo--*.sql
1331 %{_pgsqldir}/sslinfo.control
1332 %{_pgsqldir}/tcn--*.sql
1333 %{_pgsqldir}/tcn.control
1334 %{_pgsqldir}/unaccent--*.sql
1335 %{_pgsqldir}/unaccent.control
1336 %{_pgsqldir}/uuid-ossp--*.sql
1337 %{_pgsqldir}/uuid-ossp.control
1338 %{_mandir}/man1/oid2name.1*
1339 %{_mandir}/man1/pg_standby.1*
1340 %{_mandir}/man1/vacuumlo.1*