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 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/%{pgver}
102 %define pgsqllibdir %{_libdir}/postgresql/%{pgver}
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 %{pgver}
190 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgver}
191 Group: Applicataion/Databases
194 Common directories for PostgresSQL %{pgver}
196 %description dirs -l pl.UTF-8
197 Wspólne pliki i katalogi dla PostgreSQL %{pgver}
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%{_mandir}
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' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql10
685 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql10
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-%{pgver}
703 cat $(for f in $@; do echo ${f}-%{pgver}.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-%{pgver}
715 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
718 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgver}/server/
720 # package it...? nah, why bother.
721 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
724 rm -rf $RPM_BUILD_ROOT
728 if [ -f /etc/sysconfig/postgresql10 ]; then
729 . /etc/sysconfig/postgresql10
730 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
731 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
735 for pgdir in $PG_DB_CLUSTERS; do
736 if [ -f $pgdir/PG_VERSION ]; then
737 if [ $(cat $pgdir/PG_VERSION) != '%{pgver}' ]; then
738 echo "Found database(s) in older, incompatible format in cluster $pgdir."
743 if [ "$foundold" = "1" ]; then
745 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
746 echo "and clean (or rename) those directories; then upgrade postgresql and"
747 echo "restore all data (using pg_restore or psql)."
748 echo "Remember to stop the daemon before upgrading!"
750 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
751 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
756 %triggerpostun -- postgresql < 10.5-2
757 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
758 /usr/sbin/usermod -d /var/lib/pgsql postgres
761 echo "This version of PostgreSQL uses new default location for database clusters."
762 echo "Please move your existing clusters before starting PostgreSQL so they follow"
765 echo "/var/lib/pgsql/<version>/<name>"
767 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
768 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
769 echo "files so they reflect your changes."
773 /sbin/chkconfig --add postgresql10
774 %service postgresql10 restart "postgresql10 server"
777 if [ "$1" = "0" ]; then
778 %service postgresql10 stop
779 /sbin/chkconfig --del postgresql10
782 %pre -n postgresql-common
783 %groupadd -g 88 -r postgres
784 %useradd -M -o -r -u 88 -d /var/lib/pgsql -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
787 update-alternatives \
788 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgver}%{pgminver} \
789 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
790 update-alternatives \
791 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgver}%{pgminver} \
792 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
793 update-alternatives \
794 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgver}%{pgminver} \
795 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
796 update-alternatives \
797 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgver}%{pgminver} \
798 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
799 update-alternatives \
800 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgver}%{pgminver} \
801 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
802 update-alternatives \
803 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgver}%{pgminver} \
804 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
805 update-alternatives \
806 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgver}%{pgminver} \
807 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
808 update-alternatives \
809 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgver}%{pgminver} \
810 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
811 update-alternatives \
812 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgver}%{pgminver} \
813 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
814 update-alternatives \
815 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgver}%{pgminver} \
816 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
817 update-alternatives \
818 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgver}%{pgminver} \
819 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
820 update-alternatives \
821 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgver}%{pgminver} \
822 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
823 update-alternatives \
824 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgver}%{pgminver} \
825 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
828 if [ $1 -eq 0 ]; then
829 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
830 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
831 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
832 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
833 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
834 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
835 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
836 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
837 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
838 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
839 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
840 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
841 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
844 %posttrans -n postgresql-devel
845 update-alternatives \
846 --install %{_bindir}/pg_config pg_config %{pgsqllibdir}/bin/pg_config %{pgver}%{pgminver} \
847 --slave %{_mandir}/man1/pg_config.1 pg_config.1 %{pgsqldatadir}/man/man1/pg_config.1* || :
849 %postun -n postgresql-devel
850 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
853 %post -n postgresql-libs -p /sbin/ldconfig
854 %postun -n postgresql-libs -p /sbin/ldconfig
856 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
857 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
860 %defattr(644,root,root,755)
861 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
862 %attr(754,root,root) /etc/rc.d/init.d/postgresql10
863 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql10
865 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
866 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
867 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
868 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
869 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
870 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
871 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
872 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
873 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
874 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
875 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
876 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
877 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
878 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
879 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
881 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
882 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
883 %attr(755,root,root) %{moduledir}/dict_int.so
884 %attr(755,root,root) %{moduledir}/dict_snowball.so
885 %attr(755,root,root) %{moduledir}/dict_xsyn.so
886 %attr(755,root,root) %{moduledir}/euc*.so
887 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
888 %attr(755,root,root) %{moduledir}/latin_and_mic.so
889 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
890 %attr(755,root,root) %{moduledir}/pgoutput.so
891 %attr(755,root,root) %{moduledir}/plpgsql.so
892 %attr(755,root,root) %{moduledir}/utf8_and_*.so
895 %{extensiondir}/plpgsql--*.sql
896 %{extensiondir}/plpgsql.control
898 %{pgsqldatadir}/*.bki
899 %{pgsqldatadir}/*.sample
900 %{pgsqldatadir}/*.description
901 %{pgsqldatadir}/*.shdescription
902 %{pgsqldatadir}/*.sql
903 %{pgsqldatadir}/*.txt
904 %{pgsqldatadir}/timezonesets
905 %{pgsqldatadir}/tsearch_data
907 %dir %{pgsqldatadir}/contrib
909 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
911 %{pgsqldatadir}/man/man1/initdb.1*
912 %{pgsqldatadir}/man/man1/pg_basebackup.1*
913 %{pgsqldatadir}/man/man1/pg_controldata.1*
914 %{pgsqldatadir}/man/man1/pg_ctl.1*
915 %{pgsqldatadir}/man/man1/pg_resetwal.1*
916 %{pgsqldatadir}/man/man1/pg_receivewal.1*
917 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
918 %{pgsqldatadir}/man/man1/pg_rewind.1*
919 %{pgsqldatadir}/man/man1/pg_waldump.1*
920 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
921 %{pgsqldatadir}/man/man1/pg_test_timing.1*
922 %{pgsqldatadir}/man/man1/pg_upgrade.1*
923 %{pgsqldatadir}/man/man1/pgbench.1*
924 %{pgsqldatadir}/man/man1/postgres.1*
925 %{pgsqldatadir}/man/man1/postmaster.1*
927 %files -n postgresql-common
928 %defattr(644,root,root,755)
929 %dir %{_libdir}/postgresql
930 %dir %{_datadir}/postgresql
931 %attr(700,postgres,postgres) %dir /var/lib/pgsql
932 %attr(700,postgres,postgres) %dir /var/run/postgresql
935 %defattr(644,root,root,755)
937 %dir %{pgsqllibdir}/bin
938 %dir %{pgsqllibdir}/lib
940 %dir %{pgsqldatadir}/man
941 %dir %{pgsqldatadir}/man/man1
942 %dir %{pgsqldatadir}/man/man3
943 %dir %{pgsqldatadir}/man/man7
946 %defattr(644,root,root,755)
947 %doc doc/src/sgml/html howto
948 %{_examplesdir}/%{name}-%{version}
950 %files -n postgresql-libs -f libpq5-%{pgver}.lang
951 %defattr(644,root,root,755)
952 %attr(755,root,root) %{_libdir}/libpq.so.*.*
953 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
955 %files ecpg -f ecpg-%{pgver}.lang
956 %defattr(644,root,root,755)
957 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
958 %{pgsqldatadir}/man/man1/ecpg.1*
960 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgver}.lang
961 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
962 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
963 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
964 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
965 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
966 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
968 %files -n postgresql-ecpg-devel
969 %defattr(644,root,root,755)
970 %attr(755,root,root) %{_libdir}/libecpg.so
971 %attr(755,root,root) %{_libdir}/libecpg_compat.so
972 %attr(755,root,root) %{_libdir}/libpgtypes.so
974 %{_libdir}/pkgconfig/libecpg.pc
975 %{_libdir}/pkgconfig/libecpg_compat.pc
976 %{_libdir}/pkgconfig/libpgtypes.pc
978 %files -n postgresql-ecpg-static
979 %defattr(644,root,root,755)
981 %{_libdir}/libecpg_compat.a
982 %{_libdir}/libpgtypes.a
984 %files -n postgresql-devel -f pg_config-%{pgver}.lang
985 %defattr(644,root,root,755)
986 %attr(755,root,root) %{pgsqllibdir}/bin/pg_config
987 %attr(755,root,root) %{_libdir}/libpq.so
988 %dir %{_includedir}/postgresql
989 %{_includedir}/libpq-events.h
990 %{_includedir}/libpq-fe.h
991 %{_includedir}/pg_config.h
992 %{_includedir}/pg_config_ext.h
993 %{_includedir}/pg_config_manual.h
994 %{_includedir}/pg_config_os.h
995 %{_includedir}/postgres_ext.h
996 %dir %{_includedir}/postgresql/internal
997 %{_includedir}/postgresql/internal/c.h
998 %{_includedir}/postgresql/internal/libpq-int.h
999 %{_includedir}/postgresql/internal/port.h
1000 %{_includedir}/postgresql/internal/postgres_fe.h
1001 %{_includedir}/postgresql/internal/pqexpbuffer.h
1002 %{_includedir}/postgresql/internal/libpq
1003 %{_includedir}/libpq
1004 %{_libdir}/pkgconfig/libpq.pc
1005 %{pgsqldatadir}/man/man1/pg_config.1*
1007 %files backend-devel
1008 %defattr(644,root,root,755)
1009 %dir %{_includedir}/postgresql/%{pgver}
1010 %{_includedir}/postgresql/%{pgver}/server
1011 %dir %{moduledir}/pgxs
1012 %attr(755,root,root) %{moduledir}/pgxs/config
1013 %{moduledir}/pgxs/src
1014 %{pgsqldatadir}/man/man3/SPI_*.3*
1016 %files -n postgresql-static
1017 %defattr(644,root,root,755)
1019 %{_libdir}/libpgcommon.a
1020 %{_libdir}/libpgfeutils.a
1021 %{_libdir}/libpgport.a
1023 %files clients -f clients.lang
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
1026 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
1027 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
1028 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
1029 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
1030 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
1031 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
1032 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
1033 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
1034 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
1035 %attr(755,root,root) %{pgsqllibdir}/bin/psql
1036 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
1037 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
1039 %{pgsqldatadir}/man/man1/clusterdb.1*
1040 %{pgsqldatadir}/man/man1/createdb.1*
1041 %{pgsqldatadir}/man/man1/createuser.1*
1042 %{pgsqldatadir}/man/man1/dropdb.1*
1043 %{pgsqldatadir}/man/man1/dropuser.1*
1044 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
1045 %{pgsqldatadir}/man/man1/pg_dump.1*
1046 %{pgsqldatadir}/man/man1/pg_dumpall.1*
1047 %{pgsqldatadir}/man/man1/pg_isready.1*
1048 %{pgsqldatadir}/man/man1/pg_restore.1*
1049 %{pgsqldatadir}/man/man1/psql.1*
1050 %{pgsqldatadir}/man/man1/reindexdb.1*
1051 %{pgsqldatadir}/man/man1/vacuumdb.1*
1052 %{pgsqldatadir}/man/man7/*.7*
1055 %files module-plperl -f plperl-%{pgver}.lang
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{moduledir}/plperl.so
1058 %{extensiondir}/plperl--*.sql
1059 %{extensiondir}/plperl.control
1060 %{extensiondir}/plperlu--*.sql
1061 %{extensiondir}/plperlu.control
1065 %files module-plpython -f plpython-%{pgver}.lang
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{moduledir}/plpython2.so
1068 %{extensiondir}/plpython*--*.sql
1069 %{extensiondir}/plpython*.control
1073 %files module-pltcl -f pltcl-%{pgver}.lang
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{moduledir}/pltcl.so
1076 %{extensiondir}/pltcl*--*.sql
1077 %{extensiondir}/pltcl*.control
1080 %files module-dblink
1081 %defattr(644,root,root,755)
1082 %attr(755,root,root) %{moduledir}/dblink.so
1083 %{extensiondir}/dblink--*.sql
1084 %{extensiondir}/dblink.control
1085 %{pgsqldatadir}/man/man3/dblink*.3*
1088 %defattr(644,root,root,755)
1089 %attr(755,root,root) %{moduledir}/lo.so
1090 %{extensiondir}/lo--*.sql
1091 %{extensiondir}/lo.control
1093 %files module-pg_trgm
1094 %defattr(644,root,root,755)
1095 %attr(755,root,root) %{moduledir}/pg_trgm.so
1096 %{extensiondir}/pg_trgm--*.sql
1097 %{extensiondir}/pg_trgm.control
1099 %files module-pgcrypto
1100 %defattr(644,root,root,755)
1101 %attr(755,root,root) %{moduledir}/pgcrypto.so
1102 %{extensiondir}/pgcrypto--*.sql
1103 %{extensiondir}/pgcrypto.control
1106 %files module-sepgsql
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{moduledir}/sepgsql.so
1109 %{extensiondir}/sepgsql.sql
1112 %files module-tablefunc
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{moduledir}/tablefunc.so
1115 %{extensiondir}/*tablefunc--*.sql
1116 %{extensiondir}/*tablefunc.control
1119 %defattr(644,root,root,755)
1120 %attr(755,root,root) %{moduledir}/pgxml.so
1121 %{extensiondir}/xml2--*.sql
1122 %{extensiondir}/xml2.control
1125 %defattr(644,root,root,755)
1127 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1128 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1129 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1130 %attr(755,root,root) %{moduledir}/_int.so
1131 %attr(755,root,root) %{moduledir}/adminpack.so
1132 %attr(755,root,root) %{moduledir}/auth_delay.so
1133 %attr(755,root,root) %{moduledir}/auto_explain.so
1134 %attr(755,root,root) %{moduledir}/bloom.so
1135 %attr(755,root,root) %{moduledir}/btree_gin.so
1136 %attr(755,root,root) %{moduledir}/btree_gist.so
1137 %attr(755,root,root) %{moduledir}/chkpass.so
1138 %attr(755,root,root) %{moduledir}/citext.so
1139 %attr(755,root,root) %{moduledir}/cube.so
1140 %attr(755,root,root) %{moduledir}/earthdistance.so
1141 %attr(755,root,root) %{moduledir}/file_fdw.so
1142 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1143 %attr(755,root,root) %{moduledir}/hstore.so
1144 %attr(755,root,root) %{moduledir}/isn.so
1145 %attr(755,root,root) %{moduledir}/ltree.so
1146 %attr(755,root,root) %{moduledir}/pageinspect.so
1147 %attr(755,root,root) %{moduledir}/passwordcheck.so
1148 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1149 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1150 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1151 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1152 %attr(755,root,root) %{moduledir}/pg_visibility.so
1153 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1154 %attr(755,root,root) %{moduledir}/pgstattuple.so
1155 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1156 %attr(755,root,root) %{moduledir}/seg.so
1157 %attr(755,root,root) %{moduledir}/sslinfo.so
1158 %attr(755,root,root) %{moduledir}/tcn.so
1159 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1160 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1161 %attr(755,root,root) %{moduledir}/unaccent.so
1162 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1163 %{extensiondir}/adminpack--*.sql
1164 %{extensiondir}/adminpack.control
1165 %{extensiondir}/bloom--*.sql
1166 %{extensiondir}/bloom.control
1167 %{extensiondir}/btree_gin--*.sql
1168 %{extensiondir}/btree_gin.control
1169 %{extensiondir}/btree_gist--*.sql
1170 %{extensiondir}/btree_gist.control
1171 %{extensiondir}/chkpass--*.sql
1172 %{extensiondir}/chkpass.control
1173 %{extensiondir}/citext--*.sql
1174 %{extensiondir}/citext.control
1175 %{extensiondir}/cube--*.sql
1176 %{extensiondir}/cube.control
1177 %{extensiondir}/dict_int--*.sql
1178 %{extensiondir}/dict_int.control
1179 %{extensiondir}/dict_xsyn--*.sql
1180 %{extensiondir}/dict_xsyn.control
1181 %{extensiondir}/earthdistance--*.sql
1182 %{extensiondir}/earthdistance.control
1183 %{extensiondir}/file_fdw--*.sql
1184 %{extensiondir}/file_fdw.control
1185 %{extensiondir}/fuzzystrmatch--*.sql
1186 %{extensiondir}/fuzzystrmatch.control
1187 %{extensiondir}/hstore--*.sql
1188 %{extensiondir}/hstore.control
1189 %{extensiondir}/intarray--*.sql
1190 %{extensiondir}/intarray.control
1191 %{extensiondir}/intagg--*.sql
1192 %{extensiondir}/intagg.control
1193 %{extensiondir}/isn--*.sql
1194 %{extensiondir}/isn.control
1195 %{extensiondir}/ltree--*.sql
1196 %{extensiondir}/ltree.control
1197 %{extensiondir}/pageinspect--*.sql
1198 %{extensiondir}/pageinspect.control
1199 %{extensiondir}/pg_buffercache--*.sql
1200 %{extensiondir}/pg_buffercache.control
1201 %{extensiondir}/pg_freespacemap--*.sql
1202 %{extensiondir}/pg_freespacemap.control
1203 %{extensiondir}/pg_prewarm--*.sql
1204 %{extensiondir}/pg_prewarm.control
1205 %{extensiondir}/pg_stat_statements--*.sql
1206 %{extensiondir}/pg_stat_statements.control
1207 %{extensiondir}/pg_visibility--*.sql
1208 %{extensiondir}/pg_visibility.control
1209 %{extensiondir}/pgrowlocks--*.sql
1210 %{extensiondir}/pgrowlocks.control
1211 %{extensiondir}/pgstattuple--*.sql
1212 %{extensiondir}/pgstattuple.control
1213 %{extensiondir}/postgres_fdw--*.sql
1214 %{extensiondir}/postgres_fdw.control
1215 %{extensiondir}/seg--*.sql
1216 %{extensiondir}/seg.control
1217 %{extensiondir}/sslinfo--*.sql
1218 %{extensiondir}/sslinfo.control
1219 %{extensiondir}/tcn--*.sql
1220 %{extensiondir}/tcn.control
1221 %{extensiondir}/tsm_system_rows--*.sql
1222 %{extensiondir}/tsm_system_rows.control
1223 %{extensiondir}/tsm_system_time--*.sql
1224 %{extensiondir}/tsm_system_time.control
1225 %{extensiondir}/unaccent--*.sql
1226 %{extensiondir}/unaccent.control
1227 %{extensiondir}/uuid-ossp--*.sql
1228 %{extensiondir}/uuid-ossp.control
1230 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1231 %{extensiondir}/hstore_plperl--*.sql
1232 %{extensiondir}/hstore_plperl.control
1233 %{extensiondir}/hstore_plperlu--*.sql
1234 %{extensiondir}/hstore_plperlu.control
1237 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1238 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1239 %{extensiondir}/hstore_plpythonu--*.sql
1240 %{extensiondir}/hstore_plpythonu.control
1241 %{extensiondir}/hstore_plpython2u--*.sql
1242 %{extensiondir}/hstore_plpython2u.control
1243 %{extensiondir}/hstore_plpython3u--*.sql
1244 %{extensiondir}/hstore_plpython3u.control
1245 %{extensiondir}/ltree_plpythonu--*.sql
1246 %{extensiondir}/ltree_plpythonu.control
1247 %{extensiondir}/ltree_plpython2u--*.sql
1248 %{extensiondir}/ltree_plpython2u.control
1249 %{extensiondir}/ltree_plpython3u--*.sql
1250 %{extensiondir}/ltree_plpython3u.control
1252 %{pgsqldatadir}/man/man1/oid2name.1*
1253 %{pgsqldatadir}/man/man1/pg_standby.1*
1254 %{pgsqldatadir}/man/man1/vacuumlo.1*