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: 8cd6e33e1f8d4d2362c8c08bd0e8802b
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 Patch6: %{name}-ossp_uuid.patch
57 URL: http://www.postgresql.org/
58 BuildRequires: autoconf
59 BuildRequires: automake
60 # not needed for releases... but fixes something in snapshot
61 BuildRequires: bison >= 1.875
62 BuildRequires: docbook-dtd42-sgml
63 BuildRequires: docbook-dtd42-xml
64 BuildRequires: docbook-style-xsl
65 BuildRequires: flex >= 2.5.31
66 BuildRequires: gettext-tools
67 BuildRequires: gnome-doc-tools
68 %{?with_kerberos5:BuildRequires: heimdal-devel}
69 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
70 BuildRequires: libtool
71 BuildRequires: libxml2-devel >= 1:2.6.23
72 BuildRequires: libxslt-devel
73 BuildRequires: libxslt-progs
74 BuildRequires: ncurses-devel >= 5.0
75 %{?with_ldap:BuildRequires: openldap-devel}
76 BuildRequires: openssl-devel >= 0.9.7d
77 BuildRequires: ossp-uuid-devel
78 BuildRequires: pam-devel
79 %{?with_perl:BuildRequires: perl-devel}
81 BuildRequires: python >= 1:2.3
82 BuildRequires: python-devel >= 1:2.3
83 BuildRequires: python-modules >= 1:2.3
85 BuildRequires: readline-devel >= 4.2
86 BuildRequires: rpmbuild(macros) >= 1.671
87 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
88 %{?with_tests:BuildRequires: tzdata}
89 BuildRequires: zlib-devel
90 Requires(post,preun): /sbin/chkconfig
91 Requires(pre): /bin/id
92 Requires(pre): /usr/bin/getgid
93 Requires(pre): /usr/sbin/groupadd
94 Requires(pre): /usr/sbin/useradd
95 Requires(triggerpostun): /bin/id
96 Requires(triggerpostun): /usr/sbin/usermod
97 Requires: %{name}-clients >= %{version}-%{release}
98 Requires: %{name}-libs = %{version}-%{release}
99 Requires: rc-scripts >= 0.4.3.0
100 Requires: systemd-units >= 38
102 Obsoletes: postgresql-module-plpgsql
103 Obsoletes: postgresql-module-tsearch2
104 Obsoletes: postgresql-server
105 Obsoletes: postgresql-test
106 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108 %define _pgmoduledir %{_libdir}/postgresql
109 %define _pgsqldir %{_datadir}/postgresql/extension
111 %define _ulibdir /usr/lib
114 # dummy_seclabel, pg_test_fsync, pg_test_timing, spi, test_parser, worker_spi - examples/tests
115 # tsearch2 - old module for compatibility only
116 %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_prewarm 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
119 PostgreSQL Data Base Management System (formerly known as Postgres,
122 PostgreSQL is an enhancement of the POSTGRES database management
123 system, a next-generation DBMS research prototype. While PostgreSQL
124 retains the powerful data model and rich data types of POSTGRES, it
125 replaces the PostQuel query language with an extended subset of SQL.
126 PostgreSQL is free and the complete source is available.
128 PostgreSQL development is being performed by a team of Internet
129 developers who all subscribe to the PostgreSQL development mailing
130 list. The current coordinator is Marc G. Fournier
131 (scrappy@postgreSQL.org). This team is now responsible for all current
132 and future development of PostgreSQL.
134 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
135 others have contributed to the porting, testing, debugging and
136 enhancement of the code. The original Postgres code, from which
137 PostgreSQL is derived, was the effort of many graduate students,
138 undergraduate students, and staff programmers working under the
139 direction of Professor Michael Stonebraker at the University of
140 California, Berkeley.
142 The original name of the software at Berkeley was Postgres. When SQL
143 functionality was added in 1995, its name was changed to Postgres95.
144 The name was changed at the end of 1996 to PostgreSQL.
146 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
147 and most flavours of Unix.
149 %description -l de.UTF-8
150 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
153 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
154 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
155 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
156 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
157 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
160 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
161 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
162 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
163 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
165 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
166 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
167 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
168 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
169 Studenten und Programmierern unter der Leitung von Professor Michael
170 Stonebraker an der University of California, Berkeley.
172 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
173 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
174 entschied man sich für PostgreSQL.
176 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
177 und den meisten Unix-Systemen.
179 %description -l es.UTF-8
180 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
181 como Postgres, y después como Postgres95). PostgreSQL es una
182 continuación mejorada del Sistema Administrador de Banco de Datos
183 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
184 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
185 los varios tipos de datos del POSTGRES, substituye el lenguaje de
186 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
187 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
188 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
189 en la lista de desarrollo del PostgreSQL. El coordinador actual es
190 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
191 responsable por el desarrollo actual y futuro del PostgreSQL.
193 %description -l fr.UTF-8
194 Système de gestion de bases de données PostgreSQL (D'abord nommé
195 Postgres, puis Postgres95).
197 PostgreSQL est une amélioration du système de gestion de bases de
198 données POSTGRES, un prototype de recherche de la génération suivant
199 DBMS. Tout en conservant le puissant modèle de donnée de et les types
200 de donée riches de Postgres, il remplace le langage de requêtes de
201 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
202 libre, et ses sources sont disponibles.
204 Le développement de PostgreSQL est actuellement réalisé via internet
205 parune équipe de développeurs inscrits sur la mailing-list de
206 développement de PostgreSQL. Le coordinateur actuel est Marc G
207 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
208 développemen actuel et à venir de PostgreSQL.
210 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
211 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
212 l'amélioration du code. Le code original de Postgres, duquel
213 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
214 moins haut niveau, et de programmeurs travaillant sous la direction du
215 professeur Michael Stonebraker à l'université de Berkeley Californie.
217 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
218 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
219 rebaptisé PostgreSQL en 1996.
221 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
222 et la plupart des Unix.
224 %description -l pl.UTF-8
225 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
226 Postgres, następnie jako Postgres95).
228 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
229 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
230 model danych oraz bogaty zbiór różnych typów danych, to jednak język
231 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
232 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
235 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
236 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
237 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
238 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
240 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
241 innych pomagało przenosząc na różne platformy, testując, analizując i
242 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
243 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
244 zespołu programistów, którzy pracowali pod kierunkiem profesora
245 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
247 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
248 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
249 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
252 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
253 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
255 %description -l pt_BR.UTF-8
256 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
257 Postgres, e depois como Postgres95).
259 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
260 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
261 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
262 dados e os vários tipos de dados do POSTGRES, ele substitui a
263 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
264 PostgreSQL é livre e tem os fontes disponíveis.
266 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
267 desenvolvedores da Internet, todos subscritores da lista de
268 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
269 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
270 desenvolvimento atual e futuro do PostgreSQL.
272 %description -l ru.UTF-8
273 PostgreSQL - система управления базами данных (прежде известная как
274 Postgres, потом как Postgres95).
276 PostgreSQL - это расширенная версия системы управления базами данных
277 POSTGRES, исследовательского прототипа DBMS следующей генерации.
278 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
279 она заменяет язык запросов PostQuel расширенным набором SQL.
280 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
283 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
284 на список рассылки, посвященный разработке PostgreSQL. В настоящее
285 время координатором является Marc G. Fournier
286 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
287 все текущие и будущие разработки PostgreSQL.
289 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
290 свой вклад в портирование, тестирование, отладку и улучшение кода.
291 Оригинальный код Postgres, от которого произошел PostgreSQL, был
292 создан усилиями студентов, аспирантов и персонала, работающего под
293 руководством профессора Michael Stonebraker в University of
294 California, Berkeley.
296 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
297 была добавлена функциональность SQL, название изменилось на
298 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
301 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
302 и большинстве других разновидностей Unix.
304 %description -l tr.UTF-8
305 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
306 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
307 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
308 sorgulama dilini koyar.
310 %description -l uk.UTF-8
311 PostgreSQL - система керування базами даних (раніш відома як Postgres,
312 потім як Postgres95).
314 PostgreSQL - це розширена версія системи керування базами даних
315 POSTGRES, дослідницького прототипу DBMS наступної генерації.
316 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
317 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
318 безкоштовна та поставляється у вигляді повного комплекту вихідних
321 PostgreSQL розробляється командою Internet-програмістів, учасників
322 списку розсилки, присвяченого розробці PostgreSQL. Наразі
323 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
324 відповідає за всі поточні та майбутні розробки PostgreSQL.
326 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
327 внесли свій внесок в портування, тестування, відладку та покращення
328 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
329 створений зусиллями студентів, аспірантів та персоналу, який працював
330 під керівництвом професора Michael Stonebraker в University of
331 California, Berkeley.
333 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
334 було додано функціональність SQL, назва змінилася на Postgres95. В
335 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
337 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
338 та більшості інших різновидів Unix.
341 Summary: Upstart job description for PostgreSQL server
342 Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
344 Requires: %{name} = %{version}-%{release}
345 Requires: upstart >= 0.6
346 Conflicts: syslog-ng < 3.2.4-1
349 Upstart job description for PostgreSQL.
351 %description upstart -l pl.UTF-8
352 Opis zadania Upstart dla PostgreSQL.
355 Summary: PostgreSQL development header files and libraries
356 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
357 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
358 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
359 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
360 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
361 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
362 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
363 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
364 Group: Development/Libraries
365 Requires: %{name}-libs = %{version}-%{release}
368 This package contains header files and libraries required to compile
369 applications that are talking directly to the PostgreSQL backend
372 %description devel -l de.UTF-8
373 Dieses Paket enthält die Header-Dateien und Libraries, die zum
374 Kompilieren von Applikationen notwendig sind, die direkt mit dem
375 PostgreSQL-Backend-Server kommunizieren.
377 %description devel -l es.UTF-8
378 Este paquete contiene archivos de inclusión y bibliotecas requeridas
379 para compilación de aplicativos que se comunican directamente con el
380 servidor backend PostgreSQL.
382 %description devel -l fr.UTF-8
383 Ce package contient les fichiers d'en-tête et les bibliothéques
384 nécessaires pour compiler des applications ayant des échanges directs
385 avec le serveur du backend PostgreSQL.
387 %description devel -l pl.UTF-8
388 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
389 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
391 %description devel -l pt_BR.UTF-8
392 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
393 compilação de aplicativos que se comunicam diretamente com o servidor
396 %description devel -l ru.UTF-8
397 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
398 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
400 %description devel -l tr.UTF-8
401 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
402 gereken başlık dosyalarını ve kitaplıkları içerir.
404 %description devel -l uk.UTF-8
405 Цей пакет містить хедери та бібліотеки, необхідні для розробки
406 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
408 %package backend-devel
409 Summary: PostgreSQL backend development header files
410 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
411 Group: Development/Libraries
412 Requires: %{name}-devel = %{version}-%{release}
413 Requires: %{name}-libs = %{version}-%{release}
415 %description backend-devel
416 This package contains header files required to compile functions that
417 could be loaded directly by backend
419 %description backend-devel -l pl.UTF-8
420 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
421 bezposrednio ladowane przez beckend serwera PostgreSQL.
424 Summary: Clients needed to access a PostgreSQL server
425 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
426 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
427 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
428 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
429 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
430 Group: Applications/Databases
431 Requires: %{name}-libs = %{version}-%{release}
434 This package includes only the clients needed to access an PostgreSQL
435 server. The server is included in the main package. If all you need is
436 to connect to another PostgreSQL server, the this is the only package
437 you need to install. Clients include several command-line utilities
438 you can use to manage your databases on a remote PostgreSQL server.
440 %description clients -l es.UTF-8
441 Este paquete incluye solamente los clientes necesarios para acceder un
442 servidor PostgreSQL. El servidor está en el paquete principal.
444 %description clients -l pl.UTF-8
445 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
446 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
447 poleceń. Serwer znajduje się w głównym pakiecie.
449 %description clients -l pt_BR.UTF-8
450 Este pacote inclui somente os clientes necessários para acessar um
451 servidor PostgreSQL. O servidor está no pacote principal.
453 %description clients -l ru.UTF-8
454 Этот пакет включает только клиентские программы и библиотеки,
455 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
456 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
457 единственный пакет, который вам надо установить.
459 Теперь пакеты с библиотеками для разных языков программирования (C,
460 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
463 %description clients -l uk.UTF-8
464 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
465 для доступу до сервера PostgreSQL. Сервер міститься в головному
466 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
467 єдиний пакет, який вам треба встановити.
469 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
470 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
473 Summary: Documentation for PostgreSQL
474 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
475 Group: Applications/Databases
478 This package includes documentation and HOWTO for programmer, admin
479 etc., in HTML format.
481 %description doc -l pl.UTF-8
482 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
483 administratorów w formacie HTML.
486 Summary: PostgreSQL libraries
487 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
488 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
489 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
490 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
494 PostgreSQL shared libraries.
496 %description libs -l es.UTF-8
497 Este paquete contiene la biblioteca compartida para acceso al
500 %description libs -l pl.UTF-8
501 Biblioteki dzielone programu PostgreSQL.
503 %description libs -l pt_BR.UTF-8
504 Este pacote contém a biblioteca compartilhada para acesso ao
508 Summary: Embedded SQL in C interface
509 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
511 Requires: %{name}-libs = %{version}-%{release}
514 Embedded SQL in C interface.
516 %description ecpg -l pl.UTF-8
517 Interfejs wbudowanego SQL-a w język C.
520 Summary: Embedded SQL in C interface files
521 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
522 Group: Development/Libraries
523 Requires: %{name}-devel = %{version}-%{release}
524 Requires: %{name}-ecpg = %{version}-%{release}
526 %description ecpg-devel
527 Embedded SQL in C interface files.
529 %description ecpg-devel -l pl.UTF-8
530 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
533 Summary: PostgreSQL static libraries
534 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
535 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
536 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
537 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
538 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
539 Group: Development/Libraries
540 Requires: %{name}-devel = %{version}-%{release}
543 PostgreSQL static libraries.
545 %description static -l es.UTF-8
546 Este paquete contiene bibliotecas estaticas requerida para compilación
547 de aplicativos que se comunican directamente con el servidor backend
550 %description static -l pl.UTF-8
551 Biblioteki statyczne programu PostgreSQL.
553 %description static -l pt_BR.UTF-8
554 Este pacote contém as bibliotecas estáticas requeridas para compilação
555 de aplicativos que se comunicam diretamente com o servidor backend
558 %description static -l ru.UTF-8
559 Это отдельный пакет со статическими библиотеками, которые больше не
560 входят в %{name}-devel.
562 %description static -l uk.UTF-8
563 Це окремий пакет зі статичними бібліотеками, які більш не входять в
566 %package module-plperl
567 Summary: PL/perl - PostgreSQL procedural language
568 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
569 Group: Applications/Databases
570 Requires: %{name} = %{version}-%{release}
572 %description module-plperl
573 From PostgreSQL documentation:
575 Postgres supports the definition of procedural languages. In the case
576 of a function or trigger procedure defined in a procedural language,
577 the database has no built-in knowledge about how to interpret the
578 function's source text. Instead, the task is passed to a handler that
579 knows the details of the language. The handler itself is a special
580 programming language function compiled into a shared object and loaded
583 To enable PL/Perl procedural language for your database you have to
584 run createlang command.
586 %description module-plperl -l pl.UTF-8
587 Z dokumentacji PostgreSQL:
589 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
590 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
591 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
592 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
593 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
594 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
597 Za pomocą polecenia createlang można dodać obsługę języka
598 proceduralnego PL/Perl dla swojej bazy danych.
600 %package module-plpython
601 Summary: PL/Python - PostgreSQL procedural language
602 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
603 Group: Applications/Databases
604 Requires: %{name} = %{version}-%{release}
605 %pyrequires_eq python
607 %description module-plpython
608 From PostgreSQL documentation:
610 Postgres supports the definition of procedural languages. In the case
611 of a function or trigger procedure defined in a procedural language,
612 the database has no built-in knowledge about how to interpret the
613 function's source text. Instead, the task is passed to a handler that
614 knows the details of the language. The handler itself is a special
615 programming language function compiled into a shared object and loaded
618 To enable PL/Python procedural language for your database you have to
619 run createlang command.
621 %description module-plpython -l pl.UTF-8
622 Z dokumentacji PostgreSQL:
624 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
625 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
626 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
627 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
628 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
629 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
632 Za pomocą polecenia createlang można dodać obsługę języka
633 proceduralnego PL/Python dla swojej bazy danych.
635 %package module-pltcl
636 Summary: PL/Tcl - PostgreSQL procedural language
637 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
638 Group: Applications/Databases
639 Requires: %{name} = %{version}-%{release}
642 %description module-pltcl
643 From PostgreSQL documentation:
645 Postgres supports the definition of procedural languages. In the case
646 of a function or trigger procedure defined in a procedural language,
647 the database has no built-in knowledge about how to interpret the
648 function's source text. Instead, the task is passed to a handler that
649 knows the details of the language. The handler itself is a special
650 programming language function compiled into a shared object and loaded
653 To enable PL/Tcl procedural language for your database you have to run
656 %description module-pltcl -l pl.UTF-8
657 Z dokumentacji PostgreSQL:
659 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
660 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
661 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
662 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
663 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
664 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
667 Za pomocą polecenia createlang można dodać obsługę języka
668 proceduralnego PL/Tcl dla swojej bazy danych.
670 %package module-dblink
671 Summary: dblink module for PostgreSQL
672 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
673 Group: Applications/Databases
674 Requires: %{name} = %{version}-%{release}
676 %description module-dblink
677 dblink module for PostgreSQL provides functions returning results from
680 %description module-dblink -l pl.UTF-8
681 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
685 Summary: Large Objects module for PostgreSQL
686 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
687 Group: Applications/Databases
688 Requires: %{name} = %{version}-%{release}
690 %description module-lo
691 Large Objects module for PostgreSQL adds a new data type 'lo', some
692 support functions and a trigger which handles the orphaning problem.
694 %description module-lo -l pl.UTF-8
695 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
696 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
697 osieroconych obiektów.
699 %package module-pg_trgm
700 Summary: Trigram matching for PostgreSQL
701 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
702 Group: Applications/Databases
703 Requires: %{name} = %{version}-%{release}
705 %description module-pg_trgm
706 This module provides functions and index classes for determining the
707 similarity of text based on trigram matching.
709 %description module-pg_trgm -l pl.UTF-8
710 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
711 w oparciu o dopasowywanie trigramowe (trigram matching).
713 %package module-pgcrypto
714 Summary: Cryptographic functions for PostgreSQL
715 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
716 Group: Applications/Databases
717 Requires: %{name} = %{version}-%{release}
719 %description module-pgcrypto
720 Cryptographic functions for PostgreSQL.
722 %description module-pgcrypto -l pl.UTF-8
723 Funkcje kryptograficzne dla PostgreSQL.
725 %package module-sepgsql
726 Summary: PostgreSQL external security provider using SELinux
727 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
728 Group: Applications/Databases
729 Requires: %{name} = %{version}-%{release}
730 Requires: libselinux >= 2.1.10
732 %description module-sepgsql
733 PostgreSQL external security provider using SELinux.
735 %description module-sepgsql -l pl.UTF-8
736 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
738 %package module-tablefunc
739 Summary: crosstab functions for PostgreSQL
740 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
741 Group: Applications/Databases
742 Requires: %{name} = %{version}-%{release}
744 %description module-tablefunc
745 crosstab functions for PostgreSQL.
747 %description module-tablefunc -l pl.UTF-8
748 Funkcje crosstab dla PostgreSQL-a.
751 Summary: XML-handling functions for PostgreSQL
752 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
753 Group: Applications/Databases
754 Requires: %{name} = %{version}-%{release}
755 Requires: libxml2 >= 1:2.6.23
757 %description module-xml2
758 Module with XML functions provides both XPath querying and XSLT
759 functionality. There is also a new table function which allows the
760 straightforward return of multiple XML results.
762 %description module-xml2 -l pl.UTF-8
763 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
764 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
765 bezpośrednie zwracanie wielu wyników XML.
768 Summary: Miscellaneous PostgreSQL contrib modules
769 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
770 Group: Applications/Databases
771 Requires: %{name} = %{version}-%{release}
774 Miscellaneous PostgreSQL contrib modules.
776 %description contrib -l pl.UTF-8
777 Różne moduły dołączone do PostgreSQL-a.
782 %{?with_absolute_dbpaths:%patch1 -p1}
789 # force rebuild of bison/flex files
790 find src -name \*.l -o -name \*.y | xargs touch
793 #find contrib -type d -name CVS -exec rm -rf {} \;
796 %{__aclocal} -I config
799 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
802 --enable-integer-datetimes \
803 --with-system-tzdata=%{_datadir}/zoneinfo \
805 --enable-thread-safety \
806 %{?with_kerberos5:--with-gssapi} \
807 %{?with_ldap:--with-ldap} \
812 %{?with_perl:--with-perl} \
813 %{?with_python:--with-python} \
814 %{?with_selinux:--with-selinux} \
815 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
820 for mod in %{contrib_modules}; do \
821 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
822 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
823 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
824 %{__make} -C contrib/$mod CFLAGS="$flags"
827 %{__make} -C src/tutorial \
830 %ifnarch sparc sparcv9 sparc64 alpha
831 %{?with_tests:%{__make} -j1 check}
835 rm -rf $RPM_BUILD_ROOT
836 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
837 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
838 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
839 $RPM_BUILD_ROOT%{_mandir} \
840 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
841 $RPM_BUILD_ROOT/home/services/postgres
843 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
846 DESTDIR=$RPM_BUILD_ROOT
847 %{__make} -C doc/src/sgml install-man \
848 DESTDIR=$RPM_BUILD_ROOT
851 %{__make} install -C src/pl/plperl \
852 DESTDIR=$RPM_BUILD_ROOT
855 for mod in %{contrib_modules}; do \
856 %{__make} -C contrib/$mod install \
857 DESTDIR=$RPM_BUILD_ROOT
860 touch $RPM_BUILD_ROOT/var/log/pgsql
862 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
863 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
865 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
866 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
867 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
869 install %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf
870 install %{SOURCE8} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
873 tar zxf %{SOURCE2} -C howto
876 %py_comp $RPM_BUILD_ROOT%{py_libdir}
877 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
881 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
882 %find_lang $f-%{mver}
885 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
886 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
887 plpgsql-%{mver}.lang \
888 pg_basebackup-%{mver}.lang \
890 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
891 pg_ctl-%{mver}.lang > clients-%{mver}.lang
892 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
895 %find_lang pltcl-%{mver}
896 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
900 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
903 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
905 # unpackaged contribs
906 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{pg_test_fsync,pg_test_timing}.1
908 # package it...? nah, why bother.
909 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
912 rm -rf $RPM_BUILD_ROOT
916 if [ -f /etc/sysconfig/postgresql ]; then
917 . /etc/sysconfig/postgresql
918 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
919 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
923 for pgdir in $PG_DB_CLUSTERS; do
924 if [ -f $pgdir/PG_VERSION ]; then
925 if [ $(cat $pgdir/PG_VERSION) != '9.3' ]; then
926 echo "Found database(s) in older, incompatible format in cluster $pgdir."
931 if [ "$foundold" = "1" ]; then
933 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
934 echo "and clean (or rename) those directories; then upgrade postgresql and"
935 echo "restore all data (using pg_restore or psql)."
936 echo "Remember to stop the daemon before upgrading!"
938 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
939 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
941 echo "Warning for upgrade from version *before* 7.2."
942 echo "Please note, that postgresql module path changed from"
943 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
944 echo "in dump file before restore."
946 echo "Warning for upgrade from version *before* 7.3."
947 echo "Reading following webpage is encouraged:"
948 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
951 %groupadd -g 88 -r postgres
952 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
954 %triggerpostun -- %{name} < 7.2-2
955 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
956 /usr/sbin/usermod -d /home/services/postgres postgres
960 /sbin/chkconfig --add postgresql
961 %service postgresql restart "postgresql server"
962 if [ "$1" -eq "1" ]; then
964 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
965 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
966 for pgdir in $PG_DB_CLUSTERS; do
967 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
968 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
971 %systemd_post postgresql.service
974 if [ "$1" = "0" ]; then
975 %service postgresql stop
976 /sbin/chkconfig --del postgresql
979 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
980 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
981 for pgdir in $PG_DB_CLUSTERS; do
982 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
983 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
986 %systemd_preun postgresql.service
991 %triggerpostun -- %{name} < 9.3.3-2
993 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
994 for pgdir in $PG_DB_CLUSTERS; do
995 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
996 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
998 %systemd_trigger postgresql.service
1001 %upstart_post postgresql
1004 %upstart_postun postgresql
1006 %post libs -p /sbin/ldconfig
1007 %postun libs -p /sbin/ldconfig
1009 %post ecpg -p /sbin/ldconfig
1010 %postun ecpg -p /sbin/ldconfig
1012 %files -f main-%{mver}.lang
1013 %defattr(644,root,root,755)
1014 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
1015 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1016 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1017 %{systemdunitdir}/%{name}.service
1018 %{systemdunitdir}/%{name}@.service
1019 %{systemdunitdir}/%{name}.target
1020 %dir /etc/systemd/system/%{name}.target.requires
1022 %attr(755,root,root) %{_bindir}/initdb
1023 %attr(755,root,root) %{_bindir}/pg_basebackup
1024 %attr(755,root,root) %{_bindir}/pg_controldata
1025 %attr(755,root,root) %{_bindir}/pg_ctl
1026 %attr(755,root,root) %{_bindir}/pg_resetxlog
1027 %attr(755,root,root) %{_bindir}/pg_receivexlog
1028 %attr(755,root,root) %{_bindir}/pg_recvlogical
1029 %attr(755,root,root) %{_bindir}/pg_upgrade
1030 %attr(755,root,root) %{_bindir}/postgres
1031 %attr(755,root,root) %{_bindir}/postmaster
1033 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1034 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1035 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1036 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1037 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1038 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1039 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1040 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1041 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1042 %attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so
1043 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1044 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1047 %{_pgsqldir}/plpgsql--*.sql
1048 %{_pgsqldir}/plpgsql.control
1050 %dir %{_datadir}/postgresql
1051 %{_datadir}/postgresql/*.bki
1052 %{_datadir}/postgresql/*.sample
1053 %{_datadir}/postgresql/*.description
1054 %{_datadir}/postgresql/*.shdescription
1055 %{_datadir}/postgresql/*.sql
1056 %{_datadir}/postgresql/*.txt
1057 %{_datadir}/postgresql/timezonesets
1058 %{_datadir}/postgresql/tsearch_data
1060 %dir %{_datadir}/postgresql/contrib
1062 %attr(700,postgres,postgres) /home/services/postgres
1063 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1064 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1066 %{_mandir}/man1/initdb.1*
1067 %{_mandir}/man1/pg_basebackup.1*
1068 %{_mandir}/man1/pg_controldata.1*
1069 %{_mandir}/man1/pg_ctl.1*
1070 %{_mandir}/man1/pg_resetxlog.1*
1071 %{_mandir}/man1/pg_receivexlog.1*
1072 %{_mandir}/man1/pg_recvlogical.1*
1073 %{_mandir}/man1/postgres.1*
1074 %{_mandir}/man1/postmaster.1*
1076 %if "%{pld_release}" != "ti"
1078 %defattr(644,root,root,755)
1079 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1080 %dir /etc/init/postgresql
1081 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
1085 %defattr(644,root,root,755)
1086 %doc doc/src/sgml/html howto
1087 %{_examplesdir}/%{name}-%{version}
1089 %files libs -f libpq5-%{mver}.lang
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1092 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1093 %dir %{_pgmoduledir}
1095 %files ecpg -f ecpg.lang
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_bindir}/ecpg
1098 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1099 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1100 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1101 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1102 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1103 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1104 %{_mandir}/man1/ecpg.1*
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_libdir}/libecpg.so
1109 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1110 %attr(755,root,root) %{_libdir}/libpgtypes.so
1111 %{_includedir}/ecpg*
1112 %{_pkgconfigdir}/libecpg.pc
1113 %{_pkgconfigdir}/libecpg_compat.pc
1114 %{_pkgconfigdir}/libpgtypes.pc
1116 %files devel -f pg_config-%{mver}.lang
1117 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{_bindir}/pg_config
1119 %attr(755,root,root) %{_libdir}/libpq.so
1120 %dir %{_includedir}/postgresql
1121 %{_includedir}/libpq-events.h
1122 %{_includedir}/libpq-fe.h
1123 %{_includedir}/pg_config.h
1124 %{_includedir}/pg_config_ext.h
1125 %{_includedir}/pg_config_manual.h
1126 %{_includedir}/pg_config_os.h
1127 %{_includedir}/postgres_ext.h
1128 %dir %{_includedir}/postgresql/internal
1129 %{_includedir}/postgresql/internal/c.h
1130 %{_includedir}/postgresql/internal/libpq-int.h
1131 %{_includedir}/postgresql/internal/port.h
1132 %{_includedir}/postgresql/internal/postgres_fe.h
1133 %{_includedir}/postgresql/internal/pqexpbuffer.h
1134 %{_includedir}/postgresql/internal/libpq
1135 %{_includedir}/libpq
1136 %{_pkgconfigdir}/libpq.pc
1137 %{_mandir}/man1/pg_config.1*
1139 %files backend-devel
1140 %defattr(644,root,root,755)
1141 %{_includedir}/postgresql/server
1142 %dir %{_pgmoduledir}/pgxs
1143 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1144 %{_pgmoduledir}/pgxs/src
1145 %{_mandir}/man3/SPI_*.3*
1148 %defattr(644,root,root,755)
1149 %{_libdir}/libecpg.a
1150 %{_libdir}/libecpg_compat.a
1152 %{_libdir}/libpgcommon.a
1153 %{_libdir}/libpgtypes.a
1154 %{_libdir}/libpgport.a
1156 %files clients -f clients-%{mver}.lang
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_bindir}/clusterdb
1159 %attr(755,root,root) %{_bindir}/createdb
1160 %attr(755,root,root) %{_bindir}/createlang
1161 %attr(755,root,root) %{_bindir}/createuser
1162 %attr(755,root,root) %{_bindir}/dropdb
1163 %attr(755,root,root) %{_bindir}/droplang
1164 %attr(755,root,root) %{_bindir}/dropuser
1165 %attr(755,root,root) %{_bindir}/pg_dump
1166 %attr(755,root,root) %{_bindir}/pg_dumpall
1167 %attr(755,root,root) %{_bindir}/pg_isready
1168 %attr(755,root,root) %{_bindir}/pg_restore
1169 %attr(755,root,root) %{_bindir}/psql
1170 %attr(755,root,root) %{_bindir}/reindexdb
1171 %attr(755,root,root) %{_bindir}/vacuumdb
1173 %{_mandir}/man1/clusterdb.1*
1174 %{_mandir}/man1/createdb.1*
1175 %{_mandir}/man1/createlang.1*
1176 %{_mandir}/man1/createuser.1*
1177 %{_mandir}/man1/dropdb.1*
1178 %{_mandir}/man1/droplang.1*
1179 %{_mandir}/man1/dropuser.1*
1180 %{_mandir}/man1/pg_dump.1*
1181 %{_mandir}/man1/pg_dumpall.1*
1182 %{_mandir}/man1/pg_isready.1*
1183 %{_mandir}/man1/pg_restore.1*
1184 %{_mandir}/man1/pg_upgrade.1.gz
1185 %{_mandir}/man1/psql.1*
1186 %{_mandir}/man1/reindexdb.1*
1187 %{_mandir}/man1/vacuumdb.1*
1188 %{_mandir}/man7/*.7*
1191 %files module-plperl -f plperl-%{mver}.lang
1192 %defattr(644,root,root,755)
1193 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1194 %{_pgsqldir}/plperl--*.sql
1195 %{_pgsqldir}/plperl.control
1196 %{_pgsqldir}/plperlu--*.sql
1197 %{_pgsqldir}/plperlu.control
1201 %files module-plpython -f plpython-%{mver}.lang
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1204 %{_pgsqldir}/plpython*--*.sql
1205 %{_pgsqldir}/plpython*.control
1209 %files module-pltcl -f pltcl-%{mver}.lang
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_bindir}/pltcl_*
1212 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1213 %{_pgsqldir}/unknown.pltcl
1214 %{_pgsqldir}/pltcl*--*.sql
1215 %{_pgsqldir}/pltcl*.control
1218 %files module-dblink
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1221 %{_pgsqldir}/dblink--*.sql
1222 %{_pgsqldir}/dblink.control
1223 %{_mandir}/man3/dblink*.3*
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_pgmoduledir}/lo.so
1228 %{_pgsqldir}/lo--*.sql
1229 %{_pgsqldir}/lo.control
1231 %files module-pg_trgm
1232 %defattr(644,root,root,755)
1233 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1234 %{_pgsqldir}/pg_trgm--*.sql
1235 %{_pgsqldir}/pg_trgm.control
1237 %files module-pgcrypto
1238 %defattr(644,root,root,755)
1239 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1240 %{_pgsqldir}/pgcrypto--*.sql
1241 %{_pgsqldir}/pgcrypto.control
1244 %files module-sepgsql
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1247 %{_pgsqldir}/sepgsql.sql
1250 %files module-tablefunc
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1253 %{_pgsqldir}/*tablefunc--*.sql
1254 %{_pgsqldir}/*tablefunc.control
1257 %defattr(644,root,root,755)
1258 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1259 %{_pgsqldir}/xml2--*.sql
1260 %{_pgsqldir}/xml2.control
1263 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_bindir}/oid2name
1266 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1267 %attr(755,root,root) %{_bindir}/pg_standby
1268 %attr(755,root,root) %{_bindir}/pg_xlogdump
1269 %attr(755,root,root) %{_bindir}/pgbench
1270 %attr(755,root,root) %{_bindir}/vacuumlo
1271 %attr(755,root,root) %{_pgmoduledir}/_int.so
1272 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1273 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1274 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1275 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1276 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1277 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1278 %attr(755,root,root) %{_pgmoduledir}/citext.so
1279 %attr(755,root,root) %{_pgmoduledir}/cube.so
1280 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1281 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1282 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1283 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1284 %attr(755,root,root) %{_pgmoduledir}/isn.so
1285 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1286 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1287 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1288 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1289 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1290 %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so
1291 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1292 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1293 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1294 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1295 %attr(755,root,root) %{_pgmoduledir}/seg.so
1296 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1297 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1298 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1299 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1300 %{_pgsqldir}/adminpack--*.sql
1301 %{_pgsqldir}/adminpack.control
1302 %{_pgsqldir}/btree_gin--*.sql
1303 %{_pgsqldir}/btree_gin.control
1304 %{_pgsqldir}/btree_gist--*.sql
1305 %{_pgsqldir}/btree_gist.control
1306 %{_pgsqldir}/chkpass--*.sql
1307 %{_pgsqldir}/chkpass.control
1308 %{_pgsqldir}/citext--*.sql
1309 %{_pgsqldir}/citext.control
1310 %{_pgsqldir}/cube--*.sql
1311 %{_pgsqldir}/cube.control
1312 %{_pgsqldir}/dict_int--*.sql
1313 %{_pgsqldir}/dict_int.control
1314 %{_pgsqldir}/dict_xsyn--*.sql
1315 %{_pgsqldir}/dict_xsyn.control
1316 %{_pgsqldir}/earthdistance--*.sql
1317 %{_pgsqldir}/earthdistance.control
1318 %{_pgsqldir}/file_fdw--*.sql
1319 %{_pgsqldir}/file_fdw.control
1320 %{_pgsqldir}/fuzzystrmatch--*.sql
1321 %{_pgsqldir}/fuzzystrmatch.control
1322 %{_pgsqldir}/hstore--*.sql
1323 %{_pgsqldir}/hstore.control
1324 %{_pgsqldir}/intarray--*.sql
1325 %{_pgsqldir}/intarray.control
1326 %{_pgsqldir}/intagg--*.sql
1327 %{_pgsqldir}/intagg.control
1328 %{_pgsqldir}/isn--*.sql
1329 %{_pgsqldir}/isn.control
1330 %{_pgsqldir}/ltree--*.sql
1331 %{_pgsqldir}/ltree.control
1332 %{_pgsqldir}/pageinspect--*.sql
1333 %{_pgsqldir}/pageinspect.control
1334 %{_pgsqldir}/pg_buffercache--*.sql
1335 %{_pgsqldir}/pg_buffercache.control
1336 %{_pgsqldir}/pg_freespacemap--*.sql
1337 %{_pgsqldir}/pg_freespacemap.control
1338 %{_pgsqldir}/pg_prewarm--*.sql
1339 %{_pgsqldir}/pg_prewarm.control
1340 %{_pgsqldir}/pg_stat_statements--*.sql
1341 %{_pgsqldir}/pg_stat_statements.control
1342 %{_pgsqldir}/pgrowlocks--*.sql
1343 %{_pgsqldir}/pgrowlocks.control
1344 %{_pgsqldir}/pgstattuple--*.sql
1345 %{_pgsqldir}/pgstattuple.control
1346 %{_pgsqldir}/postgres_fdw--*.sql
1347 %{_pgsqldir}/postgres_fdw.control
1348 %{_pgsqldir}/seg--*.sql
1349 %{_pgsqldir}/seg.control
1350 %{_pgsqldir}/sslinfo--*.sql
1351 %{_pgsqldir}/sslinfo.control
1352 %{_pgsqldir}/tcn--*.sql
1353 %{_pgsqldir}/tcn.control
1354 %{_pgsqldir}/unaccent--*.sql
1355 %{_pgsqldir}/unaccent.control
1356 %{_pgsqldir}/uuid-ossp--*.sql
1357 %{_pgsqldir}/uuid-ossp.control
1358 %{_mandir}/man1/oid2name.1*
1359 %{_mandir}/man1/pg_archivecleanup.1*
1360 %{_mandir}/man1/pg_standby.1*
1361 %{_mandir}/man1/pg_xlogdump.1*
1362 %{_mandir}/man1/pgbench.1*
1363 %{_mandir}/man1/vacuumlo.1*