3 %bcond_without tests # disable testing
4 %bcond_without tcl # disable Tcl support
5 %bcond_without kerberos5 # disable kerberos5 support
6 %bcond_without perl # disable Perl support
7 %bcond_without python # disable Python support
8 %bcond_with bonjour # Bonjour/DNS_SD support
9 %bcond_without ldap # disable LDAP support
10 %bcond_without selinux # sepgsql contrib module
11 %bcond_with systemtap # systemtap/dtrace probes
12 %bcond_with absolute_dbpaths # enable absolute paths to create database
13 # (disabled by default because it is a security risk)
20 Summary: PostgreSQL Data Base Management System
21 Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem
22 Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL
23 Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL
24 Summary(pl.UTF-8): PostgreSQL - system bazodanowy
25 Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL
26 Summary(ru.UTF-8): PostgreSQL - система управления базами данных
27 Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi
28 Summary(uk.UTF-8): PostgreSQL - система керування базами даних
29 Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件
30 Name: postgresql%{pgver}
31 Version: %{pgver}.%{pgminver}
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: a5fe5fdff2d6c28f65601398be0950df
37 Source1: postgresql.init
38 Source2: pgsql-Database-HOWTO-html.tar.gz
39 # Source2-md5: 5b656ddf1db41965761f85204a14398e
40 Source3: postgresql.sysconfig
41 Patch0: postgresql-conf.patch
42 Patch1: postgresql-absolute_dbpaths.patch
43 Patch2: postgresql-ecpg-includedir.patch
44 Patch3: per-version-dirs.patch
45 Patch4: postgresql-disable_horology_test.patch
46 Patch5: postgresql-heimdal.patch
47 Patch6: postgresql-link.patch
48 URL: http://www.postgresql.org/
49 BuildRequires: autoconf >= 2.69
50 BuildRequires: automake
51 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
52 # not needed for releases... but fixes something in snapshot
53 BuildRequires: bison >= 1.875
54 BuildRequires: docbook-dtd42-sgml
55 BuildRequires: docbook-dtd42-xml
56 BuildRequires: docbook-style-xsl
57 BuildRequires: flex >= 2.5.31
58 BuildRequires: gettext-tools
59 BuildRequires: gnome-doc-tools
60 %{?with_kerberos5:BuildRequires: heimdal-devel}
61 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
62 BuildRequires: libtool
63 BuildRequires: libxml2-devel >= 1:2.6.23
64 BuildRequires: libxslt-devel
65 BuildRequires: libxslt-progs
66 BuildRequires: ncurses-devel >= 5.0
67 %{?with_ldap:BuildRequires: openldap-devel}
68 BuildRequires: openssl-devel >= 0.9.7d
69 BuildRequires: ossp-uuid-devel
70 BuildRequires: pam-devel
71 %{?with_perl:BuildRequires: perl-devel}
73 BuildRequires: python >= 1:2.3
74 BuildRequires: python-devel >= 1:2.3
75 BuildRequires: python-modules >= 1:2.3
77 BuildRequires: readline-devel >= 4.2
78 BuildRequires: rpmbuild(macros) >= 1.671
79 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
80 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
81 %{?with_tests:BuildRequires: tzdata}
82 BuildRequires: zlib-devel
83 Requires(post,preun): /sbin/chkconfig
84 Requires(pre): /bin/id
85 Requires(pre): /usr/bin/getgid
86 Requires(triggerpostun): /bin/id
87 Requires(triggerpostun): /usr/sbin/usermod
88 Requires: %{name}-clients >= %{version}-%{release}
89 Requires: %{name}-dirs = %{version}-%{release}
90 Requires: postgresql-libs = %{version}-%{release}
91 Requires: rc-scripts >= 0.4.3.0
94 Obsoletes: postgresql-module-plpgsql
95 Obsoletes: postgresql-module-tsearch2
96 Obsoletes: postgresql-server
97 Obsoletes: postgresql-test
98 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 %define pgsqldatadir %{_datadir}/postgresql/%{pgver}
101 %define pgsqllibdir %{_libdir}/postgresql/%{pgver}
102 %define moduledir %{pgsqllibdir}/lib
103 %define extensiondir %{pgsqldatadir}/extension
105 %define _ulibdir /usr/lib
108 # spi, test_decoding, worker_spi - examples/tests
109 # tsearch2 - old module for compatibility only
110 %define contrib_modules adminpack auth_delay auto_explain bloom btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore %{?with_perl:hstore_plperl} %{?with_python:hstore_plpython} intagg intarray isn lo ltree %{?with_python:ltree_plpython} oid2name pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_standby pg_stat_statements pg_trgm pg_visibility pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn tsm_system_rows tsm_system_time unaccent uuid-ossp vacuumlo xml2
113 PostgreSQL Data Base Management System (formerly known as Postgres,
116 PostgreSQL is an enhancement of the POSTGRES database management
117 system, a next-generation DBMS research prototype. While PostgreSQL
118 retains the powerful data model and rich data types of POSTGRES, it
119 replaces the PostQuel query language with an extended subset of SQL.
120 PostgreSQL is free and the complete source is available.
122 PostgreSQL development is being performed by a team of Internet
123 developers who all subscribe to the PostgreSQL development mailing
124 list. The current coordinator is Marc G. Fournier
125 (scrappy@postgreSQL.org). This team is now responsible for all current
126 and future development of PostgreSQL.
128 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
129 others have contributed to the porting, testing, debugging and
130 enhancement of the code. The original Postgres code, from which
131 PostgreSQL is derived, was the effort of many graduate students,
132 undergraduate students, and staff programmers working under the
133 direction of Professor Michael Stonebraker at the University of
134 California, Berkeley.
136 The original name of the software at Berkeley was Postgres. When SQL
137 functionality was added in 1995, its name was changed to Postgres95.
138 The name was changed at the end of 1996 to PostgreSQL.
140 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
141 and most flavours of Unix.
143 %description -l pl.UTF-8
144 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
145 Postgres, następnie jako Postgres95).
147 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
148 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
149 model danych oraz bogaty zbiór różnych typów danych, to jednak język
150 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
151 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
154 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
155 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
156 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
157 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
159 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
160 innych pomagało przenosząc na różne platformy, testując, analizując i
161 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
162 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
163 zespołu programistów, którzy pracowali pod kierunkiem profesora
164 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
166 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
167 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
168 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
171 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
172 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
174 %package -n postgresql-common
175 Summary: Common PostgreSQL files and directories
176 Summary(pl.UTF-8): PostgreSQL - wspólne pliki i katalogi
177 Group: Applicataion/Databases
178 Requires(pre): /usr/sbin/groupadd
179 Requires(pre): /usr/sbin/useradd
181 %description -n postgresql-common
182 Common PostgreSQL files and directories.
184 %description -n postgresql-common -l pl.UTF-8
185 PostgreSQL - wspólne pliki i katalogi.
188 Summary: Common directories for PostgresSQL %{pgver}
189 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgver}
190 Group: Applicataion/Databases
193 Common directories for PostgresSQL %{pgver}
195 %description dirs -l pl.UTF-8
196 Wspólne pliki i katalogi dla PostgreSQL %{pgver}
198 %package -n postgresql-devel
199 Summary: PostgreSQL development header files and libraries
200 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
201 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
202 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
203 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
204 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
205 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
206 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
207 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
208 Group: Development/Libraries
209 Requires: alternatives
210 Requires: postgresql-libs = %{version}-%{release}
212 %description -n postgresql-devel
213 This package contains header files and libraries required to compile
214 applications that are talking directly to the PostgreSQL backend
217 %description -n postgresql-devel -l pl.UTF-8
218 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
219 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
221 %package backend-devel
222 Summary: PostgreSQL backend development header files
223 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
224 Group: Development/Libraries
225 Requires: postgresql-devel = %{version}-%{release}
226 Requires: postgresql-libs = %{version}-%{release}
227 Obsoletes: postgresql-backend-devel
229 %description backend-devel
230 This package contains header files required to compile functions that
231 could be loaded directly by backend
233 %description backend-devel -l pl.UTF-8
234 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
235 bezposrednio ladowane przez beckend serwera PostgreSQL.
238 Summary: Clients needed to access a PostgreSQL server
239 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
240 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
241 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
242 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
243 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
244 Group: Applications/Databases
245 Requires: alternatives
246 Requires: %{name}-dirs = %{version}-%{release}
247 Requires: postgresql-libs = %{version}-%{release}
248 Obsoletes: postgresql-clients
251 This package includes only the clients needed to access an PostgreSQL
252 server. The server is included in the main package. If all you need is
253 to connect to another PostgreSQL server, the this is the only package
254 you need to install. Clients include several command-line utilities
255 you can use to manage your databases on a remote PostgreSQL server.
257 %description clients -l pl.UTF-8
258 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
259 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
260 poleceń. Serwer znajduje się w głównym pakiecie.
263 Summary: Documentation for PostgreSQL
264 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
265 Group: Applications/Databases
266 Obsoletes: postgresql-doc
269 This package includes documentation and HOWTO for programmer, admin
270 etc., in HTML format.
272 %description doc -l pl.UTF-8
273 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
274 administratorów w formacie HTML.
276 %package -n postgresql-libs
277 Summary: PostgreSQL libraries
278 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
279 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
280 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
281 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
283 Requires: postgresql-common = %{version}-%{release}
285 %description -n postgresql-libs
286 PostgreSQL shared libraries.
288 %description -n postgresql-libs -l pl.UTF-8
289 Biblioteki dzielone programu PostgreSQL.
292 Summary: Embedded SQL in C interface
293 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
295 Requires: %{name}-dirs = %{version}-%{release}
296 Requires: postgresql-libs = %{version}-%{release}
297 Requires: postgresql-ecpg-libs = %{version}-%{release}
298 Obsoletes: postgresql-ecpg
301 Embedded SQL in C interface.
303 %description ecpg -l pl.UTF-8
304 Interfejs wbudowanego SQL-a w język C.
306 %package -n postgresql-ecpg-libs
307 Summary: PostgreSQL libraries
308 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
309 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
310 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
311 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
314 %description -n postgresql-ecpg-libs
315 PostgreSQL shared libraries.
317 %description -n postgresql-ecpg-libs -l pl.UTF-8
318 Biblioteki dzielone programu PostgreSQL.
320 %package -n postgresql-ecpg-devel
321 Summary: Embedded SQL in C interface files
322 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
323 Group: Development/Libraries
324 Requires: postgresql-devel = %{version}-%{release}
325 Requires: postgresql-ecpg-devel = %{version}-%{release}
327 %description -n postgresql-ecpg-devel
328 Embedded SQL in C interface files.
330 %description -n postgresql-ecpg-devel -l pl.UTF-8
331 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
333 %package -n postgresql-ecpg-static
334 Summary: PostgreSQL static libraries
335 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
336 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
337 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
338 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
339 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
340 Group: Development/Libraries
341 Requires: postgresql-devel = %{version}-%{release}
343 %description -n postgresql-ecpg-static
344 PostgreSQL static libraries.
346 %description -n postgresql-ecpg-static -l pl.UTF-8
347 Biblioteki statyczne programu PostgreSQL.
349 %package -n postgresql-static
350 Summary: PostgreSQL static libraries
351 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
352 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
353 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
354 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
355 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
356 Group: Development/Libraries
357 Requires: postgresql-devel = %{version}-%{release}
359 %description -n postgresql-static
360 PostgreSQL static libraries.
362 %description -n postgresql-static -l pl.UTF-8
363 Biblioteki statyczne programu PostgreSQL.
365 %package module-plperl
366 Summary: PL/perl - PostgreSQL procedural language
367 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
368 Group: Applications/Databases
369 Requires: %{name} = %{version}-%{release}
370 Obsoletes: postgresql-module-plperl
372 %description module-plperl
373 From PostgreSQL documentation:
375 Postgres supports the definition of procedural languages. In the case
376 of a function or trigger procedure defined in a procedural language,
377 the database has no built-in knowledge about how to interpret the
378 function's source text. Instead, the task is passed to a handler that
379 knows the details of the language. The handler itself is a special
380 programming language function compiled into a shared object and loaded
383 To enable PL/Perl procedural language for your database you have to
384 run createlang command.
386 %description module-plperl -l pl.UTF-8
387 Z dokumentacji PostgreSQL:
389 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
390 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
391 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
392 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
393 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
394 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
397 Za pomocą polecenia createlang można dodać obsługę języka
398 proceduralnego PL/Perl dla swojej bazy danych.
400 %package module-plpython
401 Summary: PL/Python - PostgreSQL procedural language
402 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
403 Group: Applications/Databases
404 Requires: %{name} = %{version}-%{release}
405 %pyrequires_eq python
406 Obsoletes: postgresql-module-plpython
408 %description module-plpython
409 From PostgreSQL documentation:
411 Postgres supports the definition of procedural languages. In the case
412 of a function or trigger procedure defined in a procedural language,
413 the database has no built-in knowledge about how to interpret the
414 function's source text. Instead, the task is passed to a handler that
415 knows the details of the language. The handler itself is a special
416 programming language function compiled into a shared object and loaded
419 To enable PL/Python procedural language for your database you have to
420 run createlang command.
422 %description module-plpython -l pl.UTF-8
423 Z dokumentacji PostgreSQL:
425 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
426 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
427 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
428 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
429 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
430 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
433 Za pomocą polecenia createlang można dodać obsługę języka
434 proceduralnego PL/Python dla swojej bazy danych.
436 %package module-pltcl
437 Summary: PL/Tcl - PostgreSQL procedural language
438 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
439 Group: Applications/Databases
440 Requires: %{name} = %{version}-%{release}
442 Obsoletes: postgresql-module-pltcl
444 %description module-pltcl
445 From PostgreSQL documentation:
447 Postgres supports the definition of procedural languages. In the case
448 of a function or trigger procedure defined in a procedural language,
449 the database has no built-in knowledge about how to interpret the
450 function's source text. Instead, the task is passed to a handler that
451 knows the details of the language. The handler itself is a special
452 programming language function compiled into a shared object and loaded
455 To enable PL/Tcl procedural language for your database you have to run
458 %description module-pltcl -l pl.UTF-8
459 Z dokumentacji PostgreSQL:
461 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
462 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
463 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
464 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
465 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
466 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
469 Za pomocą polecenia createlang można dodać obsługę języka
470 proceduralnego PL/Tcl dla swojej bazy danych.
472 %package module-dblink
473 Summary: dblink module for PostgreSQL
474 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
475 Group: Applications/Databases
476 Requires: %{name} = %{version}-%{release}
477 Obsoletes: postgresql-module-dblink
479 %description module-dblink
480 dblink module for PostgreSQL provides functions returning results from
483 %description module-dblink -l pl.UTF-8
484 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
488 Summary: Large Objects module for PostgreSQL
489 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
490 Group: Applications/Databases
491 Requires: %{name} = %{version}-%{release}
492 Obsoletes: postgresql-module-lo
494 %description module-lo
495 Large Objects module for PostgreSQL adds a new data type 'lo', some
496 support functions and a trigger which handles the orphaning problem.
498 %description module-lo -l pl.UTF-8
499 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
500 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
501 osieroconych obiektów.
503 %package module-pg_trgm
504 Summary: Trigram matching for PostgreSQL
505 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
506 Group: Applications/Databases
507 Requires: %{name} = %{version}-%{release}
508 Obsoletes: postgresql-module-pg_trgm
510 %description module-pg_trgm
511 This module provides functions and index classes for determining the
512 similarity of text based on trigram matching.
514 %description module-pg_trgm -l pl.UTF-8
515 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
516 w oparciu o dopasowywanie trigramowe (trigram matching).
518 %package module-pgcrypto
519 Summary: Cryptographic functions for PostgreSQL
520 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
521 Group: Applications/Databases
522 Requires: %{name} = %{version}-%{release}
523 Obsoletes: postgresql-module-pgcrypto
525 %description module-pgcrypto
526 Cryptographic functions for PostgreSQL.
528 %description module-pgcrypto -l pl.UTF-8
529 Funkcje kryptograficzne dla PostgreSQL.
531 %package module-sepgsql
532 Summary: PostgreSQL external security provider using SELinux
533 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
534 Group: Applications/Databases
535 Requires: %{name} = %{version}-%{release}
536 Requires: libselinux >= 2.1.10
537 Obsoletes: postgresql-module-sepgsql
539 %description module-sepgsql
540 PostgreSQL external security provider using SELinux.
542 %description module-sepgsql -l pl.UTF-8
543 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
545 %package module-tablefunc
546 Summary: crosstab functions for PostgreSQL
547 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
548 Group: Applications/Databases
549 Requires: %{name} = %{version}-%{release}
550 Obsoletes: postgresql-module-tablefunc
552 %description module-tablefunc
553 crosstab functions for PostgreSQL.
555 %description module-tablefunc -l pl.UTF-8
556 Funkcje crosstab dla PostgreSQL-a.
559 Summary: XML-handling functions for PostgreSQL
560 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
561 Group: Applications/Databases
562 Requires: %{name} = %{version}-%{release}
563 Requires: libxml2 >= 1:2.6.23
564 Obsoletes: postgresql-module-xml2
566 %description module-xml2
567 Module with XML functions provides both XPath querying and XSLT
568 functionality. There is also a new table function which allows the
569 straightforward return of multiple XML results.
571 %description module-xml2 -l pl.UTF-8
572 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
573 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
574 bezpośrednie zwracanie wielu wyników XML.
577 Summary: Miscellaneous PostgreSQL contrib modules
578 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
579 Group: Applications/Databases
580 Requires: %{name} = %{version}-%{release}
581 Obsoletes: postgresql-contrib
584 Miscellaneous PostgreSQL contrib modules.
586 %description contrib -l pl.UTF-8
587 Różne moduły dołączone do PostgreSQL-a.
590 %setup -q -n postgresql-%{version}
592 %{?with_absolute_dbpaths:%patch1 -p1}
599 # force rebuild of bison/flex files
600 find src -name \*.l -o -name \*.y | xargs touch
603 #find contrib -type d -name CVS -exec rm -rf {} \;
606 %{__aclocal} -I config
610 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
611 --prefix=%{pgsqldatadir} \
612 --bindir=%{pgsqllibdir}/bin \
613 --sbindir=%{pgsqllibdir}/sbin \
614 --includedir=%{_includedir} \
615 --mandir=%{pgsqldatadir}/man \
616 --datadir=%{pgsqldatadir} \
617 --libdir=%{_libdir} \
618 --docdir=%{pgsqldatadir}/doc \
621 %{?with_systemtap:--enable-dtrace} \
622 --enable-integer-datetimes \
624 --enable-thread-safety \
625 %{?with_bonjour:--with-bonjour} \
626 %{?with_kerberos5:--with-gssapi} \
627 %{?with_ldap:--with-ldap} \
632 %{?with_perl:--with-perl} \
633 %{?with_python:--with-python} \
634 %{?with_selinux:--with-selinux} \
635 --with-system-tzdata=%{_datadir}/zoneinfo \
637 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
642 for mod in %{contrib_modules}; do \
643 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
644 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
645 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
646 %{__make} -C contrib/$mod CFLAGS="$flags"
649 %{__make} -C src/tutorial \
652 %ifnarch sparc sparcv9 sparc64 alpha
653 %{?with_tests:%{__make} -j1 check}
657 rm -rf $RPM_BUILD_ROOT
658 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
659 $RPM_BUILD_ROOT/var/{lib/pgsql,log} \
660 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
661 $RPM_BUILD_ROOT%{_mandir} \
662 $RPM_BUILD_ROOT/home/services/postgres
664 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
667 DESTDIR=$RPM_BUILD_ROOT
668 %{__make} -C doc/src/sgml install-man \
669 DESTDIR=$RPM_BUILD_ROOT
672 %{__make} install -C src/pl/plperl \
673 DESTDIR=$RPM_BUILD_ROOT
676 for mod in %{contrib_modules}; do \
677 %{__make} -C contrib/$mod install \
678 DESTDIR=$RPM_BUILD_ROOT
681 touch $RPM_BUILD_ROOT/var/log/pgsql
683 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql10
684 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql10
687 tar zxf %{SOURCE2} -C howto
690 %py_comp $RPM_BUILD_ROOT%{py_libdir}
691 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
695 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
696 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
697 pg_archivecleanup pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_waldump; do
698 %find_lang $f-%{pgver}
702 cat $(for f in $@; do echo ${f}-%{pgver}.lang ; done)
704 merge_lang pgscripts postgres plpgsql \
705 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
706 merge_lang psql initdb \
707 pg_archivecleanup pg_ctl pg_dump > clients.lang
710 %find_lang pltcl-%{pgver}
714 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
717 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgver}/server/
719 # package it...? nah, why bother.
720 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
723 rm -rf $RPM_BUILD_ROOT
727 if [ -f /etc/sysconfig/postgresql10 ]; then
728 . /etc/sysconfig/postgresql10
729 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
730 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
734 for pgdir in $PG_DB_CLUSTERS; do
735 if [ -f $pgdir/PG_VERSION ]; then
736 if [ $(cat $pgdir/PG_VERSION) != '%{pgver}' ]; then
737 echo "Found database(s) in older, incompatible format in cluster $pgdir."
742 if [ "$foundold" = "1" ]; then
744 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
745 echo "and clean (or rename) those directories; then upgrade postgresql and"
746 echo "restore all data (using pg_restore or psql)."
747 echo "Remember to stop the daemon before upgrading!"
749 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
750 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
755 %triggerpostun -- %{name} < 7.2-2
756 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
757 /usr/sbin/usermod -d /home/services/postgres postgres
761 /sbin/chkconfig --add postgresql10
762 %service postgresql10 restart "postgresql10 server"
765 if [ "$1" = "0" ]; then
766 %service postgresql10 stop
767 /sbin/chkconfig --del postgresql10
770 %pre -n postgresql-common
771 %groupadd -g 88 -r postgres
772 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
775 update-alternatives \
776 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgver}%{pgminver} \
777 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
778 update-alternatives \
779 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgver}%{pgminver} \
780 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
781 update-alternatives \
782 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgver}%{pgminver} \
783 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
784 update-alternatives \
785 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgver}%{pgminver} \
786 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
787 update-alternatives \
788 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgver}%{pgminver} \
789 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
790 update-alternatives \
791 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgver}%{pgminver} \
792 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
793 update-alternatives \
794 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgver}%{pgminver} \
795 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
796 update-alternatives \
797 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgver}%{pgminver} \
798 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
799 update-alternatives \
800 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgver}%{pgminver} \
801 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
802 update-alternatives \
803 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgver}%{pgminver} \
804 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
805 update-alternatives \
806 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgver}%{pgminver} \
807 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
808 update-alternatives \
809 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgver}%{pgminver} \
810 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
811 update-alternatives \
812 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgver}%{pgminver} \
813 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
816 if [ $1 -eq 0 ]; then
817 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
818 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
819 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
820 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
821 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
822 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
823 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
824 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
825 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
826 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
827 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
828 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
829 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
832 %post -n postgresql-devel
833 update-alternatives \
834 --install %{_bindir}/pg_config pg_config %{pgsqllibdir}/bin/pg_config %{pgver}%{pgminver} \
835 --slave %{_mandir}/man1/pg_config.1 pg_config.1 %{pgsqldatadir}/man/man1/pg_config.1* || :
837 %postun -n postgresql-devel
838 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
841 %post -n postgresql-libs -p /sbin/ldconfig
842 %postun -n postgresql-libs -p /sbin/ldconfig
844 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
845 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
848 %defattr(644,root,root,755)
849 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
850 %attr(754,root,root) /etc/rc.d/init.d/postgresql10
851 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql10
853 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
854 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
855 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
856 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
857 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
858 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
859 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
860 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
861 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
862 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
863 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
864 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
865 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
866 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
867 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
869 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
870 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
871 %attr(755,root,root) %{moduledir}/dict_int.so
872 %attr(755,root,root) %{moduledir}/dict_snowball.so
873 %attr(755,root,root) %{moduledir}/dict_xsyn.so
874 %attr(755,root,root) %{moduledir}/euc*.so
875 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
876 %attr(755,root,root) %{moduledir}/latin_and_mic.so
877 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
878 %attr(755,root,root) %{moduledir}/pgoutput.so
879 %attr(755,root,root) %{moduledir}/plpgsql.so
880 %attr(755,root,root) %{moduledir}/utf8_and_*.so
883 %{extensiondir}/plpgsql--*.sql
884 %{extensiondir}/plpgsql.control
886 %{pgsqldatadir}/*.bki
887 %{pgsqldatadir}/*.sample
888 %{pgsqldatadir}/*.description
889 %{pgsqldatadir}/*.shdescription
890 %{pgsqldatadir}/*.sql
891 %{pgsqldatadir}/*.txt
892 %{pgsqldatadir}/timezonesets
893 %{pgsqldatadir}/tsearch_data
895 %dir %{pgsqldatadir}/contrib
897 %attr(700,postgres,postgres) /home/services/postgres
898 %attr(700,postgres,postgres) %dir /var/lib/pgsql
899 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
901 %{pgsqldatadir}/man/man1/initdb.1*
902 %{pgsqldatadir}/man/man1/pg_basebackup.1*
903 %{pgsqldatadir}/man/man1/pg_controldata.1*
904 %{pgsqldatadir}/man/man1/pg_ctl.1*
905 %{pgsqldatadir}/man/man1/pg_resetwal.1*
906 %{pgsqldatadir}/man/man1/pg_receivewal.1*
907 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
908 %{pgsqldatadir}/man/man1/pg_rewind.1*
909 %{pgsqldatadir}/man/man1/pg_waldump.1*
910 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
911 %{pgsqldatadir}/man/man1/pg_test_timing.1*
912 %{pgsqldatadir}/man/man1/pg_upgrade.1*
913 %{pgsqldatadir}/man/man1/pgbench.1*
914 %{pgsqldatadir}/man/man1/postgres.1*
915 %{pgsqldatadir}/man/man1/postmaster.1*
917 %files -n postgresql-common
918 %defattr(644,root,root,755)
919 %dir %{_libdir}/postgresql
920 %dir %{_datadir}/postgresql
923 %defattr(644,root,root,755)
925 %dir %{pgsqllibdir}/bin
926 %dir %{pgsqllibdir}/lib
928 %dir %{pgsqldatadir}/man
929 %dir %{pgsqldatadir}/man/man1
930 %dir %{pgsqldatadir}/man/man3
931 %dir %{pgsqldatadir}/man/man7
934 %defattr(644,root,root,755)
935 %doc doc/src/sgml/html howto
936 %{_examplesdir}/%{name}-%{version}
938 %files -n postgresql-libs -f libpq5-%{pgver}.lang
939 %defattr(644,root,root,755)
940 %attr(755,root,root) %{_libdir}/libpq.so.*.*
941 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
943 %files ecpg -f ecpg-%{pgver}.lang
944 %defattr(644,root,root,755)
945 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
946 %{pgsqldatadir}/man/man1/ecpg.1*
948 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgver}.lang
949 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
950 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
951 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
952 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
953 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
954 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
956 %files -n postgresql-ecpg-devel
957 %defattr(644,root,root,755)
958 %attr(755,root,root) %{_libdir}/libecpg.so
959 %attr(755,root,root) %{_libdir}/libecpg_compat.so
960 %attr(755,root,root) %{_libdir}/libpgtypes.so
962 %{_libdir}/pkgconfig/libecpg.pc
963 %{_libdir}/pkgconfig/libecpg_compat.pc
964 %{_libdir}/pkgconfig/libpgtypes.pc
966 %files -n postgresql-ecpg-static
967 %defattr(644,root,root,755)
969 %{_libdir}/libecpg_compat.a
970 %{_libdir}/libpgtypes.a
972 %files -n postgresql-devel -f pg_config-%{pgver}.lang
973 %defattr(644,root,root,755)
974 %attr(755,root,root) %{pgsqllibdir}/bin/pg_config
975 %attr(755,root,root) %{_libdir}/libpq.so
976 %dir %{_includedir}/postgresql
977 %{_includedir}/libpq-events.h
978 %{_includedir}/libpq-fe.h
979 %{_includedir}/pg_config.h
980 %{_includedir}/pg_config_ext.h
981 %{_includedir}/pg_config_manual.h
982 %{_includedir}/pg_config_os.h
983 %{_includedir}/postgres_ext.h
984 %dir %{_includedir}/postgresql/internal
985 %{_includedir}/postgresql/internal/c.h
986 %{_includedir}/postgresql/internal/libpq-int.h
987 %{_includedir}/postgresql/internal/port.h
988 %{_includedir}/postgresql/internal/postgres_fe.h
989 %{_includedir}/postgresql/internal/pqexpbuffer.h
990 %{_includedir}/postgresql/internal/libpq
992 %{_libdir}/pkgconfig/libpq.pc
993 %{pgsqldatadir}/man/man1/pg_config.1*
996 %defattr(644,root,root,755)
997 %dir %{_includedir}/postgresql/%{pgver}
998 %{_includedir}/postgresql/%{pgver}/server
999 %dir %{moduledir}/pgxs
1000 %attr(755,root,root) %{moduledir}/pgxs/config
1001 %{moduledir}/pgxs/src
1002 %{pgsqldatadir}/man/man3/SPI_*.3*
1004 %files -n postgresql-static
1005 %defattr(644,root,root,755)
1007 %{_libdir}/libpgcommon.a
1008 %{_libdir}/libpgfeutils.a
1009 %{_libdir}/libpgport.a
1011 %files clients -f clients.lang
1012 %defattr(644,root,root,755)
1013 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
1014 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
1015 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
1016 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
1017 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
1018 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
1019 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
1020 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
1021 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
1022 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
1023 %attr(755,root,root) %{pgsqllibdir}/bin/psql
1024 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
1025 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
1027 %{pgsqldatadir}/man/man1/clusterdb.1*
1028 %{pgsqldatadir}/man/man1/createdb.1*
1029 %{pgsqldatadir}/man/man1/createuser.1*
1030 %{pgsqldatadir}/man/man1/dropdb.1*
1031 %{pgsqldatadir}/man/man1/dropuser.1*
1032 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
1033 %{pgsqldatadir}/man/man1/pg_dump.1*
1034 %{pgsqldatadir}/man/man1/pg_dumpall.1*
1035 %{pgsqldatadir}/man/man1/pg_isready.1*
1036 %{pgsqldatadir}/man/man1/pg_restore.1*
1037 %{pgsqldatadir}/man/man1/psql.1*
1038 %{pgsqldatadir}/man/man1/reindexdb.1*
1039 %{pgsqldatadir}/man/man1/vacuumdb.1*
1040 %{pgsqldatadir}/man/man7/*.7*
1043 %files module-plperl -f plperl-%{pgver}.lang
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{moduledir}/plperl.so
1046 %{extensiondir}/plperl--*.sql
1047 %{extensiondir}/plperl.control
1048 %{extensiondir}/plperlu--*.sql
1049 %{extensiondir}/plperlu.control
1053 %files module-plpython -f plpython-%{pgver}.lang
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{moduledir}/plpython2.so
1056 %{extensiondir}/plpython*--*.sql
1057 %{extensiondir}/plpython*.control
1061 %files module-pltcl -f pltcl-%{pgver}.lang
1062 %defattr(644,root,root,755)
1063 %attr(755,root,root) %{moduledir}/pltcl.so
1064 %{extensiondir}/pltcl*--*.sql
1065 %{extensiondir}/pltcl*.control
1068 %files module-dblink
1069 %defattr(644,root,root,755)
1070 %attr(755,root,root) %{moduledir}/dblink.so
1071 %{extensiondir}/dblink--*.sql
1072 %{extensiondir}/dblink.control
1073 %{pgsqldatadir}/man/man3/dblink*.3*
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) %{moduledir}/lo.so
1078 %{extensiondir}/lo--*.sql
1079 %{extensiondir}/lo.control
1081 %files module-pg_trgm
1082 %defattr(644,root,root,755)
1083 %attr(755,root,root) %{moduledir}/pg_trgm.so
1084 %{extensiondir}/pg_trgm--*.sql
1085 %{extensiondir}/pg_trgm.control
1087 %files module-pgcrypto
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{moduledir}/pgcrypto.so
1090 %{extensiondir}/pgcrypto--*.sql
1091 %{extensiondir}/pgcrypto.control
1094 %files module-sepgsql
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) %{moduledir}/sepgsql.so
1097 %{extensiondir}/sepgsql.sql
1100 %files module-tablefunc
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{moduledir}/tablefunc.so
1103 %{extensiondir}/*tablefunc--*.sql
1104 %{extensiondir}/*tablefunc.control
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{moduledir}/pgxml.so
1109 %{extensiondir}/xml2--*.sql
1110 %{extensiondir}/xml2.control
1113 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1116 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1117 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1118 %attr(755,root,root) %{moduledir}/_int.so
1119 %attr(755,root,root) %{moduledir}/adminpack.so
1120 %attr(755,root,root) %{moduledir}/auth_delay.so
1121 %attr(755,root,root) %{moduledir}/auto_explain.so
1122 %attr(755,root,root) %{moduledir}/bloom.so
1123 %attr(755,root,root) %{moduledir}/btree_gin.so
1124 %attr(755,root,root) %{moduledir}/btree_gist.so
1125 %attr(755,root,root) %{moduledir}/chkpass.so
1126 %attr(755,root,root) %{moduledir}/citext.so
1127 %attr(755,root,root) %{moduledir}/cube.so
1128 %attr(755,root,root) %{moduledir}/earthdistance.so
1129 %attr(755,root,root) %{moduledir}/file_fdw.so
1130 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1131 %attr(755,root,root) %{moduledir}/hstore.so
1132 %attr(755,root,root) %{moduledir}/isn.so
1133 %attr(755,root,root) %{moduledir}/ltree.so
1134 %attr(755,root,root) %{moduledir}/pageinspect.so
1135 %attr(755,root,root) %{moduledir}/passwordcheck.so
1136 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1137 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1138 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1139 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1140 %attr(755,root,root) %{moduledir}/pg_visibility.so
1141 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1142 %attr(755,root,root) %{moduledir}/pgstattuple.so
1143 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1144 %attr(755,root,root) %{moduledir}/seg.so
1145 %attr(755,root,root) %{moduledir}/sslinfo.so
1146 %attr(755,root,root) %{moduledir}/tcn.so
1147 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1148 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1149 %attr(755,root,root) %{moduledir}/unaccent.so
1150 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1151 %{extensiondir}/adminpack--*.sql
1152 %{extensiondir}/adminpack.control
1153 %{extensiondir}/bloom--*.sql
1154 %{extensiondir}/bloom.control
1155 %{extensiondir}/btree_gin--*.sql
1156 %{extensiondir}/btree_gin.control
1157 %{extensiondir}/btree_gist--*.sql
1158 %{extensiondir}/btree_gist.control
1159 %{extensiondir}/chkpass--*.sql
1160 %{extensiondir}/chkpass.control
1161 %{extensiondir}/citext--*.sql
1162 %{extensiondir}/citext.control
1163 %{extensiondir}/cube--*.sql
1164 %{extensiondir}/cube.control
1165 %{extensiondir}/dict_int--*.sql
1166 %{extensiondir}/dict_int.control
1167 %{extensiondir}/dict_xsyn--*.sql
1168 %{extensiondir}/dict_xsyn.control
1169 %{extensiondir}/earthdistance--*.sql
1170 %{extensiondir}/earthdistance.control
1171 %{extensiondir}/file_fdw--*.sql
1172 %{extensiondir}/file_fdw.control
1173 %{extensiondir}/fuzzystrmatch--*.sql
1174 %{extensiondir}/fuzzystrmatch.control
1175 %{extensiondir}/hstore--*.sql
1176 %{extensiondir}/hstore.control
1177 %{extensiondir}/intarray--*.sql
1178 %{extensiondir}/intarray.control
1179 %{extensiondir}/intagg--*.sql
1180 %{extensiondir}/intagg.control
1181 %{extensiondir}/isn--*.sql
1182 %{extensiondir}/isn.control
1183 %{extensiondir}/ltree--*.sql
1184 %{extensiondir}/ltree.control
1185 %{extensiondir}/pageinspect--*.sql
1186 %{extensiondir}/pageinspect.control
1187 %{extensiondir}/pg_buffercache--*.sql
1188 %{extensiondir}/pg_buffercache.control
1189 %{extensiondir}/pg_freespacemap--*.sql
1190 %{extensiondir}/pg_freespacemap.control
1191 %{extensiondir}/pg_prewarm--*.sql
1192 %{extensiondir}/pg_prewarm.control
1193 %{extensiondir}/pg_stat_statements--*.sql
1194 %{extensiondir}/pg_stat_statements.control
1195 %{extensiondir}/pg_visibility--*.sql
1196 %{extensiondir}/pg_visibility.control
1197 %{extensiondir}/pgrowlocks--*.sql
1198 %{extensiondir}/pgrowlocks.control
1199 %{extensiondir}/pgstattuple--*.sql
1200 %{extensiondir}/pgstattuple.control
1201 %{extensiondir}/postgres_fdw--*.sql
1202 %{extensiondir}/postgres_fdw.control
1203 %{extensiondir}/seg--*.sql
1204 %{extensiondir}/seg.control
1205 %{extensiondir}/sslinfo--*.sql
1206 %{extensiondir}/sslinfo.control
1207 %{extensiondir}/tcn--*.sql
1208 %{extensiondir}/tcn.control
1209 %{extensiondir}/tsm_system_rows--*.sql
1210 %{extensiondir}/tsm_system_rows.control
1211 %{extensiondir}/tsm_system_time--*.sql
1212 %{extensiondir}/tsm_system_time.control
1213 %{extensiondir}/unaccent--*.sql
1214 %{extensiondir}/unaccent.control
1215 %{extensiondir}/uuid-ossp--*.sql
1216 %{extensiondir}/uuid-ossp.control
1218 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1219 %{extensiondir}/hstore_plperl--*.sql
1220 %{extensiondir}/hstore_plperl.control
1221 %{extensiondir}/hstore_plperlu--*.sql
1222 %{extensiondir}/hstore_plperlu.control
1225 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1226 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1227 %{extensiondir}/hstore_plpythonu--*.sql
1228 %{extensiondir}/hstore_plpythonu.control
1229 %{extensiondir}/hstore_plpython2u--*.sql
1230 %{extensiondir}/hstore_plpython2u.control
1231 %{extensiondir}/hstore_plpython3u--*.sql
1232 %{extensiondir}/hstore_plpython3u.control
1233 %{extensiondir}/ltree_plpythonu--*.sql
1234 %{extensiondir}/ltree_plpythonu.control
1235 %{extensiondir}/ltree_plpython2u--*.sql
1236 %{extensiondir}/ltree_plpython2u.control
1237 %{extensiondir}/ltree_plpython3u--*.sql
1238 %{extensiondir}/ltree_plpython3u.control
1240 %{pgsqldatadir}/man/man1/oid2name.1*
1241 %{pgsqldatadir}/man/man1/pg_standby.1*
1242 %{pgsqldatadir}/man/man1/vacuumlo.1*