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