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 # - 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_without ldap # disable LDAP support
14 %bcond_without selinux # sepgsql contrib module
15 %bcond_with absolute_dbpaths # enable absolute paths to create database
16 # (disabled by default because it is a security risk)
22 Summary: PostgreSQL Data Base Management System
23 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
24 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
25 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
26 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
27 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
28 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
29 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
30 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
31 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
36 Group: Applications/Databases
37 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
38 # Source0-md5: a8035688dba988b782725ac1aec60186
40 Source2: pgsql-Database-HOWTO-html.tar.gz
41 # Source2-md5: 5b656ddf1db41965761f85204a14398e
42 Source3: %{name}.sysconfig
43 # cvs -d :pserver:anonymous@cvs.pgfoundry.org:/cvsroot/edb-debugger (module server)
44 Source4: edb-debugger-20110912.tgz
45 # Source4-md5: 6a9b6576b8ccac062243dd29e58a371b
46 Source5: %{name}.upstart
47 Source6: %{name}-instance.upstart
48 Patch0: %{name}-conf.patch
49 Patch1: %{name}-absolute_dbpaths.patch
50 Patch2: %{name}-ecpg-includedir.patch
51 Patch3: %{name}-ac_version.patch
52 Patch4: %{name}-disable_horology_test.patch
53 Patch5: %{name}-heimdal.patch
54 URL: http://www.postgresql.org/
55 BuildRequires: autoconf
56 BuildRequires: automake
57 # not needed for releases... but fixes something in snapshot
58 BuildRequires: bison >= 1.875
59 BuildRequires: docbook-dtd42-sgml
60 BuildRequires: docbook-dtd42-xml
61 BuildRequires: docbook-style-xsl
62 BuildRequires: flex >= 2.5.31
63 BuildRequires: gettext-devel
64 %{?with_kerberos5:BuildRequires: heimdal-devel}
65 %{?with_selinux:BuildRequires: libselinux-devel >= 2.0.93}
66 BuildRequires: libtool
67 BuildRequires: libxml2-devel >= 2.6.23
68 BuildRequires: libxslt-devel
69 BuildRequires: libxslt-progs
70 BuildRequires: ncurses-devel >= 5.0
71 %{?with_ldap:BuildRequires: openldap-devel}
72 BuildRequires: openssl-devel >= 0.9.7d
73 BuildRequires: ossp-uuid-devel
74 BuildRequires: pam-devel
75 %{?with_perl:BuildRequires: perl-devel}
77 BuildRequires: python >= 1:2.3
78 BuildRequires: python-devel >= 1:2.3
79 BuildRequires: python-modules >= 1:2.3
81 BuildRequires: readline-devel >= 4.2
82 BuildRequires: rpmbuild(macros) >= 1.268
83 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
84 %{?with_tests:BuildRequires: tzdata}
85 BuildRequires: zlib-devel
86 Requires(post,preun): /sbin/chkconfig
87 Requires(pre): /bin/id
88 Requires(pre): /usr/bin/getgid
89 Requires(pre): /usr/sbin/groupadd
90 Requires(pre): /usr/sbin/useradd
91 Requires(triggerpostun): /bin/id
92 Requires(triggerpostun): /usr/sbin/usermod
93 Requires: %{name}-clients = %{version}-%{release}
94 Requires: %{name}-libs = %{version}-%{release}
95 Requires: rc-scripts >= 0.4.3.0
97 Obsoletes: postgresql-module-plpgsql
98 Obsoletes: postgresql-module-tsearch2
99 Obsoletes: postgresql-server
100 Obsoletes: postgresql-test
101 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
103 %define _pgmoduledir %{_libdir}/postgresql
104 %define _pgsqldir %{_datadir}/postgresql/extension
106 %define _ulibdir /usr/lib
109 # dummy_seclabel, pg_test_fsync, spi and test_parser - examples/tests
110 # tsearch2 - old module for compatibility only
111 %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 pldebugger seg %{?with_selinux:sepgsql} sslinfo tablefunc unaccent uuid-ossp vacuumlo xml2
114 PostgreSQL Data Base Management System (formerly known as Postgres,
117 PostgreSQL is an enhancement of the POSTGRES database management
118 system, a next-generation DBMS research prototype. While PostgreSQL
119 retains the powerful data model and rich data types of POSTGRES, it
120 replaces the PostQuel query language with an extended subset of SQL.
121 PostgreSQL is free and the complete source is available.
123 PostgreSQL development is being performed by a team of Internet
124 developers who all subscribe to the PostgreSQL development mailing
125 list. The current coordinator is Marc G. Fournier
126 (scrappy@postgreSQL.org). This team is now responsible for all current
127 and future development of PostgreSQL.
129 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
130 others have contributed to the porting, testing, debugging and
131 enhancement of the code. The original Postgres code, from which
132 PostgreSQL is derived, was the effort of many graduate students,
133 undergraduate students, and staff programmers working under the
134 direction of Professor Michael Stonebraker at the University of
135 California, Berkeley.
137 The original name of the software at Berkeley was Postgres. When SQL
138 functionality was added in 1995, its name was changed to Postgres95.
139 The name was changed at the end of 1996 to PostgreSQL.
141 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
142 and most flavours of Unix.
144 %description -l de.UTF-8
145 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
148 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
149 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
150 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
151 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
152 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
155 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
156 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
157 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
158 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
160 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
161 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
162 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
163 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
164 Studenten und Programmierern unter der Leitung von Professor Michael
165 Stonebraker an der University of California, Berkeley.
167 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
168 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
169 entschied man sich für PostgreSQL.
171 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
172 und den meisten Unix-Systemen.
174 %description -l es.UTF-8
175 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
176 como Postgres, y después como Postgres95). PostgreSQL es una
177 continuación mejorada del Sistema Administrador de Banco de Datos
178 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
179 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
180 los varios tipos de datos del POSTGRES, substituye el lenguaje de
181 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
182 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
183 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
184 en la lista de desarrollo del PostgreSQL. El coordinador actual es
185 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
186 responsable por el desarrollo actual y futuro del PostgreSQL.
188 %description -l fr.UTF-8
189 Système de gestion de bases de données PostgreSQL (D'abord nommé
190 Postgres, puis Postgres95).
192 PostgreSQL est une amélioration du système de gestion de bases de
193 données POSTGRES, un prototype de recherche de la génération suivant
194 DBMS. Tout en conservant le puissant modèle de donnée de et les types
195 de donée riches de Postgres, il remplace le langage de requêtes de
196 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
197 libre, et ses sources sont disponibles.
199 Le développement de PostgreSQL est actuellement réalisé via internet
200 parune équipe de développeurs inscrits sur la mailing-list de
201 développement de PostgreSQL. Le coordinateur actuel est Marc G
202 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
203 développemen actuel et à venir de PostgreSQL.
205 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
206 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
207 l'amélioration du code. Le code original de Postgres, duquel
208 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
209 moins haut niveau, et de programmeurs travaillant sous la direction du
210 professeur Michael Stonebraker à l'université de Berkeley Californie.
212 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
213 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
214 rebaptisé PostgreSQL en 1996.
216 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
217 et la plupart des Unix.
219 %description -l pl.UTF-8
220 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
221 Postgres, następnie jako Postgres95).
223 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
224 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
225 model danych oraz bogaty zbiór różnych typów danych, to jednak język
226 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
227 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
230 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
231 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
232 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
233 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
235 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
236 innych pomagało przenosząc na różne platformy, testując, analizując i
237 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
238 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
239 zespołu programistów, którzy pracowali pod kierunkiem profesora
240 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
242 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
243 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
244 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
247 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
248 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
250 %description -l pt_BR.UTF-8
251 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
252 Postgres, e depois como Postgres95).
254 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
255 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
256 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
257 dados e os vários tipos de dados do POSTGRES, ele substitui a
258 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
259 PostgreSQL é livre e tem os fontes disponíveis.
261 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
262 desenvolvedores da Internet, todos subscritores da lista de
263 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
264 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
265 desenvolvimento atual e futuro do PostgreSQL.
267 %description -l ru.UTF-8
268 PostgreSQL - система управления базами данных (прежде известная как
269 Postgres, потом как Postgres95).
271 PostgreSQL - это расширенная версия системы управления базами данных
272 POSTGRES, исследовательского прототипа DBMS следующей генерации.
273 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
274 она заменяет язык запросов PostQuel расширенным набором SQL.
275 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
278 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
279 на список рассылки, посвященный разработке PostgreSQL. В настоящее
280 время координатором является Marc G. Fournier
281 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
282 все текущие и будущие разработки PostgreSQL.
284 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
285 свой вклад в портирование, тестирование, отладку и улучшение кода.
286 Оригинальный код Postgres, от которого произошел PostgreSQL, был
287 создан усилиями студентов, аспирантов и персонала, работающего под
288 руководством профессора Michael Stonebraker в University of
289 California, Berkeley.
291 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
292 была добавлена функциональность SQL, название изменилось на
293 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
296 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
297 и большинстве других разновидностей Unix.
299 %description -l tr.UTF-8
300 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
301 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
302 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
303 sorgulama dilini koyar.
305 %description -l uk.UTF-8
306 PostgreSQL - система керування базами даних (раніш відома як Postgres,
307 потім як Postgres95).
309 PostgreSQL - це розширена версія системи керування базами даних
310 POSTGRES, дослідницького прототипу DBMS наступної генерації.
311 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
312 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
313 безкоштовна та поставляється у вигляді повного комплекту вихідних
316 PostgreSQL розробляється командою Internet-програмістів, учасників
317 списку розсилки, присвяченого розробці PostgreSQL. Наразі
318 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
319 відповідає за всі поточні та майбутні розробки PostgreSQL.
321 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
322 внесли свій внесок в портування, тестування, відладку та покращення
323 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
324 створений зусиллями студентів, аспірантів та персоналу, який працював
325 під керівництвом професора Michael Stonebraker в University of
326 California, Berkeley.
328 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
329 було додано функціональність SQL, назва змінилася на Postgres95. В
330 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
332 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
333 та більшості інших різновидів Unix.
336 Summary: Upstart job description for PostgreSQL server
337 Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
339 Requires: %{name} = %{version}-%{release}
340 Requires: upstart >= 0.6
341 Conflicts: syslog-ng < 3.2.4-1
344 Upstart job description for PostgreSQL.
346 %description upstart -l pl.UTF-8
347 Opis zadania Upstart dla PostgreSQL.
350 Summary: PostgreSQL development header files and libraries
351 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
352 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
353 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
354 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
355 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
356 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
357 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
358 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
359 Group: Development/Libraries
360 Requires: %{name}-libs = %{version}-%{release}
363 This package contains header files and libraries required to compile
364 applications that are talking directly to the PostgreSQL backend
367 %description devel -l de.UTF-8
368 Dieses Paket enthält die Header-Dateien und Libraries, die zum
369 Kompilieren von Applikationen notwendig sind, die direkt mit dem
370 PostgreSQL-Backend-Server kommunizieren.
372 %description devel -l es.UTF-8
373 Este paquete contiene archivos de inclusión y bibliotecas requeridas
374 para compilación de aplicativos que se comunican directamente con el
375 servidor backend PostgreSQL.
377 %description devel -l fr.UTF-8
378 Ce package contient les fichiers d'en-tête et les bibliothéques
379 nécessaires pour compiler des applications ayant des échanges directs
380 avec le serveur du backend PostgreSQL.
382 %description devel -l pl.UTF-8
383 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
384 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
386 %description devel -l pt_BR.UTF-8
387 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
388 compilação de aplicativos que se comunicam diretamente com o servidor
391 %description devel -l ru.UTF-8
392 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
393 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
395 %description devel -l tr.UTF-8
396 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
397 gereken başlık dosyalarını ve kitaplıkları içerir.
399 %description devel -l uk.UTF-8
400 Цей пакет містить хедери та бібліотеки, необхідні для розробки
401 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
403 %package backend-devel
404 Summary: PostgreSQL backend development header files
405 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
406 Group: Development/Libraries
407 Requires: %{name}-devel = %{version}-%{release}
408 Requires: %{name}-libs = %{version}-%{release}
410 %description backend-devel
411 This package contains header files required to compile functions that
412 could be loaded directly by backend
414 %description backend-devel -l pl.UTF-8
415 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
416 bezposrednio ladowane przez beckend serwera PostgreSQL.
419 Summary: Clients needed to access a PostgreSQL server
420 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
421 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
422 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
423 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
424 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
425 Group: Applications/Databases
426 Requires: %{name}-libs = %{version}-%{release}
429 This package includes only the clients needed to access an PostgreSQL
430 server. The server is included in the main package. If all you need is
431 to connect to another PostgreSQL server, the this is the only package
432 you need to install. Clients include several command-line utilities
433 you can use to manage your databases on a remote PostgreSQL server.
435 %description clients -l es.UTF-8
436 Este paquete incluye solamente los clientes necesarios para acceder un
437 servidor PostgreSQL. El servidor está en el paquete principal.
439 %description clients -l pl.UTF-8
440 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
441 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
442 poleceń. Serwer znajduje się w głównym pakiecie.
444 %description clients -l pt_BR.UTF-8
445 Este pacote inclui somente os clientes necessários para acessar um
446 servidor PostgreSQL. O servidor está no pacote principal.
448 %description clients -l ru.UTF-8
449 Этот пакет включает только клиентские программы и библиотеки,
450 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
451 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
452 единственный пакет, который вам надо установить.
454 Теперь пакеты с библиотеками для разных языков программирования (C,
455 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
458 %description clients -l uk.UTF-8
459 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
460 для доступу до сервера PostgreSQL. Сервер міститься в головному
461 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
462 єдиний пакет, який вам треба встановити.
464 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
465 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
468 Summary: Documentation for PostgreSQL
469 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
470 Group: Applications/Databases
473 This package includes documentation and HOWTO for programmer, admin
474 etc., in HTML format.
476 %description doc -l pl.UTF-8
477 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
478 administratorów w formacie HTML.
481 Summary: PostgreSQL libraries
482 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
483 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
484 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
485 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
489 PostgreSQL shared libraries.
491 %description libs -l es.UTF-8
492 Este paquete contiene la biblioteca compartida para acceso al
495 %description libs -l pl.UTF-8
496 Biblioteki dzielone programu PostgreSQL.
498 %description libs -l pt_BR.UTF-8
499 Este pacote contém a biblioteca compartilhada para acesso ao
503 Summary: Embedded SQL in C interface
504 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
506 Requires: %{name}-libs = %{version}-%{release}
509 Embedded SQL in C interface.
511 %description ecpg -l pl.UTF-8
512 Interfejs wbudowanego SQL-a w język C.
515 Summary: Embedded SQL in C interface files
516 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
517 Group: Development/Libraries
518 Requires: %{name}-devel = %{version}-%{release}
519 Requires: %{name}-ecpg = %{version}-%{release}
521 %description ecpg-devel
522 Embedded SQL in C interface files.
524 %description ecpg-devel -l pl.UTF-8
525 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
528 Summary: PostgreSQL static libraries
529 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
530 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
531 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
532 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
533 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
534 Group: Development/Libraries
535 Requires: %{name}-devel = %{version}-%{release}
538 PostgreSQL static libraries.
540 %description static -l es.UTF-8
541 Este paquete contiene bibliotecas estaticas requerida para compilación
542 de aplicativos que se comunican directamente con el servidor backend
545 %description static -l pl.UTF-8
546 Biblioteki statyczne programu PostgreSQL.
548 %description static -l pt_BR.UTF-8
549 Este pacote contém as bibliotecas estáticas requeridas para compilação
550 de aplicativos que se comunicam diretamente com o servidor backend
553 %description static -l ru.UTF-8
554 Это отдельный пакет со статическими библиотеками, которые больше не
555 входят в %{name}-devel.
557 %description static -l uk.UTF-8
558 Це окремий пакет зі статичними бібліотеками, які більш не входять в
561 %package module-plperl
562 Summary: PL/perl - PostgreSQL procedural language
563 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
564 Group: Applications/Databases
565 Requires: %{name} = %{version}-%{release}
567 %description module-plperl
568 From PostgreSQL documentation:
570 Postgres supports the definition of procedural languages. In the case
571 of a function or trigger procedure defined in a procedural language,
572 the database has no built-in knowledge about how to interpret the
573 function's source text. Instead, the task is passed to a handler that
574 knows the details of the language. The handler itself is a special
575 programming language function compiled into a shared object and loaded
578 To enable PL/Perl procedural language for your database you have to
579 run createlang command.
581 %description module-plperl -l pl.UTF-8
582 Z dokumentacji PostgreSQL:
584 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
585 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
586 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
587 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
588 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
589 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
592 Za pomocą polecenia createlang można dodać obsługę języka
593 proceduralnego PL/Perl dla swojej bazy danych.
595 %package module-plpython
596 Summary: PL/Python - PostgreSQL procedural language
597 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
598 Group: Applications/Databases
599 Requires: %{name} = %{version}-%{release}
600 %pyrequires_eq python
602 %description module-plpython
603 From PostgreSQL documentation:
605 Postgres supports the definition of procedural languages. In the case
606 of a function or trigger procedure defined in a procedural language,
607 the database has no built-in knowledge about how to interpret the
608 function's source text. Instead, the task is passed to a handler that
609 knows the details of the language. The handler itself is a special
610 programming language function compiled into a shared object and loaded
613 To enable PL/Python procedural language for your database you have to
614 run createlang command.
616 %description module-plpython -l pl.UTF-8
617 Z dokumentacji PostgreSQL:
619 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
620 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
621 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
622 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
623 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
624 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
627 Za pomocą polecenia createlang można dodać obsługę języka
628 proceduralnego PL/Python dla swojej bazy danych.
630 %package module-pltcl
631 Summary: PL/Tcl - PostgreSQL procedural language
632 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
633 Group: Applications/Databases
634 Requires: %{name} = %{version}-%{release}
637 %description module-pltcl
638 From PostgreSQL documentation:
640 Postgres supports the definition of procedural languages. In the case
641 of a function or trigger procedure defined in a procedural language,
642 the database has no built-in knowledge about how to interpret the
643 function's source text. Instead, the task is passed to a handler that
644 knows the details of the language. The handler itself is a special
645 programming language function compiled into a shared object and loaded
648 To enable PL/Tcl procedural language for your database you have to run
651 %description module-pltcl -l pl.UTF-8
652 Z dokumentacji PostgreSQL:
654 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
655 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
656 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
657 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
658 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
659 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
662 Za pomocą polecenia createlang można dodać obsługę języka
663 proceduralnego PL/Tcl dla swojej bazy danych.
665 %package module-dblink
666 Summary: dblink module for PostgreSQL
667 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
668 Group: Applications/Databases
669 Requires: %{name} = %{version}-%{release}
671 %description module-dblink
672 dblink module for PostgreSQL provides functions returning results from
675 %description module-dblink -l pl.UTF-8
676 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
680 Summary: Large Objects module for PostgreSQL
681 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
682 Group: Applications/Databases
683 Requires: %{name} = %{version}-%{release}
685 %description module-lo
686 Large Objects module for PostgreSQL adds a new data type 'lo', some
687 support functions and a trigger which handles the orphaning problem.
689 %description module-lo -l pl.UTF-8
690 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
691 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
692 osieroconych obiektów.
694 %package module-pg_trgm
695 Summary: Trigram matching for PostgreSQL
696 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
697 Group: Applications/Databases
698 Requires: %{name} = %{version}-%{release}
700 %description module-pg_trgm
701 This module provides functions and index classes for determining the
702 similarity of text based on trigram matching.
704 %description module-pg_trgm -l pl.UTF-8
705 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
706 w oparciu o dopasowywanie trigramowe (trigram matching).
708 %package module-pgcrypto
709 Summary: Cryptographic functions for PostgreSQL
710 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
711 Group: Applications/Databases
712 Requires: %{name} = %{version}-%{release}
714 %description module-pgcrypto
715 Cryptographic functions for PostgreSQL.
717 %description module-pgcrypto -l pl.UTF-8
718 Funkcje kryptograficzne dla PostgreSQL.
720 %package module-sepgsql
721 Summary: PostgreSQL external security provider using SELinux
722 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
723 Group: Applications/Databases
724 Requires: %{name} = %{version}-%{release}
725 Requires: libselinux >= 2.0.93
727 %description module-sepgsql
728 PostgreSQL external security provider using SELinux.
730 %description module-sepgsql -l pl.UTF-8
731 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
733 %package module-tablefunc
734 Summary: crosstab functions for PostgreSQL
735 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
736 Group: Applications/Databases
737 Requires: %{name} = %{version}-%{release}
739 %description module-tablefunc
740 crosstab functions for PostgreSQL.
742 %description module-tablefunc -l pl.UTF-8
743 Funkcje crosstab dla PostgreSQL-a.
746 Summary: XML-handling functions for PostgreSQL
747 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
748 Group: Applications/Databases
749 Requires: %{name} = %{version}-%{release}
751 %description module-xml2
752 Module with XML functions provides both XPath querying and XSLT
753 functionality. There is also a new table function which allows the
754 straightforward return of multiple XML results.
756 %description module-xml2 -l pl.UTF-8
757 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
758 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
759 bezpośrednie zwracanie wielu wyników XML.
762 Summary: Miscellaneous PostgreSQL contrib modules
763 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
764 Group: Applications/Databases
765 Requires: %{name} = %{version}-%{release}
768 Miscellaneous PostgreSQL contrib modules.
770 %description contrib -l pl.UTF-8
771 Różne moduły dołączone do PostgreSQL-a.
776 %{?with_absolute_dbpaths:%patch1 -p1}
782 tar xzf %{SOURCE4} -C contrib
784 # force rebuild of bison/flex files
785 find src -name \*.l -o -name \*.y | xargs touch
788 #find contrib -type d -name CVS -exec rm -rf {} \;
791 %{__aclocal} -I config
794 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
797 --enable-integer-datetimes \
798 --with-system-tzdata=%{_datadir}/zoneinfo \
800 --enable-thread-safety \
801 %{?with_kerberos5:--with-gssapi} \
802 %{?with_kerberos5:--with-krb5} \
803 %{?with_ldap:--with-ldap} \
808 %{?with_perl:--with-perl} \
809 %{?with_python:--with-python} \
810 %{?with_selinux:--with-selinux} \
811 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
816 for mod in %{contrib_modules}; do \
817 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
818 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
819 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
820 %{__make} -C contrib/$mod CFLAGS="$flags"
823 %{__make} -C src/tutorial \
826 %ifnarch sparc sparcv9 sparc64 alpha
827 %{?with_tests:%{__make} -j1 check}
831 rm -rf $RPM_BUILD_ROOT
832 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
833 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
834 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
835 $RPM_BUILD_ROOT%{_mandir} \
836 $RPM_BUILD_ROOT/home/services/postgres
838 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
841 DESTDIR=$RPM_BUILD_ROOT
842 %{__make} -C doc/src/sgml install-man \
843 DESTDIR=$RPM_BUILD_ROOT
846 %{__make} install -C src/pl/plperl \
847 DESTDIR=$RPM_BUILD_ROOT
850 for mod in %{contrib_modules}; do \
851 %{__make} -C contrib/$mod install \
852 DESTDIR=$RPM_BUILD_ROOT
855 touch $RPM_BUILD_ROOT/var/log/pgsql
857 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
858 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
860 install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/%{name}.conf
861 install %{SOURCE6} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
864 tar zxf %{SOURCE2} -C howto
867 %py_comp $RPM_BUILD_ROOT%{py_libdir}
868 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
872 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
873 %find_lang $f-%{mver}
876 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
877 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
878 plpgsql-%{mver}.lang \
879 pg_basebackup-%{mver}.lang \
881 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
882 pg_ctl-%{mver}.lang > clients-%{mver}.lang
883 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
886 %find_lang pltcl-%{mver}
887 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
890 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/pldbgapi.sql
892 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
895 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
897 # package it...? nah, why bother.
898 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
901 rm -rf $RPM_BUILD_ROOT
905 if [ -f /etc/sysconfig/postgresql ]; then
906 . /etc/sysconfig/postgresql
907 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
908 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
912 for pgdir in $PG_DB_CLUSTERS; do
913 if [ -f $pgdir/PG_VERSION ]; then
914 if [ $(cat $pgdir/PG_VERSION) != '9.1' ]; then
915 echo "Found database(s) in older, incompatible format in cluster $pgdir."
920 if [ "$foundold" = "1" ]; then
922 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
923 echo "and clean (or rename) those directories; then upgrade postgresql and"
924 echo "restore all data (using pg_restore or psql)."
925 echo "Remember to stop the daemon before upgrading!"
927 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
928 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
930 echo "Warning for upgrade from version *before* 7.2."
931 echo "Please note, that postgresql module path changed from"
932 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
933 echo "in dump file before restore."
935 echo "Warning for upgrade from version *before* 7.3."
936 echo "Reading following webpage is encouraged:"
937 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
940 %groupadd -g 88 -r postgres
941 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
943 %triggerpostun -- %{name} < 7.2-2
944 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
945 /usr/sbin/usermod -d /home/services/postgres postgres
949 /sbin/chkconfig --add postgresql
950 %service postgresql restart "postgresql server"
953 if [ "$1" = "0" ]; then
954 %service postgresql stop
955 /sbin/chkconfig --del postgresql
959 %upstart_post postgresql
962 %upstart_postun postgresql
964 %post libs -p /sbin/ldconfig
965 %postun libs -p /sbin/ldconfig
967 %post ecpg -p /sbin/ldconfig
968 %postun ecpg -p /sbin/ldconfig
970 %files -f main-%{mver}.lang
971 %defattr(644,root,root,755)
972 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
973 %attr(754,root,root) /etc/rc.d/init.d/postgresql
974 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
976 %attr(755,root,root) %{_bindir}/initdb
977 %attr(755,root,root) %{_bindir}/pg_basebackup
978 %attr(755,root,root) %{_bindir}/pg_controldata
979 %attr(755,root,root) %{_bindir}/pg_ctl
980 %attr(755,root,root) %{_bindir}/pg_resetxlog
981 %attr(755,root,root) %{_bindir}/pg_upgrade
982 %attr(755,root,root) %{_bindir}/postgres
983 %attr(755,root,root) %{_bindir}/postmaster
985 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
986 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
987 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
988 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
989 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
990 %attr(755,root,root) %{_pgmoduledir}/euc*.so
991 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
992 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
993 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
994 %attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so
995 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
996 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
999 %{_pgsqldir}/plpgsql--*.sql
1000 %{_pgsqldir}/plpgsql.control
1002 %dir %{_datadir}/postgresql
1003 %{_datadir}/postgresql/*.bki
1004 %{_datadir}/postgresql/*.sample
1005 %{_datadir}/postgresql/*.description
1006 %{_datadir}/postgresql/*.shdescription
1007 %{_datadir}/postgresql/*.sql
1008 %{_datadir}/postgresql/*.txt
1009 %{_datadir}/postgresql/timezonesets
1010 %{_datadir}/postgresql/tsearch_data
1012 %dir %{_datadir}/postgresql/contrib
1014 %attr(700,postgres,postgres) /home/services/postgres
1015 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1016 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1018 %{_mandir}/man1/initdb.1*
1019 %{_mandir}/man1/pg_basebackup.1*
1020 %{_mandir}/man1/pg_controldata.1*
1021 %{_mandir}/man1/pg_ctl.1*
1022 %{_mandir}/man1/pg_resetxlog.1*
1023 %{_mandir}/man1/postgres.1*
1024 %{_mandir}/man1/postmaster.1*
1026 %if "%{pld_release}" != "ti"
1028 %defattr(644,root,root,755)
1029 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1030 %dir /etc/init/postgresql
1031 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
1035 %defattr(644,root,root,755)
1036 %doc doc/src/sgml/html howto
1037 %{_examplesdir}/%{name}-%{version}
1039 %files libs -f libpq5-%{mver}.lang
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1042 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1043 %dir %{_pgmoduledir}
1044 %dir %{_pgmoduledir}/plugins
1046 %files ecpg -f ecpg.lang
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{_bindir}/ecpg
1049 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1050 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1051 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1052 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1053 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1054 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1055 %{_mandir}/man1/ecpg.1*
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_libdir}/libecpg.so
1060 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1061 %attr(755,root,root) %{_libdir}/libpgtypes.so
1062 %{_includedir}/ecpg*
1064 %files devel -f pg_config-%{mver}.lang
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_bindir}/pg_config
1067 %attr(755,root,root) %{_libdir}/libpq.so
1068 %dir %{_includedir}/postgresql
1069 %{_includedir}/libpq-events.h
1070 %{_includedir}/libpq-fe.h
1071 %{_includedir}/pg_config.h
1072 %{_includedir}/pg_config_manual.h
1073 %{_includedir}/pg_config_os.h
1074 %{_includedir}/postgres_ext.h
1075 %dir %{_includedir}/postgresql/internal
1076 %{_includedir}/postgresql/internal/c.h
1077 %{_includedir}/postgresql/internal/libpq-int.h
1078 %{_includedir}/postgresql/internal/port.h
1079 %{_includedir}/postgresql/internal/postgres_fe.h
1080 %{_includedir}/postgresql/internal/pqexpbuffer.h
1081 %{_includedir}/postgresql/internal/libpq
1082 %{_includedir}/libpq
1083 %{_mandir}/man1/pg_config.1*
1085 %files backend-devel
1086 %defattr(644,root,root,755)
1087 %{_includedir}/postgresql/server
1088 %dir %{_pgmoduledir}/pgxs
1089 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1090 %{_pgmoduledir}/pgxs/src
1091 %{_mandir}/man3/SPI_*.3*
1094 %defattr(644,root,root,755)
1095 %{_libdir}/libecpg.a
1096 %{_libdir}/libecpg_compat.a
1098 %{_libdir}/libpgtypes.a
1099 %{_libdir}/libpgport.a
1101 %files clients -f clients-%{mver}.lang
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_bindir}/clusterdb
1104 %attr(755,root,root) %{_bindir}/createdb
1105 %attr(755,root,root) %{_bindir}/createlang
1106 %attr(755,root,root) %{_bindir}/createuser
1107 %attr(755,root,root) %{_bindir}/dropdb
1108 %attr(755,root,root) %{_bindir}/droplang
1109 %attr(755,root,root) %{_bindir}/dropuser
1110 %attr(755,root,root) %{_bindir}/pg_dump
1111 %attr(755,root,root) %{_bindir}/pg_dumpall
1112 %attr(755,root,root) %{_bindir}/pg_restore
1113 %attr(755,root,root) %{_bindir}/psql
1114 %attr(755,root,root) %{_bindir}/reindexdb
1115 %attr(755,root,root) %{_bindir}/vacuumdb
1117 %{_mandir}/man1/clusterdb.1*
1118 %{_mandir}/man1/createdb.1*
1119 %{_mandir}/man1/createlang.1*
1120 %{_mandir}/man1/createuser.1*
1121 %{_mandir}/man1/dropdb.1*
1122 %{_mandir}/man1/droplang.1*
1123 %{_mandir}/man1/dropuser.1*
1124 %{_mandir}/man1/pg_dump.1*
1125 %{_mandir}/man1/pg_dumpall.1*
1126 %{_mandir}/man1/pg_restore.1*
1127 %{_mandir}/man1/psql.1*
1128 %{_mandir}/man1/reindexdb.1*
1129 %{_mandir}/man1/vacuumdb.1*
1130 %{_mandir}/man7/*.7*
1133 %files module-plperl -f plperl-%{mver}.lang
1134 %defattr(644,root,root,755)
1135 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1136 %{_pgsqldir}/plperl--*.sql
1137 %{_pgsqldir}/plperl.control
1138 %{_pgsqldir}/plperlu--*.sql
1139 %{_pgsqldir}/plperlu.control
1143 %files module-plpython -f plpython-%{mver}.lang
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1146 %{_pgsqldir}/plpython*--*.sql
1147 %{_pgsqldir}/plpython*.control
1151 %files module-pltcl -f pltcl-%{mver}.lang
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_bindir}/pltcl_*
1154 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1155 %{_pgsqldir}/unknown.pltcl
1156 %{_pgsqldir}/pltcl*--*.sql
1157 %{_pgsqldir}/pltcl*.control
1160 %files module-dblink
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1163 %{_pgsqldir}/dblink--*.sql
1164 %{_pgsqldir}/dblink.control
1165 %{_mandir}/man3/dblink*.3*
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_pgmoduledir}/lo.so
1170 %{_pgsqldir}/lo--*.sql
1171 %{_pgsqldir}/lo.control
1173 %files module-pg_trgm
1174 %defattr(644,root,root,755)
1175 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1176 %{_pgsqldir}/pg_trgm--*.sql
1177 %{_pgsqldir}/pg_trgm.control
1179 %files module-pgcrypto
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1182 %{_pgsqldir}/pgcrypto--*.sql
1183 %{_pgsqldir}/pgcrypto.control
1185 %files module-sepgsql
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1188 %{_pgsqldir}/sepgsql.sql
1190 %files module-tablefunc
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1193 %{_pgsqldir}/*tablefunc--*.sql
1194 %{_pgsqldir}/*tablefunc.control
1197 %defattr(644,root,root,755)
1198 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1199 %{_pgsqldir}/xml2--*.sql
1200 %{_pgsqldir}/xml2.control
1203 %defattr(644,root,root,755)
1204 %doc contrib/README contrib/pldebugger/README.pl*
1205 %attr(755,root,root) %{_bindir}/oid2name
1206 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1207 %attr(755,root,root) %{_bindir}/pg_standby
1208 %attr(755,root,root) %{_bindir}/pgbench
1209 %attr(755,root,root) %{_bindir}/vacuumlo
1210 %attr(755,root,root) %{_pgmoduledir}/_int.so
1211 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1212 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1213 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1214 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1215 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1216 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1217 %attr(755,root,root) %{_pgmoduledir}/citext.so
1218 %attr(755,root,root) %{_pgmoduledir}/cube.so
1219 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1220 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1221 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1222 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1223 %attr(755,root,root) %{_pgmoduledir}/isn.so
1224 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1225 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1226 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1227 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1228 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1229 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1230 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1231 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1232 %attr(755,root,root) %{_pgmoduledir}/pldbgapi.so
1233 %attr(755,root,root) %{_pgmoduledir}/plugins/plugin_debugger.so
1234 %attr(755,root,root) %{_pgmoduledir}/plugins/plugin_profiler.so
1235 %attr(755,root,root) %{_pgmoduledir}/seg.so
1236 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1237 %attr(755,root,root) %{_pgmoduledir}/targetinfo.so
1238 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1239 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1240 %{_pgsqldir}/adminpack--*.sql
1241 %{_pgsqldir}/adminpack.control
1242 %{_pgsqldir}/btree_gin--*.sql
1243 %{_pgsqldir}/btree_gin.control
1244 %{_pgsqldir}/btree_gist--*.sql
1245 %{_pgsqldir}/btree_gist.control
1246 %{_pgsqldir}/chkpass--*.sql
1247 %{_pgsqldir}/chkpass.control
1248 %{_pgsqldir}/citext--*.sql
1249 %{_pgsqldir}/citext.control
1250 %{_pgsqldir}/cube--*.sql
1251 %{_pgsqldir}/cube.control
1252 %{_pgsqldir}/dict_int--*.sql
1253 %{_pgsqldir}/dict_int.control
1254 %{_pgsqldir}/dict_xsyn--*.sql
1255 %{_pgsqldir}/dict_xsyn.control
1256 %{_pgsqldir}/earthdistance--*.sql
1257 %{_pgsqldir}/earthdistance.control
1258 %{_pgsqldir}/file_fdw--*.sql
1259 %{_pgsqldir}/file_fdw.control
1260 %{_pgsqldir}/fuzzystrmatch--*.sql
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}/pldbgapi.sql
1286 %{_pgsqldir}/seg--*.sql
1287 %{_pgsqldir}/seg.control
1288 %{_pgsqldir}/sslinfo--*.sql
1289 %{_pgsqldir}/sslinfo.control
1290 %{_pgsqldir}/unaccent--*.sql
1291 %{_pgsqldir}/unaccent.control
1292 %{_pgsqldir}/uuid-ossp--*.sql
1293 %{_pgsqldir}/uuid-ossp.control