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