2 # - python 3 and python 2 subpackages?
3 # - consider dns_sd/Bonjour support (--with-bonjour)
4 # - --enable-dtrace (is it systemtap-compatible?)
5 # - think about pg_upgrade integration (sysconfig variable to allow upgrade from 8.3+ without dump/restore?)
6 # create postgresqlM.N packages with parts of old pgsql required by pg_upgrade
7 # - test init script (db initialization)
10 %bcond_without tests # disable testing
11 %bcond_without tcl # disable Tcl support
12 %bcond_without kerberos5 # disable kerberos5 support
13 %bcond_without perl # disable Perl support
14 %bcond_without python # disable Python support
15 %bcond_without ldap # disable LDAP support
16 %bcond_without selinux # sepgsql contrib module
17 %bcond_with absolute_dbpaths # enable absolute paths to create database
18 # (disabled by default because it is a security risk)
24 Summary: PostgreSQL Data Base Management System
25 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
26 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
27 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
28 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
29 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
30 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
31 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
32 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
33 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
38 Group: Applications/Databases
39 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
40 # Source0-md5: 5059857c7d7e6ad83b6d55893a121b59
42 Source2: pgsql-Database-HOWTO-html.tar.gz
43 # Source2-md5: 5b656ddf1db41965761f85204a14398e
44 Source3: %{name}.sysconfig
45 Source4: %{name}@.service
46 Source5: %{name}.service
47 Source6: %{name}.target
48 Source7: %{name}.upstart
49 Source8: %{name}-instance.upstart
50 Patch0: %{name}-conf.patch
51 Patch1: %{name}-absolute_dbpaths.patch
52 Patch2: %{name}-ecpg-includedir.patch
53 Patch3: %{name}-ac_version.patch
54 Patch4: %{name}-disable_horology_test.patch
55 Patch5: %{name}-heimdal.patch
56 URL: http://www.postgresql.org/
57 BuildRequires: autoconf
58 BuildRequires: automake
59 # not needed for releases... but fixes something in snapshot
60 BuildRequires: bison >= 1.875
61 BuildRequires: docbook-dtd42-sgml
62 BuildRequires: docbook-dtd42-xml
63 BuildRequires: docbook-style-xsl
64 BuildRequires: flex >= 2.5.31
65 BuildRequires: gettext-tools
66 BuildRequires: gnome-doc-tools
67 %{?with_kerberos5:BuildRequires: heimdal-devel}
68 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
69 BuildRequires: libtool
70 BuildRequires: libxml2-devel >= 1:2.6.23
71 BuildRequires: libxslt-devel
72 BuildRequires: libxslt-progs
73 BuildRequires: ncurses-devel >= 5.0
74 %{?with_ldap:BuildRequires: openldap-devel}
75 BuildRequires: openssl-devel >= 0.9.7d
76 BuildRequires: ossp-uuid-devel
77 BuildRequires: pam-devel
78 %{?with_perl:BuildRequires: perl-devel}
80 BuildRequires: python >= 1:2.3
81 BuildRequires: python-devel >= 1:2.3
82 BuildRequires: python-modules >= 1:2.3
84 BuildRequires: readline-devel >= 4.2
85 BuildRequires: rpmbuild(macros) >= 1.671
86 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
87 %{?with_tests:BuildRequires: tzdata}
88 BuildRequires: zlib-devel
89 Requires(post,preun): /sbin/chkconfig
90 Requires(pre): /bin/id
91 Requires(pre): /usr/bin/getgid
92 Requires(pre): /usr/sbin/groupadd
93 Requires(pre): /usr/sbin/useradd
94 Requires(triggerpostun): /bin/id
95 Requires(triggerpostun): /usr/sbin/usermod
96 Requires: %{name}-clients >= %{version}-%{release}
97 Requires: %{name}-libs = %{version}-%{release}
98 Requires: rc-scripts >= 0.4.3.0
99 Requires: systemd-units >= 38
101 Obsoletes: postgresql-module-plpgsql
102 Obsoletes: postgresql-module-tsearch2
103 Obsoletes: postgresql-server
104 Obsoletes: postgresql-test
105 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107 %define _pgmoduledir %{_libdir}/postgresql
108 %define _pgsqldir %{_datadir}/postgresql/extension
110 %define _ulibdir /usr/lib
113 # dummy_seclabel, pg_test_fsync, pg_test_timing, spi, test_parser, worker_spi - examples/tests
114 # tsearch2 - old module for compatibility only
115 %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 pg_xlogdump pgbench pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn unaccent uuid-ossp vacuumlo xml2
118 PostgreSQL Data Base Management System (formerly known as Postgres,
121 PostgreSQL is an enhancement of the POSTGRES database management
122 system, a next-generation DBMS research prototype. While PostgreSQL
123 retains the powerful data model and rich data types of POSTGRES, it
124 replaces the PostQuel query language with an extended subset of SQL.
125 PostgreSQL is free and the complete source is available.
127 PostgreSQL development is being performed by a team of Internet
128 developers who all subscribe to the PostgreSQL development mailing
129 list. The current coordinator is Marc G. Fournier
130 (scrappy@postgreSQL.org). This team is now responsible for all current
131 and future development of PostgreSQL.
133 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
134 others have contributed to the porting, testing, debugging and
135 enhancement of the code. The original Postgres code, from which
136 PostgreSQL is derived, was the effort of many graduate students,
137 undergraduate students, and staff programmers working under the
138 direction of Professor Michael Stonebraker at the University of
139 California, Berkeley.
141 The original name of the software at Berkeley was Postgres. When SQL
142 functionality was added in 1995, its name was changed to Postgres95.
143 The name was changed at the end of 1996 to PostgreSQL.
145 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
146 and most flavours of Unix.
148 %description -l de.UTF-8
149 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
152 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
153 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
154 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
155 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
156 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
159 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
160 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
161 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
162 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
164 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
165 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
166 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
167 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
168 Studenten und Programmierern unter der Leitung von Professor Michael
169 Stonebraker an der University of California, Berkeley.
171 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
172 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
173 entschied man sich für PostgreSQL.
175 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
176 und den meisten Unix-Systemen.
178 %description -l es.UTF-8
179 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
180 como Postgres, y después como Postgres95). PostgreSQL es una
181 continuación mejorada del Sistema Administrador de Banco de Datos
182 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
183 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
184 los varios tipos de datos del POSTGRES, substituye el lenguaje de
185 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
186 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
187 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
188 en la lista de desarrollo del PostgreSQL. El coordinador actual es
189 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
190 responsable por el desarrollo actual y futuro del PostgreSQL.
192 %description -l fr.UTF-8
193 Système de gestion de bases de données PostgreSQL (D'abord nommé
194 Postgres, puis Postgres95).
196 PostgreSQL est une amélioration du système de gestion de bases de
197 données POSTGRES, un prototype de recherche de la génération suivant
198 DBMS. Tout en conservant le puissant modèle de donnée de et les types
199 de donée riches de Postgres, il remplace le langage de requêtes de
200 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
201 libre, et ses sources sont disponibles.
203 Le développement de PostgreSQL est actuellement réalisé via internet
204 parune équipe de développeurs inscrits sur la mailing-list de
205 développement de PostgreSQL. Le coordinateur actuel est Marc G
206 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
207 développemen actuel et à venir de PostgreSQL.
209 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
210 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
211 l'amélioration du code. Le code original de Postgres, duquel
212 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
213 moins haut niveau, et de programmeurs travaillant sous la direction du
214 professeur Michael Stonebraker à l'université de Berkeley Californie.
216 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
217 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
218 rebaptisé PostgreSQL en 1996.
220 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
221 et la plupart des Unix.
223 %description -l pl.UTF-8
224 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
225 Postgres, następnie jako Postgres95).
227 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
228 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
229 model danych oraz bogaty zbiór różnych typów danych, to jednak język
230 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
231 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
234 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
235 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
236 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
237 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
239 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
240 innych pomagało przenosząc na różne platformy, testując, analizując i
241 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
242 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
243 zespołu programistów, którzy pracowali pod kierunkiem profesora
244 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
246 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
247 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
248 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
251 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
252 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
254 %description -l pt_BR.UTF-8
255 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
256 Postgres, e depois como Postgres95).
258 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
259 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
260 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
261 dados e os vários tipos de dados do POSTGRES, ele substitui a
262 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
263 PostgreSQL é livre e tem os fontes disponíveis.
265 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
266 desenvolvedores da Internet, todos subscritores da lista de
267 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
268 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
269 desenvolvimento atual e futuro do PostgreSQL.
271 %description -l ru.UTF-8
272 PostgreSQL - система управления базами данных (прежде известная как
273 Postgres, потом как Postgres95).
275 PostgreSQL - это расширенная версия системы управления базами данных
276 POSTGRES, исследовательского прототипа DBMS следующей генерации.
277 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
278 она заменяет язык запросов PostQuel расширенным набором SQL.
279 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
282 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
283 на список рассылки, посвященный разработке PostgreSQL. В настоящее
284 время координатором является Marc G. Fournier
285 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
286 все текущие и будущие разработки PostgreSQL.
288 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
289 свой вклад в портирование, тестирование, отладку и улучшение кода.
290 Оригинальный код Postgres, от которого произошел PostgreSQL, был
291 создан усилиями студентов, аспирантов и персонала, работающего под
292 руководством профессора Michael Stonebraker в University of
293 California, Berkeley.
295 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
296 была добавлена функциональность SQL, название изменилось на
297 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
300 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
301 и большинстве других разновидностей Unix.
303 %description -l tr.UTF-8
304 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
305 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
306 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
307 sorgulama dilini koyar.
309 %description -l uk.UTF-8
310 PostgreSQL - система керування базами даних (раніш відома як Postgres,
311 потім як Postgres95).
313 PostgreSQL - це розширена версія системи керування базами даних
314 POSTGRES, дослідницького прототипу DBMS наступної генерації.
315 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
316 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
317 безкоштовна та поставляється у вигляді повного комплекту вихідних
320 PostgreSQL розробляється командою Internet-програмістів, учасників
321 списку розсилки, присвяченого розробці PostgreSQL. Наразі
322 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
323 відповідає за всі поточні та майбутні розробки PostgreSQL.
325 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
326 внесли свій внесок в портування, тестування, відладку та покращення
327 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
328 створений зусиллями студентів, аспірантів та персоналу, який працював
329 під керівництвом професора Michael Stonebraker в University of
330 California, Berkeley.
332 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
333 було додано функціональність SQL, назва змінилася на Postgres95. В
334 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
336 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
337 та більшості інших різновидів Unix.
340 Summary: Upstart job description for PostgreSQL server
341 Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
343 Requires: %{name} = %{version}-%{release}
344 Requires: upstart >= 0.6
345 Conflicts: syslog-ng < 3.2.4-1
348 Upstart job description for PostgreSQL.
350 %description upstart -l pl.UTF-8
351 Opis zadania Upstart dla PostgreSQL.
354 Summary: PostgreSQL development header files and libraries
355 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
356 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
357 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
358 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
359 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
360 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
361 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
362 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
363 Group: Development/Libraries
364 Requires: %{name}-libs = %{version}-%{release}
367 This package contains header files and libraries required to compile
368 applications that are talking directly to the PostgreSQL backend
371 %description devel -l de.UTF-8
372 Dieses Paket enthält die Header-Dateien und Libraries, die zum
373 Kompilieren von Applikationen notwendig sind, die direkt mit dem
374 PostgreSQL-Backend-Server kommunizieren.
376 %description devel -l es.UTF-8
377 Este paquete contiene archivos de inclusión y bibliotecas requeridas
378 para compilación de aplicativos que se comunican directamente con el
379 servidor backend PostgreSQL.
381 %description devel -l fr.UTF-8
382 Ce package contient les fichiers d'en-tête et les bibliothéques
383 nécessaires pour compiler des applications ayant des échanges directs
384 avec le serveur du backend PostgreSQL.
386 %description devel -l pl.UTF-8
387 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
388 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
390 %description devel -l pt_BR.UTF-8
391 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
392 compilação de aplicativos que se comunicam diretamente com o servidor
395 %description devel -l ru.UTF-8
396 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
397 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
399 %description devel -l tr.UTF-8
400 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
401 gereken başlık dosyalarını ve kitaplıkları içerir.
403 %description devel -l uk.UTF-8
404 Цей пакет містить хедери та бібліотеки, необхідні для розробки
405 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
407 %package backend-devel
408 Summary: PostgreSQL backend development header files
409 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
410 Group: Development/Libraries
411 Requires: %{name}-devel = %{version}-%{release}
412 Requires: %{name}-libs = %{version}-%{release}
414 %description backend-devel
415 This package contains header files required to compile functions that
416 could be loaded directly by backend
418 %description backend-devel -l pl.UTF-8
419 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
420 bezposrednio ladowane przez beckend serwera PostgreSQL.
423 Summary: Clients needed to access a PostgreSQL server
424 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
425 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
426 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
427 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
428 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
429 Group: Applications/Databases
430 Requires: %{name}-libs = %{version}-%{release}
433 This package includes only the clients needed to access an PostgreSQL
434 server. The server is included in the main package. If all you need is
435 to connect to another PostgreSQL server, the this is the only package
436 you need to install. Clients include several command-line utilities
437 you can use to manage your databases on a remote PostgreSQL server.
439 %description clients -l es.UTF-8
440 Este paquete incluye solamente los clientes necesarios para acceder un
441 servidor PostgreSQL. El servidor está en el paquete principal.
443 %description clients -l pl.UTF-8
444 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
445 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
446 poleceń. Serwer znajduje się w głównym pakiecie.
448 %description clients -l pt_BR.UTF-8
449 Este pacote inclui somente os clientes necessários para acessar um
450 servidor PostgreSQL. O servidor está no pacote principal.
452 %description clients -l ru.UTF-8
453 Этот пакет включает только клиентские программы и библиотеки,
454 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
455 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
456 единственный пакет, который вам надо установить.
458 Теперь пакеты с библиотеками для разных языков программирования (C,
459 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
462 %description clients -l uk.UTF-8
463 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
464 для доступу до сервера PostgreSQL. Сервер міститься в головному
465 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
466 єдиний пакет, який вам треба встановити.
468 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
469 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
472 Summary: Documentation for PostgreSQL
473 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
474 Group: Applications/Databases
477 This package includes documentation and HOWTO for programmer, admin
478 etc., in HTML format.
480 %description doc -l pl.UTF-8
481 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
482 administratorów w formacie HTML.
485 Summary: PostgreSQL libraries
486 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
487 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
488 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
489 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
493 PostgreSQL shared libraries.
495 %description libs -l es.UTF-8
496 Este paquete contiene la biblioteca compartida para acceso al
499 %description libs -l pl.UTF-8
500 Biblioteki dzielone programu PostgreSQL.
502 %description libs -l pt_BR.UTF-8
503 Este pacote contém a biblioteca compartilhada para acesso ao
507 Summary: Embedded SQL in C interface
508 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
510 Requires: %{name}-libs = %{version}-%{release}
513 Embedded SQL in C interface.
515 %description ecpg -l pl.UTF-8
516 Interfejs wbudowanego SQL-a w język C.
519 Summary: Embedded SQL in C interface files
520 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
521 Group: Development/Libraries
522 Requires: %{name}-devel = %{version}-%{release}
523 Requires: %{name}-ecpg = %{version}-%{release}
525 %description ecpg-devel
526 Embedded SQL in C interface files.
528 %description ecpg-devel -l pl.UTF-8
529 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
532 Summary: PostgreSQL static libraries
533 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
534 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
535 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
536 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
537 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
538 Group: Development/Libraries
539 Requires: %{name}-devel = %{version}-%{release}
542 PostgreSQL static libraries.
544 %description static -l es.UTF-8
545 Este paquete contiene bibliotecas estaticas requerida para compilación
546 de aplicativos que se comunican directamente con el servidor backend
549 %description static -l pl.UTF-8
550 Biblioteki statyczne programu PostgreSQL.
552 %description static -l pt_BR.UTF-8
553 Este pacote contém as bibliotecas estáticas requeridas para compilação
554 de aplicativos que se comunicam diretamente com o servidor backend
557 %description static -l ru.UTF-8
558 Это отдельный пакет со статическими библиотеками, которые больше не
559 входят в %{name}-devel.
561 %description static -l uk.UTF-8
562 Це окремий пакет зі статичними бібліотеками, які більш не входять в
565 %package module-plperl
566 Summary: PL/perl - PostgreSQL procedural language
567 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
568 Group: Applications/Databases
569 Requires: %{name} = %{version}-%{release}
571 %description module-plperl
572 From PostgreSQL documentation:
574 Postgres supports the definition of procedural languages. In the case
575 of a function or trigger procedure defined in a procedural language,
576 the database has no built-in knowledge about how to interpret the
577 function's source text. Instead, the task is passed to a handler that
578 knows the details of the language. The handler itself is a special
579 programming language function compiled into a shared object and loaded
582 To enable PL/Perl procedural language for your database you have to
583 run createlang command.
585 %description module-plperl -l pl.UTF-8
586 Z dokumentacji PostgreSQL:
588 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
589 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
590 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
591 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
592 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
593 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
596 Za pomocą polecenia createlang można dodać obsługę języka
597 proceduralnego PL/Perl dla swojej bazy danych.
599 %package module-plpython
600 Summary: PL/Python - PostgreSQL procedural language
601 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
602 Group: Applications/Databases
603 Requires: %{name} = %{version}-%{release}
604 %pyrequires_eq python
606 %description module-plpython
607 From PostgreSQL documentation:
609 Postgres supports the definition of procedural languages. In the case
610 of a function or trigger procedure defined in a procedural language,
611 the database has no built-in knowledge about how to interpret the
612 function's source text. Instead, the task is passed to a handler that
613 knows the details of the language. The handler itself is a special
614 programming language function compiled into a shared object and loaded
617 To enable PL/Python procedural language for your database you have to
618 run createlang command.
620 %description module-plpython -l pl.UTF-8
621 Z dokumentacji PostgreSQL:
623 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
624 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
625 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
626 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
627 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
628 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
631 Za pomocą polecenia createlang można dodać obsługę języka
632 proceduralnego PL/Python dla swojej bazy danych.
634 %package module-pltcl
635 Summary: PL/Tcl - PostgreSQL procedural language
636 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
637 Group: Applications/Databases
638 Requires: %{name} = %{version}-%{release}
641 %description module-pltcl
642 From PostgreSQL documentation:
644 Postgres supports the definition of procedural languages. In the case
645 of a function or trigger procedure defined in a procedural language,
646 the database has no built-in knowledge about how to interpret the
647 function's source text. Instead, the task is passed to a handler that
648 knows the details of the language. The handler itself is a special
649 programming language function compiled into a shared object and loaded
652 To enable PL/Tcl procedural language for your database you have to run
655 %description module-pltcl -l pl.UTF-8
656 Z dokumentacji PostgreSQL:
658 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
659 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
660 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
661 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
662 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
663 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
666 Za pomocą polecenia createlang można dodać obsługę języka
667 proceduralnego PL/Tcl dla swojej bazy danych.
669 %package module-dblink
670 Summary: dblink module for PostgreSQL
671 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
672 Group: Applications/Databases
673 Requires: %{name} = %{version}-%{release}
675 %description module-dblink
676 dblink module for PostgreSQL provides functions returning results from
679 %description module-dblink -l pl.UTF-8
680 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
684 Summary: Large Objects module for PostgreSQL
685 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
686 Group: Applications/Databases
687 Requires: %{name} = %{version}-%{release}
689 %description module-lo
690 Large Objects module for PostgreSQL adds a new data type 'lo', some
691 support functions and a trigger which handles the orphaning problem.
693 %description module-lo -l pl.UTF-8
694 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
695 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
696 osieroconych obiektów.
698 %package module-pg_trgm
699 Summary: Trigram matching for PostgreSQL
700 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
701 Group: Applications/Databases
702 Requires: %{name} = %{version}-%{release}
704 %description module-pg_trgm
705 This module provides functions and index classes for determining the
706 similarity of text based on trigram matching.
708 %description module-pg_trgm -l pl.UTF-8
709 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
710 w oparciu o dopasowywanie trigramowe (trigram matching).
712 %package module-pgcrypto
713 Summary: Cryptographic functions for PostgreSQL
714 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
715 Group: Applications/Databases
716 Requires: %{name} = %{version}-%{release}
718 %description module-pgcrypto
719 Cryptographic functions for PostgreSQL.
721 %description module-pgcrypto -l pl.UTF-8
722 Funkcje kryptograficzne dla PostgreSQL.
724 %package module-sepgsql
725 Summary: PostgreSQL external security provider using SELinux
726 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
727 Group: Applications/Databases
728 Requires: %{name} = %{version}-%{release}
729 Requires: libselinux >= 2.1.10
731 %description module-sepgsql
732 PostgreSQL external security provider using SELinux.
734 %description module-sepgsql -l pl.UTF-8
735 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
737 %package module-tablefunc
738 Summary: crosstab functions for PostgreSQL
739 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
740 Group: Applications/Databases
741 Requires: %{name} = %{version}-%{release}
743 %description module-tablefunc
744 crosstab functions for PostgreSQL.
746 %description module-tablefunc -l pl.UTF-8
747 Funkcje crosstab dla PostgreSQL-a.
750 Summary: XML-handling functions for PostgreSQL
751 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
752 Group: Applications/Databases
753 Requires: %{name} = %{version}-%{release}
754 Requires: libxml2 >= 1:2.6.23
756 %description module-xml2
757 Module with XML functions provides both XPath querying and XSLT
758 functionality. There is also a new table function which allows the
759 straightforward return of multiple XML results.
761 %description module-xml2 -l pl.UTF-8
762 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
763 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
764 bezpośrednie zwracanie wielu wyników XML.
767 Summary: Miscellaneous PostgreSQL contrib modules
768 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
769 Group: Applications/Databases
770 Requires: %{name} = %{version}-%{release}
773 Miscellaneous PostgreSQL contrib modules.
775 %description contrib -l pl.UTF-8
776 Różne moduły dołączone do PostgreSQL-a.
781 %{?with_absolute_dbpaths:%patch1 -p1}
787 # force rebuild of bison/flex files
788 find src -name \*.l -o -name \*.y | xargs touch
791 #find contrib -type d -name CVS -exec rm -rf {} \;
794 %{__aclocal} -I config
797 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
800 --enable-integer-datetimes \
801 --with-system-tzdata=%{_datadir}/zoneinfo \
803 --enable-thread-safety \
804 %{?with_kerberos5:--with-gssapi} \
805 %{?with_kerberos5:--with-krb5} \
806 %{?with_ldap:--with-ldap} \
811 %{?with_perl:--with-perl} \
812 %{?with_python:--with-python} \
813 %{?with_selinux:--with-selinux} \
814 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
819 for mod in %{contrib_modules}; do \
820 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
821 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
822 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
823 %{__make} -C contrib/$mod CFLAGS="$flags"
826 %{__make} -C src/tutorial \
829 %ifnarch sparc sparcv9 sparc64 alpha
830 %{?with_tests:%{__make} -j1 check}
834 rm -rf $RPM_BUILD_ROOT
835 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
836 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
837 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
838 $RPM_BUILD_ROOT%{_mandir} \
839 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
840 $RPM_BUILD_ROOT/home/services/postgres
842 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
845 DESTDIR=$RPM_BUILD_ROOT
846 %{__make} -C doc/src/sgml install-man \
847 DESTDIR=$RPM_BUILD_ROOT
850 %{__make} install -C src/pl/plperl \
851 DESTDIR=$RPM_BUILD_ROOT
854 for mod in %{contrib_modules}; do \
855 %{__make} -C contrib/$mod install \
856 DESTDIR=$RPM_BUILD_ROOT
859 touch $RPM_BUILD_ROOT/var/log/pgsql
861 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
862 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
864 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
865 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
866 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
868 install %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf
869 install %{SOURCE8} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
872 tar zxf %{SOURCE2} -C howto
875 %py_comp $RPM_BUILD_ROOT%{py_libdir}
876 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
880 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
881 %find_lang $f-%{mver}
884 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
885 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
886 plpgsql-%{mver}.lang \
887 pg_basebackup-%{mver}.lang \
889 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
890 pg_ctl-%{mver}.lang > clients-%{mver}.lang
891 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
894 %find_lang pltcl-%{mver}
895 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
899 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
902 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
904 # unpackaged contribs
905 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{pg_test_fsync,pg_test_timing}.1
907 # package it...? nah, why bother.
908 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
911 rm -rf $RPM_BUILD_ROOT
915 if [ -f /etc/sysconfig/postgresql ]; then
916 . /etc/sysconfig/postgresql
917 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
918 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
922 for pgdir in $PG_DB_CLUSTERS; do
923 if [ -f $pgdir/PG_VERSION ]; then
924 if [ $(cat $pgdir/PG_VERSION) != '9.3' ]; then
925 echo "Found database(s) in older, incompatible format in cluster $pgdir."
930 if [ "$foundold" = "1" ]; then
932 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
933 echo "and clean (or rename) those directories; then upgrade postgresql and"
934 echo "restore all data (using pg_restore or psql)."
935 echo "Remember to stop the daemon before upgrading!"
937 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
938 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
940 echo "Warning for upgrade from version *before* 7.2."
941 echo "Please note, that postgresql module path changed from"
942 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
943 echo "in dump file before restore."
945 echo "Warning for upgrade from version *before* 7.3."
946 echo "Reading following webpage is encouraged:"
947 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
950 %groupadd -g 88 -r postgres
951 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
953 %triggerpostun -- %{name} < 7.2-2
954 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
955 /usr/sbin/usermod -d /home/services/postgres postgres
959 /sbin/chkconfig --add postgresql
960 %service postgresql restart "postgresql server"
961 if [ "$1" -eq "1" ]; then
963 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
964 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
965 for pgdir in $PG_DB_CLUSTERS; do
966 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
967 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
970 %systemd_post postgresql.service
973 if [ "$1" = "0" ]; then
974 %service postgresql stop
975 /sbin/chkconfig --del postgresql
978 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
979 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
980 for pgdir in $PG_DB_CLUSTERS; do
981 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
982 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
985 %systemd_preun postgresql.service
990 %triggerpostun -- %{name} < 9.3.3-2
992 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
993 for pgdir in $PG_DB_CLUSTERS; do
994 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
995 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
997 %systemd_trigger postgresql.service
1000 %upstart_post postgresql
1003 %upstart_postun postgresql
1005 %post libs -p /sbin/ldconfig
1006 %postun libs -p /sbin/ldconfig
1008 %post ecpg -p /sbin/ldconfig
1009 %postun ecpg -p /sbin/ldconfig
1011 %files -f main-%{mver}.lang
1012 %defattr(644,root,root,755)
1013 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
1014 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1015 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1016 %{systemdunitdir}/%{name}.service
1017 %{systemdunitdir}/%{name}@.service
1018 %{systemdunitdir}/%{name}.target
1019 %dir /etc/systemd/system/%{name}.target.requires
1021 %attr(755,root,root) %{_bindir}/initdb
1022 %attr(755,root,root) %{_bindir}/pg_basebackup
1023 %attr(755,root,root) %{_bindir}/pg_controldata
1024 %attr(755,root,root) %{_bindir}/pg_ctl
1025 %attr(755,root,root) %{_bindir}/pg_resetxlog
1026 %attr(755,root,root) %{_bindir}/pg_receivexlog
1027 %attr(755,root,root) %{_bindir}/pg_upgrade
1028 %attr(755,root,root) %{_bindir}/postgres
1029 %attr(755,root,root) %{_bindir}/postmaster
1031 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1032 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1033 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1034 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1035 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1036 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1037 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1038 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1039 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1040 %attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so
1041 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1042 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1045 %{_pgsqldir}/plpgsql--*.sql
1046 %{_pgsqldir}/plpgsql.control
1048 %dir %{_datadir}/postgresql
1049 %{_datadir}/postgresql/*.bki
1050 %{_datadir}/postgresql/*.sample
1051 %{_datadir}/postgresql/*.description
1052 %{_datadir}/postgresql/*.shdescription
1053 %{_datadir}/postgresql/*.sql
1054 %{_datadir}/postgresql/*.txt
1055 %{_datadir}/postgresql/timezonesets
1056 %{_datadir}/postgresql/tsearch_data
1058 %dir %{_datadir}/postgresql/contrib
1060 %attr(700,postgres,postgres) /home/services/postgres
1061 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1062 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1064 %{_mandir}/man1/initdb.1*
1065 %{_mandir}/man1/pg_basebackup.1*
1066 %{_mandir}/man1/pg_controldata.1*
1067 %{_mandir}/man1/pg_ctl.1*
1068 %{_mandir}/man1/pg_resetxlog.1*
1069 %{_mandir}/man1/pg_receivexlog.1*
1070 %{_mandir}/man1/postgres.1*
1071 %{_mandir}/man1/postmaster.1*
1073 %if "%{pld_release}" != "ti"
1075 %defattr(644,root,root,755)
1076 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1077 %dir /etc/init/postgresql
1078 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
1082 %defattr(644,root,root,755)
1083 %doc doc/src/sgml/html howto
1084 %{_examplesdir}/%{name}-%{version}
1086 %files libs -f libpq5-%{mver}.lang
1087 %defattr(644,root,root,755)
1088 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1089 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1090 %dir %{_pgmoduledir}
1092 %files ecpg -f ecpg.lang
1093 %defattr(644,root,root,755)
1094 %attr(755,root,root) %{_bindir}/ecpg
1095 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1096 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1097 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1098 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1099 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1100 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1101 %{_mandir}/man1/ecpg.1*
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_libdir}/libecpg.so
1106 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1107 %attr(755,root,root) %{_libdir}/libpgtypes.so
1108 %{_includedir}/ecpg*
1109 %{_pkgconfigdir}/libecpg.pc
1110 %{_pkgconfigdir}/libecpg_compat.pc
1111 %{_pkgconfigdir}/libpgtypes.pc
1113 %files devel -f pg_config-%{mver}.lang
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_bindir}/pg_config
1116 %attr(755,root,root) %{_libdir}/libpq.so
1117 %dir %{_includedir}/postgresql
1118 %{_includedir}/libpq-events.h
1119 %{_includedir}/libpq-fe.h
1120 %{_includedir}/pg_config.h
1121 %{_includedir}/pg_config_ext.h
1122 %{_includedir}/pg_config_manual.h
1123 %{_includedir}/pg_config_os.h
1124 %{_includedir}/postgres_ext.h
1125 %dir %{_includedir}/postgresql/internal
1126 %{_includedir}/postgresql/internal/c.h
1127 %{_includedir}/postgresql/internal/libpq-int.h
1128 %{_includedir}/postgresql/internal/port.h
1129 %{_includedir}/postgresql/internal/postgres_fe.h
1130 %{_includedir}/postgresql/internal/pqexpbuffer.h
1131 %{_includedir}/postgresql/internal/libpq
1132 %{_includedir}/libpq
1133 %{_pkgconfigdir}/libpq.pc
1134 %{_mandir}/man1/pg_config.1*
1136 %files backend-devel
1137 %defattr(644,root,root,755)
1138 %{_includedir}/postgresql/server
1139 %dir %{_pgmoduledir}/pgxs
1140 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1141 %{_pgmoduledir}/pgxs/src
1142 %{_mandir}/man3/SPI_*.3*
1145 %defattr(644,root,root,755)
1146 %{_libdir}/libecpg.a
1147 %{_libdir}/libecpg_compat.a
1149 %{_libdir}/libpgcommon.a
1150 %{_libdir}/libpgtypes.a
1151 %{_libdir}/libpgport.a
1153 %files clients -f clients-%{mver}.lang
1154 %defattr(644,root,root,755)
1155 %attr(755,root,root) %{_bindir}/clusterdb
1156 %attr(755,root,root) %{_bindir}/createdb
1157 %attr(755,root,root) %{_bindir}/createlang
1158 %attr(755,root,root) %{_bindir}/createuser
1159 %attr(755,root,root) %{_bindir}/dropdb
1160 %attr(755,root,root) %{_bindir}/droplang
1161 %attr(755,root,root) %{_bindir}/dropuser
1162 %attr(755,root,root) %{_bindir}/pg_dump
1163 %attr(755,root,root) %{_bindir}/pg_dumpall
1164 %attr(755,root,root) %{_bindir}/pg_isready
1165 %attr(755,root,root) %{_bindir}/pg_restore
1166 %attr(755,root,root) %{_bindir}/psql
1167 %attr(755,root,root) %{_bindir}/reindexdb
1168 %attr(755,root,root) %{_bindir}/vacuumdb
1170 %{_mandir}/man1/clusterdb.1*
1171 %{_mandir}/man1/createdb.1*
1172 %{_mandir}/man1/createlang.1*
1173 %{_mandir}/man1/createuser.1*
1174 %{_mandir}/man1/dropdb.1*
1175 %{_mandir}/man1/droplang.1*
1176 %{_mandir}/man1/dropuser.1*
1177 %{_mandir}/man1/pg_dump.1*
1178 %{_mandir}/man1/pg_dumpall.1*
1179 %{_mandir}/man1/pg_isready.1*
1180 %{_mandir}/man1/pg_restore.1*
1181 %{_mandir}/man1/pg_upgrade.1.gz
1182 %{_mandir}/man1/psql.1*
1183 %{_mandir}/man1/reindexdb.1*
1184 %{_mandir}/man1/vacuumdb.1*
1185 %{_mandir}/man7/*.7*
1188 %files module-plperl -f plperl-%{mver}.lang
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1191 %{_pgsqldir}/plperl--*.sql
1192 %{_pgsqldir}/plperl.control
1193 %{_pgsqldir}/plperlu--*.sql
1194 %{_pgsqldir}/plperlu.control
1198 %files module-plpython -f plpython-%{mver}.lang
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1201 %{_pgsqldir}/plpython*--*.sql
1202 %{_pgsqldir}/plpython*.control
1206 %files module-pltcl -f pltcl-%{mver}.lang
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_bindir}/pltcl_*
1209 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1210 %{_pgsqldir}/unknown.pltcl
1211 %{_pgsqldir}/pltcl*--*.sql
1212 %{_pgsqldir}/pltcl*.control
1215 %files module-dblink
1216 %defattr(644,root,root,755)
1217 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1218 %{_pgsqldir}/dblink--*.sql
1219 %{_pgsqldir}/dblink.control
1220 %{_mandir}/man3/dblink*.3*
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_pgmoduledir}/lo.so
1225 %{_pgsqldir}/lo--*.sql
1226 %{_pgsqldir}/lo.control
1228 %files module-pg_trgm
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1231 %{_pgsqldir}/pg_trgm--*.sql
1232 %{_pgsqldir}/pg_trgm.control
1234 %files module-pgcrypto
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1237 %{_pgsqldir}/pgcrypto--*.sql
1238 %{_pgsqldir}/pgcrypto.control
1241 %files module-sepgsql
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1244 %{_pgsqldir}/sepgsql.sql
1247 %files module-tablefunc
1248 %defattr(644,root,root,755)
1249 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1250 %{_pgsqldir}/*tablefunc--*.sql
1251 %{_pgsqldir}/*tablefunc.control
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1256 %{_pgsqldir}/xml2--*.sql
1257 %{_pgsqldir}/xml2.control
1260 %defattr(644,root,root,755)
1262 %attr(755,root,root) %{_bindir}/oid2name
1263 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1264 %attr(755,root,root) %{_bindir}/pg_standby
1265 %attr(755,root,root) %{_bindir}/pg_xlogdump
1266 %attr(755,root,root) %{_bindir}/pgbench
1267 %attr(755,root,root) %{_bindir}/vacuumlo
1268 %attr(755,root,root) %{_pgmoduledir}/_int.so
1269 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1270 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1271 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1272 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1273 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1274 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1275 %attr(755,root,root) %{_pgmoduledir}/citext.so
1276 %attr(755,root,root) %{_pgmoduledir}/cube.so
1277 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1278 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1279 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1280 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1281 %attr(755,root,root) %{_pgmoduledir}/isn.so
1282 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1283 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1284 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1285 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1286 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1287 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1288 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1289 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1290 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1291 %attr(755,root,root) %{_pgmoduledir}/seg.so
1292 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1293 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1294 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1295 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1296 %{_pgsqldir}/adminpack--*.sql
1297 %{_pgsqldir}/adminpack.control
1298 %{_pgsqldir}/btree_gin--*.sql
1299 %{_pgsqldir}/btree_gin.control
1300 %{_pgsqldir}/btree_gist--*.sql
1301 %{_pgsqldir}/btree_gist.control
1302 %{_pgsqldir}/chkpass--*.sql
1303 %{_pgsqldir}/chkpass.control
1304 %{_pgsqldir}/citext--*.sql
1305 %{_pgsqldir}/citext.control
1306 %{_pgsqldir}/cube--*.sql
1307 %{_pgsqldir}/cube.control
1308 %{_pgsqldir}/dict_int--*.sql
1309 %{_pgsqldir}/dict_int.control
1310 %{_pgsqldir}/dict_xsyn--*.sql
1311 %{_pgsqldir}/dict_xsyn.control
1312 %{_pgsqldir}/earthdistance--*.sql
1313 %{_pgsqldir}/earthdistance.control
1314 %{_pgsqldir}/file_fdw--*.sql
1315 %{_pgsqldir}/file_fdw.control
1316 %{_pgsqldir}/fuzzystrmatch--*.sql
1317 %{_pgsqldir}/fuzzystrmatch.control
1318 %{_pgsqldir}/hstore--*.sql
1319 %{_pgsqldir}/hstore.control
1320 %{_pgsqldir}/intarray--*.sql
1321 %{_pgsqldir}/intarray.control
1322 %{_pgsqldir}/intagg--*.sql
1323 %{_pgsqldir}/intagg.control
1324 %{_pgsqldir}/isn--*.sql
1325 %{_pgsqldir}/isn.control
1326 %{_pgsqldir}/ltree--*.sql
1327 %{_pgsqldir}/ltree.control
1328 %{_pgsqldir}/pageinspect--*.sql
1329 %{_pgsqldir}/pageinspect.control
1330 %{_pgsqldir}/pg_buffercache--*.sql
1331 %{_pgsqldir}/pg_buffercache.control
1332 %{_pgsqldir}/pg_freespacemap--*.sql
1333 %{_pgsqldir}/pg_freespacemap.control
1334 %{_pgsqldir}/pg_stat_statements--*.sql
1335 %{_pgsqldir}/pg_stat_statements.control
1336 %{_pgsqldir}/pgrowlocks--*.sql
1337 %{_pgsqldir}/pgrowlocks.control
1338 %{_pgsqldir}/pgstattuple--*.sql
1339 %{_pgsqldir}/pgstattuple.control
1340 %{_pgsqldir}/postgres_fdw--*.sql
1341 %{_pgsqldir}/postgres_fdw.control
1342 %{_pgsqldir}/seg--*.sql
1343 %{_pgsqldir}/seg.control
1344 %{_pgsqldir}/sslinfo--*.sql
1345 %{_pgsqldir}/sslinfo.control
1346 %{_pgsqldir}/tcn--*.sql
1347 %{_pgsqldir}/tcn.control
1348 %{_pgsqldir}/unaccent--*.sql
1349 %{_pgsqldir}/unaccent.control
1350 %{_pgsqldir}/uuid-ossp--*.sql
1351 %{_pgsqldir}/uuid-ossp.control
1352 %{_mandir}/man1/oid2name.1*
1353 %{_mandir}/man1/pg_archivecleanup.1*
1354 %{_mandir}/man1/pg_standby.1*
1355 %{_mandir}/man1/pg_xlogdump.1*
1356 %{_mandir}/man1/pgbench.1*
1357 %{_mandir}/man1/vacuumlo.1*