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: d0a41f54c377b2d2fab4a003b0dac762
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-devel
66 %{?with_kerberos5:BuildRequires: heimdal-devel}
67 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
68 BuildRequires: libtool
69 BuildRequires: libxml2-devel >= 1:2.6.23
70 BuildRequires: libxslt-devel
71 BuildRequires: libxslt-progs
72 BuildRequires: ncurses-devel >= 5.0
73 %{?with_ldap:BuildRequires: openldap-devel}
74 BuildRequires: openssl-devel >= 0.9.7d
75 BuildRequires: ossp-uuid-devel
76 BuildRequires: pam-devel
77 %{?with_perl:BuildRequires: perl-devel}
79 BuildRequires: python >= 1:2.3
80 BuildRequires: python-devel >= 1:2.3
81 BuildRequires: python-modules >= 1:2.3
83 BuildRequires: readline-devel >= 4.2
84 BuildRequires: rpmbuild(macros) >= 1.671
85 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
86 %{?with_tests:BuildRequires: tzdata}
87 BuildRequires: zlib-devel
88 Requires(post,preun): /sbin/chkconfig
89 Requires(pre): /bin/id
90 Requires(pre): /usr/bin/getgid
91 Requires(pre): /usr/sbin/groupadd
92 Requires(pre): /usr/sbin/useradd
93 Requires(triggerpostun): /bin/id
94 Requires(triggerpostun): /usr/sbin/usermod
95 Requires: %{name}-clients = %{version}-%{release}
96 Requires: %{name}-libs = %{version}-%{release}
97 Requires: rc-scripts >= 0.4.3.0
98 Requires: systemd-units >= 38
100 Obsoletes: postgresql-module-plpgsql
101 Obsoletes: postgresql-module-tsearch2
102 Obsoletes: postgresql-server
103 Obsoletes: postgresql-test
104 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
106 %define _pgmoduledir %{_libdir}/postgresql
107 %define _pgsqldir %{_datadir}/postgresql/extension
109 %define _ulibdir /usr/lib
112 # dummy_seclabel, pg_test_fsync, pg_test_timing, spi, test_parser, worker_spi - examples/tests
113 # tsearch2 - old module for compatibility only
114 %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
117 PostgreSQL Data Base Management System (formerly known as Postgres,
120 PostgreSQL is an enhancement of the POSTGRES database management
121 system, a next-generation DBMS research prototype. While PostgreSQL
122 retains the powerful data model and rich data types of POSTGRES, it
123 replaces the PostQuel query language with an extended subset of SQL.
124 PostgreSQL is free and the complete source is available.
126 PostgreSQL development is being performed by a team of Internet
127 developers who all subscribe to the PostgreSQL development mailing
128 list. The current coordinator is Marc G. Fournier
129 (scrappy@postgreSQL.org). This team is now responsible for all current
130 and future development of PostgreSQL.
132 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
133 others have contributed to the porting, testing, debugging and
134 enhancement of the code. The original Postgres code, from which
135 PostgreSQL is derived, was the effort of many graduate students,
136 undergraduate students, and staff programmers working under the
137 direction of Professor Michael Stonebraker at the University of
138 California, Berkeley.
140 The original name of the software at Berkeley was Postgres. When SQL
141 functionality was added in 1995, its name was changed to Postgres95.
142 The name was changed at the end of 1996 to PostgreSQL.
144 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
145 and most flavours of Unix.
147 %description -l de.UTF-8
148 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
151 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
152 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
153 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
154 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
155 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
158 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
159 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
160 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
161 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
163 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
164 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
165 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
166 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
167 Studenten und Programmierern unter der Leitung von Professor Michael
168 Stonebraker an der University of California, Berkeley.
170 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
171 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
172 entschied man sich für PostgreSQL.
174 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
175 und den meisten Unix-Systemen.
177 %description -l es.UTF-8
178 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
179 como Postgres, y después como Postgres95). PostgreSQL es una
180 continuación mejorada del Sistema Administrador de Banco de Datos
181 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
182 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
183 los varios tipos de datos del POSTGRES, substituye el lenguaje de
184 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
185 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
186 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
187 en la lista de desarrollo del PostgreSQL. El coordinador actual es
188 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
189 responsable por el desarrollo actual y futuro del PostgreSQL.
191 %description -l fr.UTF-8
192 Système de gestion de bases de données PostgreSQL (D'abord nommé
193 Postgres, puis Postgres95).
195 PostgreSQL est une amélioration du système de gestion de bases de
196 données POSTGRES, un prototype de recherche de la génération suivant
197 DBMS. Tout en conservant le puissant modèle de donnée de et les types
198 de donée riches de Postgres, il remplace le langage de requêtes de
199 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
200 libre, et ses sources sont disponibles.
202 Le développement de PostgreSQL est actuellement réalisé via internet
203 parune équipe de développeurs inscrits sur la mailing-list de
204 développement de PostgreSQL. Le coordinateur actuel est Marc G
205 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
206 développemen actuel et à venir de PostgreSQL.
208 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
209 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
210 l'amélioration du code. Le code original de Postgres, duquel
211 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
212 moins haut niveau, et de programmeurs travaillant sous la direction du
213 professeur Michael Stonebraker à l'université de Berkeley Californie.
215 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
216 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
217 rebaptisé PostgreSQL en 1996.
219 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
220 et la plupart des Unix.
222 %description -l pl.UTF-8
223 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
224 Postgres, następnie jako Postgres95).
226 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
227 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
228 model danych oraz bogaty zbiór różnych typów danych, to jednak język
229 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
230 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
233 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
234 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
235 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
236 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
238 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
239 innych pomagało przenosząc na różne platformy, testując, analizując i
240 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
241 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
242 zespołu programistów, którzy pracowali pod kierunkiem profesora
243 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
245 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
246 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
247 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
250 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
251 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
253 %description -l pt_BR.UTF-8
254 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
255 Postgres, e depois como Postgres95).
257 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
258 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
259 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
260 dados e os vários tipos de dados do POSTGRES, ele substitui a
261 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
262 PostgreSQL é livre e tem os fontes disponíveis.
264 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
265 desenvolvedores da Internet, todos subscritores da lista de
266 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
267 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
268 desenvolvimento atual e futuro do PostgreSQL.
270 %description -l ru.UTF-8
271 PostgreSQL - система управления базами данных (прежде известная как
272 Postgres, потом как Postgres95).
274 PostgreSQL - это расширенная версия системы управления базами данных
275 POSTGRES, исследовательского прототипа DBMS следующей генерации.
276 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
277 она заменяет язык запросов PostQuel расширенным набором SQL.
278 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
281 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
282 на список рассылки, посвященный разработке PostgreSQL. В настоящее
283 время координатором является Marc G. Fournier
284 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
285 все текущие и будущие разработки PostgreSQL.
287 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
288 свой вклад в портирование, тестирование, отладку и улучшение кода.
289 Оригинальный код Postgres, от которого произошел PostgreSQL, был
290 создан усилиями студентов, аспирантов и персонала, работающего под
291 руководством профессора Michael Stonebraker в University of
292 California, Berkeley.
294 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
295 была добавлена функциональность SQL, название изменилось на
296 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
299 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
300 и большинстве других разновидностей Unix.
302 %description -l tr.UTF-8
303 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
304 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
305 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
306 sorgulama dilini koyar.
308 %description -l uk.UTF-8
309 PostgreSQL - система керування базами даних (раніш відома як Postgres,
310 потім як Postgres95).
312 PostgreSQL - це розширена версія системи керування базами даних
313 POSTGRES, дослідницького прототипу DBMS наступної генерації.
314 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
315 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
316 безкоштовна та поставляється у вигляді повного комплекту вихідних
319 PostgreSQL розробляється командою Internet-програмістів, учасників
320 списку розсилки, присвяченого розробці PostgreSQL. Наразі
321 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
322 відповідає за всі поточні та майбутні розробки PostgreSQL.
324 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
325 внесли свій внесок в портування, тестування, відладку та покращення
326 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
327 створений зусиллями студентів, аспірантів та персоналу, який працював
328 під керівництвом професора Michael Stonebraker в University of
329 California, Berkeley.
331 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
332 було додано функціональність SQL, назва змінилася на Postgres95. В
333 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
335 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
336 та більшості інших різновидів Unix.
339 Summary: Upstart job description for PostgreSQL server
340 Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
342 Requires: %{name} = %{version}-%{release}
343 Requires: upstart >= 0.6
344 Conflicts: syslog-ng < 3.2.4-1
347 Upstart job description for PostgreSQL.
349 %description upstart -l pl.UTF-8
350 Opis zadania Upstart dla PostgreSQL.
353 Summary: PostgreSQL development header files and libraries
354 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
355 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
356 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
357 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
358 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
359 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
360 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
361 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
362 Group: Development/Libraries
363 Requires: %{name}-libs = %{version}-%{release}
366 This package contains header files and libraries required to compile
367 applications that are talking directly to the PostgreSQL backend
370 %description devel -l de.UTF-8
371 Dieses Paket enthält die Header-Dateien und Libraries, die zum
372 Kompilieren von Applikationen notwendig sind, die direkt mit dem
373 PostgreSQL-Backend-Server kommunizieren.
375 %description devel -l es.UTF-8
376 Este paquete contiene archivos de inclusión y bibliotecas requeridas
377 para compilación de aplicativos que se comunican directamente con el
378 servidor backend PostgreSQL.
380 %description devel -l fr.UTF-8
381 Ce package contient les fichiers d'en-tête et les bibliothéques
382 nécessaires pour compiler des applications ayant des échanges directs
383 avec le serveur du backend PostgreSQL.
385 %description devel -l pl.UTF-8
386 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
387 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
389 %description devel -l pt_BR.UTF-8
390 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
391 compilação de aplicativos que se comunicam diretamente com o servidor
394 %description devel -l ru.UTF-8
395 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
396 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
398 %description devel -l tr.UTF-8
399 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
400 gereken başlık dosyalarını ve kitaplıkları içerir.
402 %description devel -l uk.UTF-8
403 Цей пакет містить хедери та бібліотеки, необхідні для розробки
404 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
406 %package backend-devel
407 Summary: PostgreSQL backend development header files
408 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
409 Group: Development/Libraries
410 Requires: %{name}-devel = %{version}-%{release}
411 Requires: %{name}-libs = %{version}-%{release}
413 %description backend-devel
414 This package contains header files required to compile functions that
415 could be loaded directly by backend
417 %description backend-devel -l pl.UTF-8
418 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
419 bezposrednio ladowane przez beckend serwera PostgreSQL.
422 Summary: Clients needed to access a PostgreSQL server
423 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
424 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
425 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
426 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
427 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
428 Group: Applications/Databases
429 Requires: %{name}-libs = %{version}-%{release}
432 This package includes only the clients needed to access an PostgreSQL
433 server. The server is included in the main package. If all you need is
434 to connect to another PostgreSQL server, the this is the only package
435 you need to install. Clients include several command-line utilities
436 you can use to manage your databases on a remote PostgreSQL server.
438 %description clients -l es.UTF-8
439 Este paquete incluye solamente los clientes necesarios para acceder un
440 servidor PostgreSQL. El servidor está en el paquete principal.
442 %description clients -l pl.UTF-8
443 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
444 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
445 poleceń. Serwer znajduje się w głównym pakiecie.
447 %description clients -l pt_BR.UTF-8
448 Este pacote inclui somente os clientes necessários para acessar um
449 servidor PostgreSQL. O servidor está no pacote principal.
451 %description clients -l ru.UTF-8
452 Этот пакет включает только клиентские программы и библиотеки,
453 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
454 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
455 единственный пакет, который вам надо установить.
457 Теперь пакеты с библиотеками для разных языков программирования (C,
458 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
461 %description clients -l uk.UTF-8
462 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
463 для доступу до сервера PostgreSQL. Сервер міститься в головному
464 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
465 єдиний пакет, який вам треба встановити.
467 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
468 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
471 Summary: Documentation for PostgreSQL
472 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
473 Group: Applications/Databases
476 This package includes documentation and HOWTO for programmer, admin
477 etc., in HTML format.
479 %description doc -l pl.UTF-8
480 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
481 administratorów w formacie HTML.
484 Summary: PostgreSQL libraries
485 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
486 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
487 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
488 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
492 PostgreSQL shared libraries.
494 %description libs -l es.UTF-8
495 Este paquete contiene la biblioteca compartida para acceso al
498 %description libs -l pl.UTF-8
499 Biblioteki dzielone programu PostgreSQL.
501 %description libs -l pt_BR.UTF-8
502 Este pacote contém a biblioteca compartilhada para acesso ao
506 Summary: Embedded SQL in C interface
507 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
509 Requires: %{name}-libs = %{version}-%{release}
512 Embedded SQL in C interface.
514 %description ecpg -l pl.UTF-8
515 Interfejs wbudowanego SQL-a w język C.
518 Summary: Embedded SQL in C interface files
519 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
520 Group: Development/Libraries
521 Requires: %{name}-devel = %{version}-%{release}
522 Requires: %{name}-ecpg = %{version}-%{release}
524 %description ecpg-devel
525 Embedded SQL in C interface files.
527 %description ecpg-devel -l pl.UTF-8
528 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
531 Summary: PostgreSQL static libraries
532 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
533 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
534 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
535 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
536 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
537 Group: Development/Libraries
538 Requires: %{name}-devel = %{version}-%{release}
541 PostgreSQL static libraries.
543 %description static -l es.UTF-8
544 Este paquete contiene bibliotecas estaticas requerida para compilación
545 de aplicativos que se comunican directamente con el servidor backend
548 %description static -l pl.UTF-8
549 Biblioteki statyczne programu PostgreSQL.
551 %description static -l pt_BR.UTF-8
552 Este pacote contém as bibliotecas estáticas requeridas para compilação
553 de aplicativos que se comunicam diretamente com o servidor backend
556 %description static -l ru.UTF-8
557 Это отдельный пакет со статическими библиотеками, которые больше не
558 входят в %{name}-devel.
560 %description static -l uk.UTF-8
561 Це окремий пакет зі статичними бібліотеками, які більш не входять в
564 %package module-plperl
565 Summary: PL/perl - PostgreSQL procedural language
566 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
567 Group: Applications/Databases
568 Requires: %{name} = %{version}-%{release}
570 %description module-plperl
571 From PostgreSQL documentation:
573 Postgres supports the definition of procedural languages. In the case
574 of a function or trigger procedure defined in a procedural language,
575 the database has no built-in knowledge about how to interpret the
576 function's source text. Instead, the task is passed to a handler that
577 knows the details of the language. The handler itself is a special
578 programming language function compiled into a shared object and loaded
581 To enable PL/Perl procedural language for your database you have to
582 run createlang command.
584 %description module-plperl -l pl.UTF-8
585 Z dokumentacji PostgreSQL:
587 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
588 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
589 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
590 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
591 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
592 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
595 Za pomocą polecenia createlang można dodać obsługę języka
596 proceduralnego PL/Perl dla swojej bazy danych.
598 %package module-plpython
599 Summary: PL/Python - PostgreSQL procedural language
600 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
601 Group: Applications/Databases
602 Requires: %{name} = %{version}-%{release}
603 %pyrequires_eq python
605 %description module-plpython
606 From PostgreSQL documentation:
608 Postgres supports the definition of procedural languages. In the case
609 of a function or trigger procedure defined in a procedural language,
610 the database has no built-in knowledge about how to interpret the
611 function's source text. Instead, the task is passed to a handler that
612 knows the details of the language. The handler itself is a special
613 programming language function compiled into a shared object and loaded
616 To enable PL/Python procedural language for your database you have to
617 run createlang command.
619 %description module-plpython -l pl.UTF-8
620 Z dokumentacji PostgreSQL:
622 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
623 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
624 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
625 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
626 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
627 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
630 Za pomocą polecenia createlang można dodać obsługę języka
631 proceduralnego PL/Python dla swojej bazy danych.
633 %package module-pltcl
634 Summary: PL/Tcl - PostgreSQL procedural language
635 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
636 Group: Applications/Databases
637 Requires: %{name} = %{version}-%{release}
640 %description module-pltcl
641 From PostgreSQL documentation:
643 Postgres supports the definition of procedural languages. In the case
644 of a function or trigger procedure defined in a procedural language,
645 the database has no built-in knowledge about how to interpret the
646 function's source text. Instead, the task is passed to a handler that
647 knows the details of the language. The handler itself is a special
648 programming language function compiled into a shared object and loaded
651 To enable PL/Tcl procedural language for your database you have to run
654 %description module-pltcl -l pl.UTF-8
655 Z dokumentacji PostgreSQL:
657 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
658 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
659 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
660 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
661 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
662 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
665 Za pomocą polecenia createlang można dodać obsługę języka
666 proceduralnego PL/Tcl dla swojej bazy danych.
668 %package module-dblink
669 Summary: dblink module for PostgreSQL
670 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
671 Group: Applications/Databases
672 Requires: %{name} = %{version}-%{release}
674 %description module-dblink
675 dblink module for PostgreSQL provides functions returning results from
678 %description module-dblink -l pl.UTF-8
679 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
683 Summary: Large Objects module for PostgreSQL
684 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
685 Group: Applications/Databases
686 Requires: %{name} = %{version}-%{release}
688 %description module-lo
689 Large Objects module for PostgreSQL adds a new data type 'lo', some
690 support functions and a trigger which handles the orphaning problem.
692 %description module-lo -l pl.UTF-8
693 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
694 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
695 osieroconych obiektów.
697 %package module-pg_trgm
698 Summary: Trigram matching for PostgreSQL
699 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
700 Group: Applications/Databases
701 Requires: %{name} = %{version}-%{release}
703 %description module-pg_trgm
704 This module provides functions and index classes for determining the
705 similarity of text based on trigram matching.
707 %description module-pg_trgm -l pl.UTF-8
708 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
709 w oparciu o dopasowywanie trigramowe (trigram matching).
711 %package module-pgcrypto
712 Summary: Cryptographic functions for PostgreSQL
713 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
714 Group: Applications/Databases
715 Requires: %{name} = %{version}-%{release}
717 %description module-pgcrypto
718 Cryptographic functions for PostgreSQL.
720 %description module-pgcrypto -l pl.UTF-8
721 Funkcje kryptograficzne dla PostgreSQL.
723 %package module-sepgsql
724 Summary: PostgreSQL external security provider using SELinux
725 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
726 Group: Applications/Databases
727 Requires: %{name} = %{version}-%{release}
728 Requires: libselinux >= 2.1.10
730 %description module-sepgsql
731 PostgreSQL external security provider using SELinux.
733 %description module-sepgsql -l pl.UTF-8
734 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
736 %package module-tablefunc
737 Summary: crosstab functions for PostgreSQL
738 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
739 Group: Applications/Databases
740 Requires: %{name} = %{version}-%{release}
742 %description module-tablefunc
743 crosstab functions for PostgreSQL.
745 %description module-tablefunc -l pl.UTF-8
746 Funkcje crosstab dla PostgreSQL-a.
749 Summary: XML-handling functions for PostgreSQL
750 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
751 Group: Applications/Databases
752 Requires: %{name} = %{version}-%{release}
753 Requires: libxml2 >= 1:2.6.23
755 %description module-xml2
756 Module with XML functions provides both XPath querying and XSLT
757 functionality. There is also a new table function which allows the
758 straightforward return of multiple XML results.
760 %description module-xml2 -l pl.UTF-8
761 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
762 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
763 bezpośrednie zwracanie wielu wyników XML.
766 Summary: Miscellaneous PostgreSQL contrib modules
767 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
768 Group: Applications/Databases
769 Requires: %{name} = %{version}-%{release}
772 Miscellaneous PostgreSQL contrib modules.
774 %description contrib -l pl.UTF-8
775 Różne moduły dołączone do PostgreSQL-a.
780 %{?with_absolute_dbpaths:%patch1 -p1}
786 # force rebuild of bison/flex files
787 find src -name \*.l -o -name \*.y | xargs touch
790 #find contrib -type d -name CVS -exec rm -rf {} \;
793 %{__aclocal} -I config
796 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
799 --enable-integer-datetimes \
800 --with-system-tzdata=%{_datadir}/zoneinfo \
802 --enable-thread-safety \
803 %{?with_kerberos5:--with-gssapi} \
804 %{?with_kerberos5:--with-krb5} \
805 %{?with_ldap:--with-ldap} \
810 %{?with_perl:--with-perl} \
811 %{?with_python:--with-python} \
812 %{?with_selinux:--with-selinux} \
813 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
818 for mod in %{contrib_modules}; do \
819 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
820 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
821 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
822 %{__make} -C contrib/$mod CFLAGS="$flags"
825 %{__make} -C src/tutorial \
828 %ifnarch sparc sparcv9 sparc64 alpha
829 %{?with_tests:%{__make} -j1 check}
833 rm -rf $RPM_BUILD_ROOT
834 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
835 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
836 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
837 $RPM_BUILD_ROOT%{_mandir} \
838 $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \
839 $RPM_BUILD_ROOT/home/services/postgres
841 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
844 DESTDIR=$RPM_BUILD_ROOT
845 %{__make} -C doc/src/sgml install-man \
846 DESTDIR=$RPM_BUILD_ROOT
849 %{__make} install -C src/pl/plperl \
850 DESTDIR=$RPM_BUILD_ROOT
853 for mod in %{contrib_modules}; do \
854 %{__make} -C contrib/$mod install \
855 DESTDIR=$RPM_BUILD_ROOT
858 touch $RPM_BUILD_ROOT/var/log/pgsql
860 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
861 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
863 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service
864 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
865 install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
867 install %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf
868 install %{SOURCE8} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
871 tar zxf %{SOURCE2} -C howto
874 %py_comp $RPM_BUILD_ROOT%{py_libdir}
875 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
879 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
880 %find_lang $f-%{mver}
883 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
884 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
885 plpgsql-%{mver}.lang \
886 pg_basebackup-%{mver}.lang \
888 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
889 pg_ctl-%{mver}.lang > clients-%{mver}.lang
890 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
893 %find_lang pltcl-%{mver}
894 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
898 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql
901 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
903 # unpackaged contribs
904 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{pg_test_fsync,pg_test_timing}.1
906 # package it...? nah, why bother.
907 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
910 rm -rf $RPM_BUILD_ROOT
914 if [ -f /etc/sysconfig/postgresql ]; then
915 . /etc/sysconfig/postgresql
916 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
917 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
921 for pgdir in $PG_DB_CLUSTERS; do
922 if [ -f $pgdir/PG_VERSION ]; then
923 if [ $(cat $pgdir/PG_VERSION) != '9.3' ]; then
924 echo "Found database(s) in older, incompatible format in cluster $pgdir."
929 if [ "$foundold" = "1" ]; then
931 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
932 echo "and clean (or rename) those directories; then upgrade postgresql and"
933 echo "restore all data (using pg_restore or psql)."
934 echo "Remember to stop the daemon before upgrading!"
936 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
937 echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html"
939 echo "Warning for upgrade from version *before* 7.2."
940 echo "Please note, that postgresql module path changed from"
941 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
942 echo "in dump file before restore."
944 echo "Warning for upgrade from version *before* 7.3."
945 echo "Reading following webpage is encouraged:"
946 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
949 %groupadd -g 88 -r postgres
950 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
952 %triggerpostun -- %{name} < 7.2-2
953 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
954 /usr/sbin/usermod -d /home/services/postgres postgres
958 /sbin/chkconfig --add postgresql
959 %service postgresql restart "postgresql server"
960 if [ "$1" -eq "1" ]; then
962 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
963 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
964 for pgdir in $PG_DB_CLUSTERS; do
965 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
966 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
969 %systemd_post postgresql.service
972 if [ "$1" = "0" ]; then
973 %service postgresql stop
974 /sbin/chkconfig --del postgresql
977 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
978 export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog
979 for pgdir in $PG_DB_CLUSTERS; do
980 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
981 /bin/systemctl --quiet disable "postgresql@$instance.service" || :
984 %systemd_preun postgresql.service
989 %triggerpostun -- %{name} < 9.3.3-2
991 [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql
992 for pgdir in $PG_DB_CLUSTERS; do
993 instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')"
994 /bin/systemctl --quiet enable "postgresql@$instance.service" || :
996 %systemd_trigger postgresql.service
999 %upstart_post postgresql
1002 %upstart_postun postgresql
1004 %post libs -p /sbin/ldconfig
1005 %postun libs -p /sbin/ldconfig
1007 %post ecpg -p /sbin/ldconfig
1008 %postun ecpg -p /sbin/ldconfig
1010 %files -f main-%{mver}.lang
1011 %defattr(644,root,root,755)
1012 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
1013 %attr(754,root,root) /etc/rc.d/init.d/postgresql
1014 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
1015 %{systemdunitdir}/%{name}.service
1016 %{systemdunitdir}/%{name}@.service
1017 %{systemdunitdir}/%{name}.target
1018 %dir /etc/systemd/system/%{name}.target.requires
1020 %attr(755,root,root) %{_bindir}/initdb
1021 %attr(755,root,root) %{_bindir}/pg_basebackup
1022 %attr(755,root,root) %{_bindir}/pg_controldata
1023 %attr(755,root,root) %{_bindir}/pg_ctl
1024 %attr(755,root,root) %{_bindir}/pg_resetxlog
1025 %attr(755,root,root) %{_bindir}/pg_receivexlog
1026 %attr(755,root,root) %{_bindir}/pg_upgrade
1027 %attr(755,root,root) %{_bindir}/postgres
1028 %attr(755,root,root) %{_bindir}/postmaster
1030 %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so
1031 %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so
1032 %attr(755,root,root) %{_pgmoduledir}/dict_int.so
1033 %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so
1034 %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so
1035 %attr(755,root,root) %{_pgmoduledir}/euc*.so
1036 %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so
1037 %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so
1038 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so
1039 %attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so
1040 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1041 %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so
1044 %{_pgsqldir}/plpgsql--*.sql
1045 %{_pgsqldir}/plpgsql.control
1047 %dir %{_datadir}/postgresql
1048 %{_datadir}/postgresql/*.bki
1049 %{_datadir}/postgresql/*.sample
1050 %{_datadir}/postgresql/*.description
1051 %{_datadir}/postgresql/*.shdescription
1052 %{_datadir}/postgresql/*.sql
1053 %{_datadir}/postgresql/*.txt
1054 %{_datadir}/postgresql/timezonesets
1055 %{_datadir}/postgresql/tsearch_data
1057 %dir %{_datadir}/postgresql/contrib
1059 %attr(700,postgres,postgres) /home/services/postgres
1060 %attr(700,postgres,postgres) %dir /var/lib/pgsql
1061 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
1063 %{_mandir}/man1/initdb.1*
1064 %{_mandir}/man1/pg_basebackup.1*
1065 %{_mandir}/man1/pg_controldata.1*
1066 %{_mandir}/man1/pg_ctl.1*
1067 %{_mandir}/man1/pg_resetxlog.1*
1068 %{_mandir}/man1/pg_receivexlog.1*
1069 %{_mandir}/man1/postgres.1*
1070 %{_mandir}/man1/postmaster.1*
1072 %if "%{pld_release}" != "ti"
1074 %defattr(644,root,root,755)
1075 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1076 %dir /etc/init/postgresql
1077 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
1081 %defattr(644,root,root,755)
1082 %doc doc/src/sgml/html howto
1083 %{_examplesdir}/%{name}-%{version}
1085 %files libs -f libpq5-%{mver}.lang
1086 %defattr(644,root,root,755)
1087 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1088 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1089 %dir %{_pgmoduledir}
1091 %files ecpg -f ecpg.lang
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_bindir}/ecpg
1094 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1095 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1096 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1097 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1098 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1099 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1100 %{_mandir}/man1/ecpg.1*
1103 %defattr(644,root,root,755)
1104 %attr(755,root,root) %{_libdir}/libecpg.so
1105 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1106 %attr(755,root,root) %{_libdir}/libpgtypes.so
1107 %{_includedir}/ecpg*
1108 %{_pkgconfigdir}/libecpg.pc
1109 %{_pkgconfigdir}/libecpg_compat.pc
1110 %{_pkgconfigdir}/libpgtypes.pc
1112 %files devel -f pg_config-%{mver}.lang
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_bindir}/pg_config
1115 %attr(755,root,root) %{_libdir}/libpq.so
1116 %dir %{_includedir}/postgresql
1117 %{_includedir}/libpq-events.h
1118 %{_includedir}/libpq-fe.h
1119 %{_includedir}/pg_config.h
1120 %{_includedir}/pg_config_ext.h
1121 %{_includedir}/pg_config_manual.h
1122 %{_includedir}/pg_config_os.h
1123 %{_includedir}/postgres_ext.h
1124 %dir %{_includedir}/postgresql/internal
1125 %{_includedir}/postgresql/internal/c.h
1126 %{_includedir}/postgresql/internal/libpq-int.h
1127 %{_includedir}/postgresql/internal/port.h
1128 %{_includedir}/postgresql/internal/postgres_fe.h
1129 %{_includedir}/postgresql/internal/pqexpbuffer.h
1130 %{_includedir}/postgresql/internal/libpq
1131 %{_includedir}/libpq
1132 %{_pkgconfigdir}/libpq.pc
1133 %{_mandir}/man1/pg_config.1*
1135 %files backend-devel
1136 %defattr(644,root,root,755)
1137 %{_includedir}/postgresql/server
1138 %dir %{_pgmoduledir}/pgxs
1139 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1140 %{_pgmoduledir}/pgxs/src
1141 %{_mandir}/man3/SPI_*.3*
1144 %defattr(644,root,root,755)
1145 %{_libdir}/libecpg.a
1146 %{_libdir}/libecpg_compat.a
1148 %{_libdir}/libpgcommon.a
1149 %{_libdir}/libpgtypes.a
1150 %{_libdir}/libpgport.a
1152 %files clients -f clients-%{mver}.lang
1153 %defattr(644,root,root,755)
1154 %attr(755,root,root) %{_bindir}/clusterdb
1155 %attr(755,root,root) %{_bindir}/createdb
1156 %attr(755,root,root) %{_bindir}/createlang
1157 %attr(755,root,root) %{_bindir}/createuser
1158 %attr(755,root,root) %{_bindir}/dropdb
1159 %attr(755,root,root) %{_bindir}/droplang
1160 %attr(755,root,root) %{_bindir}/dropuser
1161 %attr(755,root,root) %{_bindir}/pg_dump
1162 %attr(755,root,root) %{_bindir}/pg_dumpall
1163 %attr(755,root,root) %{_bindir}/pg_isready
1164 %attr(755,root,root) %{_bindir}/pg_restore
1165 %attr(755,root,root) %{_bindir}/psql
1166 %attr(755,root,root) %{_bindir}/reindexdb
1167 %attr(755,root,root) %{_bindir}/vacuumdb
1169 %{_mandir}/man1/clusterdb.1*
1170 %{_mandir}/man1/createdb.1*
1171 %{_mandir}/man1/createlang.1*
1172 %{_mandir}/man1/createuser.1*
1173 %{_mandir}/man1/dropdb.1*
1174 %{_mandir}/man1/droplang.1*
1175 %{_mandir}/man1/dropuser.1*
1176 %{_mandir}/man1/pg_dump.1*
1177 %{_mandir}/man1/pg_dumpall.1*
1178 %{_mandir}/man1/pg_isready.1*
1179 %{_mandir}/man1/pg_restore.1*
1180 %{_mandir}/man1/pg_upgrade.1.gz
1181 %{_mandir}/man1/psql.1*
1182 %{_mandir}/man1/reindexdb.1*
1183 %{_mandir}/man1/vacuumdb.1*
1184 %{_mandir}/man7/*.7*
1187 %files module-plperl -f plperl-%{mver}.lang
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1190 %{_pgsqldir}/plperl--*.sql
1191 %{_pgsqldir}/plperl.control
1192 %{_pgsqldir}/plperlu--*.sql
1193 %{_pgsqldir}/plperlu.control
1197 %files module-plpython -f plpython-%{mver}.lang
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1200 %{_pgsqldir}/plpython*--*.sql
1201 %{_pgsqldir}/plpython*.control
1205 %files module-pltcl -f pltcl-%{mver}.lang
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_bindir}/pltcl_*
1208 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1209 %{_pgsqldir}/unknown.pltcl
1210 %{_pgsqldir}/pltcl*--*.sql
1211 %{_pgsqldir}/pltcl*.control
1214 %files module-dblink
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1217 %{_pgsqldir}/dblink--*.sql
1218 %{_pgsqldir}/dblink.control
1219 %{_mandir}/man3/dblink*.3*
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_pgmoduledir}/lo.so
1224 %{_pgsqldir}/lo--*.sql
1225 %{_pgsqldir}/lo.control
1227 %files module-pg_trgm
1228 %defattr(644,root,root,755)
1229 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1230 %{_pgsqldir}/pg_trgm--*.sql
1231 %{_pgsqldir}/pg_trgm.control
1233 %files module-pgcrypto
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1236 %{_pgsqldir}/pgcrypto--*.sql
1237 %{_pgsqldir}/pgcrypto.control
1240 %files module-sepgsql
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_pgmoduledir}/sepgsql.so
1243 %{_pgsqldir}/sepgsql.sql
1246 %files module-tablefunc
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1249 %{_pgsqldir}/*tablefunc--*.sql
1250 %{_pgsqldir}/*tablefunc.control
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1255 %{_pgsqldir}/xml2--*.sql
1256 %{_pgsqldir}/xml2.control
1259 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_bindir}/oid2name
1262 %attr(755,root,root) %{_bindir}/pg_archivecleanup
1263 %attr(755,root,root) %{_bindir}/pg_standby
1264 %attr(755,root,root) %{_bindir}/pg_xlogdump
1265 %attr(755,root,root) %{_bindir}/pgbench
1266 %attr(755,root,root) %{_bindir}/vacuumlo
1267 %attr(755,root,root) %{_pgmoduledir}/_int.so
1268 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1269 %attr(755,root,root) %{_pgmoduledir}/auth_delay.so
1270 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1271 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1272 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1273 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1274 %attr(755,root,root) %{_pgmoduledir}/citext.so
1275 %attr(755,root,root) %{_pgmoduledir}/cube.so
1276 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1277 %attr(755,root,root) %{_pgmoduledir}/file_fdw.so
1278 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1279 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1280 %attr(755,root,root) %{_pgmoduledir}/isn.so
1281 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1282 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1283 %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so
1284 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1285 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1286 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1287 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1288 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1289 %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so
1290 %attr(755,root,root) %{_pgmoduledir}/seg.so
1291 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1292 %attr(755,root,root) %{_pgmoduledir}/tcn.so
1293 %attr(755,root,root) %{_pgmoduledir}/unaccent.so
1294 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1295 %{_pgsqldir}/adminpack--*.sql
1296 %{_pgsqldir}/adminpack.control
1297 %{_pgsqldir}/btree_gin--*.sql
1298 %{_pgsqldir}/btree_gin.control
1299 %{_pgsqldir}/btree_gist--*.sql
1300 %{_pgsqldir}/btree_gist.control
1301 %{_pgsqldir}/chkpass--*.sql
1302 %{_pgsqldir}/chkpass.control
1303 %{_pgsqldir}/citext--*.sql
1304 %{_pgsqldir}/citext.control
1305 %{_pgsqldir}/cube--*.sql
1306 %{_pgsqldir}/cube.control
1307 %{_pgsqldir}/dict_int--*.sql
1308 %{_pgsqldir}/dict_int.control
1309 %{_pgsqldir}/dict_xsyn--*.sql
1310 %{_pgsqldir}/dict_xsyn.control
1311 %{_pgsqldir}/earthdistance--*.sql
1312 %{_pgsqldir}/earthdistance.control
1313 %{_pgsqldir}/file_fdw--*.sql
1314 %{_pgsqldir}/file_fdw.control
1315 %{_pgsqldir}/fuzzystrmatch--*.sql
1316 %{_pgsqldir}/fuzzystrmatch.control
1317 %{_pgsqldir}/hstore--*.sql
1318 %{_pgsqldir}/hstore.control
1319 %{_pgsqldir}/intarray--*.sql
1320 %{_pgsqldir}/intarray.control
1321 %{_pgsqldir}/intagg--*.sql
1322 %{_pgsqldir}/intagg.control
1323 %{_pgsqldir}/isn--*.sql
1324 %{_pgsqldir}/isn.control
1325 %{_pgsqldir}/ltree--*.sql
1326 %{_pgsqldir}/ltree.control
1327 %{_pgsqldir}/pageinspect--*.sql
1328 %{_pgsqldir}/pageinspect.control
1329 %{_pgsqldir}/pg_buffercache--*.sql
1330 %{_pgsqldir}/pg_buffercache.control
1331 %{_pgsqldir}/pg_freespacemap--*.sql
1332 %{_pgsqldir}/pg_freespacemap.control
1333 %{_pgsqldir}/pg_stat_statements--*.sql
1334 %{_pgsqldir}/pg_stat_statements.control
1335 %{_pgsqldir}/pgrowlocks--*.sql
1336 %{_pgsqldir}/pgrowlocks.control
1337 %{_pgsqldir}/pgstattuple--*.sql
1338 %{_pgsqldir}/pgstattuple.control
1339 %{_pgsqldir}/postgres_fdw--*.sql
1340 %{_pgsqldir}/postgres_fdw.control
1341 %{_pgsqldir}/seg--*.sql
1342 %{_pgsqldir}/seg.control
1343 %{_pgsqldir}/sslinfo--*.sql
1344 %{_pgsqldir}/sslinfo.control
1345 %{_pgsqldir}/tcn--*.sql
1346 %{_pgsqldir}/tcn.control
1347 %{_pgsqldir}/unaccent--*.sql
1348 %{_pgsqldir}/unaccent.control
1349 %{_pgsqldir}/uuid-ossp--*.sql
1350 %{_pgsqldir}/uuid-ossp.control
1351 %{_mandir}/man1/oid2name.1*
1352 %{_mandir}/man1/pg_archivecleanup.1*
1353 %{_mandir}/man1/pg_standby.1*
1354 %{_mandir}/man1/pg_xlogdump.1*
1355 %{_mandir}/man1/pgbench.1*
1356 %{_mandir}/man1/vacuumlo.1*