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}
663 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
666 DESTDIR=$RPM_BUILD_ROOT
667 %{__make} -C doc/src/sgml install-man \
668 DESTDIR=$RPM_BUILD_ROOT
671 %{__make} install -C src/pl/plperl \
672 DESTDIR=$RPM_BUILD_ROOT
675 for mod in %{contrib_modules}; do \
676 %{__make} -C contrib/$mod install \
677 DESTDIR=$RPM_BUILD_ROOT
680 touch $RPM_BUILD_ROOT/var/log/pgsql
682 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql10
683 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql10
686 tar zxf %{SOURCE2} -C howto
689 %py_comp $RPM_BUILD_ROOT%{py_libdir}
690 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
694 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
695 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
696 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
697 %find_lang $f-%{pgver}
701 cat $(for f in $@; do echo ${f}-%{pgver}.lang ; done)
703 merge_lang pgscripts postgres plpgsql \
704 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
705 merge_lang psql initdb \
706 pg_archivecleanup pg_ctl pg_dump > clients.lang
709 %find_lang pltcl-%{pgver}
713 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
716 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgver}/server/
718 # package it...? nah, why bother.
719 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
722 rm -rf $RPM_BUILD_ROOT
726 if [ -f /etc/sysconfig/postgresql10 ]; then
727 . /etc/sysconfig/postgresql10
728 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
729 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
733 for pgdir in $PG_DB_CLUSTERS; do
734 if [ -f $pgdir/PG_VERSION ]; then
735 if [ $(cat $pgdir/PG_VERSION) != '%{pgver}' ]; then
736 echo "Found database(s) in older, incompatible format in cluster $pgdir."
741 if [ "$foundold" = "1" ]; then
743 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
744 echo "and clean (or rename) those directories; then upgrade postgresql and"
745 echo "restore all data (using pg_restore or psql)."
746 echo "Remember to stop the daemon before upgrading!"
748 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
749 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
754 %triggerpostun -- %{name} < 7.2-2
755 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
756 /usr/sbin/usermod -d /home/services/postgres postgres
759 %triggerpostun -- %{name} < 10.2-2
760 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
761 /usr/sbin/usermod -d /var/lib/pgsql postgres
765 /sbin/chkconfig --add postgresql10
766 %service postgresql10 restart "postgresql10 server"
769 if [ "$1" = "0" ]; then
770 %service postgresql10 stop
771 /sbin/chkconfig --del postgresql10
774 %pre -n postgresql-common
775 %groupadd -g 88 -r postgres
776 %useradd -M -o -r -u 88 -d /var/lib/pgsql -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
779 update-alternatives \
780 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgver}%{pgminver} \
781 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
782 update-alternatives \
783 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgver}%{pgminver} \
784 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
785 update-alternatives \
786 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgver}%{pgminver} \
787 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
788 update-alternatives \
789 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgver}%{pgminver} \
790 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
791 update-alternatives \
792 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgver}%{pgminver} \
793 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
794 update-alternatives \
795 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgver}%{pgminver} \
796 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
797 update-alternatives \
798 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgver}%{pgminver} \
799 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
800 update-alternatives \
801 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgver}%{pgminver} \
802 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
803 update-alternatives \
804 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgver}%{pgminver} \
805 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
806 update-alternatives \
807 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgver}%{pgminver} \
808 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
809 update-alternatives \
810 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgver}%{pgminver} \
811 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
812 update-alternatives \
813 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgver}%{pgminver} \
814 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
815 update-alternatives \
816 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgver}%{pgminver} \
817 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
820 if [ $1 -eq 0 ]; then
821 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
822 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
823 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
824 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
825 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
826 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
827 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
828 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
829 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
830 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
831 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
832 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
833 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
836 %post -n postgresql-devel
837 update-alternatives \
838 --install %{_bindir}/pg_config pg_config %{pgsqllibdir}/bin/pg_config %{pgver}%{pgminver} \
839 --slave %{_mandir}/man1/pg_config.1 pg_config.1 %{pgsqldatadir}/man/man1/pg_config.1* || :
841 %postun -n postgresql-devel
842 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
845 %post -n postgresql-libs -p /sbin/ldconfig
846 %postun -n postgresql-libs -p /sbin/ldconfig
848 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
849 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
852 %defattr(644,root,root,755)
853 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
854 %attr(754,root,root) /etc/rc.d/init.d/postgresql10
855 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql10
857 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
858 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
859 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
860 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
861 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
862 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
863 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
864 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
865 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
866 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
867 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
868 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
869 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
870 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
871 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
873 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
874 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
875 %attr(755,root,root) %{moduledir}/dict_int.so
876 %attr(755,root,root) %{moduledir}/dict_snowball.so
877 %attr(755,root,root) %{moduledir}/dict_xsyn.so
878 %attr(755,root,root) %{moduledir}/euc*.so
879 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
880 %attr(755,root,root) %{moduledir}/latin_and_mic.so
881 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
882 %attr(755,root,root) %{moduledir}/pgoutput.so
883 %attr(755,root,root) %{moduledir}/plpgsql.so
884 %attr(755,root,root) %{moduledir}/utf8_and_*.so
887 %{extensiondir}/plpgsql--*.sql
888 %{extensiondir}/plpgsql.control
890 %{pgsqldatadir}/*.bki
891 %{pgsqldatadir}/*.sample
892 %{pgsqldatadir}/*.description
893 %{pgsqldatadir}/*.shdescription
894 %{pgsqldatadir}/*.sql
895 %{pgsqldatadir}/*.txt
896 %{pgsqldatadir}/timezonesets
897 %{pgsqldatadir}/tsearch_data
899 %dir %{pgsqldatadir}/contrib
901 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
903 %{pgsqldatadir}/man/man1/initdb.1*
904 %{pgsqldatadir}/man/man1/pg_basebackup.1*
905 %{pgsqldatadir}/man/man1/pg_controldata.1*
906 %{pgsqldatadir}/man/man1/pg_ctl.1*
907 %{pgsqldatadir}/man/man1/pg_resetwal.1*
908 %{pgsqldatadir}/man/man1/pg_receivewal.1*
909 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
910 %{pgsqldatadir}/man/man1/pg_rewind.1*
911 %{pgsqldatadir}/man/man1/pg_waldump.1*
912 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
913 %{pgsqldatadir}/man/man1/pg_test_timing.1*
914 %{pgsqldatadir}/man/man1/pg_upgrade.1*
915 %{pgsqldatadir}/man/man1/pgbench.1*
916 %{pgsqldatadir}/man/man1/postgres.1*
917 %{pgsqldatadir}/man/man1/postmaster.1*
919 %files -n postgresql-common
920 %defattr(644,root,root,755)
921 %dir %{_libdir}/postgresql
922 %dir %{_datadir}/postgresql
923 %attr(700,postgres,postgres) %dir /var/lib/pgsql
926 %defattr(644,root,root,755)
928 %dir %{pgsqllibdir}/bin
929 %dir %{pgsqllibdir}/lib
931 %dir %{pgsqldatadir}/man
932 %dir %{pgsqldatadir}/man/man1
933 %dir %{pgsqldatadir}/man/man3
934 %dir %{pgsqldatadir}/man/man7
937 %defattr(644,root,root,755)
938 %doc doc/src/sgml/html howto
939 %{_examplesdir}/%{name}-%{version}
941 %files -n postgresql-libs -f libpq5-%{pgver}.lang
942 %defattr(644,root,root,755)
943 %attr(755,root,root) %{_libdir}/libpq.so.*.*
944 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
946 %files ecpg -f ecpg-%{pgver}.lang
947 %defattr(644,root,root,755)
948 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
949 %{pgsqldatadir}/man/man1/ecpg.1*
951 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgver}.lang
952 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
953 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
954 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
955 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
956 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
957 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
959 %files -n postgresql-ecpg-devel
960 %defattr(644,root,root,755)
961 %attr(755,root,root) %{_libdir}/libecpg.so
962 %attr(755,root,root) %{_libdir}/libecpg_compat.so
963 %attr(755,root,root) %{_libdir}/libpgtypes.so
965 %{_libdir}/pkgconfig/libecpg.pc
966 %{_libdir}/pkgconfig/libecpg_compat.pc
967 %{_libdir}/pkgconfig/libpgtypes.pc
969 %files -n postgresql-ecpg-static
970 %defattr(644,root,root,755)
972 %{_libdir}/libecpg_compat.a
973 %{_libdir}/libpgtypes.a
975 %files -n postgresql-devel -f pg_config-%{pgver}.lang
976 %defattr(644,root,root,755)
977 %attr(755,root,root) %{pgsqllibdir}/bin/pg_config
978 %attr(755,root,root) %{_libdir}/libpq.so
979 %dir %{_includedir}/postgresql
980 %{_includedir}/libpq-events.h
981 %{_includedir}/libpq-fe.h
982 %{_includedir}/pg_config.h
983 %{_includedir}/pg_config_ext.h
984 %{_includedir}/pg_config_manual.h
985 %{_includedir}/pg_config_os.h
986 %{_includedir}/postgres_ext.h
987 %dir %{_includedir}/postgresql/internal
988 %{_includedir}/postgresql/internal/c.h
989 %{_includedir}/postgresql/internal/libpq-int.h
990 %{_includedir}/postgresql/internal/port.h
991 %{_includedir}/postgresql/internal/postgres_fe.h
992 %{_includedir}/postgresql/internal/pqexpbuffer.h
993 %{_includedir}/postgresql/internal/libpq
995 %{_libdir}/pkgconfig/libpq.pc
996 %{pgsqldatadir}/man/man1/pg_config.1*
999 %defattr(644,root,root,755)
1000 %dir %{_includedir}/postgresql/%{pgver}
1001 %{_includedir}/postgresql/%{pgver}/server
1002 %dir %{moduledir}/pgxs
1003 %attr(755,root,root) %{moduledir}/pgxs/config
1004 %{moduledir}/pgxs/src
1005 %{pgsqldatadir}/man/man3/SPI_*.3*
1007 %files -n postgresql-static
1008 %defattr(644,root,root,755)
1010 %{_libdir}/libpgcommon.a
1011 %{_libdir}/libpgfeutils.a
1012 %{_libdir}/libpgport.a
1014 %files clients -f clients.lang
1015 %defattr(644,root,root,755)
1016 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
1017 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
1018 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
1019 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
1020 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
1021 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
1022 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
1023 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
1024 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
1025 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
1026 %attr(755,root,root) %{pgsqllibdir}/bin/psql
1027 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
1028 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
1030 %{pgsqldatadir}/man/man1/clusterdb.1*
1031 %{pgsqldatadir}/man/man1/createdb.1*
1032 %{pgsqldatadir}/man/man1/createuser.1*
1033 %{pgsqldatadir}/man/man1/dropdb.1*
1034 %{pgsqldatadir}/man/man1/dropuser.1*
1035 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
1036 %{pgsqldatadir}/man/man1/pg_dump.1*
1037 %{pgsqldatadir}/man/man1/pg_dumpall.1*
1038 %{pgsqldatadir}/man/man1/pg_isready.1*
1039 %{pgsqldatadir}/man/man1/pg_restore.1*
1040 %{pgsqldatadir}/man/man1/psql.1*
1041 %{pgsqldatadir}/man/man1/reindexdb.1*
1042 %{pgsqldatadir}/man/man1/vacuumdb.1*
1043 %{pgsqldatadir}/man/man7/*.7*
1046 %files module-plperl -f plperl-%{pgver}.lang
1047 %defattr(644,root,root,755)
1048 %attr(755,root,root) %{moduledir}/plperl.so
1049 %{extensiondir}/plperl--*.sql
1050 %{extensiondir}/plperl.control
1051 %{extensiondir}/plperlu--*.sql
1052 %{extensiondir}/plperlu.control
1056 %files module-plpython -f plpython-%{pgver}.lang
1057 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{moduledir}/plpython2.so
1059 %{extensiondir}/plpython*--*.sql
1060 %{extensiondir}/plpython*.control
1064 %files module-pltcl -f pltcl-%{pgver}.lang
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{moduledir}/pltcl.so
1067 %{extensiondir}/pltcl*--*.sql
1068 %{extensiondir}/pltcl*.control
1071 %files module-dblink
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{moduledir}/dblink.so
1074 %{extensiondir}/dblink--*.sql
1075 %{extensiondir}/dblink.control
1076 %{pgsqldatadir}/man/man3/dblink*.3*
1079 %defattr(644,root,root,755)
1080 %attr(755,root,root) %{moduledir}/lo.so
1081 %{extensiondir}/lo--*.sql
1082 %{extensiondir}/lo.control
1084 %files module-pg_trgm
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{moduledir}/pg_trgm.so
1087 %{extensiondir}/pg_trgm--*.sql
1088 %{extensiondir}/pg_trgm.control
1090 %files module-pgcrypto
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{moduledir}/pgcrypto.so
1093 %{extensiondir}/pgcrypto--*.sql
1094 %{extensiondir}/pgcrypto.control
1097 %files module-sepgsql
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{moduledir}/sepgsql.so
1100 %{extensiondir}/sepgsql.sql
1103 %files module-tablefunc
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{moduledir}/tablefunc.so
1106 %{extensiondir}/*tablefunc--*.sql
1107 %{extensiondir}/*tablefunc.control
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{moduledir}/pgxml.so
1112 %{extensiondir}/xml2--*.sql
1113 %{extensiondir}/xml2.control
1116 %defattr(644,root,root,755)
1118 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1119 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1120 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1121 %attr(755,root,root) %{moduledir}/_int.so
1122 %attr(755,root,root) %{moduledir}/adminpack.so
1123 %attr(755,root,root) %{moduledir}/auth_delay.so
1124 %attr(755,root,root) %{moduledir}/auto_explain.so
1125 %attr(755,root,root) %{moduledir}/bloom.so
1126 %attr(755,root,root) %{moduledir}/btree_gin.so
1127 %attr(755,root,root) %{moduledir}/btree_gist.so
1128 %attr(755,root,root) %{moduledir}/chkpass.so
1129 %attr(755,root,root) %{moduledir}/citext.so
1130 %attr(755,root,root) %{moduledir}/cube.so
1131 %attr(755,root,root) %{moduledir}/earthdistance.so
1132 %attr(755,root,root) %{moduledir}/file_fdw.so
1133 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1134 %attr(755,root,root) %{moduledir}/hstore.so
1135 %attr(755,root,root) %{moduledir}/isn.so
1136 %attr(755,root,root) %{moduledir}/ltree.so
1137 %attr(755,root,root) %{moduledir}/pageinspect.so
1138 %attr(755,root,root) %{moduledir}/passwordcheck.so
1139 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1140 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1141 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1142 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1143 %attr(755,root,root) %{moduledir}/pg_visibility.so
1144 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1145 %attr(755,root,root) %{moduledir}/pgstattuple.so
1146 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1147 %attr(755,root,root) %{moduledir}/seg.so
1148 %attr(755,root,root) %{moduledir}/sslinfo.so
1149 %attr(755,root,root) %{moduledir}/tcn.so
1150 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1151 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1152 %attr(755,root,root) %{moduledir}/unaccent.so
1153 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1154 %{extensiondir}/adminpack--*.sql
1155 %{extensiondir}/adminpack.control
1156 %{extensiondir}/bloom--*.sql
1157 %{extensiondir}/bloom.control
1158 %{extensiondir}/btree_gin--*.sql
1159 %{extensiondir}/btree_gin.control
1160 %{extensiondir}/btree_gist--*.sql
1161 %{extensiondir}/btree_gist.control
1162 %{extensiondir}/chkpass--*.sql
1163 %{extensiondir}/chkpass.control
1164 %{extensiondir}/citext--*.sql
1165 %{extensiondir}/citext.control
1166 %{extensiondir}/cube--*.sql
1167 %{extensiondir}/cube.control
1168 %{extensiondir}/dict_int--*.sql
1169 %{extensiondir}/dict_int.control
1170 %{extensiondir}/dict_xsyn--*.sql
1171 %{extensiondir}/dict_xsyn.control
1172 %{extensiondir}/earthdistance--*.sql
1173 %{extensiondir}/earthdistance.control
1174 %{extensiondir}/file_fdw--*.sql
1175 %{extensiondir}/file_fdw.control
1176 %{extensiondir}/fuzzystrmatch--*.sql
1177 %{extensiondir}/fuzzystrmatch.control
1178 %{extensiondir}/hstore--*.sql
1179 %{extensiondir}/hstore.control
1180 %{extensiondir}/intarray--*.sql
1181 %{extensiondir}/intarray.control
1182 %{extensiondir}/intagg--*.sql
1183 %{extensiondir}/intagg.control
1184 %{extensiondir}/isn--*.sql
1185 %{extensiondir}/isn.control
1186 %{extensiondir}/ltree--*.sql
1187 %{extensiondir}/ltree.control
1188 %{extensiondir}/pageinspect--*.sql
1189 %{extensiondir}/pageinspect.control
1190 %{extensiondir}/pg_buffercache--*.sql
1191 %{extensiondir}/pg_buffercache.control
1192 %{extensiondir}/pg_freespacemap--*.sql
1193 %{extensiondir}/pg_freespacemap.control
1194 %{extensiondir}/pg_prewarm--*.sql
1195 %{extensiondir}/pg_prewarm.control
1196 %{extensiondir}/pg_stat_statements--*.sql
1197 %{extensiondir}/pg_stat_statements.control
1198 %{extensiondir}/pg_visibility--*.sql
1199 %{extensiondir}/pg_visibility.control
1200 %{extensiondir}/pgrowlocks--*.sql
1201 %{extensiondir}/pgrowlocks.control
1202 %{extensiondir}/pgstattuple--*.sql
1203 %{extensiondir}/pgstattuple.control
1204 %{extensiondir}/postgres_fdw--*.sql
1205 %{extensiondir}/postgres_fdw.control
1206 %{extensiondir}/seg--*.sql
1207 %{extensiondir}/seg.control
1208 %{extensiondir}/sslinfo--*.sql
1209 %{extensiondir}/sslinfo.control
1210 %{extensiondir}/tcn--*.sql
1211 %{extensiondir}/tcn.control
1212 %{extensiondir}/tsm_system_rows--*.sql
1213 %{extensiondir}/tsm_system_rows.control
1214 %{extensiondir}/tsm_system_time--*.sql
1215 %{extensiondir}/tsm_system_time.control
1216 %{extensiondir}/unaccent--*.sql
1217 %{extensiondir}/unaccent.control
1218 %{extensiondir}/uuid-ossp--*.sql
1219 %{extensiondir}/uuid-ossp.control
1221 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1222 %{extensiondir}/hstore_plperl--*.sql
1223 %{extensiondir}/hstore_plperl.control
1224 %{extensiondir}/hstore_plperlu--*.sql
1225 %{extensiondir}/hstore_plperlu.control
1228 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1229 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1230 %{extensiondir}/hstore_plpythonu--*.sql
1231 %{extensiondir}/hstore_plpythonu.control
1232 %{extensiondir}/hstore_plpython2u--*.sql
1233 %{extensiondir}/hstore_plpython2u.control
1234 %{extensiondir}/hstore_plpython3u--*.sql
1235 %{extensiondir}/hstore_plpython3u.control
1236 %{extensiondir}/ltree_plpythonu--*.sql
1237 %{extensiondir}/ltree_plpythonu.control
1238 %{extensiondir}/ltree_plpython2u--*.sql
1239 %{extensiondir}/ltree_plpython2u.control
1240 %{extensiondir}/ltree_plpython3u--*.sql
1241 %{extensiondir}/ltree_plpython3u.control
1243 %{pgsqldatadir}/man/man1/oid2name.1*
1244 %{pgsqldatadir}/man/man1/pg_standby.1*
1245 %{pgsqldatadir}/man/man1/vacuumlo.1*