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)
17 %define pgsqlversion 11
18 %define pgsqlpriority 110
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-%{pgsqlversion}
31 Version: %{pgsqlversion}.1
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 5e45f6d5b859cc76b5d62f1e328e9711
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/%{pgsqlversion}
102 %define pgsqllibdir %{_libdir}/postgresql/%{pgsqlversion}
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 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 %{pgsqlversion}
190 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
191 Group: Applicataion/Databases
192 Requires: postgresql-common >= %{version}-%{release}
195 Common directories for PostgresSQL %{pgsqlversion}
197 %description dirs -l pl.UTF-8
198 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
200 %package -n postgresql-devel
201 Summary: PostgreSQL development header files and libraries
202 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
203 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
204 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
205 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
206 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
207 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
208 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
209 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
210 Group: Development/Libraries
211 Requires: alternatives
212 Requires: postgresql-libs >= %{version}-%{release}
214 %description -n postgresql-devel
215 This package contains header files and libraries required to compile
216 applications that are talking directly to the PostgreSQL backend
219 %description -n postgresql-devel -l pl.UTF-8
220 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
221 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
223 %package backend-devel
224 Summary: PostgreSQL backend development header files
225 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
226 Group: Development/Libraries
227 Requires: postgresql-devel >= %{version}-%{release}
228 Requires: postgresql-libs >= %{version}-%{release}
229 Obsoletes: postgresql-backend-devel
231 %description backend-devel
232 This package contains header files required to compile functions that
233 could be loaded directly by backend
235 %description backend-devel -l pl.UTF-8
236 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
237 bezposrednio ladowane przez beckend serwera PostgreSQL.
240 Summary: Clients needed to access a PostgreSQL server
241 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
242 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
243 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
244 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
245 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
246 Group: Applications/Databases
247 Requires: alternatives
248 Requires: %{name}-dirs = %{version}-%{release}
249 Requires: postgresql-libs >= %{version}-%{release}
250 Obsoletes: postgresql-clients
253 This package includes only the clients needed to access an PostgreSQL
254 server. The server is included in the main package. If all you need is
255 to connect to another PostgreSQL server, the this is the only package
256 you need to install. Clients include several command-line utilities
257 you can use to manage your databases on a remote PostgreSQL server.
259 %description clients -l pl.UTF-8
260 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
261 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
262 poleceń. Serwer znajduje się w głównym pakiecie.
265 Summary: Documentation for PostgreSQL
266 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
267 Group: Applications/Databases
268 Obsoletes: postgresql-doc
271 This package includes documentation and HOWTO for programmer, admin
272 etc., in HTML format.
274 %description doc -l pl.UTF-8
275 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
276 administratorów w formacie HTML.
278 %package -n postgresql-libs
279 Summary: PostgreSQL libraries
280 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
281 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
282 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
283 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
285 Requires: postgresql-common >= %{version}-%{release}
287 %description -n postgresql-libs
288 PostgreSQL shared libraries.
290 %description -n postgresql-libs -l pl.UTF-8
291 Biblioteki dzielone programu PostgreSQL.
294 Summary: Embedded SQL in C interface
295 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
297 Requires: %{name}-dirs = %{version}-%{release}
298 Requires: postgresql-libs >= %{version}-%{release}
299 Requires: postgresql-ecpg-libs >= %{version}-%{release}
300 Obsoletes: postgresql-ecpg
303 Embedded SQL in C interface.
305 %description ecpg -l pl.UTF-8
306 Interfejs wbudowanego SQL-a w język C.
308 %package -n postgresql-ecpg-libs
309 Summary: PostgreSQL libraries
310 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
311 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
312 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
313 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
316 %description -n postgresql-ecpg-libs
317 PostgreSQL shared libraries.
319 %description -n postgresql-ecpg-libs -l pl.UTF-8
320 Biblioteki dzielone programu PostgreSQL.
322 %package -n postgresql-ecpg-devel
323 Summary: Embedded SQL in C interface files
324 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
325 Group: Development/Libraries
326 Requires: postgresql-devel >= %{version}-%{release}
327 Requires: postgresql-ecpg-devel >= %{version}-%{release}
329 %description -n postgresql-ecpg-devel
330 Embedded SQL in C interface files.
332 %description -n postgresql-ecpg-devel -l pl.UTF-8
333 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
335 %package -n postgresql-ecpg-static
336 Summary: PostgreSQL static libraries
337 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
338 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
339 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
340 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
341 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
342 Group: Development/Libraries
343 Requires: postgresql-devel >= %{version}-%{release}
345 %description -n postgresql-ecpg-static
346 PostgreSQL static libraries.
348 %description -n postgresql-ecpg-static -l pl.UTF-8
349 Biblioteki statyczne programu PostgreSQL.
351 %package -n postgresql-static
352 Summary: PostgreSQL static libraries
353 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
354 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
355 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
356 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
357 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
358 Group: Development/Libraries
359 Requires: postgresql-devel >= %{version}-%{release}
361 %description -n postgresql-static
362 PostgreSQL static libraries.
364 %description -n postgresql-static -l pl.UTF-8
365 Biblioteki statyczne programu PostgreSQL.
367 %package module-plperl
368 Summary: PL/perl - PostgreSQL procedural language
369 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
370 Group: Applications/Databases
371 Requires: %{name} = %{version}-%{release}
372 Obsoletes: postgresql-module-plperl
374 %description module-plperl
375 From PostgreSQL documentation:
377 Postgres supports the definition of procedural languages. In the case
378 of a function or trigger procedure defined in a procedural language,
379 the database has no built-in knowledge about how to interpret the
380 function's source text. Instead, the task is passed to a handler that
381 knows the details of the language. The handler itself is a special
382 programming language function compiled into a shared object and loaded
385 To enable PL/Perl procedural language for your database you have to
386 run createlang command.
388 %description module-plperl -l pl.UTF-8
389 Z dokumentacji PostgreSQL:
391 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
392 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
393 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
394 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
395 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
396 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
399 Za pomocą polecenia createlang można dodać obsługę języka
400 proceduralnego PL/Perl dla swojej bazy danych.
402 %package module-plpython
403 Summary: PL/Python - PostgreSQL procedural language
404 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
405 Group: Applications/Databases
406 Requires: %{name} = %{version}-%{release}
407 %pyrequires_eq python
408 Obsoletes: postgresql-module-plpython
410 %description module-plpython
411 From PostgreSQL documentation:
413 Postgres supports the definition of procedural languages. In the case
414 of a function or trigger procedure defined in a procedural language,
415 the database has no built-in knowledge about how to interpret the
416 function's source text. Instead, the task is passed to a handler that
417 knows the details of the language. The handler itself is a special
418 programming language function compiled into a shared object and loaded
421 To enable PL/Python procedural language for your database you have to
422 run createlang command.
424 %description module-plpython -l pl.UTF-8
425 Z dokumentacji PostgreSQL:
427 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
428 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
429 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
430 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
431 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
432 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
435 Za pomocą polecenia createlang można dodać obsługę języka
436 proceduralnego PL/Python dla swojej bazy danych.
438 %package module-pltcl
439 Summary: PL/Tcl - PostgreSQL procedural language
440 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
441 Group: Applications/Databases
442 Requires: %{name} = %{version}-%{release}
444 Obsoletes: postgresql-module-pltcl
446 %description module-pltcl
447 From PostgreSQL documentation:
449 Postgres supports the definition of procedural languages. In the case
450 of a function or trigger procedure defined in a procedural language,
451 the database has no built-in knowledge about how to interpret the
452 function's source text. Instead, the task is passed to a handler that
453 knows the details of the language. The handler itself is a special
454 programming language function compiled into a shared object and loaded
457 To enable PL/Tcl procedural language for your database you have to run
460 %description module-pltcl -l pl.UTF-8
461 Z dokumentacji PostgreSQL:
463 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
464 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
465 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
466 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
467 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
468 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
471 Za pomocą polecenia createlang można dodać obsługę języka
472 proceduralnego PL/Tcl dla swojej bazy danych.
474 %package module-dblink
475 Summary: dblink module for PostgreSQL
476 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
477 Group: Applications/Databases
478 Requires: %{name} = %{version}-%{release}
479 Obsoletes: postgresql-module-dblink
481 %description module-dblink
482 dblink module for PostgreSQL provides functions returning results from
485 %description module-dblink -l pl.UTF-8
486 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
490 Summary: Large Objects module for PostgreSQL
491 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
492 Group: Applications/Databases
493 Requires: %{name} = %{version}-%{release}
494 Obsoletes: postgresql-module-lo
496 %description module-lo
497 Large Objects module for PostgreSQL adds a new data type 'lo', some
498 support functions and a trigger which handles the orphaning problem.
500 %description module-lo -l pl.UTF-8
501 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
502 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
503 osieroconych obiektów.
505 %package module-pg_trgm
506 Summary: Trigram matching for PostgreSQL
507 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
508 Group: Applications/Databases
509 Requires: %{name} = %{version}-%{release}
510 Obsoletes: postgresql-module-pg_trgm
512 %description module-pg_trgm
513 This module provides functions and index classes for determining the
514 similarity of text based on trigram matching.
516 %description module-pg_trgm -l pl.UTF-8
517 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
518 w oparciu o dopasowywanie trigramowe (trigram matching).
520 %package module-pgcrypto
521 Summary: Cryptographic functions for PostgreSQL
522 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
523 Group: Applications/Databases
524 Requires: %{name} = %{version}-%{release}
525 Obsoletes: postgresql-module-pgcrypto
527 %description module-pgcrypto
528 Cryptographic functions for PostgreSQL.
530 %description module-pgcrypto -l pl.UTF-8
531 Funkcje kryptograficzne dla PostgreSQL.
533 %package module-sepgsql
534 Summary: PostgreSQL external security provider using SELinux
535 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
536 Group: Applications/Databases
537 Requires: %{name} = %{version}-%{release}
538 Requires: libselinux >= 2.1.10
539 Obsoletes: postgresql-module-sepgsql
541 %description module-sepgsql
542 PostgreSQL external security provider using SELinux.
544 %description module-sepgsql -l pl.UTF-8
545 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
547 %package module-tablefunc
548 Summary: crosstab functions for PostgreSQL
549 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
550 Group: Applications/Databases
551 Requires: %{name} = %{version}-%{release}
552 Obsoletes: postgresql-module-tablefunc
554 %description module-tablefunc
555 crosstab functions for PostgreSQL.
557 %description module-tablefunc -l pl.UTF-8
558 Funkcje crosstab dla PostgreSQL-a.
561 Summary: XML-handling functions for PostgreSQL
562 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
563 Group: Applications/Databases
564 Requires: %{name} = %{version}-%{release}
565 Requires: libxml2 >= 1:2.6.23
566 Obsoletes: postgresql-module-xml2
568 %description module-xml2
569 Module with XML functions provides both XPath querying and XSLT
570 functionality. There is also a new table function which allows the
571 straightforward return of multiple XML results.
573 %description module-xml2 -l pl.UTF-8
574 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
575 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
576 bezpośrednie zwracanie wielu wyników XML.
579 Summary: Miscellaneous PostgreSQL contrib modules
580 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
581 Group: Applications/Databases
582 Requires: %{name} = %{version}-%{release}
583 Obsoletes: postgresql-contrib
586 Miscellaneous PostgreSQL contrib modules.
588 %description contrib -l pl.UTF-8
589 Różne moduły dołączone do PostgreSQL-a.
592 %setup -q -n postgresql-%{version}
594 %{?with_absolute_dbpaths:%patch1 -p1}
602 # force rebuild of bison/flex files
603 find src -name \*.l -o -name \*.y | xargs touch
606 #find contrib -type d -name CVS -exec rm -rf {} \;
609 %{__aclocal} -I config
613 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
614 --prefix=%{pgsqldatadir} \
615 --bindir=%{pgsqllibdir}/bin \
616 --sbindir=%{pgsqllibdir}/sbin \
617 --includedir=%{_includedir} \
618 --mandir=%{pgsqldatadir}/man \
619 --datadir=%{pgsqldatadir} \
620 --libdir=%{_libdir} \
621 --docdir=%{pgsqldatadir}/doc \
622 --localedir=%{_datadir}/locale \
625 %{?with_systemtap:--enable-dtrace} \
626 --enable-integer-datetimes \
628 --enable-thread-safety \
629 %{?with_bonjour:--with-bonjour} \
630 %{?with_kerberos5:--with-gssapi} \
631 %{?with_ldap:--with-ldap} \
636 %{?with_perl:--with-perl} \
637 %{?with_python:--with-python} \
638 %{?with_selinux:--with-selinux} \
639 --with-system-tzdata=%{_datadir}/zoneinfo \
641 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
646 for mod in %{contrib_modules}; do \
647 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
648 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
649 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
650 %{__make} -C contrib/$mod CFLAGS="$flags"
653 %{__make} -C src/tutorial \
656 %ifnarch sparc sparcv9 sparc64 alpha
657 %{?with_tests:%{__make} -j1 check}
661 rm -rf $RPM_BUILD_ROOT
662 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
663 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log,run/postgresql} \
664 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
665 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
667 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
670 DESTDIR=$RPM_BUILD_ROOT
671 %{__make} -C doc/src/sgml install-man \
672 DESTDIR=$RPM_BUILD_ROOT
675 %{__make} install -C src/pl/plperl \
676 DESTDIR=$RPM_BUILD_ROOT
679 for mod in %{contrib_modules}; do \
680 %{__make} -C contrib/$mod install \
681 DESTDIR=$RPM_BUILD_ROOT
684 touch $RPM_BUILD_ROOT/var/log/pgsql
686 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
687 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
690 tar zxf %{SOURCE2} -C howto
693 %py_comp $RPM_BUILD_ROOT%{py_libdir}
694 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
698 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
699 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
700 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
701 %find_lang $f-%{pgsqlversion}
705 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
707 merge_lang pgscripts postgres plpgsql \
708 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
709 merge_lang psql initdb \
710 pg_archivecleanup pg_ctl pg_dump > clients.lang
713 %find_lang pltcl-%{pgsqlversion}
717 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
720 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
722 %{__mv} $RPM_BUILD_ROOT{%{pgsqllibdir}/bin,%{_bindir}}/pg_config
723 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/man,%{_mandir}}/man1/pg_config.1
725 # package it...? nah, why bother.
726 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
729 rm -rf $RPM_BUILD_ROOT
733 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
734 . /etc/sysconfig/postgresql-%{pgsqlversion}
735 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
736 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
740 for pgdir in $PG_DB_CLUSTERS; do
741 if [ -f $pgdir/PG_VERSION ]; then
742 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
743 echo "Found database(s) in older, incompatible format in cluster $pgdir."
748 if [ "$foundold" = "1" ]; then
750 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
751 echo "and clean (or rename) those directories; then upgrade postgresql and"
752 echo "restore all data (using pg_restore or psql)."
753 echo "Remember to stop the daemon before upgrading!"
755 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
756 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
761 %triggerpostun -- postgresql < 10.5-2
762 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
763 /usr/sbin/usermod -d /var/lib/postgresql postgres
766 echo "This version of PostgreSQL uses new default location for database clusters."
767 echo "Please move your existing clusters before starting PostgreSQL so they follow"
770 echo "/var/lib/postgresql/<version>/<name>"
772 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
773 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
774 echo "files so they reflect your changes."
778 /sbin/chkconfig --add postgresql-%{pgsqlversion}
779 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
782 if [ "$1" = "0" ]; then
783 %service postgresql-%{pgsqlversion} stop
784 /sbin/chkconfig --del postgresql-%{pgsqlversion}
787 %pre -n postgresql-common
788 %groupadd -g 88 -r postgres
789 %useradd -M -o -r -u 88 -d /var/lib/postgresql -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
792 update-alternatives \
793 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
794 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
795 update-alternatives \
796 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
797 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
798 update-alternatives \
799 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
800 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
801 update-alternatives \
802 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
803 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
804 update-alternatives \
805 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
806 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
807 update-alternatives \
808 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
809 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
810 update-alternatives \
811 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
812 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
813 update-alternatives \
814 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
815 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
816 update-alternatives \
817 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
818 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
819 update-alternatives \
820 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
821 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
822 update-alternatives \
823 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
824 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
825 update-alternatives \
826 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
827 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
828 update-alternatives \
829 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
830 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
833 if [ $1 -eq 0 ]; then
834 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
835 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
836 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
837 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
838 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
839 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
840 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
841 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
842 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
843 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
844 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
845 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
846 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
849 %postun -n postgresql-devel
850 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
852 %post -n postgresql-libs -p /sbin/ldconfig
853 %postun -n postgresql-libs -p /sbin/ldconfig
855 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
856 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
859 %defattr(644,root,root,755)
860 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
861 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
862 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
864 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
865 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
866 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
867 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
868 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
869 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
870 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
871 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
872 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
873 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
874 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
875 %attr(755,root,root) %{pgsqllibdir}/bin/pg_verify_checksums
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/pg_verify_checksums.1*
924 %{pgsqldatadir}/man/man1/pgbench.1*
925 %{pgsqldatadir}/man/man1/postgres.1*
926 %{pgsqldatadir}/man/man1/postmaster.1*
928 %files -n postgresql-common
929 %defattr(644,root,root,755)
930 %dir %{_libdir}/postgresql
931 %dir %{_datadir}/postgresql
932 %attr(700,postgres,postgres) %dir /var/lib/postgresql
933 %attr(700,postgres,postgres) %dir /var/run/postgresql
936 %defattr(644,root,root,755)
938 %dir %{pgsqllibdir}/bin
939 %dir %{pgsqllibdir}/lib
941 %dir %{pgsqldatadir}/man
942 %dir %{pgsqldatadir}/man/man1
943 %dir %{pgsqldatadir}/man/man3
944 %dir %{pgsqldatadir}/man/man7
945 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
948 %defattr(644,root,root,755)
949 %doc doc/src/sgml/html howto
950 %{_examplesdir}/%{name}-%{version}
952 %files -n postgresql-libs -f libpq5-%{pgsqlversion}.lang
953 %defattr(644,root,root,755)
954 %attr(755,root,root) %{_libdir}/libpq.so.*.*
955 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
957 %files ecpg -f ecpg-%{pgsqlversion}.lang
958 %defattr(644,root,root,755)
959 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
960 %{pgsqldatadir}/man/man1/ecpg.1*
962 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgsqlversion}.lang
963 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
964 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
965 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
966 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
967 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
968 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
970 %files -n postgresql-ecpg-devel
971 %defattr(644,root,root,755)
972 %attr(755,root,root) %{_libdir}/libecpg.so
973 %attr(755,root,root) %{_libdir}/libecpg_compat.so
974 %attr(755,root,root) %{_libdir}/libpgtypes.so
976 %{_libdir}/pkgconfig/libecpg.pc
977 %{_libdir}/pkgconfig/libecpg_compat.pc
978 %{_libdir}/pkgconfig/libpgtypes.pc
980 %files -n postgresql-ecpg-static
981 %defattr(644,root,root,755)
983 %{_libdir}/libecpg_compat.a
984 %{_libdir}/libpgtypes.a
986 %files -n postgresql-devel -f pg_config-%{pgsqlversion}.lang
987 %defattr(644,root,root,755)
988 %attr(755,root,root) %{_bindir}/pg_config
989 %attr(755,root,root) %{_libdir}/libpq.so
990 %dir %{_includedir}/postgresql
991 %{_includedir}/libpq-events.h
992 %{_includedir}/libpq-fe.h
993 %{_includedir}/pg_config.h
994 %{_includedir}/pg_config_ext.h
995 %{_includedir}/pg_config_manual.h
996 %{_includedir}/pg_config_os.h
997 %{_includedir}/postgres_ext.h
998 %dir %{_includedir}/postgresql/internal
999 %{_includedir}/postgresql/internal/c.h
1000 %{_includedir}/postgresql/internal/libpq-int.h
1001 %{_includedir}/postgresql/internal/port.h
1002 %{_includedir}/postgresql/internal/postgres_fe.h
1003 %{_includedir}/postgresql/internal/pqexpbuffer.h
1004 %{_includedir}/postgresql/internal/libpq
1005 %{_includedir}/libpq
1006 %{_libdir}/pkgconfig/libpq.pc
1007 %{_mandir}/man1/pg_config.1*
1009 %files backend-devel
1010 %defattr(644,root,root,755)
1011 %dir %{_includedir}/postgresql/%{pgsqlversion}
1012 %{_includedir}/postgresql/%{pgsqlversion}/server
1013 %dir %{moduledir}/pgxs
1014 %attr(755,root,root) %{moduledir}/pgxs/config
1015 %{moduledir}/pgxs/src
1016 %{pgsqldatadir}/man/man3/SPI_*.3*
1018 %files -n postgresql-static
1019 %defattr(644,root,root,755)
1021 %{_libdir}/libpgcommon.a
1022 %{_libdir}/libpgfeutils.a
1023 %{_libdir}/libpgport.a
1025 %files clients -f clients.lang
1026 %defattr(644,root,root,755)
1027 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
1028 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
1029 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
1030 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
1031 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
1032 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
1033 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
1034 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
1035 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
1036 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
1037 %attr(755,root,root) %{pgsqllibdir}/bin/psql
1038 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
1039 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
1041 %{pgsqldatadir}/man/man1/clusterdb.1*
1042 %{pgsqldatadir}/man/man1/createdb.1*
1043 %{pgsqldatadir}/man/man1/createuser.1*
1044 %{pgsqldatadir}/man/man1/dropdb.1*
1045 %{pgsqldatadir}/man/man1/dropuser.1*
1046 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
1047 %{pgsqldatadir}/man/man1/pg_dump.1*
1048 %{pgsqldatadir}/man/man1/pg_dumpall.1*
1049 %{pgsqldatadir}/man/man1/pg_isready.1*
1050 %{pgsqldatadir}/man/man1/pg_restore.1*
1051 %{pgsqldatadir}/man/man1/psql.1*
1052 %{pgsqldatadir}/man/man1/reindexdb.1*
1053 %{pgsqldatadir}/man/man1/vacuumdb.1*
1054 %{pgsqldatadir}/man/man7/*.7*
1057 %files module-plperl -f plperl-%{pgsqlversion}.lang
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{moduledir}/plperl.so
1060 %{extensiondir}/plperl--*.sql
1061 %{extensiondir}/plperl.control
1062 %{extensiondir}/plperlu--*.sql
1063 %{extensiondir}/plperlu.control
1067 %files module-plpython -f plpython-%{pgsqlversion}.lang
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) %{moduledir}/plpython2.so
1070 %{extensiondir}/plpython*--*.sql
1071 %{extensiondir}/plpython*.control
1075 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) %{moduledir}/pltcl.so
1078 %{extensiondir}/pltcl*--*.sql
1079 %{extensiondir}/pltcl*.control
1082 %files module-dblink
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{moduledir}/dblink.so
1085 %{extensiondir}/dblink--*.sql
1086 %{extensiondir}/dblink.control
1087 %{pgsqldatadir}/man/man3/dblink*.3*
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{moduledir}/lo.so
1092 %{extensiondir}/lo--*.sql
1093 %{extensiondir}/lo.control
1095 %files module-pg_trgm
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{moduledir}/pg_trgm.so
1098 %{extensiondir}/pg_trgm--*.sql
1099 %{extensiondir}/pg_trgm.control
1101 %files module-pgcrypto
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{moduledir}/pgcrypto.so
1104 %{extensiondir}/pgcrypto--*.sql
1105 %{extensiondir}/pgcrypto.control
1108 %files module-sepgsql
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{moduledir}/sepgsql.so
1111 %{extensiondir}/sepgsql.sql
1114 %files module-tablefunc
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{moduledir}/tablefunc.so
1117 %{extensiondir}/*tablefunc--*.sql
1118 %{extensiondir}/*tablefunc.control
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{moduledir}/pgxml.so
1123 %{extensiondir}/xml2--*.sql
1124 %{extensiondir}/xml2.control
1127 %defattr(644,root,root,755)
1129 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1130 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1131 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1132 %attr(755,root,root) %{moduledir}/_int.so
1133 %attr(755,root,root) %{moduledir}/adminpack.so
1134 %attr(755,root,root) %{moduledir}/auth_delay.so
1135 %attr(755,root,root) %{moduledir}/auto_explain.so
1136 %attr(755,root,root) %{moduledir}/bloom.so
1137 %attr(755,root,root) %{moduledir}/btree_gin.so
1138 %attr(755,root,root) %{moduledir}/btree_gist.so
1139 %attr(755,root,root) %{moduledir}/citext.so
1140 %attr(755,root,root) %{moduledir}/cube.so
1141 %attr(755,root,root) %{moduledir}/earthdistance.so
1142 %attr(755,root,root) %{moduledir}/file_fdw.so
1143 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1144 %attr(755,root,root) %{moduledir}/hstore.so
1145 %attr(755,root,root) %{moduledir}/isn.so
1146 %attr(755,root,root) %{moduledir}/ltree.so
1147 %attr(755,root,root) %{moduledir}/pageinspect.so
1148 %attr(755,root,root) %{moduledir}/passwordcheck.so
1149 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1150 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1151 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1152 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1153 %attr(755,root,root) %{moduledir}/pg_visibility.so
1154 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1155 %attr(755,root,root) %{moduledir}/pgstattuple.so
1156 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1157 %attr(755,root,root) %{moduledir}/seg.so
1158 %attr(755,root,root) %{moduledir}/sslinfo.so
1159 %attr(755,root,root) %{moduledir}/tcn.so
1160 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1161 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1162 %attr(755,root,root) %{moduledir}/unaccent.so
1163 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1164 %{extensiondir}/adminpack--*.sql
1165 %{extensiondir}/adminpack.control
1166 %{extensiondir}/bloom--*.sql
1167 %{extensiondir}/bloom.control
1168 %{extensiondir}/btree_gin--*.sql
1169 %{extensiondir}/btree_gin.control
1170 %{extensiondir}/btree_gist--*.sql
1171 %{extensiondir}/btree_gist.control
1172 %{extensiondir}/citext--*.sql
1173 %{extensiondir}/citext.control
1174 %{extensiondir}/cube--*.sql
1175 %{extensiondir}/cube.control
1176 %{extensiondir}/dict_int--*.sql
1177 %{extensiondir}/dict_int.control
1178 %{extensiondir}/dict_xsyn--*.sql
1179 %{extensiondir}/dict_xsyn.control
1180 %{extensiondir}/earthdistance--*.sql
1181 %{extensiondir}/earthdistance.control
1182 %{extensiondir}/file_fdw--*.sql
1183 %{extensiondir}/file_fdw.control
1184 %{extensiondir}/fuzzystrmatch--*.sql
1185 %{extensiondir}/fuzzystrmatch.control
1186 %{extensiondir}/hstore--*.sql
1187 %{extensiondir}/hstore.control
1188 %{extensiondir}/intarray--*.sql
1189 %{extensiondir}/intarray.control
1190 %{extensiondir}/intagg--*.sql
1191 %{extensiondir}/intagg.control
1192 %{extensiondir}/isn--*.sql
1193 %{extensiondir}/isn.control
1194 %{extensiondir}/ltree--*.sql
1195 %{extensiondir}/ltree.control
1196 %{extensiondir}/pageinspect--*.sql
1197 %{extensiondir}/pageinspect.control
1198 %{extensiondir}/pg_buffercache--*.sql
1199 %{extensiondir}/pg_buffercache.control
1200 %{extensiondir}/pg_freespacemap--*.sql
1201 %{extensiondir}/pg_freespacemap.control
1202 %{extensiondir}/pg_prewarm--*.sql
1203 %{extensiondir}/pg_prewarm.control
1204 %{extensiondir}/pg_stat_statements--*.sql
1205 %{extensiondir}/pg_stat_statements.control
1206 %{extensiondir}/pg_visibility--*.sql
1207 %{extensiondir}/pg_visibility.control
1208 %{extensiondir}/pgrowlocks--*.sql
1209 %{extensiondir}/pgrowlocks.control
1210 %{extensiondir}/pgstattuple--*.sql
1211 %{extensiondir}/pgstattuple.control
1212 %{extensiondir}/postgres_fdw--*.sql
1213 %{extensiondir}/postgres_fdw.control
1214 %{extensiondir}/seg--*.sql
1215 %{extensiondir}/seg.control
1216 %{extensiondir}/sslinfo--*.sql
1217 %{extensiondir}/sslinfo.control
1218 %{extensiondir}/tcn--*.sql
1219 %{extensiondir}/tcn.control
1220 %{extensiondir}/tsm_system_rows--*.sql
1221 %{extensiondir}/tsm_system_rows.control
1222 %{extensiondir}/tsm_system_time--*.sql
1223 %{extensiondir}/tsm_system_time.control
1224 %{extensiondir}/unaccent--*.sql
1225 %{extensiondir}/unaccent.control
1226 %{extensiondir}/uuid-ossp--*.sql
1227 %{extensiondir}/uuid-ossp.control
1229 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1230 %{extensiondir}/hstore_plperl--*.sql
1231 %{extensiondir}/hstore_plperl.control
1232 %{extensiondir}/hstore_plperlu--*.sql
1233 %{extensiondir}/hstore_plperlu.control
1236 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1237 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1238 %{extensiondir}/hstore_plpythonu--*.sql
1239 %{extensiondir}/hstore_plpythonu.control
1240 %{extensiondir}/hstore_plpython2u--*.sql
1241 %{extensiondir}/hstore_plpython2u.control
1242 %{extensiondir}/hstore_plpython3u--*.sql
1243 %{extensiondir}/hstore_plpython3u.control
1244 %{extensiondir}/ltree_plpythonu--*.sql
1245 %{extensiondir}/ltree_plpythonu.control
1246 %{extensiondir}/ltree_plpython2u--*.sql
1247 %{extensiondir}/ltree_plpython2u.control
1248 %{extensiondir}/ltree_plpython3u--*.sql
1249 %{extensiondir}/ltree_plpython3u.control
1251 %{pgsqldatadir}/man/man1/oid2name.1*
1252 %{pgsqldatadir}/man/man1/pg_standby.1*
1253 %{pgsqldatadir}/man/man1/vacuumlo.1*