2 # - python 3 and python 2 subpackages?
3 # - test init script (db initialization)
6 %bcond_without tests # disable testing
7 %bcond_without tcl # disable Tcl support
8 %bcond_without kerberos5 # disable kerberos5 support
9 %bcond_without perl # disable Perl support
10 %bcond_without python # disable Python support
11 %bcond_without ldap # disable LDAP support
12 %bcond_with absolute_dbpaths # enable absolute paths to create database
13 # (disabled by default because it is a security risk)
19 Summary: PostgreSQL Data Base Management System
20 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
21 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
22 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
23 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
24 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
25 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
26 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
27 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
28 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
33 Group: Applications/Databases
34 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
35 # Source0-md5: 14c2122cc322e69ab2ab702ed7714bbe
37 Source2: pgsql-Database-HOWTO-html.tar.gz
38 # Source2-md5: 5b656ddf1db41965761f85204a14398e
39 Source3: %{name}.sysconfig
40 Source4: edb-debugger-20100404.tgz
41 # Source4-md5: a10daee9a2017db40c7550c40cb47e8d
42 Source5: %{name}.upstart
43 Source6: %{name}-instance.upstart
44 Patch0: %{name}-conf.patch
45 Patch1: %{name}-absolute_dbpaths.patch
46 Patch2: %{name}-ecpg-includedir.patch
47 Patch3: %{name}-ac_version.patch
48 Patch4: %{name}-disable_horology_test.patch
49 Patch5: %{name}-pg_ctl-fix.patch
50 URL: http://www.postgresql.org/
51 BuildRequires: autoconf
52 BuildRequires: automake
53 BuildRequires: docbook-dtd42-sgml
54 # not needed for releases... but fixes something in snapshot
55 BuildRequires: bison >= 1.875
57 BuildRequires: gettext-devel
58 %{?with_kerberos5:BuildRequires: heimdal-devel}
59 BuildRequires: libtool
60 BuildRequires: libxml2-devel >= 2.6.23
61 BuildRequires: libxslt-devel
62 BuildRequires: libxslt-progs
63 BuildRequires: ncurses-devel >= 5.0
64 %{?with_ldap:BuildRequires: openldap-devel}
65 BuildRequires: openssl-devel >= 0.9.7d
66 BuildRequires: ossp-uuid-devel
67 BuildRequires: pam-devel
68 %{?with_perl:BuildRequires: perl-devel}
70 BuildRequires: python >= 1:2.3
71 BuildRequires: python-devel >= 1:2.3
72 BuildRequires: python-modules >= 1:2.3
74 BuildRequires: readline-devel >= 4.2
75 BuildRequires: rpmbuild(macros) >= 1.268
76 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
77 %{?with_tests:BuildRequires: tzdata}
78 BuildRequires: zlib-devel
79 Requires(post,preun): /sbin/chkconfig
80 Requires(pre): /bin/id
81 Requires(pre): /usr/bin/getgid
82 Requires(pre): /usr/sbin/groupadd
83 Requires(pre): /usr/sbin/useradd
84 Requires(triggerpostun): /bin/id
85 Requires(triggerpostun): /usr/sbin/usermod
86 Requires: %{name}-clients = %{version}-%{release}
87 Requires: %{name}-libs = %{version}-%{release}
88 Requires: rc-scripts >= 0.4.3.0
90 Obsoletes: postgresql-module-plpgsql
91 Obsoletes: postgresql-module-tsearch2
92 Obsoletes: postgresql-server
93 Obsoletes: postgresql-test
94 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
96 %define _pgmoduledir %{_libdir}/postgresql
97 %define _pgsqldir %{_datadir}/postgresql/contrib
99 %define _ulibdir /usr/lib
101 %define contrib_modules auto_explain adminpack btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance fuzzystrmatch hstore intagg intarray isn lo ltree oid2name pageinspect pgbench pg_buffercache pgcrypto pg_freespacemap pgrowlocks pg_standby pg_stat_statements pgstattuple pg_trgm pldebugger seg sslinfo tablefunc uuid-ossp vacuumlo xml2
103 ## to be moved to rpm-build-macros
104 ## TODO: handle RPM_SKIP_AUTO_RESTART
106 # migrate from init script to upstart job
107 %define upstart_post() \
108 if [ -f /var/lock/subsys/"%1" ] ; then \
109 /sbin/service --no-upstart "%1" stop \
110 /sbin/service "%1" start \
112 /sbin/service "%1" try-restart \
115 # restart the job after upgrade or migrate to init script on removal
116 %define upstart_postun() \
117 if [ -x /sbin/initctl ] && /sbin/initctl status "%1" 2>/dev/null | grep -q 'running' ; then \
118 /sbin/initctl stop "%1" 2>/dev/null \
119 [ -f "/etc/rc.d/init.d/%1" -o -f "/etc/init/%1.conf" ] && /sbin/service "%1" start \
123 PostgreSQL Data Base Management System (formerly known as Postgres,
126 PostgreSQL is an enhancement of the POSTGRES database management
127 system, a next-generation DBMS research prototype. While PostgreSQL
128 retains the powerful data model and rich data types of POSTGRES, it
129 replaces the PostQuel query language with an extended subset of SQL.
130 PostgreSQL is free and the complete source is available.
132 PostgreSQL development is being performed by a team of Internet
133 developers who all subscribe to the PostgreSQL development mailing
134 list. The current coordinator is Marc G. Fournier
135 (scrappy@postgreSQL.org). This team is now responsible for all current
136 and future development of PostgreSQL.
138 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
139 others have contributed to the porting, testing, debugging and
140 enhancement of the code. The original Postgres code, from which
141 PostgreSQL is derived, was the effort of many graduate students,
142 undergraduate students, and staff programmers working under the
143 direction of Professor Michael Stonebraker at the University of
144 California, Berkeley.
146 The original name of the software at Berkeley was Postgres. When SQL
147 functionality was added in 1995, its name was changed to Postgres95.
148 The name was changed at the end of 1996 to PostgreSQL.
150 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
151 and most flavours of Unix.
153 %description -l de.UTF-8
154 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
157 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
158 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
159 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
160 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
161 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
164 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
165 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
166 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
167 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
169 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
170 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
171 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
172 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
173 Studenten und Programmierern unter der Leitung von Professor Michael
174 Stonebraker an der University of California, Berkeley.
176 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
177 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
178 entschied man sich für PostgreSQL.
180 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
181 und den meisten Unix-Systemen.
183 %description -l es.UTF-8
184 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
185 como Postgres, y después como Postgres95). PostgreSQL es una
186 continuación mejorada del Sistema Administrador de Banco de Datos
187 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
188 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
189 los varios tipos de datos del POSTGRES, substituye el lenguaje de
190 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
191 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
192 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
193 en la lista de desarrollo del PostgreSQL. El coordinador actual es
194 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
195 responsable por el desarrollo actual y futuro del PostgreSQL.
197 %description -l fr.UTF-8
198 Système de gestion de bases de données PostgreSQL (D'abord nommé
199 Postgres, puis Postgres95).
201 PostgreSQL est une amélioration du système de gestion de bases de
202 données POSTGRES, un prototype de recherche de la génération suivant
203 DBMS. Tout en conservant le puissant modèle de donnée de et les types
204 de donée riches de Postgres, il remplace le langage de requêtes de
205 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
206 libre, et ses sources sont disponibles.
208 Le développement de PostgreSQL est actuellement réalisé via internet
209 parune équipe de développeurs inscrits sur la mailing-list de
210 développement de PostgreSQL. Le coordinateur actuel est Marc G
211 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
212 développemen actuel et à venir de PostgreSQL.
214 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
215 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
216 l'amélioration du code. Le code original de Postgres, duquel
217 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
218 moins haut niveau, et de programmeurs travaillant sous la direction du
219 professeur Michael Stonebraker à l'université de Berkeley Californie.
221 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
222 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
223 rebaptisé PostgreSQL en 1996.
225 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
226 et la plupart des Unix.
228 %description -l pl.UTF-8
229 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
230 Postgres, następnie jako Postgres95).
232 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
233 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
234 model danych oraz bogaty zbiór różnych typów danych, to jednak język
235 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
236 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
239 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
240 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
241 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
242 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
244 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
245 innych pomagało przenosząc na różne platformy, testując, analizując i
246 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
247 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
248 zespołu programistów, którzy pracowali pod kierunkiem profesora
249 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
251 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
252 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
253 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
256 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
257 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
259 %description -l pt_BR.UTF-8
260 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
261 Postgres, e depois como Postgres95).
263 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
264 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
265 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
266 dados e os vários tipos de dados do POSTGRES, ele substitui a
267 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
268 PostgreSQL é livre e tem os fontes disponíveis.
270 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
271 desenvolvedores da Internet, todos subscritores da lista de
272 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
273 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
274 desenvolvimento atual e futuro do PostgreSQL.
276 %description -l ru.UTF-8
277 PostgreSQL - система управления базами данных (прежде известная как
278 Postgres, потом как Postgres95).
280 PostgreSQL - это расширенная версия системы управления базами данных
281 POSTGRES, исследовательского прототипа DBMS следующей генерации.
282 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
283 она заменяет язык запросов PostQuel расширенным набором SQL.
284 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
287 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
288 на список рассылки, посвященный разработке PostgreSQL. В настоящее
289 время координатором является Marc G. Fournier
290 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
291 все текущие и будущие разработки PostgreSQL.
293 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
294 свой вклад в портирование, тестирование, отладку и улучшение кода.
295 Оригинальный код Postgres, от которого произошел PostgreSQL, был
296 создан усилиями студентов, аспирантов и персонала, работающего под
297 руководством профессора Michael Stonebraker в University of
298 California, Berkeley.
300 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
301 была добавлена функциональность SQL, название изменилось на
302 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
305 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
306 и большинстве других разновидностей Unix.
308 %description -l tr.UTF-8
309 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
310 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
311 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
312 sorgulama dilini koyar.
314 %description -l uk.UTF-8
315 PostgreSQL - система керування базами даних (раніш відома як Postgres,
316 потім як Postgres95).
318 PostgreSQL - це розширена версія системи керування базами даних
319 POSTGRES, дослідницького прототипу DBMS наступної генерації.
320 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
321 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
322 безкоштовна та поставляється у вигляді повного комплекту вихідних
325 PostgreSQL розробляється командою Internet-програмістів, учасників
326 списку розсилки, присвяченого розробці PostgreSQL. Наразі
327 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
328 відповідає за всі поточні та майбутні розробки PostgreSQL.
330 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
331 внесли свій внесок в портування, тестування, відладку та покращення
332 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
333 створений зусиллями студентів, аспірантів та персоналу, який працював
334 під керівництвом професора Michael Stonebraker в University of
335 California, Berkeley.
337 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
338 було додано функціональність SQL, назва змінилася на Postgres95. В
339 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
341 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
342 та більшості інших різновидів Unix.
345 Summary: Upstart job description for PostgreSQL server
346 Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL
348 Requires: %{name} = %{version}-%{release}
349 Requires: upstart >= 0.6
352 Upstart job description for PostgreSQL.
354 %description upstart -l pl.UTF-8
355 Opis zadania Upstart dla PostgreSQL.
358 Summary: PostgreSQL development header files and libraries
359 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
360 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
361 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
362 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
363 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
364 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
365 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
366 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
367 Group: Development/Libraries
368 Requires: %{name}-libs = %{version}-%{release}
371 This package contains header files and libraries required to compile
372 applications that are talking directly to the PostgreSQL backend
375 %description devel -l de.UTF-8
376 Dieses Paket enthält die Header-Dateien und Libraries, die zum
377 Kompilieren von Applikationen notwendig sind, die direkt mit dem
378 PostgreSQL-Backend-Server kommunizieren.
380 %description devel -l es.UTF-8
381 Este paquete contiene archivos de inclusión y bibliotecas requeridas
382 para compilación de aplicativos que se comunican directamente con el
383 servidor backend PostgreSQL.
385 %description devel -l fr.UTF-8
386 Ce package contient les fichiers d'en-tête et les bibliothéques
387 nécessaires pour compiler des applications ayant des échanges directs
388 avec le serveur du backend PostgreSQL.
390 %description devel -l pl.UTF-8
391 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
392 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
394 %description devel -l pt_BR.UTF-8
395 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
396 compilação de aplicativos que se comunicam diretamente com o servidor
399 %description devel -l ru.UTF-8
400 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
401 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
403 %description devel -l tr.UTF-8
404 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
405 gereken başlık dosyalarını ve kitaplıkları içerir.
407 %description devel -l uk.UTF-8
408 Цей пакет містить хедери та бібліотеки, необхідні для розробки
409 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
411 %package backend-devel
412 Summary: PostgreSQL backend development header files
413 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
414 Group: Development/Libraries
415 Requires: %{name}-devel = %{version}-%{release}
416 Requires: %{name}-libs = %{version}-%{release}
418 %description backend-devel
419 This package contains header files required to compile functions that
420 could be loaded directly by backend
422 %description backend-devel -l pl.UTF-8
423 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
424 bezposrednio ladowane przez beckend serwera PostgreSQL.
427 Summary: Clients needed to access a PostgreSQL server
428 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
429 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
430 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
431 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
432 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
433 Group: Applications/Databases
434 Requires: %{name}-libs = %{version}-%{release}
437 This package includes only the clients needed to access an PostgreSQL
438 server. The server is included in the main package. If all you need is
439 to connect to another PostgreSQL server, the this is the only package
440 you need to install. Clients include several command-line utilities
441 you can use to manage your databases on a remote PostgreSQL server.
443 %description clients -l es.UTF-8
444 Este paquete incluye solamente los clientes necesarios para acceder un
445 servidor PostgreSQL. El servidor está en el paquete principal.
447 %description clients -l pl.UTF-8
448 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
449 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
450 poleceń. Serwer znajduje się w głównym pakiecie.
452 %description clients -l pt_BR.UTF-8
453 Este pacote inclui somente os clientes necessários para acessar um
454 servidor PostgreSQL. O servidor está no pacote principal.
456 %description clients -l ru.UTF-8
457 Этот пакет включает только клиентские программы и библиотеки,
458 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
459 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
460 единственный пакет, который вам надо установить.
462 Теперь пакеты с библиотеками для разных языков программирования (C,
463 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
466 %description clients -l uk.UTF-8
467 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
468 для доступу до сервера PostgreSQL. Сервер міститься в головному
469 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
470 єдиний пакет, який вам треба встановити.
472 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
473 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
476 Summary: Documentation for PostgreSQL
477 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
478 Group: Applications/Databases
481 This package includes documentation and HOWTO for programmer, admin
482 etc., in HTML format.
484 %description doc -l pl.UTF-8
485 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
486 administratorów w formacie HTML.
489 Summary: PostgreSQL libraries
490 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
491 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
492 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
493 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
497 PostgreSQL shared libraries.
499 %description libs -l es.UTF-8
500 Este paquete contiene la biblioteca compartida para acceso al
503 %description libs -l pl.UTF-8
504 Biblioteki dzielone programu PostgreSQL.
506 %description libs -l pt_BR.UTF-8
507 Este pacote contém a biblioteca compartilhada para acesso ao
511 Summary: Embedded SQL in C interface
512 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
514 Requires: %{name}-libs = %{version}-%{release}
517 Embedded SQL in C interface.
519 %description ecpg -l pl.UTF-8
520 Interfejs wbudowanego SQL-a w język C.
523 Summary: Embedded SQL in C interface files
524 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
525 Group: Development/Libraries
526 Requires: %{name}-devel = %{version}-%{release}
527 Requires: %{name}-ecpg = %{version}-%{release}
529 %description ecpg-devel
530 Embedded SQL in C interface files.
532 %description ecpg-devel -l pl.UTF-8
533 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
536 Summary: PostgreSQL static libraries
537 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
538 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
539 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
540 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
541 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
542 Group: Development/Libraries
543 Requires: %{name}-devel = %{version}-%{release}
546 PostgreSQL static libraries.
548 %description static -l es.UTF-8
549 Este paquete contiene bibliotecas estaticas requerida para compilación
550 de aplicativos que se comunican directamente con el servidor backend
553 %description static -l pl.UTF-8
554 Biblioteki statyczne programu PostgreSQL.
556 %description static -l pt_BR.UTF-8
557 Este pacote contém as bibliotecas estáticas requeridas para compilação
558 de aplicativos que se comunicam diretamente com o servidor backend
561 %description static -l ru.UTF-8
562 Это отдельный пакет со статическими библиотеками, которые больше не
563 входят в %{name}-devel.
565 %description static -l uk.UTF-8
566 Це окремий пакет зі статичними бібліотеками, які більш не входять в
569 %package module-plperl
570 Summary: PL/perl - PostgreSQL procedural language
571 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
572 Group: Applications/Databases
573 Requires: %{name} = %{version}-%{release}
575 %description module-plperl
576 From PostgreSQL documentation:
578 Postgres supports the definition of procedural languages. In the case
579 of a function or trigger procedure defined in a procedural language,
580 the database has no built-in knowledge about how to interpret the
581 function's source text. Instead, the task is passed to a handler that
582 knows the details of the language. The handler itself is a special
583 programming language function compiled into a shared object and loaded
586 To enable PL/Perl procedural language for your database you have to
587 run createlang command.
589 %description module-plperl -l pl.UTF-8
590 Z dokumentacji PostgreSQL:
592 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
593 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
594 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
595 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
596 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
597 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
600 Za pomocą polecenia createlang można dodać obsługę języka
601 proceduralnego PL/Perl dla swojej bazy danych.
603 %package module-plpython
604 Summary: PL/Python - PostgreSQL procedural language
605 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
606 Group: Applications/Databases
607 Requires: %{name} = %{version}-%{release}
608 %pyrequires_eq python
610 %description module-plpython
611 From PostgreSQL documentation:
613 Postgres supports the definition of procedural languages. In the case
614 of a function or trigger procedure defined in a procedural language,
615 the database has no built-in knowledge about how to interpret the
616 function's source text. Instead, the task is passed to a handler that
617 knows the details of the language. The handler itself is a special
618 programming language function compiled into a shared object and loaded
621 To enable PL/Python procedural language for your database you have to
622 run createlang command.
624 %description module-plpython -l pl.UTF-8
625 Z dokumentacji PostgreSQL:
627 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
628 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
629 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
630 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
631 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
632 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
635 Za pomocą polecenia createlang można dodać obsługę języka
636 proceduralnego PL/Python dla swojej bazy danych.
638 %package module-pltcl
639 Summary: PL/Tcl - PostgreSQL procedural language
640 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
641 Group: Applications/Databases
642 Requires: %{name} = %{version}-%{release}
645 %description module-pltcl
646 From PostgreSQL documentation:
648 Postgres supports the definition of procedural languages. In the case
649 of a function or trigger procedure defined in a procedural language,
650 the database has no built-in knowledge about how to interpret the
651 function's source text. Instead, the task is passed to a handler that
652 knows the details of the language. The handler itself is a special
653 programming language function compiled into a shared object and loaded
656 To enable PL/Tcl procedural language for your database you have to run
659 %description module-pltcl -l pl.UTF-8
660 Z dokumentacji PostgreSQL:
662 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
663 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
664 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
665 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
666 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
667 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
670 Za pomocą polecenia createlang można dodać obsługę języka
671 proceduralnego PL/Tcl dla swojej bazy danych.
673 %package module-dblink
674 Summary: dblink module for PostgreSQL
675 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
676 Group: Applications/Databases
677 Requires: %{name} = %{version}-%{release}
679 %description module-dblink
680 dblink module for PostgreSQL provides functions returning results from
683 %description module-dblink -l pl.UTF-8
684 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
688 Summary: Large Objects module for PostgreSQL
689 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
690 Group: Applications/Databases
691 Requires: %{name} = %{version}-%{release}
693 %description module-lo
694 Large Objects module for PostgreSQL adds a new data type 'lo', some
695 support functions and a trigger which handles the orphaning problem.
697 %description module-lo -l pl.UTF-8
698 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
699 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
700 osieroconych obiektów.
702 %package module-pgcrypto
703 Summary: Cryptographic functions for PostgreSQL
704 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
705 Group: Applications/Databases
706 Requires: %{name} = %{version}-%{release}
708 %description module-pgcrypto
709 Cryptographic functions for PostgreSQL.
711 %description module-pgcrypto -l pl.UTF-8
712 Funkcje kryptograficzne dla PostgreSQL.
714 %package module-tablefunc
715 Summary: crosstab functions for PostgreSQL
716 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
717 Group: Applications/Databases
718 Requires: %{name} = %{version}-%{release}
720 %description module-tablefunc
721 crosstab functions for PostgreSQL.
723 %description module-tablefunc -l pl.UTF-8
724 Funkcje crosstab dla PostgreSQL-a.
726 %package module-pg_trgm
727 Summary: Trigram matching for PostgreSQL
728 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
729 Group: Applications/Databases
730 Requires: %{name} = %{version}-%{release}
732 %description module-pg_trgm
733 This module provides functions and index classes for determining the
734 similarity of text based on trigram matching.
736 %description module-pg_trgm -l pl.UTF-8
737 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
738 w oparciu o dopasowywanie trigramowe (trigram matching).
741 Summary: XML-handling functions for PostgreSQL
742 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
743 Group: Applications/Databases
744 Requires: %{name} = %{version}-%{release}
746 %description module-xml2
747 Module with XML functions provides both XPath querying and XSLT
748 functionality. There is also a new table function which allows the
749 straightforward return of multiple XML results.
751 %description module-xml2 -l pl.UTF-8
752 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
753 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
754 bezpośrednie zwracanie wielu wyników XML.
757 Summary: Miscellaneous PostgreSQL contrib modules
758 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
759 Group: Applications/Databases
760 Requires: %{name} = %{version}-%{release}
763 Miscellaneous PostgreSQL contrib modules.
765 %description contrib -l pl.UTF-8
766 Różne moduły dołączone do PostgreSQL-a.
771 %{?with_absolute_dbpaths:%patch1 -p1}
777 tar xzf %{SOURCE4} -C contrib
779 # force rebuild of bison/flex files
780 find src -name \*.l -o -name \*.y | xargs touch
783 #find contrib -type d -name CVS -exec rm -rf {} \;
786 %{__aclocal} -I config
789 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
792 --enable-integer-datetimes \
793 --with-system-tzdata=%{_datadir}/zoneinfo \
795 --enable-thread-safety \
796 %{?with_kerberos5:--with-gssapi} \
797 %{?with_kerberos5:--with-krb5} \
798 %{?with_ldap:--with-ldap} \
803 %{?with_perl:--with-perl} \
804 %{?with_python:--with-python} \
805 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
810 for mod in %{contrib_modules}; do \
811 flags="%{rpmcflags} -DNEED_REENTRANT_FUNCS"
812 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
813 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
814 %{__make} -C contrib/$mod CFLAGS="$flags"
817 %{__make} -C src/tutorial \
820 %ifnarch sparc sparcv9 sparc64 alpha
821 %{?with_tests:%{__make} check}
825 rm -rf $RPM_BUILD_ROOT
826 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \
827 $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
828 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
829 $RPM_BUILD_ROOT%{_mandir} \
830 $RPM_BUILD_ROOT/home/services/postgres
832 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
835 DESTDIR=$RPM_BUILD_ROOT
836 %{__make} -C doc/src/sgml install-man \
837 DESTDIR=$RPM_BUILD_ROOT
840 %{__make} install -C src/pl/plperl \
841 DESTDIR=$RPM_BUILD_ROOT
844 for mod in %{contrib_modules}; do \
845 %{__make} -C contrib/$mod install \
846 DESTDIR=$RPM_BUILD_ROOT
849 touch $RPM_BUILD_ROOT/var/log/pgsql
851 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
852 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
854 install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/%{name}.conf
855 install %{SOURCE6} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf
858 tar zxf %{SOURCE2} -C howto
861 %py_comp $RPM_BUILD_ROOT%{py_libdir}
862 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
866 for f in libpq5 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
867 %find_lang $f-%{mver}
870 cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \
871 postgres-%{mver}.lang pg_controldata-%{mver}.lang \
872 plpgsql-%{mver}.lang \
874 cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \
875 pg_ctl-%{mver}.lang > clients-%{mver}.lang
876 cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang
878 # Remove Contrib documentation. We use macro %doc
879 rm -rf $RPM_BUILD_ROOT/contrib
882 %find_lang pltcl-%{mver}
883 mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl
886 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
888 # package it...? nah, why bother.
889 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html
892 rm -rf $RPM_BUILD_ROOT
896 if [ -f /etc/sysconfig/postgresql ]; then
897 . /etc/sysconfig/postgresql
898 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
899 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
903 for pgdir in $PG_DB_CLUSTERS; do
904 if [ -f $pgdir/PG_VERSION ]; then
905 if [ $(cat $pgdir/PG_VERSION) != '9.0' ]; then
906 echo "Found database(s) in older, incompatible format in cluster $pgdir."
911 if [ "$foundold" = "1" ]; then
913 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
914 echo "and clean (or rename) those directories; then upgrade postgresql and"
915 echo "restore all data (using pg_restore or psql)."
916 echo "Remember to stop the daemon before upgrading!"
918 echo "Warning for upgrade from version *before* 7.2."
919 echo "Please note, that postgresql module path changed from"
920 echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path"
921 echo "in dump file before restore."
923 echo "Warning for upgrade from version *before* 7.3."
924 echo "Reading following webpage is encouraged:"
925 echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
928 %groupadd -g 88 -r postgres
929 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
931 %triggerpostun -- %{name} < 7.2-2
932 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
933 /usr/sbin/usermod -d /home/services/postgres postgres
937 /sbin/chkconfig --add postgresql
938 %service postgresql restart "postgresql server"
941 if [ "$1" = "0" ]; then
942 %service postgresql stop
943 /sbin/chkconfig --del postgresql
947 %upstart_post postgresql
950 %upstart_postun postgresql
952 %post libs -p /sbin/ldconfig
953 %postun libs -p /sbin/ldconfig
955 %post ecpg -p /sbin/ldconfig
956 %postun ecpg -p /sbin/ldconfig
958 %files -f main-%{mver}.lang
959 %defattr(644,root,root,755)
960 %doc COPYRIGHT README HISTORY doc/{README*,bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
961 %attr(754,root,root) /etc/rc.d/init.d/postgresql
962 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
964 %attr(755,root,root) %{_bindir}/initdb
965 %attr(755,root,root) %{_bindir}/pg_controldata
966 %attr(755,root,root) %{_bindir}/pg_ctl
967 %attr(755,root,root) %{_bindir}/pg_resetxlog
968 %attr(755,root,root) %{_bindir}/postgres
969 %attr(755,root,root) %{_bindir}/postmaster
971 %attr(755,root,root) %{_pgmoduledir}/ascii*
972 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
973 %attr(755,root,root) %{_pgmoduledir}/dict_*
974 %attr(755,root,root) %{_pgmoduledir}/euc*
975 %attr(755,root,root) %{_pgmoduledir}/latin*
976 %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver*
977 %attr(755,root,root) %{_pgmoduledir}/plpgsql*
978 %attr(755,root,root) %{_pgmoduledir}/utf*
981 %dir %{_datadir}/postgresql
982 %{_datadir}/postgresql/*.bki
983 %{_datadir}/postgresql/*.sample
984 %{_datadir}/postgresql/*.description
985 %{_datadir}/postgresql/*.shdescription
986 %{_datadir}/postgresql/*.sql
987 %{_datadir}/postgresql/*.txt
988 %{_datadir}/postgresql/timezonesets
989 %{_datadir}/postgresql/tsearch_data
991 %attr(700,postgres,postgres) /home/services/postgres
992 %attr(700,postgres,postgres) %dir /var/lib/pgsql
993 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
995 %{_mandir}/man1/initdb.1*
996 %{_mandir}/man1/pg_controldata.1*
997 %{_mandir}/man1/pg_ctl.1*
998 %{_mandir}/man1/pg_resetxlog.1*
999 %{_mandir}/man1/postgres.1*
1000 %{_mandir}/man1/postmaster.1*
1002 %if "%{pld_release}" != "ti"
1004 %defattr(644,root,root,755)
1005 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf
1006 %dir /etc/init/postgresql
1007 %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf
1011 %defattr(644,root,root,755)
1012 %doc doc/src/sgml/html howto
1013 %{_examplesdir}/%{name}-%{version}
1015 %files libs -f libpq5-%{mver}.lang
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) %{_libdir}/libpq.so.*.*
1018 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
1019 %dir %{_pgmoduledir}
1020 %dir %{_pgmoduledir}/plugins
1022 %files ecpg -f ecpg.lang
1023 %defattr(644,root,root,755)
1024 %attr(755,root,root) %{_bindir}/ecpg
1025 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
1026 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
1027 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
1028 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
1029 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
1030 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
1031 %{_mandir}/man1/ecpg.1*
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_libdir}/libecpg.so
1036 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1037 %attr(755,root,root) %{_libdir}/libpgtypes.so
1038 %{_includedir}/ecpg*
1040 %files devel -f pg_config-%{mver}.lang
1041 %defattr(644,root,root,755)
1042 %attr(755,root,root) %{_bindir}/pg_config
1043 %attr(755,root,root) %{_libdir}/libpq.so
1044 %dir %{_includedir}/postgresql
1045 %{_includedir}/libpq-events.h
1046 %{_includedir}/libpq-fe.h
1047 %{_includedir}/pg_config.h
1048 %{_includedir}/pg_config_manual.h
1049 %{_includedir}/pg_config_os.h
1050 %{_includedir}/postgres_ext.h
1051 %dir %{_includedir}/postgresql/internal
1052 %{_includedir}/postgresql/internal/c.h
1053 %{_includedir}/postgresql/internal/libpq-int.h
1054 %{_includedir}/postgresql/internal/port.h
1055 %{_includedir}/postgresql/internal/postgres_fe.h
1056 %{_includedir}/postgresql/internal/pqexpbuffer.h
1057 %{_includedir}/postgresql/internal/libpq
1058 %{_includedir}/libpq
1059 %{_mandir}/man1/pg_config.1*
1060 %{_mandir}/man3/*.3*
1062 %files backend-devel
1063 %defattr(644,root,root,755)
1064 %{_includedir}/postgresql/server
1065 %dir %{_pgmoduledir}/pgxs
1066 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1067 %{_pgmoduledir}/pgxs/src
1070 %defattr(644,root,root,755)
1071 %{_libdir}/libecpg.a
1072 %{_libdir}/libecpg_compat.a
1074 %{_libdir}/libpgtypes.a
1075 %{_libdir}/libpgport.a
1077 %files clients -f clients-%{mver}.lang
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_bindir}/clusterdb
1080 %attr(755,root,root) %{_bindir}/createdb
1081 %attr(755,root,root) %{_bindir}/createlang
1082 %attr(755,root,root) %{_bindir}/createuser
1083 %attr(755,root,root) %{_bindir}/dropdb
1084 %attr(755,root,root) %{_bindir}/droplang
1085 %attr(755,root,root) %{_bindir}/dropuser
1086 %attr(755,root,root) %{_bindir}/pg_dump
1087 %attr(755,root,root) %{_bindir}/pg_dumpall
1088 %attr(755,root,root) %{_bindir}/pg_restore
1089 %attr(755,root,root) %{_bindir}/psql
1090 %attr(755,root,root) %{_bindir}/reindexdb
1091 %attr(755,root,root) %{_bindir}/vacuumdb
1093 %{_mandir}/man1/clusterdb.1*
1094 %{_mandir}/man1/createdb.1*
1095 %{_mandir}/man1/createlang.1*
1096 %{_mandir}/man1/createuser.1*
1097 %{_mandir}/man1/dropdb.1*
1098 %{_mandir}/man1/droplang.1*
1099 %{_mandir}/man1/dropuser.1*
1100 %{_mandir}/man1/pg_dump.1*
1101 %{_mandir}/man1/pg_dumpall.1*
1102 %{_mandir}/man1/pg_restore.1*
1103 %{_mandir}/man1/psql.1*
1104 %{_mandir}/man1/reindexdb.1*
1105 %{_mandir}/man1/vacuumdb.1*
1106 %{_mandir}/man7/*.7*
1109 %files module-plperl -f plperl-%{mver}.lang
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1115 %files module-plpython -f plpython-%{mver}.lang
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1118 %attr(755,root,root) %{_pgmoduledir}/plpython2.so
1122 %files module-pltcl -f pltcl-%{mver}.lang
1123 %defattr(644,root,root,755)
1124 %attr(755,root,root) %{_bindir}/pltcl_*
1125 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1126 %{_pgsqldir}/unknown.pltcl
1129 %files module-dblink
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1132 %{_pgsqldir}/*dblink.sql
1135 %defattr(644,root,root,755)
1136 %attr(755,root,root) %{_pgmoduledir}/lo.so
1137 %{_pgsqldir}/*lo.sql
1139 %files module-pgcrypto
1140 %defattr(644,root,root,755)
1141 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1142 %{_pgsqldir}/*pgcrypto.sql
1144 %files module-tablefunc
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1147 %{_pgsqldir}/*tablefunc.sql
1149 %files module-pg_trgm
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1152 %{_pgsqldir}/*pg_trgm.sql
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1157 %{_pgsqldir}/*pgxml.sql
1160 %defattr(644,root,root,755)
1161 %doc contrib/README contrib/pldebugger/README.pl*
1162 %attr(755,root,root) %{_bindir}/oid2name
1163 %attr(755,root,root) %{_bindir}/pg_standby
1164 %attr(755,root,root) %{_bindir}/pgbench
1165 %attr(755,root,root) %{_bindir}/vacuumlo
1166 %attr(755,root,root) %{_pgmoduledir}/_int.so
1167 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1168 %attr(755,root,root) %{_pgmoduledir}/auto_explain.so
1169 %attr(755,root,root) %{_pgmoduledir}/btree_gin.so
1170 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1171 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1172 %attr(755,root,root) %{_pgmoduledir}/citext.so
1173 %attr(755,root,root) %{_pgmoduledir}/cube.so
1174 %attr(755,root,root) %{_pgmoduledir}/earthdistance.so
1175 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1176 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1177 %attr(755,root,root) %{_pgmoduledir}/isn.so
1178 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1179 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1180 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1181 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1182 %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so
1183 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1184 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1185 %attr(755,root,root) %{_pgmoduledir}/pldbgapi.so
1186 %attr(755,root,root) %{_pgmoduledir}/plugins/plugin_debugger.so
1187 %attr(755,root,root) %{_pgmoduledir}/plugins/plugin_profiler.so
1188 %attr(755,root,root) %{_pgmoduledir}/seg.so
1189 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1190 %attr(755,root,root) %{_pgmoduledir}/targetinfo.so
1191 %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so
1192 %{_pgsqldir}/_int.sql
1193 %{_pgsqldir}/adminpack.sql
1194 %{_pgsqldir}/btree_gin.sql
1195 %{_pgsqldir}/btree_gist.sql
1196 %{_pgsqldir}/chkpass.sql
1197 %{_pgsqldir}/citext.sql
1198 %{_pgsqldir}/cube.sql
1199 %{_pgsqldir}/dict_int.sql
1200 %{_pgsqldir}/dict_xsyn.sql
1201 %{_pgsqldir}/earthdistance.sql
1202 %{_pgsqldir}/fuzzystrmatch.sql
1203 %{_pgsqldir}/hstore.sql
1204 %{_pgsqldir}/int_aggregate.sql
1205 %{_pgsqldir}/isn.sql
1206 %{_pgsqldir}/ltree.sql
1207 %{_pgsqldir}/pageinspect.sql
1208 %{_pgsqldir}/pg_buffercache.sql
1209 %{_pgsqldir}/pg_freespacemap.sql
1210 %{_pgsqldir}/pg_stat_statements.sql
1211 %{_pgsqldir}/pgrowlocks.sql
1212 %{_pgsqldir}/pgstattuple.sql
1213 %{_pgsqldir}/pldbgapi.sql
1214 %{_pgsqldir}/seg.sql
1215 %{_pgsqldir}/sslinfo.sql
1216 %{_pgsqldir}/uuid-ossp.sql
1217 %{_pgsqldir}/uninstall__int.sql
1218 %{_pgsqldir}/uninstall_adminpack.sql
1219 %{_pgsqldir}/uninstall_btree_gin.sql
1220 %{_pgsqldir}/uninstall_btree_gist.sql
1221 %{_pgsqldir}/uninstall_chkpass.sql
1222 %{_pgsqldir}/uninstall_citext.sql
1223 %{_pgsqldir}/uninstall_cube.sql
1224 %{_pgsqldir}/uninstall_dict_int.sql
1225 %{_pgsqldir}/uninstall_dict_xsyn.sql
1226 %{_pgsqldir}/uninstall_earthdistance.sql
1227 %{_pgsqldir}/uninstall_fuzzystrmatch.sql
1228 %{_pgsqldir}/uninstall_hstore.sql
1229 %{_pgsqldir}/uninstall_int_aggregate.sql
1230 %{_pgsqldir}/uninstall_isn.sql
1231 %{_pgsqldir}/uninstall_ltree.sql
1232 %{_pgsqldir}/uninstall_pageinspect.sql
1233 %{_pgsqldir}/uninstall_pg_buffercache.sql
1234 %{_pgsqldir}/uninstall_pg_freespacemap.sql
1235 %{_pgsqldir}/uninstall_pg_stat_statements.sql
1236 %{_pgsqldir}/uninstall_pgrowlocks.sql
1237 %{_pgsqldir}/uninstall_pgstattuple.sql
1238 %{_pgsqldir}/uninstall_seg.sql
1239 %{_pgsqldir}/uninstall_sslinfo.sql
1240 %{_pgsqldir}/uninstall_uuid-ossp.sql