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-%{pgversion}
31 Version: %{pgversion}.5
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 Patch7: socket-dir-fixes.patch
49 URL: http://www.postgresql.org/
50 BuildRequires: autoconf >= 2.69
51 BuildRequires: automake
52 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
53 # not needed for releases... but fixes something in snapshot
54 BuildRequires: bison >= 1.875
55 BuildRequires: docbook-dtd42-sgml
56 BuildRequires: docbook-dtd42-xml
57 BuildRequires: docbook-style-xsl
58 BuildRequires: flex >= 2.5.31
59 BuildRequires: gettext-tools
60 BuildRequires: gnome-doc-tools
61 %{?with_kerberos5:BuildRequires: heimdal-devel}
62 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
63 BuildRequires: libtool
64 BuildRequires: libxml2-devel >= 1:2.6.23
65 BuildRequires: libxslt-devel
66 BuildRequires: libxslt-progs
67 BuildRequires: ncurses-devel >= 5.0
68 %{?with_ldap:BuildRequires: openldap-devel}
69 BuildRequires: openssl-devel >= 0.9.7d
70 BuildRequires: ossp-uuid-devel
71 BuildRequires: pam-devel
72 %{?with_perl:BuildRequires: perl-devel}
74 BuildRequires: python >= 1:2.3
75 BuildRequires: python-devel >= 1:2.3
76 BuildRequires: python-modules >= 1:2.3
78 BuildRequires: readline-devel >= 4.2
79 BuildRequires: rpmbuild(macros) >= 1.671
80 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
81 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
82 %{?with_tests:BuildRequires: tzdata}
83 BuildRequires: zlib-devel
84 Requires(post,preun): /sbin/chkconfig
85 Requires(pre): /bin/id
86 Requires(pre): /usr/bin/getgid
87 Requires(triggerpostun): /bin/id
88 Requires(triggerpostun): /usr/sbin/usermod
89 Requires: %{name}-clients >= %{version}-%{release}
90 Requires: %{name}-dirs = %{version}-%{release}
91 Requires: postgresql-libs = %{version}-%{release}
92 Requires: rc-scripts >= 0.4.3.0
95 Obsoletes: postgresql-module-plpgsql
96 Obsoletes: postgresql-module-tsearch2
97 Obsoletes: postgresql-server
98 Obsoletes: postgresql-test
99 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
101 %define pgsqldatadir %{_datadir}/postgresql/%{pgversion}
102 %define pgsqllibdir %{_libdir}/postgresql/%{pgversion}
103 %define moduledir %{pgsqllibdir}/lib
104 %define extensiondir %{pgsqldatadir}/extension
106 %define _ulibdir /usr/lib
109 # spi, test_decoding, worker_spi - examples/tests
110 # tsearch2 - old module for compatibility only
111 %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
114 PostgreSQL Data Base Management System (formerly known as Postgres,
117 PostgreSQL is an enhancement of the POSTGRES database management
118 system, a next-generation DBMS research prototype. While PostgreSQL
119 retains the powerful data model and rich data types of POSTGRES, it
120 replaces the PostQuel query language with an extended subset of SQL.
121 PostgreSQL is free and the complete source is available.
123 PostgreSQL development is being performed by a team of Internet
124 developers who all subscribe to the PostgreSQL development mailing
125 list. The current coordinator is Marc G. Fournier
126 (scrappy@postgreSQL.org). This team is now responsible for all current
127 and future development of PostgreSQL.
129 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
130 others have contributed to the porting, testing, debugging and
131 enhancement of the code. The original Postgres code, from which
132 PostgreSQL is derived, was the effort of many graduate students,
133 undergraduate students, and staff programmers working under the
134 direction of Professor Michael Stonebraker at the University of
135 California, Berkeley.
137 The original name of the software at Berkeley was Postgres. When SQL
138 functionality was added in 1995, its name was changed to Postgres95.
139 The name was changed at the end of 1996 to PostgreSQL.
141 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
142 and most flavours of Unix.
144 %description -l pl.UTF-8
145 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
146 Postgres, następnie jako Postgres95).
148 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
149 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
150 model danych oraz bogaty zbiór różnych typów danych, to jednak język
151 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
152 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
155 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
156 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
157 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
158 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
160 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
161 innych pomagało przenosząc na różne platformy, testując, analizując i
162 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
163 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
164 zespołu programistów, którzy pracowali pod kierunkiem profesora
165 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
167 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
168 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
169 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
172 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
173 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
175 %package -n postgresql-common
176 Summary: Common PostgreSQL files and directories
177 Summary(pl.UTF-8): PostgreSQL - wspólne pliki i katalogi
178 Group: Applicataion/Databases
179 Requires(pre): /usr/sbin/groupadd
180 Requires(pre): /usr/sbin/useradd
182 %description -n postgresql-common
183 Common PostgreSQL files and directories.
185 %description -n postgresql-common -l pl.UTF-8
186 PostgreSQL - wspólne pliki i katalogi.
189 Summary: Common directories for PostgresSQL %{pgversion}
190 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgversion}
191 Group: Applicataion/Databases
194 Common directories for PostgresSQL %{pgversion}
196 %description dirs -l pl.UTF-8
197 Wspólne pliki i katalogi dla PostgreSQL %{pgversion}
199 %package -n postgresql-devel
200 Summary: PostgreSQL development header files and libraries
201 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
202 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
203 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
204 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
205 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
206 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
207 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
208 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
209 Group: Development/Libraries
210 Requires: alternatives
211 Requires: postgresql-libs = %{version}-%{release}
213 %description -n postgresql-devel
214 This package contains header files and libraries required to compile
215 applications that are talking directly to the PostgreSQL backend
218 %description -n postgresql-devel -l pl.UTF-8
219 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
220 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
222 %package backend-devel
223 Summary: PostgreSQL backend development header files
224 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
225 Group: Development/Libraries
226 Requires: postgresql-devel = %{version}-%{release}
227 Requires: postgresql-libs = %{version}-%{release}
228 Obsoletes: postgresql-backend-devel
230 %description backend-devel
231 This package contains header files required to compile functions that
232 could be loaded directly by backend
234 %description backend-devel -l pl.UTF-8
235 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
236 bezposrednio ladowane przez beckend serwera PostgreSQL.
239 Summary: Clients needed to access a PostgreSQL server
240 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
241 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
242 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
243 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
244 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
245 Group: Applications/Databases
246 Requires: alternatives
247 Requires: %{name}-dirs = %{version}-%{release}
248 Requires: postgresql-libs = %{version}-%{release}
249 Obsoletes: postgresql-clients
252 This package includes only the clients needed to access an PostgreSQL
253 server. The server is included in the main package. If all you need is
254 to connect to another PostgreSQL server, the this is the only package
255 you need to install. Clients include several command-line utilities
256 you can use to manage your databases on a remote PostgreSQL server.
258 %description clients -l pl.UTF-8
259 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
260 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
261 poleceń. Serwer znajduje się w głównym pakiecie.
264 Summary: Documentation for PostgreSQL
265 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
266 Group: Applications/Databases
267 Obsoletes: postgresql-doc
270 This package includes documentation and HOWTO for programmer, admin
271 etc., in HTML format.
273 %description doc -l pl.UTF-8
274 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
275 administratorów w formacie HTML.
277 %package -n postgresql-libs
278 Summary: PostgreSQL libraries
279 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
280 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
281 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
282 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
284 Requires: postgresql-common = %{version}-%{release}
286 %description -n postgresql-libs
287 PostgreSQL shared libraries.
289 %description -n postgresql-libs -l pl.UTF-8
290 Biblioteki dzielone programu PostgreSQL.
293 Summary: Embedded SQL in C interface
294 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
296 Requires: %{name}-dirs = %{version}-%{release}
297 Requires: postgresql-libs = %{version}-%{release}
298 Requires: postgresql-ecpg-libs = %{version}-%{release}
299 Obsoletes: postgresql-ecpg
302 Embedded SQL in C interface.
304 %description ecpg -l pl.UTF-8
305 Interfejs wbudowanego SQL-a w język C.
307 %package -n postgresql-ecpg-libs
308 Summary: PostgreSQL libraries
309 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
310 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
311 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
312 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
315 %description -n postgresql-ecpg-libs
316 PostgreSQL shared libraries.
318 %description -n postgresql-ecpg-libs -l pl.UTF-8
319 Biblioteki dzielone programu PostgreSQL.
321 %package -n postgresql-ecpg-devel
322 Summary: Embedded SQL in C interface files
323 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
324 Group: Development/Libraries
325 Requires: postgresql-devel = %{version}-%{release}
326 Requires: postgresql-ecpg-devel = %{version}-%{release}
328 %description -n postgresql-ecpg-devel
329 Embedded SQL in C interface files.
331 %description -n postgresql-ecpg-devel -l pl.UTF-8
332 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
334 %package -n postgresql-ecpg-static
335 Summary: PostgreSQL static libraries
336 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
337 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
338 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
339 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
340 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
341 Group: Development/Libraries
342 Requires: postgresql-devel = %{version}-%{release}
344 %description -n postgresql-ecpg-static
345 PostgreSQL static libraries.
347 %description -n postgresql-ecpg-static -l pl.UTF-8
348 Biblioteki statyczne programu PostgreSQL.
350 %package -n postgresql-static
351 Summary: PostgreSQL static libraries
352 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
353 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
354 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
355 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
356 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
357 Group: Development/Libraries
358 Requires: postgresql-devel = %{version}-%{release}
360 %description -n postgresql-static
361 PostgreSQL static libraries.
363 %description -n postgresql-static -l pl.UTF-8
364 Biblioteki statyczne programu PostgreSQL.
366 %package module-plperl
367 Summary: PL/perl - PostgreSQL procedural language
368 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
369 Group: Applications/Databases
370 Requires: %{name} = %{version}-%{release}
371 Obsoletes: postgresql-module-plperl
373 %description module-plperl
374 From PostgreSQL documentation:
376 Postgres supports the definition of procedural languages. In the case
377 of a function or trigger procedure defined in a procedural language,
378 the database has no built-in knowledge about how to interpret the
379 function's source text. Instead, the task is passed to a handler that
380 knows the details of the language. The handler itself is a special
381 programming language function compiled into a shared object and loaded
384 To enable PL/Perl procedural language for your database you have to
385 run createlang command.
387 %description module-plperl -l pl.UTF-8
388 Z dokumentacji PostgreSQL:
390 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
391 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
392 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
393 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
394 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
395 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
398 Za pomocą polecenia createlang można dodać obsługę języka
399 proceduralnego PL/Perl dla swojej bazy danych.
401 %package module-plpython
402 Summary: PL/Python - PostgreSQL procedural language
403 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
404 Group: Applications/Databases
405 Requires: %{name} = %{version}-%{release}
406 %pyrequires_eq python
407 Obsoletes: postgresql-module-plpython
409 %description module-plpython
410 From PostgreSQL documentation:
412 Postgres supports the definition of procedural languages. In the case
413 of a function or trigger procedure defined in a procedural language,
414 the database has no built-in knowledge about how to interpret the
415 function's source text. Instead, the task is passed to a handler that
416 knows the details of the language. The handler itself is a special
417 programming language function compiled into a shared object and loaded
420 To enable PL/Python procedural language for your database you have to
421 run createlang command.
423 %description module-plpython -l pl.UTF-8
424 Z dokumentacji PostgreSQL:
426 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
427 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
428 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
429 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
430 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
431 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
434 Za pomocą polecenia createlang można dodać obsługę języka
435 proceduralnego PL/Python dla swojej bazy danych.
437 %package module-pltcl
438 Summary: PL/Tcl - PostgreSQL procedural language
439 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
440 Group: Applications/Databases
441 Requires: %{name} = %{version}-%{release}
443 Obsoletes: postgresql-module-pltcl
445 %description module-pltcl
446 From PostgreSQL documentation:
448 Postgres supports the definition of procedural languages. In the case
449 of a function or trigger procedure defined in a procedural language,
450 the database has no built-in knowledge about how to interpret the
451 function's source text. Instead, the task is passed to a handler that
452 knows the details of the language. The handler itself is a special
453 programming language function compiled into a shared object and loaded
456 To enable PL/Tcl procedural language for your database you have to run
459 %description module-pltcl -l pl.UTF-8
460 Z dokumentacji PostgreSQL:
462 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
463 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
464 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
465 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
466 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
467 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
470 Za pomocą polecenia createlang można dodać obsługę języka
471 proceduralnego PL/Tcl dla swojej bazy danych.
473 %package module-dblink
474 Summary: dblink module for PostgreSQL
475 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
476 Group: Applications/Databases
477 Requires: %{name} = %{version}-%{release}
478 Obsoletes: postgresql-module-dblink
480 %description module-dblink
481 dblink module for PostgreSQL provides functions returning results from
484 %description module-dblink -l pl.UTF-8
485 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
489 Summary: Large Objects module for PostgreSQL
490 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
491 Group: Applications/Databases
492 Requires: %{name} = %{version}-%{release}
493 Obsoletes: postgresql-module-lo
495 %description module-lo
496 Large Objects module for PostgreSQL adds a new data type 'lo', some
497 support functions and a trigger which handles the orphaning problem.
499 %description module-lo -l pl.UTF-8
500 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
501 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
502 osieroconych obiektów.
504 %package module-pg_trgm
505 Summary: Trigram matching for PostgreSQL
506 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
507 Group: Applications/Databases
508 Requires: %{name} = %{version}-%{release}
509 Obsoletes: postgresql-module-pg_trgm
511 %description module-pg_trgm
512 This module provides functions and index classes for determining the
513 similarity of text based on trigram matching.
515 %description module-pg_trgm -l pl.UTF-8
516 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
517 w oparciu o dopasowywanie trigramowe (trigram matching).
519 %package module-pgcrypto
520 Summary: Cryptographic functions for PostgreSQL
521 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
522 Group: Applications/Databases
523 Requires: %{name} = %{version}-%{release}
524 Obsoletes: postgresql-module-pgcrypto
526 %description module-pgcrypto
527 Cryptographic functions for PostgreSQL.
529 %description module-pgcrypto -l pl.UTF-8
530 Funkcje kryptograficzne dla PostgreSQL.
532 %package module-sepgsql
533 Summary: PostgreSQL external security provider using SELinux
534 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
535 Group: Applications/Databases
536 Requires: %{name} = %{version}-%{release}
537 Requires: libselinux >= 2.1.10
538 Obsoletes: postgresql-module-sepgsql
540 %description module-sepgsql
541 PostgreSQL external security provider using SELinux.
543 %description module-sepgsql -l pl.UTF-8
544 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
546 %package module-tablefunc
547 Summary: crosstab functions for PostgreSQL
548 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
549 Group: Applications/Databases
550 Requires: %{name} = %{version}-%{release}
551 Obsoletes: postgresql-module-tablefunc
553 %description module-tablefunc
554 crosstab functions for PostgreSQL.
556 %description module-tablefunc -l pl.UTF-8
557 Funkcje crosstab dla PostgreSQL-a.
560 Summary: XML-handling functions for PostgreSQL
561 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
562 Group: Applications/Databases
563 Requires: %{name} = %{version}-%{release}
564 Requires: libxml2 >= 1:2.6.23
565 Obsoletes: postgresql-module-xml2
567 %description module-xml2
568 Module with XML functions provides both XPath querying and XSLT
569 functionality. There is also a new table function which allows the
570 straightforward return of multiple XML results.
572 %description module-xml2 -l pl.UTF-8
573 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
574 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
575 bezpośrednie zwracanie wielu wyników XML.
578 Summary: Miscellaneous PostgreSQL contrib modules
579 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
580 Group: Applications/Databases
581 Requires: %{name} = %{version}-%{release}
582 Obsoletes: postgresql-contrib
585 Miscellaneous PostgreSQL contrib modules.
587 %description contrib -l pl.UTF-8
588 Różne moduły dołączone do PostgreSQL-a.
591 %setup -q -n postgresql-%{version}
593 %{?with_absolute_dbpaths:%patch1 -p1}
601 # force rebuild of bison/flex files
602 find src -name \*.l -o -name \*.y | xargs touch
605 #find contrib -type d -name CVS -exec rm -rf {} \;
608 %{__aclocal} -I config
612 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
613 --prefix=%{pgsqldatadir} \
614 --bindir=%{pgsqllibdir}/bin \
615 --sbindir=%{pgsqllibdir}/sbin \
616 --includedir=%{_includedir} \
617 --mandir=%{pgsqldatadir}/man \
618 --datadir=%{pgsqldatadir} \
619 --libdir=%{_libdir} \
620 --docdir=%{pgsqldatadir}/doc \
623 %{?with_systemtap:--enable-dtrace} \
624 --enable-integer-datetimes \
626 --enable-thread-safety \
627 %{?with_bonjour:--with-bonjour} \
628 %{?with_kerberos5:--with-gssapi} \
629 %{?with_ldap:--with-ldap} \
634 %{?with_perl:--with-perl} \
635 %{?with_python:--with-python} \
636 %{?with_selinux:--with-selinux} \
637 --with-system-tzdata=%{_datadir}/zoneinfo \
639 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
644 for mod in %{contrib_modules}; do \
645 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
646 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
647 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
648 %{__make} -C contrib/$mod CFLAGS="$flags"
651 %{__make} -C src/tutorial \
654 %ifnarch sparc sparcv9 sparc64 alpha
655 %{?with_tests:%{__make} -j1 check}
659 rm -rf $RPM_BUILD_ROOT
660 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
661 $RPM_BUILD_ROOT/var/{lib/pgsql,log,run/postgresql} \
662 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
663 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
665 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
668 DESTDIR=$RPM_BUILD_ROOT
669 %{__make} -C doc/src/sgml install-man \
670 DESTDIR=$RPM_BUILD_ROOT
673 %{__make} install -C src/pl/plperl \
674 DESTDIR=$RPM_BUILD_ROOT
677 for mod in %{contrib_modules}; do \
678 %{__make} -C contrib/$mod install \
679 DESTDIR=$RPM_BUILD_ROOT
682 touch $RPM_BUILD_ROOT/var/log/pgsql
684 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgversion}
685 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgversion}
688 tar zxf %{SOURCE2} -C howto
691 %py_comp $RPM_BUILD_ROOT%{py_libdir}
692 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
696 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
697 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
698 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
699 %find_lang $f-%{pgversion}
703 cat $(for f in $@; do echo ${f}-%{pgversion}.lang ; done)
705 merge_lang pgscripts postgres plpgsql \
706 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
707 merge_lang psql initdb \
708 pg_archivecleanup pg_ctl pg_dump > clients.lang
711 %find_lang pltcl-%{pgversion}
715 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
718 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgversion}/server/
720 %{__mv} $RPM_BUILD_ROOT{%{pgsqllibdir}/bin,%{_bindir}}/pg_config
721 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/man,%{_mandir}}/man1/pg_config.1
723 # package it...? nah, why bother.
724 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
727 rm -rf $RPM_BUILD_ROOT
731 if [ -f /etc/sysconfig/postgresql-%{pgversion} ]; then
732 . /etc/sysconfig/postgresql-%{pgversion}
733 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
734 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
738 for pgdir in $PG_DB_CLUSTERS; do
739 if [ -f $pgdir/PG_VERSION ]; then
740 if [ $(cat $pgdir/PG_VERSION) != '%{pgversion}' ]; then
741 echo "Found database(s) in older, incompatible format in cluster $pgdir."
746 if [ "$foundold" = "1" ]; then
748 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
749 echo "and clean (or rename) those directories; then upgrade postgresql and"
750 echo "restore all data (using pg_restore or psql)."
751 echo "Remember to stop the daemon before upgrading!"
753 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
754 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
759 %triggerpostun -- postgresql < 10.5-2
760 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
761 /usr/sbin/usermod -d /var/lib/pgsql postgres
764 echo "This version of PostgreSQL uses new default location for database clusters."
765 echo "Please move your existing clusters before starting PostgreSQL so they follow"
768 echo "/var/lib/pgsql/<version>/<name>"
770 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
771 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
772 echo "files so they reflect your changes."
776 /sbin/chkconfig --add postgresql-%{pgversion}
777 %service postgresql-%{pgversion} restart "postgresql-%{pgversion} server"
780 if [ "$1" = "0" ]; then
781 %service postgresql-%{pgversion} stop
782 /sbin/chkconfig --del postgresql-%{pgversion}
785 %pre -n postgresql-common
786 %groupadd -g 88 -r postgres
787 %useradd -M -o -r -u 88 -d /var/lib/pgsql -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
790 update-alternatives \
791 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsuffix} \
792 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
793 update-alternatives \
794 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsuffix} \
795 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
796 update-alternatives \
797 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsuffix} \
798 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
799 update-alternatives \
800 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsuffix} \
801 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
802 update-alternatives \
803 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsuffix} \
804 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
805 update-alternatives \
806 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsuffix} \
807 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
808 update-alternatives \
809 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsuffix} \
810 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
811 update-alternatives \
812 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsuffix} \
813 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
814 update-alternatives \
815 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsuffix} \
816 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
817 update-alternatives \
818 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsuffix} \
819 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
820 update-alternatives \
821 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsuffix} \
822 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
823 update-alternatives \
824 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsuffix} \
825 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
826 update-alternatives \
827 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsuffix} \
828 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
831 if [ $1 -eq 0 ]; then
832 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
833 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
834 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
835 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
836 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
837 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
838 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
839 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
840 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
841 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
842 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
843 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
844 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
847 %postun -n postgresql-devel
848 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
850 %post -n postgresql-libs -p /sbin/ldconfig
851 %postun -n postgresql-libs -p /sbin/ldconfig
853 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
854 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
857 %defattr(644,root,root,755)
858 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
859 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgversion}
860 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgversion}
862 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
863 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
864 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
865 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
866 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
867 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
868 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
869 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
870 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
871 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
872 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
873 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
874 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
875 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
876 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
878 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
879 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
880 %attr(755,root,root) %{moduledir}/dict_int.so
881 %attr(755,root,root) %{moduledir}/dict_snowball.so
882 %attr(755,root,root) %{moduledir}/dict_xsyn.so
883 %attr(755,root,root) %{moduledir}/euc*.so
884 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
885 %attr(755,root,root) %{moduledir}/latin_and_mic.so
886 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
887 %attr(755,root,root) %{moduledir}/pgoutput.so
888 %attr(755,root,root) %{moduledir}/plpgsql.so
889 %attr(755,root,root) %{moduledir}/utf8_and_*.so
892 %{extensiondir}/plpgsql--*.sql
893 %{extensiondir}/plpgsql.control
895 %{pgsqldatadir}/*.bki
896 %{pgsqldatadir}/*.sample
897 %{pgsqldatadir}/*.description
898 %{pgsqldatadir}/*.shdescription
899 %{pgsqldatadir}/*.sql
900 %{pgsqldatadir}/*.txt
901 %{pgsqldatadir}/timezonesets
902 %{pgsqldatadir}/tsearch_data
904 %dir %{pgsqldatadir}/contrib
906 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
908 %{pgsqldatadir}/man/man1/initdb.1*
909 %{pgsqldatadir}/man/man1/pg_basebackup.1*
910 %{pgsqldatadir}/man/man1/pg_controldata.1*
911 %{pgsqldatadir}/man/man1/pg_ctl.1*
912 %{pgsqldatadir}/man/man1/pg_resetwal.1*
913 %{pgsqldatadir}/man/man1/pg_receivewal.1*
914 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
915 %{pgsqldatadir}/man/man1/pg_rewind.1*
916 %{pgsqldatadir}/man/man1/pg_waldump.1*
917 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
918 %{pgsqldatadir}/man/man1/pg_test_timing.1*
919 %{pgsqldatadir}/man/man1/pg_upgrade.1*
920 %{pgsqldatadir}/man/man1/pgbench.1*
921 %{pgsqldatadir}/man/man1/postgres.1*
922 %{pgsqldatadir}/man/man1/postmaster.1*
924 %files -n postgresql-common
925 %defattr(644,root,root,755)
926 %dir %{_libdir}/postgresql
927 %dir %{_datadir}/postgresql
928 %attr(700,postgres,postgres) %dir /var/lib/pgsql
929 %attr(700,postgres,postgres) %dir /var/run/postgresql
932 %defattr(644,root,root,755)
934 %dir %{pgsqllibdir}/bin
935 %dir %{pgsqllibdir}/lib
937 %dir %{pgsqldatadir}/man
938 %dir %{pgsqldatadir}/man/man1
939 %dir %{pgsqldatadir}/man/man3
940 %dir %{pgsqldatadir}/man/man7
943 %defattr(644,root,root,755)
944 %doc doc/src/sgml/html howto
945 %{_examplesdir}/%{name}-%{version}
947 %files -n postgresql-libs -f libpq5-%{pgversion}.lang
948 %defattr(644,root,root,755)
949 %attr(755,root,root) %{_libdir}/libpq.so.*.*
950 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
952 %files ecpg -f ecpg-%{pgversion}.lang
953 %defattr(644,root,root,755)
954 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
955 %{pgsqldatadir}/man/man1/ecpg.1*
957 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgversion}.lang
958 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
959 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
960 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
961 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
962 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
963 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
965 %files -n postgresql-ecpg-devel
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_libdir}/libecpg.so
968 %attr(755,root,root) %{_libdir}/libecpg_compat.so
969 %attr(755,root,root) %{_libdir}/libpgtypes.so
971 %{_libdir}/pkgconfig/libecpg.pc
972 %{_libdir}/pkgconfig/libecpg_compat.pc
973 %{_libdir}/pkgconfig/libpgtypes.pc
975 %files -n postgresql-ecpg-static
976 %defattr(644,root,root,755)
978 %{_libdir}/libecpg_compat.a
979 %{_libdir}/libpgtypes.a
981 %files -n postgresql-devel -f pg_config-%{pgversion}.lang
982 %defattr(644,root,root,755)
983 %attr(755,root,root) %{_bindir}/pg_config
984 %attr(755,root,root) %{_libdir}/libpq.so
985 %dir %{_includedir}/postgresql
986 %{_includedir}/libpq-events.h
987 %{_includedir}/libpq-fe.h
988 %{_includedir}/pg_config.h
989 %{_includedir}/pg_config_ext.h
990 %{_includedir}/pg_config_manual.h
991 %{_includedir}/pg_config_os.h
992 %{_includedir}/postgres_ext.h
993 %dir %{_includedir}/postgresql/internal
994 %{_includedir}/postgresql/internal/c.h
995 %{_includedir}/postgresql/internal/libpq-int.h
996 %{_includedir}/postgresql/internal/port.h
997 %{_includedir}/postgresql/internal/postgres_fe.h
998 %{_includedir}/postgresql/internal/pqexpbuffer.h
999 %{_includedir}/postgresql/internal/libpq
1000 %{_includedir}/libpq
1001 %{_libdir}/pkgconfig/libpq.pc
1002 %{_mandir}/man1/pg_config.1*
1004 %files backend-devel
1005 %defattr(644,root,root,755)
1006 %dir %{_includedir}/postgresql/%{pgversion}
1007 %{_includedir}/postgresql/%{pgversion}/server
1008 %dir %{moduledir}/pgxs
1009 %attr(755,root,root) %{moduledir}/pgxs/config
1010 %{moduledir}/pgxs/src
1011 %{pgsqldatadir}/man/man3/SPI_*.3*
1013 %files -n postgresql-static
1014 %defattr(644,root,root,755)
1016 %{_libdir}/libpgcommon.a
1017 %{_libdir}/libpgfeutils.a
1018 %{_libdir}/libpgport.a
1020 %files clients -f clients.lang
1021 %defattr(644,root,root,755)
1022 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
1023 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
1024 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
1025 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
1026 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
1027 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
1028 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
1029 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
1030 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
1031 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
1032 %attr(755,root,root) %{pgsqllibdir}/bin/psql
1033 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
1034 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
1036 %{pgsqldatadir}/man/man1/clusterdb.1*
1037 %{pgsqldatadir}/man/man1/createdb.1*
1038 %{pgsqldatadir}/man/man1/createuser.1*
1039 %{pgsqldatadir}/man/man1/dropdb.1*
1040 %{pgsqldatadir}/man/man1/dropuser.1*
1041 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
1042 %{pgsqldatadir}/man/man1/pg_dump.1*
1043 %{pgsqldatadir}/man/man1/pg_dumpall.1*
1044 %{pgsqldatadir}/man/man1/pg_isready.1*
1045 %{pgsqldatadir}/man/man1/pg_restore.1*
1046 %{pgsqldatadir}/man/man1/psql.1*
1047 %{pgsqldatadir}/man/man1/reindexdb.1*
1048 %{pgsqldatadir}/man/man1/vacuumdb.1*
1049 %{pgsqldatadir}/man/man7/*.7*
1052 %files module-plperl -f plperl-%{pgversion}.lang
1053 %defattr(644,root,root,755)
1054 %attr(755,root,root) %{moduledir}/plperl.so
1055 %{extensiondir}/plperl--*.sql
1056 %{extensiondir}/plperl.control
1057 %{extensiondir}/plperlu--*.sql
1058 %{extensiondir}/plperlu.control
1062 %files module-plpython -f plpython-%{pgversion}.lang
1063 %defattr(644,root,root,755)
1064 %attr(755,root,root) %{moduledir}/plpython2.so
1065 %{extensiondir}/plpython*--*.sql
1066 %{extensiondir}/plpython*.control
1070 %files module-pltcl -f pltcl-%{pgversion}.lang
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{moduledir}/pltcl.so
1073 %{extensiondir}/pltcl*--*.sql
1074 %{extensiondir}/pltcl*.control
1077 %files module-dblink
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{moduledir}/dblink.so
1080 %{extensiondir}/dblink--*.sql
1081 %{extensiondir}/dblink.control
1082 %{pgsqldatadir}/man/man3/dblink*.3*
1085 %defattr(644,root,root,755)
1086 %attr(755,root,root) %{moduledir}/lo.so
1087 %{extensiondir}/lo--*.sql
1088 %{extensiondir}/lo.control
1090 %files module-pg_trgm
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{moduledir}/pg_trgm.so
1093 %{extensiondir}/pg_trgm--*.sql
1094 %{extensiondir}/pg_trgm.control
1096 %files module-pgcrypto
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{moduledir}/pgcrypto.so
1099 %{extensiondir}/pgcrypto--*.sql
1100 %{extensiondir}/pgcrypto.control
1103 %files module-sepgsql
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{moduledir}/sepgsql.so
1106 %{extensiondir}/sepgsql.sql
1109 %files module-tablefunc
1110 %defattr(644,root,root,755)
1111 %attr(755,root,root) %{moduledir}/tablefunc.so
1112 %{extensiondir}/*tablefunc--*.sql
1113 %{extensiondir}/*tablefunc.control
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{moduledir}/pgxml.so
1118 %{extensiondir}/xml2--*.sql
1119 %{extensiondir}/xml2.control
1122 %defattr(644,root,root,755)
1124 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1125 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1126 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1127 %attr(755,root,root) %{moduledir}/_int.so
1128 %attr(755,root,root) %{moduledir}/adminpack.so
1129 %attr(755,root,root) %{moduledir}/auth_delay.so
1130 %attr(755,root,root) %{moduledir}/auto_explain.so
1131 %attr(755,root,root) %{moduledir}/bloom.so
1132 %attr(755,root,root) %{moduledir}/btree_gin.so
1133 %attr(755,root,root) %{moduledir}/btree_gist.so
1134 %attr(755,root,root) %{moduledir}/chkpass.so
1135 %attr(755,root,root) %{moduledir}/citext.so
1136 %attr(755,root,root) %{moduledir}/cube.so
1137 %attr(755,root,root) %{moduledir}/earthdistance.so
1138 %attr(755,root,root) %{moduledir}/file_fdw.so
1139 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1140 %attr(755,root,root) %{moduledir}/hstore.so
1141 %attr(755,root,root) %{moduledir}/isn.so
1142 %attr(755,root,root) %{moduledir}/ltree.so
1143 %attr(755,root,root) %{moduledir}/pageinspect.so
1144 %attr(755,root,root) %{moduledir}/passwordcheck.so
1145 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1146 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1147 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1148 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1149 %attr(755,root,root) %{moduledir}/pg_visibility.so
1150 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1151 %attr(755,root,root) %{moduledir}/pgstattuple.so
1152 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1153 %attr(755,root,root) %{moduledir}/seg.so
1154 %attr(755,root,root) %{moduledir}/sslinfo.so
1155 %attr(755,root,root) %{moduledir}/tcn.so
1156 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1157 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1158 %attr(755,root,root) %{moduledir}/unaccent.so
1159 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1160 %{extensiondir}/adminpack--*.sql
1161 %{extensiondir}/adminpack.control
1162 %{extensiondir}/bloom--*.sql
1163 %{extensiondir}/bloom.control
1164 %{extensiondir}/btree_gin--*.sql
1165 %{extensiondir}/btree_gin.control
1166 %{extensiondir}/btree_gist--*.sql
1167 %{extensiondir}/btree_gist.control
1168 %{extensiondir}/chkpass--*.sql
1169 %{extensiondir}/chkpass.control
1170 %{extensiondir}/citext--*.sql
1171 %{extensiondir}/citext.control
1172 %{extensiondir}/cube--*.sql
1173 %{extensiondir}/cube.control
1174 %{extensiondir}/dict_int--*.sql
1175 %{extensiondir}/dict_int.control
1176 %{extensiondir}/dict_xsyn--*.sql
1177 %{extensiondir}/dict_xsyn.control
1178 %{extensiondir}/earthdistance--*.sql
1179 %{extensiondir}/earthdistance.control
1180 %{extensiondir}/file_fdw--*.sql
1181 %{extensiondir}/file_fdw.control
1182 %{extensiondir}/fuzzystrmatch--*.sql
1183 %{extensiondir}/fuzzystrmatch.control
1184 %{extensiondir}/hstore--*.sql
1185 %{extensiondir}/hstore.control
1186 %{extensiondir}/intarray--*.sql
1187 %{extensiondir}/intarray.control
1188 %{extensiondir}/intagg--*.sql
1189 %{extensiondir}/intagg.control
1190 %{extensiondir}/isn--*.sql
1191 %{extensiondir}/isn.control
1192 %{extensiondir}/ltree--*.sql
1193 %{extensiondir}/ltree.control
1194 %{extensiondir}/pageinspect--*.sql
1195 %{extensiondir}/pageinspect.control
1196 %{extensiondir}/pg_buffercache--*.sql
1197 %{extensiondir}/pg_buffercache.control
1198 %{extensiondir}/pg_freespacemap--*.sql
1199 %{extensiondir}/pg_freespacemap.control
1200 %{extensiondir}/pg_prewarm--*.sql
1201 %{extensiondir}/pg_prewarm.control
1202 %{extensiondir}/pg_stat_statements--*.sql
1203 %{extensiondir}/pg_stat_statements.control
1204 %{extensiondir}/pg_visibility--*.sql
1205 %{extensiondir}/pg_visibility.control
1206 %{extensiondir}/pgrowlocks--*.sql
1207 %{extensiondir}/pgrowlocks.control
1208 %{extensiondir}/pgstattuple--*.sql
1209 %{extensiondir}/pgstattuple.control
1210 %{extensiondir}/postgres_fdw--*.sql
1211 %{extensiondir}/postgres_fdw.control
1212 %{extensiondir}/seg--*.sql
1213 %{extensiondir}/seg.control
1214 %{extensiondir}/sslinfo--*.sql
1215 %{extensiondir}/sslinfo.control
1216 %{extensiondir}/tcn--*.sql
1217 %{extensiondir}/tcn.control
1218 %{extensiondir}/tsm_system_rows--*.sql
1219 %{extensiondir}/tsm_system_rows.control
1220 %{extensiondir}/tsm_system_time--*.sql
1221 %{extensiondir}/tsm_system_time.control
1222 %{extensiondir}/unaccent--*.sql
1223 %{extensiondir}/unaccent.control
1224 %{extensiondir}/uuid-ossp--*.sql
1225 %{extensiondir}/uuid-ossp.control
1227 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1228 %{extensiondir}/hstore_plperl--*.sql
1229 %{extensiondir}/hstore_plperl.control
1230 %{extensiondir}/hstore_plperlu--*.sql
1231 %{extensiondir}/hstore_plperlu.control
1234 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1235 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1236 %{extensiondir}/hstore_plpythonu--*.sql
1237 %{extensiondir}/hstore_plpythonu.control
1238 %{extensiondir}/hstore_plpython2u--*.sql
1239 %{extensiondir}/hstore_plpython2u.control
1240 %{extensiondir}/hstore_plpython3u--*.sql
1241 %{extensiondir}/hstore_plpython3u.control
1242 %{extensiondir}/ltree_plpythonu--*.sql
1243 %{extensiondir}/ltree_plpythonu.control
1244 %{extensiondir}/ltree_plpython2u--*.sql
1245 %{extensiondir}/ltree_plpython2u.control
1246 %{extensiondir}/ltree_plpython3u--*.sql
1247 %{extensiondir}/ltree_plpython3u.control
1249 %{pgsqldatadir}/man/man1/oid2name.1*
1250 %{pgsqldatadir}/man/man1/pg_standby.1*
1251 %{pgsqldatadir}/man/man1/vacuumlo.1*