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 15
18 %define pgsqlpriority 150
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}.6
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 666511aeb53bd4ac029e236e35b42ca8
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-tests.patch
46 Patch5: postgresql-heimdal.patch
47 Patch6: postgresql-link.patch
48 Patch7: socket-dir-fixes.patch
49 Patch8: postgresql-autoconf.patch
50 URL: http://www.postgresql.org/
51 BuildRequires: autoconf >= 2.69
52 BuildRequires: automake
53 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
54 # not needed for releases... but fixes something in snapshot
55 BuildRequires: bison >= 1.875
56 BuildRequires: docbook-dtd42-sgml
57 BuildRequires: docbook-dtd42-xml
58 BuildRequires: docbook-style-xsl
59 BuildRequires: flex >= 2.5.31
60 BuildRequires: gettext-tools
61 BuildRequires: gnome-doc-tools
62 %{?with_kerberos5:BuildRequires: heimdal-devel}
63 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
64 BuildRequires: libtool
65 BuildRequires: libxml2-devel >= 1:2.6.23
66 BuildRequires: libxslt-devel
67 BuildRequires: libxslt-progs
68 BuildRequires: ncurses-devel >= 5.0
69 %{?with_ldap:BuildRequires: openldap-devel}
70 BuildRequires: openssl-devel >= 0.9.7d
71 BuildRequires: ossp-uuid-devel
72 BuildRequires: pam-devel
73 %{?with_perl:BuildRequires: perl-devel}
75 BuildRequires: python3
76 BuildRequires: python3-devel
77 BuildRequires: python3-modules
79 BuildRequires: readline-devel >= 4.2
80 BuildRequires: rpmbuild(macros) >= 1.671
81 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
82 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
83 %{?with_tests:BuildRequires: tzdata}
84 BuildRequires: zlib-devel
85 Requires(post,preun): /sbin/chkconfig
86 Requires(pre): /bin/id
87 Requires(pre): /usr/bin/getgid
88 Requires(post): /bin/id
89 Requires(post): /usr/sbin/usermod
90 Requires: %{name}-clients = %{version}-%{release}
91 Requires: %{name}-dirs = %{version}-%{release}
92 Requires: postgresql-libs >= %{version}-%{release}
93 Requires: rc-scripts >= 0.4.3.0
96 Obsoletes: postgresql-module-plpgsql
97 Obsoletes: postgresql-module-tsearch2
98 Obsoletes: postgresql-server
99 Obsoletes: postgresql-test
100 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102 %define pgsqldatadir %{_datadir}/postgresql/%{pgsqlversion}
103 %define pgsqllibdir %{_libdir}/postgresql/%{pgsqlversion}
104 %define moduledir %{pgsqllibdir}/lib
105 %define extensiondir %{pgsqldatadir}/extension
107 %define _ulibdir /usr/lib
110 # spi, test_decoding, worker_spi - examples/tests
111 # tsearch2 - old module for compatibility only
112 %define contrib_modules adminpack amcheck auth_delay auto_explain basebackup_to_shell basic_archive bloom %{?with_perl:bool_plperl} 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 %{?with_perl:jsonb_plperl} %{?with_python:jsonb_plpython} lo ltree %{?with_python:ltree_plpython} oid2name old_snapshot pageinspect passwordcheck pg_buffercache pg_freespacemap pg_prewarm pg_stat_statements pg_surgery pg_trgm pg_visibility pg_walinspect pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} spi sslinfo tablefunc tcn tsm_system_rows tsm_system_time unaccent uuid-ossp vacuumlo xml2
115 PostgreSQL Data Base Management System (formerly known as Postgres,
118 PostgreSQL is an enhancement of the POSTGRES database management
119 system, a next-generation DBMS research prototype. While PostgreSQL
120 retains the powerful data model and rich data types of POSTGRES, it
121 replaces the PostQuel query language with an extended subset of SQL.
122 PostgreSQL is free and the complete source is available.
124 PostgreSQL development is being performed by a team of Internet
125 developers who all subscribe to the PostgreSQL development mailing
126 list. The current coordinator is Marc G. Fournier
127 (scrappy@postgreSQL.org). This team is now responsible for all current
128 and future development of PostgreSQL.
130 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
131 others have contributed to the porting, testing, debugging and
132 enhancement of the code. The original Postgres code, from which
133 PostgreSQL is derived, was the effort of many graduate students,
134 undergraduate students, and staff programmers working under the
135 direction of Professor Michael Stonebraker at the University of
136 California, Berkeley.
138 The original name of the software at Berkeley was Postgres. When SQL
139 functionality was added in 1995, its name was changed to Postgres95.
140 The name was changed at the end of 1996 to PostgreSQL.
142 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
143 and most flavours of Unix.
145 %description -l pl.UTF-8
146 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
147 Postgres, następnie jako Postgres95).
149 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
150 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
151 model danych oraz bogaty zbiór różnych typów danych, to jednak język
152 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
153 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
156 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
157 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
158 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
159 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
161 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
162 innych pomagało przenosząc na różne platformy, testując, analizując i
163 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
164 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
165 zespołu programistów, którzy pracowali pod kierunkiem profesora
166 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
168 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
169 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
170 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
173 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
174 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
176 %package -n postgresql-common
177 Summary: Common PostgreSQL files and directories
178 Summary(pl.UTF-8): PostgreSQL - wspólne pliki i katalogi
179 Group: Applicataion/Databases
180 Requires(pre): /usr/sbin/groupadd
181 Requires(pre): /usr/sbin/useradd
183 %description -n postgresql-common
184 Common PostgreSQL files and directories.
186 %description -n postgresql-common -l pl.UTF-8
187 PostgreSQL - wspólne pliki i katalogi.
190 Summary: Common directories for PostgresSQL %{pgsqlversion}
191 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
192 Group: Applicataion/Databases
193 Requires: postgresql-common >= %{version}-%{release}
196 Common directories for PostgresSQL %{pgsqlversion}
198 %description dirs -l pl.UTF-8
199 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
201 %package backend-devel
202 Summary: PostgreSQL backend development header files
203 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
204 Group: Development/Libraries
205 Requires: postgresql-devel >= %{version}-%{release}
206 Requires: postgresql-libs >= %{version}-%{release}
207 Obsoletes: postgresql-backend-devel
209 %description backend-devel
210 This package contains header files required to compile functions that
211 could be loaded directly by backend
213 %description backend-devel -l pl.UTF-8
214 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
215 bezposrednio ladowane przez beckend serwera PostgreSQL.
218 Summary: Clients needed to access a PostgreSQL server
219 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
220 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
221 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
222 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
223 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
224 Group: Applications/Databases
225 Requires: alternatives
226 Requires: %{name}-dirs = %{version}-%{release}
227 Requires: postgresql-libs >= %{version}-%{release}
228 Obsoletes: postgresql-clients
231 This package includes only the clients needed to access an PostgreSQL
232 server. The server is included in the main package. If all you need is
233 to connect to another PostgreSQL server, the this is the only package
234 you need to install. Clients include several command-line utilities
235 you can use to manage your databases on a remote PostgreSQL server.
237 %description clients -l pl.UTF-8
238 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
239 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
240 poleceń. Serwer znajduje się w głównym pakiecie.
243 Summary: Documentation for PostgreSQL
244 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
245 Group: Applications/Databases
246 Obsoletes: postgresql-doc
249 This package includes documentation and HOWTO for programmer, admin
250 etc., in HTML format.
252 %description doc -l pl.UTF-8
253 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
254 administratorów w formacie HTML.
257 Summary: Embedded SQL in C interface
258 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
260 Requires: %{name}-dirs = %{version}-%{release}
261 Requires: postgresql-libs >= %{version}-%{release}
262 Requires: postgresql-ecpg-libs >= %{version}-%{release}
263 Obsoletes: postgresql-ecpg
266 Embedded SQL in C interface.
268 %description ecpg -l pl.UTF-8
269 Interfejs wbudowanego SQL-a w język C.
271 %package module-plperl
272 Summary: PL/perl - PostgreSQL procedural language
273 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
274 Group: Applications/Databases
275 Requires: %{name} = %{version}-%{release}
276 Obsoletes: postgresql-module-plperl
278 %description module-plperl
279 From PostgreSQL documentation:
281 Postgres supports the definition of procedural languages. In the case
282 of a function or trigger procedure defined in a procedural language,
283 the database has no built-in knowledge about how to interpret the
284 function's source text. Instead, the task is passed to a handler that
285 knows the details of the language. The handler itself is a special
286 programming language function compiled into a shared object and loaded
289 To enable PL/Perl procedural language for your database you have to
290 run createlang command.
292 %description module-plperl -l pl.UTF-8
293 Z dokumentacji PostgreSQL:
295 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
296 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
297 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
298 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
299 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
300 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
303 Za pomocą polecenia createlang można dodać obsługę języka
304 proceduralnego PL/Perl dla swojej bazy danych.
306 %package module-plpython
307 Summary: PL/Python - PostgreSQL procedural language
308 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
309 Group: Applications/Databases
310 Requires: %{name} = %{version}-%{release}
311 %pyrequires_eq python3
312 Obsoletes: postgresql-module-plpython
314 %description module-plpython
315 From PostgreSQL documentation:
317 Postgres supports the definition of procedural languages. In the case
318 of a function or trigger procedure defined in a procedural language,
319 the database has no built-in knowledge about how to interpret the
320 function's source text. Instead, the task is passed to a handler that
321 knows the details of the language. The handler itself is a special
322 programming language function compiled into a shared object and loaded
325 To enable PL/Python procedural language for your database you have to
326 run createlang command.
328 %description module-plpython -l pl.UTF-8
329 Z dokumentacji PostgreSQL:
331 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
332 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
333 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
334 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
335 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
336 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
339 Za pomocą polecenia createlang można dodać obsługę języka
340 proceduralnego PL/Python dla swojej bazy danych.
342 %package module-pltcl
343 Summary: PL/Tcl - PostgreSQL procedural language
344 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
345 Group: Applications/Databases
346 Requires: %{name} = %{version}-%{release}
348 Obsoletes: postgresql-module-pltcl
350 %description module-pltcl
351 From PostgreSQL documentation:
353 Postgres supports the definition of procedural languages. In the case
354 of a function or trigger procedure defined in a procedural language,
355 the database has no built-in knowledge about how to interpret the
356 function's source text. Instead, the task is passed to a handler that
357 knows the details of the language. The handler itself is a special
358 programming language function compiled into a shared object and loaded
361 To enable PL/Tcl procedural language for your database you have to run
364 %description module-pltcl -l pl.UTF-8
365 Z dokumentacji PostgreSQL:
367 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
368 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
369 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
370 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
371 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
372 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
375 Za pomocą polecenia createlang można dodać obsługę języka
376 proceduralnego PL/Tcl dla swojej bazy danych.
378 %package module-dblink
379 Summary: dblink module for PostgreSQL
380 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
381 Group: Applications/Databases
382 Requires: %{name} = %{version}-%{release}
383 Obsoletes: postgresql-module-dblink
385 %description module-dblink
386 dblink module for PostgreSQL provides functions returning results from
389 %description module-dblink -l pl.UTF-8
390 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
394 Summary: Large Objects module for PostgreSQL
395 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
396 Group: Applications/Databases
397 Requires: %{name} = %{version}-%{release}
398 Obsoletes: postgresql-module-lo
400 %description module-lo
401 Large Objects module for PostgreSQL adds a new data type 'lo', some
402 support functions and a trigger which handles the orphaning problem.
404 %description module-lo -l pl.UTF-8
405 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
406 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
407 osieroconych obiektów.
409 %package module-pg_trgm
410 Summary: Trigram matching for PostgreSQL
411 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
412 Group: Applications/Databases
413 Requires: %{name} = %{version}-%{release}
414 Obsoletes: postgresql-module-pg_trgm
416 %description module-pg_trgm
417 This module provides functions and index classes for determining the
418 similarity of text based on trigram matching.
420 %description module-pg_trgm -l pl.UTF-8
421 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
422 w oparciu o dopasowywanie trigramowe (trigram matching).
424 %package module-pgcrypto
425 Summary: Cryptographic functions for PostgreSQL
426 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
427 Group: Applications/Databases
428 Requires: %{name} = %{version}-%{release}
429 Obsoletes: postgresql-module-pgcrypto
431 %description module-pgcrypto
432 Cryptographic functions for PostgreSQL.
434 %description module-pgcrypto -l pl.UTF-8
435 Funkcje kryptograficzne dla PostgreSQL.
437 %package module-sepgsql
438 Summary: PostgreSQL external security provider using SELinux
439 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
440 Group: Applications/Databases
441 Requires: %{name} = %{version}-%{release}
442 Requires: libselinux >= 2.1.10
443 Obsoletes: postgresql-module-sepgsql
445 %description module-sepgsql
446 PostgreSQL external security provider using SELinux.
448 %description module-sepgsql -l pl.UTF-8
449 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
451 %package module-tablefunc
452 Summary: crosstab functions for PostgreSQL
453 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
454 Group: Applications/Databases
455 Requires: %{name} = %{version}-%{release}
456 Obsoletes: postgresql-module-tablefunc
458 %description module-tablefunc
459 crosstab functions for PostgreSQL.
461 %description module-tablefunc -l pl.UTF-8
462 Funkcje crosstab dla PostgreSQL-a.
465 Summary: XML-handling functions for PostgreSQL
466 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
467 Group: Applications/Databases
468 Requires: %{name} = %{version}-%{release}
469 Requires: libxml2 >= 1:2.6.23
470 Obsoletes: postgresql-module-xml2
472 %description module-xml2
473 Module with XML functions provides both XPath querying and XSLT
474 functionality. There is also a new table function which allows the
475 straightforward return of multiple XML results.
477 %description module-xml2 -l pl.UTF-8
478 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
479 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
480 bezpośrednie zwracanie wielu wyników XML.
483 Summary: Miscellaneous PostgreSQL contrib modules
484 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
485 Group: Applications/Databases
486 Requires: %{name} = %{version}-%{release}
487 Obsoletes: postgresql-contrib
490 Miscellaneous PostgreSQL contrib modules.
492 %description contrib -l pl.UTF-8
493 Różne moduły dołączone do PostgreSQL-a.
496 %setup -q -n postgresql-%{version}
498 %{?with_absolute_dbpaths:%patch1 -p1}
507 # force rebuild of bison/flex files
508 find src -name \*.l -o -name \*.y | xargs touch
511 #find contrib -type d -name CVS -exec rm -rf {} \;
514 %{__aclocal} -I config
518 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
519 --prefix=%{pgsqldatadir} \
520 --bindir=%{pgsqllibdir}/bin \
521 --sbindir=%{pgsqllibdir}/sbin \
522 --includedir=%{_includedir} \
523 --mandir=%{pgsqldatadir}/man \
524 --datadir=%{pgsqldatadir} \
525 --libdir=%{_libdir} \
526 --docdir=%{pgsqldatadir}/doc \
527 --localedir=%{_datadir}/locale \
530 %{?with_systemtap:--enable-dtrace} \
531 --enable-integer-datetimes \
533 --enable-thread-safety \
534 %{?with_bonjour:--with-bonjour} \
535 %{?with_kerberos5:--with-gssapi} \
536 %{?with_ldap:--with-ldap} \
541 %{?with_perl:--with-perl} \
542 %{?with_python:--with-python} \
543 %{?with_selinux:--with-selinux} \
544 --with-system-tzdata=%{_datadir}/zoneinfo \
546 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
551 for mod in %{contrib_modules}; do \
552 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
553 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
554 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
555 %{__make} -C contrib/$mod CFLAGS="$flags"
558 %{__make} -C src/tutorial \
561 %ifnarch sparc sparcv9 sparc64 alpha
562 %{?with_tests:%{__make} -j1 check}
566 rm -rf $RPM_BUILD_ROOT
567 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
568 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
569 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
570 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
572 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
575 DESTDIR=$RPM_BUILD_ROOT
576 %{__make} -C doc/src/sgml install-man \
577 DESTDIR=$RPM_BUILD_ROOT
580 %{__make} install -C src/pl/plperl \
581 DESTDIR=$RPM_BUILD_ROOT
584 for mod in %{contrib_modules}; do \
585 %{__make} -C contrib/$mod install \
586 DESTDIR=$RPM_BUILD_ROOT
589 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
590 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
593 tar zxf %{SOURCE2} -C howto
596 %py3_comp $RPM_BUILD_ROOT%{py3_libdir}
597 %py3_ocomp $RPM_BUILD_ROOT%{py3_libdir}
601 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
602 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
603 pg_amcheck pg_archivecleanup pg_basebackup pg_checksums pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_verifybackup pg_waldump; do
604 %find_lang $f-%{pgsqlversion}
608 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
610 merge_lang pgscripts postgres plpgsql \
611 pg_amcheck pg_basebackup pg_checksums pg_controldata pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_verifybackup pg_waldump > main.lang
612 merge_lang psql initdb \
613 pg_archivecleanup pg_ctl pg_dump > clients.lang
616 %find_lang pltcl-%{pgsqlversion}
620 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
623 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
625 # package it...? nah, why bother.
626 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
627 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/extension/*.example
629 # remove common files provided by PostgreSQL from master branch
630 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
631 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
632 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
635 rm -rf $RPM_BUILD_ROOT
639 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
640 . /etc/sysconfig/postgresql-%{pgsqlversion}
641 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
642 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
646 for pgdir in $PG_DB_CLUSTERS; do
647 if [ -f $pgdir/PG_VERSION ]; then
648 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
649 echo "Found database(s) in older, incompatible format in cluster $pgdir."
654 if [ "$foundold" = "1" ]; then
656 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
657 echo "and clean (or rename) those directories; then upgrade postgresql and"
658 echo "restore all data (using pg_restore or psql)."
659 echo "Remember to stop the daemon before upgrading!"
661 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
662 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
667 %triggerpostun -- postgresql < 10.5-2
668 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
669 /usr/sbin/usermod -d /var/lib/postgresql postgres
672 echo "This version of PostgreSQL uses new default location for database clusters."
673 echo "Please move your existing clusters before starting PostgreSQL so they follow"
676 echo "/var/lib/postgresql/<version>/<name>"
678 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
679 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
680 echo "files so they reflect your changes."
684 /sbin/chkconfig --add postgresql-%{pgsqlversion}
685 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
688 if [ "$1" = "0" ]; then
689 %service postgresql-%{pgsqlversion} stop
690 /sbin/chkconfig --del postgresql-%{pgsqlversion}
694 update-alternatives \
695 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
696 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
697 update-alternatives \
698 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
699 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
700 update-alternatives \
701 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
702 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
703 update-alternatives \
704 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
705 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
706 update-alternatives \
707 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
708 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
709 update-alternatives \
710 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
711 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
712 update-alternatives \
713 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
714 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
715 update-alternatives \
716 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
717 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
718 update-alternatives \
719 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
720 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
721 update-alternatives \
722 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
723 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
724 update-alternatives \
725 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
726 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
727 update-alternatives \
728 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
729 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
730 update-alternatives \
731 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
732 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
735 if [ $1 -eq 0 ]; then
736 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
737 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
738 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
739 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
740 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
741 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
742 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
743 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
744 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
745 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
746 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
747 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
748 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
752 %defattr(644,root,root,755)
753 %doc COPYRIGHT README HISTORY doc/{KNOWN_BUGS,MISSING_FEATURES,TODO}
754 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
755 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
757 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
758 %attr(755,root,root) %{pgsqllibdir}/bin/pg_amcheck
759 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
760 %attr(755,root,root) %{pgsqllibdir}/bin/pg_checksums
761 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
762 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
763 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
764 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
765 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
766 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
767 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
768 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
769 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
770 %attr(755,root,root) %{pgsqllibdir}/bin/pg_verifybackup
771 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
772 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
773 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
774 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
776 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
777 %attr(755,root,root) %{moduledir}/dict_int.so
778 %attr(755,root,root) %{moduledir}/dict_snowball.so
779 %attr(755,root,root) %{moduledir}/dict_xsyn.so
780 %attr(755,root,root) %{moduledir}/euc*.so
781 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
782 %attr(755,root,root) %{moduledir}/latin_and_mic.so
783 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
784 %attr(755,root,root) %{moduledir}/pgoutput.so
785 %attr(755,root,root) %{moduledir}/plpgsql.so
786 %attr(755,root,root) %{moduledir}/utf8_and_*.so
789 %{extensiondir}/plpgsql--*.sql
790 %{extensiondir}/plpgsql.control
792 %{pgsqldatadir}/*.bki
793 %{pgsqldatadir}/*.sample
794 %{pgsqldatadir}/*.sql
795 %{pgsqldatadir}/*.txt
796 %{pgsqldatadir}/timezonesets
797 %{pgsqldatadir}/tsearch_data
799 %dir %{pgsqldatadir}/contrib
801 %{pgsqldatadir}/man/man1/initdb.1*
802 %{pgsqldatadir}/man/man1/pg_amcheck.1*
803 %{pgsqldatadir}/man/man1/pg_basebackup.1*
804 %{pgsqldatadir}/man/man1/pg_checksums.1*
805 %{pgsqldatadir}/man/man1/pg_controldata.1*
806 %{pgsqldatadir}/man/man1/pg_ctl.1*
807 %{pgsqldatadir}/man/man1/pg_resetwal.1*
808 %{pgsqldatadir}/man/man1/pg_receivewal.1*
809 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
810 %{pgsqldatadir}/man/man1/pg_rewind.1*
811 %{pgsqldatadir}/man/man1/pg_verifybackup.1*
812 %{pgsqldatadir}/man/man1/pg_waldump.1*
813 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
814 %{pgsqldatadir}/man/man1/pg_test_timing.1*
815 %{pgsqldatadir}/man/man1/pg_upgrade.1*
816 %{pgsqldatadir}/man/man1/pgbench.1*
817 %{pgsqldatadir}/man/man1/postgres.1*
818 %{pgsqldatadir}/man/man1/postmaster.1*
821 %defattr(644,root,root,755)
823 %dir %{pgsqllibdir}/bin
824 %dir %{pgsqllibdir}/lib
826 %dir %{pgsqldatadir}/man
827 %dir %{pgsqldatadir}/man/man1
828 %dir %{pgsqldatadir}/man/man3
829 %dir %{pgsqldatadir}/man/man7
830 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
833 %defattr(644,root,root,755)
834 %doc doc/src/sgml/html howto
835 %{_examplesdir}/%{name}-%{version}
837 %files ecpg -f ecpg-%{pgsqlversion}.lang
838 %defattr(644,root,root,755)
839 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
840 %{pgsqldatadir}/man/man1/ecpg.1*
843 %defattr(644,root,root,755)
844 %dir %{_includedir}/postgresql/%{pgsqlversion}
845 %{_includedir}/postgresql/%{pgsqlversion}/server
846 %dir %{moduledir}/pgxs
847 %attr(755,root,root) %{moduledir}/pgxs/config
848 %{moduledir}/pgxs/src
849 %{pgsqldatadir}/man/man3/SPI_*.3*
851 %files clients -f clients.lang
852 %defattr(644,root,root,755)
853 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
854 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
855 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
856 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
857 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
858 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
859 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
860 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
861 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
862 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
863 %attr(755,root,root) %{pgsqllibdir}/bin/psql
864 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
865 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
867 %{pgsqldatadir}/man/man1/clusterdb.1*
868 %{pgsqldatadir}/man/man1/createdb.1*
869 %{pgsqldatadir}/man/man1/createuser.1*
870 %{pgsqldatadir}/man/man1/dropdb.1*
871 %{pgsqldatadir}/man/man1/dropuser.1*
872 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
873 %{pgsqldatadir}/man/man1/pg_dump.1*
874 %{pgsqldatadir}/man/man1/pg_dumpall.1*
875 %{pgsqldatadir}/man/man1/pg_isready.1*
876 %{pgsqldatadir}/man/man1/pg_restore.1*
877 %{pgsqldatadir}/man/man1/psql.1*
878 %{pgsqldatadir}/man/man1/reindexdb.1*
879 %{pgsqldatadir}/man/man1/vacuumdb.1*
880 %{pgsqldatadir}/man/man7/*.7*
883 %files module-plperl -f plperl-%{pgsqlversion}.lang
884 %defattr(644,root,root,755)
885 %attr(755,root,root) %{moduledir}/plperl.so
886 %{extensiondir}/plperl--*.sql
887 %{extensiondir}/plperl.control
888 %{extensiondir}/plperlu--*.sql
889 %{extensiondir}/plperlu.control
893 %files module-plpython -f plpython-%{pgsqlversion}.lang
894 %defattr(644,root,root,755)
895 %attr(755,root,root) %{moduledir}/plpython3.so
896 %{extensiondir}/plpython*--*.sql
897 %{extensiondir}/plpython*.control
901 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
902 %defattr(644,root,root,755)
903 %attr(755,root,root) %{moduledir}/pltcl.so
904 %{extensiondir}/pltcl*--*.sql
905 %{extensiondir}/pltcl*.control
909 %defattr(644,root,root,755)
910 %attr(755,root,root) %{moduledir}/dblink.so
911 %{extensiondir}/dblink--*.sql
912 %{extensiondir}/dblink.control
913 %{pgsqldatadir}/man/man3/dblink*.3*
916 %defattr(644,root,root,755)
917 %attr(755,root,root) %{moduledir}/lo.so
918 %{extensiondir}/lo--*.sql
919 %{extensiondir}/lo.control
921 %files module-pg_trgm
922 %defattr(644,root,root,755)
923 %attr(755,root,root) %{moduledir}/pg_trgm.so
924 %{extensiondir}/pg_trgm--*.sql
925 %{extensiondir}/pg_trgm.control
927 %files module-pgcrypto
928 %defattr(644,root,root,755)
929 %attr(755,root,root) %{moduledir}/pgcrypto.so
930 %{extensiondir}/pgcrypto--*.sql
931 %{extensiondir}/pgcrypto.control
934 %files module-sepgsql
935 %defattr(644,root,root,755)
936 %attr(755,root,root) %{moduledir}/sepgsql.so
937 %{extensiondir}/sepgsql.sql
940 %files module-tablefunc
941 %defattr(644,root,root,755)
942 %attr(755,root,root) %{moduledir}/tablefunc.so
943 %{extensiondir}/*tablefunc--*.sql
944 %{extensiondir}/*tablefunc.control
947 %defattr(644,root,root,755)
948 %attr(755,root,root) %{moduledir}/pgxml.so
949 %{extensiondir}/xml2--*.sql
950 %{extensiondir}/xml2.control
953 %defattr(644,root,root,755)
954 %doc contrib/README contrib/spi/*.example
955 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
956 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
957 %attr(755,root,root) %{moduledir}/_int.so
958 %attr(755,root,root) %{moduledir}/adminpack.so
959 %attr(755,root,root) %{moduledir}/amcheck.so
960 %attr(755,root,root) %{moduledir}/auth_delay.so
961 %attr(755,root,root) %{moduledir}/auto_explain.so
962 %attr(755,root,root) %{moduledir}/autoinc.so
963 %attr(755,root,root) %{moduledir}/basebackup_to_shell.so
964 %attr(755,root,root) %{moduledir}/basic_archive.so
965 %attr(755,root,root) %{moduledir}/bloom.so
966 %attr(755,root,root) %{moduledir}/btree_gin.so
967 %attr(755,root,root) %{moduledir}/btree_gist.so
968 %attr(755,root,root) %{moduledir}/citext.so
969 %attr(755,root,root) %{moduledir}/cube.so
970 %attr(755,root,root) %{moduledir}/earthdistance.so
971 %attr(755,root,root) %{moduledir}/file_fdw.so
972 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
973 %attr(755,root,root) %{moduledir}/hstore.so
974 %attr(755,root,root) %{moduledir}/insert_username.so
975 %attr(755,root,root) %{moduledir}/isn.so
976 %attr(755,root,root) %{moduledir}/ltree.so
977 %attr(755,root,root) %{moduledir}/moddatetime.so
978 %attr(755,root,root) %{moduledir}/old_snapshot.so
979 %attr(755,root,root) %{moduledir}/pageinspect.so
980 %attr(755,root,root) %{moduledir}/passwordcheck.so
981 %attr(755,root,root) %{moduledir}/pg_buffercache.so
982 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
983 %attr(755,root,root) %{moduledir}/pg_prewarm.so
984 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
985 %attr(755,root,root) %{moduledir}/pg_surgery.so
986 %attr(755,root,root) %{moduledir}/pg_visibility.so
987 %attr(755,root,root) %{moduledir}/pg_walinspect.so
988 %attr(755,root,root) %{moduledir}/pgrowlocks.so
989 %attr(755,root,root) %{moduledir}/pgstattuple.so
990 %attr(755,root,root) %{moduledir}/postgres_fdw.so
991 %attr(755,root,root) %{moduledir}/refint.so
992 %attr(755,root,root) %{moduledir}/seg.so
993 %attr(755,root,root) %{moduledir}/sslinfo.so
994 %attr(755,root,root) %{moduledir}/tcn.so
995 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
996 %attr(755,root,root) %{moduledir}/tsm_system_time.so
997 %attr(755,root,root) %{moduledir}/unaccent.so
998 %attr(755,root,root) %{moduledir}/uuid-ossp.so
999 %{extensiondir}/adminpack--*.sql
1000 %{extensiondir}/adminpack.control
1001 %{extensiondir}/amcheck--*.sql
1002 %{extensiondir}/amcheck.control
1003 %{extensiondir}/autoinc--*.sql
1004 %{extensiondir}/autoinc.control
1005 %{extensiondir}/bloom--*.sql
1006 %{extensiondir}/bloom.control
1007 %{extensiondir}/btree_gin--*.sql
1008 %{extensiondir}/btree_gin.control
1009 %{extensiondir}/btree_gist--*.sql
1010 %{extensiondir}/btree_gist.control
1011 %{extensiondir}/citext--*.sql
1012 %{extensiondir}/citext.control
1013 %{extensiondir}/cube--*.sql
1014 %{extensiondir}/cube.control
1015 %{extensiondir}/dict_int--*.sql
1016 %{extensiondir}/dict_int.control
1017 %{extensiondir}/dict_xsyn--*.sql
1018 %{extensiondir}/dict_xsyn.control
1019 %{extensiondir}/earthdistance--*.sql
1020 %{extensiondir}/earthdistance.control
1021 %{extensiondir}/file_fdw--*.sql
1022 %{extensiondir}/file_fdw.control
1023 %{extensiondir}/fuzzystrmatch--*.sql
1024 %{extensiondir}/fuzzystrmatch.control
1025 %{extensiondir}/hstore--*.sql
1026 %{extensiondir}/hstore.control
1027 %{extensiondir}/insert_username--*.sql
1028 %{extensiondir}/insert_username.control
1029 %{extensiondir}/intarray--*.sql
1030 %{extensiondir}/intarray.control
1031 %{extensiondir}/intagg--*.sql
1032 %{extensiondir}/intagg.control
1033 %{extensiondir}/isn--*.sql
1034 %{extensiondir}/isn.control
1035 %{extensiondir}/ltree--*.sql
1036 %{extensiondir}/ltree.control
1037 %{extensiondir}/moddatetime--*.sql
1038 %{extensiondir}/moddatetime.control
1039 %{extensiondir}/old_snapshot--*.sql
1040 %{extensiondir}/old_snapshot.control
1041 %{extensiondir}/pageinspect--*.sql
1042 %{extensiondir}/pageinspect.control
1043 %{extensiondir}/pg_buffercache--*.sql
1044 %{extensiondir}/pg_buffercache.control
1045 %{extensiondir}/pg_freespacemap--*.sql
1046 %{extensiondir}/pg_freespacemap.control
1047 %{extensiondir}/pg_prewarm--*.sql
1048 %{extensiondir}/pg_prewarm.control
1049 %{extensiondir}/pg_stat_statements--*.sql
1050 %{extensiondir}/pg_stat_statements.control
1051 %{extensiondir}/pg_surgery--*.sql
1052 %{extensiondir}/pg_surgery.control
1053 %{extensiondir}/pg_visibility--*.sql
1054 %{extensiondir}/pg_visibility.control
1055 %{extensiondir}/pg_walinspect--*.sql
1056 %{extensiondir}/pg_walinspect.control
1057 %{extensiondir}/pgrowlocks--*.sql
1058 %{extensiondir}/pgrowlocks.control
1059 %{extensiondir}/pgstattuple--*.sql
1060 %{extensiondir}/pgstattuple.control
1061 %{extensiondir}/postgres_fdw--*.sql
1062 %{extensiondir}/postgres_fdw.control
1063 %{extensiondir}/refint--*.sql
1064 %{extensiondir}/refint.control
1065 %{extensiondir}/seg--*.sql
1066 %{extensiondir}/seg.control
1067 %{extensiondir}/sslinfo--*.sql
1068 %{extensiondir}/sslinfo.control
1069 %{extensiondir}/tcn--*.sql
1070 %{extensiondir}/tcn.control
1071 %{extensiondir}/tsm_system_rows--*.sql
1072 %{extensiondir}/tsm_system_rows.control
1073 %{extensiondir}/tsm_system_time--*.sql
1074 %{extensiondir}/tsm_system_time.control
1075 %{extensiondir}/unaccent--*.sql
1076 %{extensiondir}/unaccent.control
1077 %{extensiondir}/uuid-ossp--*.sql
1078 %{extensiondir}/uuid-ossp.control
1080 %attr(755,root,root) %{moduledir}/bool_plperl.so
1081 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1082 %attr(755,root,root) %{moduledir}/jsonb_plperl.so
1083 %{extensiondir}/bool_plperl--*.sql
1084 %{extensiondir}/bool_plperl.control
1085 %{extensiondir}/bool_plperlu--*.sql
1086 %{extensiondir}/bool_plperlu.control
1087 %{extensiondir}/hstore_plperl--*.sql
1088 %{extensiondir}/hstore_plperl.control
1089 %{extensiondir}/hstore_plperlu--*.sql
1090 %{extensiondir}/hstore_plperlu.control
1091 %{extensiondir}/jsonb_plperl--*.sql
1092 %{extensiondir}/jsonb_plperl.control
1093 %{extensiondir}/jsonb_plperlu--*.sql
1094 %{extensiondir}/jsonb_plperlu.control
1097 %attr(755,root,root) %{moduledir}/hstore_plpython3.so
1098 %attr(755,root,root) %{moduledir}/jsonb_plpython3.so
1099 %attr(755,root,root) %{moduledir}/ltree_plpython3.so
1100 %{extensiondir}/hstore_plpython3u--*.sql
1101 %{extensiondir}/hstore_plpython3u.control
1102 %{extensiondir}/jsonb_plpython3u--*.sql
1103 %{extensiondir}/jsonb_plpython3u.control
1104 %{extensiondir}/ltree_plpython3u--*.sql
1105 %{extensiondir}/ltree_plpython3u.control
1107 %{pgsqldatadir}/man/man1/oid2name.1*
1108 %{pgsqldatadir}/man/man1/vacuumlo.1*