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 12
18 %define pgsqlpriority 120
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}.11
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 16f210fbc23c0576750d920194497300
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 Patch9: postgresql-python3.patch
51 URL: http://www.postgresql.org/
52 BuildRequires: autoconf >= 2.69
53 BuildRequires: automake
54 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
55 # not needed for releases... but fixes something in snapshot
56 BuildRequires: bison >= 1.875
57 BuildRequires: docbook-dtd42-sgml
58 BuildRequires: docbook-dtd42-xml
59 BuildRequires: docbook-style-xsl
60 BuildRequires: flex >= 2.5.31
61 BuildRequires: gettext-tools
62 BuildRequires: gnome-doc-tools
63 %{?with_kerberos5:BuildRequires: heimdal-devel}
64 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
65 BuildRequires: libtool
66 BuildRequires: libxml2-devel >= 1:2.6.23
67 BuildRequires: libxslt-devel
68 BuildRequires: libxslt-progs
69 BuildRequires: ncurses-devel >= 5.0
70 %{?with_ldap:BuildRequires: openldap-devel}
71 BuildRequires: openssl-devel >= 0.9.7d
72 BuildRequires: ossp-uuid-devel
73 BuildRequires: pam-devel
74 %{?with_perl:BuildRequires: perl-devel}
76 BuildRequires: python3
77 BuildRequires: python3-devel
78 BuildRequires: python3-modules
80 BuildRequires: readline-devel >= 4.2
81 BuildRequires: rpmbuild(macros) >= 1.671
82 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
83 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
84 %{?with_tests:BuildRequires: tzdata}
85 BuildRequires: zlib-devel
86 Requires(post,preun): /sbin/chkconfig
87 Requires(pre): /bin/id
88 Requires(pre): /usr/bin/getgid
89 Requires(post): /bin/id
90 Requires(post): /usr/sbin/usermod
91 Requires: %{name}-clients = %{version}-%{release}
92 Requires: %{name}-dirs = %{version}-%{release}
93 Requires: postgresql-libs >= %{version}-%{release}
94 Requires: rc-scripts >= 0.4.3.0
97 Obsoletes: postgresql-module-plpgsql
98 Obsoletes: postgresql-module-tsearch2
99 Obsoletes: postgresql-server
100 Obsoletes: postgresql-test
101 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
103 %define pgsqldatadir %{_datadir}/postgresql/%{pgsqlversion}
104 %define pgsqllibdir %{_libdir}/postgresql/%{pgsqlversion}
105 %define moduledir %{pgsqllibdir}/lib
106 %define extensiondir %{pgsqldatadir}/extension
108 %define _ulibdir /usr/lib
111 # spi, test_decoding, worker_spi - examples/tests
112 # tsearch2 - old module for compatibility only
113 %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
116 PostgreSQL Data Base Management System (formerly known as Postgres,
119 PostgreSQL is an enhancement of the POSTGRES database management
120 system, a next-generation DBMS research prototype. While PostgreSQL
121 retains the powerful data model and rich data types of POSTGRES, it
122 replaces the PostQuel query language with an extended subset of SQL.
123 PostgreSQL is free and the complete source is available.
125 PostgreSQL development is being performed by a team of Internet
126 developers who all subscribe to the PostgreSQL development mailing
127 list. The current coordinator is Marc G. Fournier
128 (scrappy@postgreSQL.org). This team is now responsible for all current
129 and future development of PostgreSQL.
131 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
132 others have contributed to the porting, testing, debugging and
133 enhancement of the code. The original Postgres code, from which
134 PostgreSQL is derived, was the effort of many graduate students,
135 undergraduate students, and staff programmers working under the
136 direction of Professor Michael Stonebraker at the University of
137 California, Berkeley.
139 The original name of the software at Berkeley was Postgres. When SQL
140 functionality was added in 1995, its name was changed to Postgres95.
141 The name was changed at the end of 1996 to PostgreSQL.
143 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
144 and most flavours of Unix.
146 %description -l pl.UTF-8
147 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
148 Postgres, następnie jako Postgres95).
150 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
151 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
152 model danych oraz bogaty zbiór różnych typów danych, to jednak język
153 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
154 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
157 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
158 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
159 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
160 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
162 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
163 innych pomagało przenosząc na różne platformy, testując, analizując i
164 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
165 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
166 zespołu programistów, którzy pracowali pod kierunkiem profesora
167 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
169 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
170 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
171 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
174 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
175 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
177 %package -n postgresql-common
178 Summary: Common PostgreSQL files and directories
179 Summary(pl.UTF-8): PostgreSQL - wspólne pliki i katalogi
180 Group: Applicataion/Databases
181 Requires(pre): /usr/sbin/groupadd
182 Requires(pre): /usr/sbin/useradd
184 %description -n postgresql-common
185 Common PostgreSQL files and directories.
187 %description -n postgresql-common -l pl.UTF-8
188 PostgreSQL - wspólne pliki i katalogi.
191 Summary: Common directories for PostgresSQL %{pgsqlversion}
192 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
193 Group: Applicataion/Databases
194 Requires: postgresql-common >= %{version}-%{release}
197 Common directories for PostgresSQL %{pgsqlversion}
199 %description dirs -l pl.UTF-8
200 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
202 %package backend-devel
203 Summary: PostgreSQL backend development header files
204 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
205 Group: Development/Libraries
206 Requires: postgresql-devel >= %{version}-%{release}
207 Requires: postgresql-libs >= %{version}-%{release}
208 Obsoletes: postgresql-backend-devel
210 %description backend-devel
211 This package contains header files required to compile functions that
212 could be loaded directly by backend
214 %description backend-devel -l pl.UTF-8
215 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
216 bezposrednio ladowane przez beckend serwera PostgreSQL.
219 Summary: Clients needed to access a PostgreSQL server
220 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
221 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
222 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
223 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
224 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
225 Group: Applications/Databases
226 Requires: alternatives
227 Requires: %{name}-dirs = %{version}-%{release}
228 Requires: postgresql-libs >= %{version}-%{release}
229 Obsoletes: postgresql-clients
232 This package includes only the clients needed to access an PostgreSQL
233 server. The server is included in the main package. If all you need is
234 to connect to another PostgreSQL server, the this is the only package
235 you need to install. Clients include several command-line utilities
236 you can use to manage your databases on a remote PostgreSQL server.
238 %description clients -l pl.UTF-8
239 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
240 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
241 poleceń. Serwer znajduje się w głównym pakiecie.
244 Summary: Documentation for PostgreSQL
245 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
246 Group: Applications/Databases
247 Obsoletes: postgresql-doc
250 This package includes documentation and HOWTO for programmer, admin
251 etc., in HTML format.
253 %description doc -l pl.UTF-8
254 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
255 administratorów w formacie HTML.
258 Summary: Embedded SQL in C interface
259 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
261 Requires: %{name}-dirs = %{version}-%{release}
262 Requires: postgresql-libs >= %{version}-%{release}
263 Requires: postgresql-ecpg-libs >= %{version}-%{release}
264 Obsoletes: postgresql-ecpg
267 Embedded SQL in C interface.
269 %description ecpg -l pl.UTF-8
270 Interfejs wbudowanego SQL-a w język C.
272 %package module-plperl
273 Summary: PL/perl - PostgreSQL procedural language
274 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
275 Group: Applications/Databases
276 Requires: %{name} = %{version}-%{release}
277 Obsoletes: postgresql-module-plperl
279 %description module-plperl
280 From PostgreSQL documentation:
282 Postgres supports the definition of procedural languages. In the case
283 of a function or trigger procedure defined in a procedural language,
284 the database has no built-in knowledge about how to interpret the
285 function's source text. Instead, the task is passed to a handler that
286 knows the details of the language. The handler itself is a special
287 programming language function compiled into a shared object and loaded
290 To enable PL/Perl procedural language for your database you have to
291 run createlang command.
293 %description module-plperl -l pl.UTF-8
294 Z dokumentacji PostgreSQL:
296 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
297 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
298 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
299 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
300 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
301 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
304 Za pomocą polecenia createlang można dodać obsługę języka
305 proceduralnego PL/Perl dla swojej bazy danych.
307 %package module-plpython
308 Summary: PL/Python - PostgreSQL procedural language
309 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
310 Group: Applications/Databases
311 Requires: %{name} = %{version}-%{release}
312 %pyrequires_eq python3
313 Obsoletes: postgresql-module-plpython
315 %description module-plpython
316 From PostgreSQL documentation:
318 Postgres supports the definition of procedural languages. In the case
319 of a function or trigger procedure defined in a procedural language,
320 the database has no built-in knowledge about how to interpret the
321 function's source text. Instead, the task is passed to a handler that
322 knows the details of the language. The handler itself is a special
323 programming language function compiled into a shared object and loaded
326 To enable PL/Python procedural language for your database you have to
327 run createlang command.
329 %description module-plpython -l pl.UTF-8
330 Z dokumentacji PostgreSQL:
332 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
333 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
334 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
335 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
336 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
337 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
340 Za pomocą polecenia createlang można dodać obsługę języka
341 proceduralnego PL/Python dla swojej bazy danych.
343 %package module-pltcl
344 Summary: PL/Tcl - PostgreSQL procedural language
345 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
346 Group: Applications/Databases
347 Requires: %{name} = %{version}-%{release}
349 Obsoletes: postgresql-module-pltcl
351 %description module-pltcl
352 From PostgreSQL documentation:
354 Postgres supports the definition of procedural languages. In the case
355 of a function or trigger procedure defined in a procedural language,
356 the database has no built-in knowledge about how to interpret the
357 function's source text. Instead, the task is passed to a handler that
358 knows the details of the language. The handler itself is a special
359 programming language function compiled into a shared object and loaded
362 To enable PL/Tcl procedural language for your database you have to run
365 %description module-pltcl -l pl.UTF-8
366 Z dokumentacji PostgreSQL:
368 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
369 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
370 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
371 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
372 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
373 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
376 Za pomocą polecenia createlang można dodać obsługę języka
377 proceduralnego PL/Tcl dla swojej bazy danych.
379 %package module-dblink
380 Summary: dblink module for PostgreSQL
381 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
382 Group: Applications/Databases
383 Requires: %{name} = %{version}-%{release}
384 Obsoletes: postgresql-module-dblink
386 %description module-dblink
387 dblink module for PostgreSQL provides functions returning results from
390 %description module-dblink -l pl.UTF-8
391 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
395 Summary: Large Objects module for PostgreSQL
396 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
397 Group: Applications/Databases
398 Requires: %{name} = %{version}-%{release}
399 Obsoletes: postgresql-module-lo
401 %description module-lo
402 Large Objects module for PostgreSQL adds a new data type 'lo', some
403 support functions and a trigger which handles the orphaning problem.
405 %description module-lo -l pl.UTF-8
406 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
407 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
408 osieroconych obiektów.
410 %package module-pg_trgm
411 Summary: Trigram matching for PostgreSQL
412 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
413 Group: Applications/Databases
414 Requires: %{name} = %{version}-%{release}
415 Obsoletes: postgresql-module-pg_trgm
417 %description module-pg_trgm
418 This module provides functions and index classes for determining the
419 similarity of text based on trigram matching.
421 %description module-pg_trgm -l pl.UTF-8
422 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
423 w oparciu o dopasowywanie trigramowe (trigram matching).
425 %package module-pgcrypto
426 Summary: Cryptographic functions for PostgreSQL
427 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
428 Group: Applications/Databases
429 Requires: %{name} = %{version}-%{release}
430 Obsoletes: postgresql-module-pgcrypto
432 %description module-pgcrypto
433 Cryptographic functions for PostgreSQL.
435 %description module-pgcrypto -l pl.UTF-8
436 Funkcje kryptograficzne dla PostgreSQL.
438 %package module-sepgsql
439 Summary: PostgreSQL external security provider using SELinux
440 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
441 Group: Applications/Databases
442 Requires: %{name} = %{version}-%{release}
443 Requires: libselinux >= 2.1.10
444 Obsoletes: postgresql-module-sepgsql
446 %description module-sepgsql
447 PostgreSQL external security provider using SELinux.
449 %description module-sepgsql -l pl.UTF-8
450 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
452 %package module-tablefunc
453 Summary: crosstab functions for PostgreSQL
454 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
455 Group: Applications/Databases
456 Requires: %{name} = %{version}-%{release}
457 Obsoletes: postgresql-module-tablefunc
459 %description module-tablefunc
460 crosstab functions for PostgreSQL.
462 %description module-tablefunc -l pl.UTF-8
463 Funkcje crosstab dla PostgreSQL-a.
466 Summary: XML-handling functions for PostgreSQL
467 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
468 Group: Applications/Databases
469 Requires: %{name} = %{version}-%{release}
470 Requires: libxml2 >= 1:2.6.23
471 Obsoletes: postgresql-module-xml2
473 %description module-xml2
474 Module with XML functions provides both XPath querying and XSLT
475 functionality. There is also a new table function which allows the
476 straightforward return of multiple XML results.
478 %description module-xml2 -l pl.UTF-8
479 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
480 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
481 bezpośrednie zwracanie wielu wyników XML.
484 Summary: Miscellaneous PostgreSQL contrib modules
485 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
486 Group: Applications/Databases
487 Requires: %{name} = %{version}-%{release}
488 Obsoletes: postgresql-contrib
491 Miscellaneous PostgreSQL contrib modules.
493 %description contrib -l pl.UTF-8
494 Różne moduły dołączone do PostgreSQL-a.
497 %setup -q -n postgresql-%{version}
499 %{?with_absolute_dbpaths:%patch1 -p1}
509 # force rebuild of bison/flex files
510 find src -name \*.l -o -name \*.y | xargs touch
513 #find contrib -type d -name CVS -exec rm -rf {} \;
516 %{__aclocal} -I config
520 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
521 --prefix=%{pgsqldatadir} \
522 --bindir=%{pgsqllibdir}/bin \
523 --sbindir=%{pgsqllibdir}/sbin \
524 --includedir=%{_includedir} \
525 --mandir=%{pgsqldatadir}/man \
526 --datadir=%{pgsqldatadir} \
527 --libdir=%{_libdir} \
528 --docdir=%{pgsqldatadir}/doc \
529 --localedir=%{_datadir}/locale \
532 %{?with_systemtap:--enable-dtrace} \
533 --enable-integer-datetimes \
535 --enable-thread-safety \
536 %{?with_bonjour:--with-bonjour} \
537 %{?with_kerberos5:--with-gssapi} \
538 %{?with_ldap:--with-ldap} \
543 %{?with_perl:--with-perl} \
544 %{?with_python:--with-python} \
545 %{?with_selinux:--with-selinux} \
546 --with-system-tzdata=%{_datadir}/zoneinfo \
548 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
553 for mod in %{contrib_modules}; do \
554 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
555 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
556 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
557 %{__make} -C contrib/$mod CFLAGS="$flags"
560 %{__make} -C src/tutorial \
563 %ifnarch sparc sparcv9 sparc64 alpha
564 %{?with_tests:%{__make} -j1 check}
568 rm -rf $RPM_BUILD_ROOT
569 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
570 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
571 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
572 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
574 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
577 DESTDIR=$RPM_BUILD_ROOT
578 %{__make} -C doc/src/sgml install-man \
579 DESTDIR=$RPM_BUILD_ROOT
582 %{__make} install -C src/pl/plperl \
583 DESTDIR=$RPM_BUILD_ROOT
586 for mod in %{contrib_modules}; do \
587 %{__make} -C contrib/$mod install \
588 DESTDIR=$RPM_BUILD_ROOT
591 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
592 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
595 tar zxf %{SOURCE2} -C howto
598 %py3_comp $RPM_BUILD_ROOT%{py3_libdir}
599 %py3_ocomp $RPM_BUILD_ROOT%{py3_libdir}
603 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
604 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
605 pg_archivecleanup pg_basebackup pg_checksums pg_config pg_controldata pg_ctl pg_dump pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_upgrade pg_waldump; do
606 %find_lang $f-%{pgsqlversion}
610 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
612 merge_lang pgscripts postgres plpgsql \
613 pg_basebackup pg_checksums pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
614 merge_lang psql initdb \
615 pg_archivecleanup pg_ctl pg_dump > clients.lang
618 %find_lang pltcl-%{pgsqlversion}
622 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
625 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
627 # package it...? nah, why bother.
628 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
630 # remove common files provided by PostgreSQL from master branch
631 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
632 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
633 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
636 rm -rf $RPM_BUILD_ROOT
640 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
641 . /etc/sysconfig/postgresql-%{pgsqlversion}
642 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
643 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
647 for pgdir in $PG_DB_CLUSTERS; do
648 if [ -f $pgdir/PG_VERSION ]; then
649 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
650 echo "Found database(s) in older, incompatible format in cluster $pgdir."
655 if [ "$foundold" = "1" ]; then
657 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
658 echo "and clean (or rename) those directories; then upgrade postgresql and"
659 echo "restore all data (using pg_restore or psql)."
660 echo "Remember to stop the daemon before upgrading!"
662 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
663 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
668 %triggerpostun -- postgresql < 10.5-2
669 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
670 /usr/sbin/usermod -d /var/lib/postgresql postgres
673 echo "This version of PostgreSQL uses new default location for database clusters."
674 echo "Please move your existing clusters before starting PostgreSQL so they follow"
677 echo "/var/lib/postgresql/<version>/<name>"
679 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
680 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
681 echo "files so they reflect your changes."
685 /sbin/chkconfig --add postgresql-%{pgsqlversion}
686 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
689 if [ "$1" = "0" ]; then
690 %service postgresql-%{pgsqlversion} stop
691 /sbin/chkconfig --del postgresql-%{pgsqlversion}
695 update-alternatives \
696 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
697 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
698 update-alternatives \
699 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
700 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
701 update-alternatives \
702 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
703 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
704 update-alternatives \
705 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
706 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
707 update-alternatives \
708 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
709 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
710 update-alternatives \
711 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
712 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
713 update-alternatives \
714 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
715 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
716 update-alternatives \
717 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
718 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
719 update-alternatives \
720 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
721 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
722 update-alternatives \
723 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
724 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
725 update-alternatives \
726 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
727 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
728 update-alternatives \
729 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
730 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
731 update-alternatives \
732 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
733 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
736 if [ $1 -eq 0 ]; then
737 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
738 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
739 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
740 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
741 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
742 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
743 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
744 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
745 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
746 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
747 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
748 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
749 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
753 %defattr(644,root,root,755)
754 %doc COPYRIGHT README HISTORY doc/{KNOWN_BUGS,MISSING_FEATURES,TODO}
755 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
756 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
758 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
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_waldump
771 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
772 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
773 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
775 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
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}/*.description
795 %{pgsqldatadir}/*.shdescription
796 %{pgsqldatadir}/*.sql
797 %{pgsqldatadir}/*.txt
798 %{pgsqldatadir}/timezonesets
799 %{pgsqldatadir}/tsearch_data
801 %dir %{pgsqldatadir}/contrib
803 %{pgsqldatadir}/man/man1/initdb.1*
804 %{pgsqldatadir}/man/man1/pg_basebackup.1*
805 %{pgsqldatadir}/man/man1/pg_checksums.1*
806 %{pgsqldatadir}/man/man1/pg_controldata.1*
807 %{pgsqldatadir}/man/man1/pg_ctl.1*
808 %{pgsqldatadir}/man/man1/pg_resetwal.1*
809 %{pgsqldatadir}/man/man1/pg_receivewal.1*
810 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
811 %{pgsqldatadir}/man/man1/pg_rewind.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)
955 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
956 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
957 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
958 %attr(755,root,root) %{moduledir}/_int.so
959 %attr(755,root,root) %{moduledir}/adminpack.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}/bloom.so
963 %attr(755,root,root) %{moduledir}/btree_gin.so
964 %attr(755,root,root) %{moduledir}/btree_gist.so
965 %attr(755,root,root) %{moduledir}/citext.so
966 %attr(755,root,root) %{moduledir}/cube.so
967 %attr(755,root,root) %{moduledir}/earthdistance.so
968 %attr(755,root,root) %{moduledir}/file_fdw.so
969 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
970 %attr(755,root,root) %{moduledir}/hstore.so
971 %attr(755,root,root) %{moduledir}/isn.so
972 %attr(755,root,root) %{moduledir}/ltree.so
973 %attr(755,root,root) %{moduledir}/pageinspect.so
974 %attr(755,root,root) %{moduledir}/passwordcheck.so
975 %attr(755,root,root) %{moduledir}/pg_buffercache.so
976 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
977 %attr(755,root,root) %{moduledir}/pg_prewarm.so
978 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
979 %attr(755,root,root) %{moduledir}/pg_visibility.so
980 %attr(755,root,root) %{moduledir}/pgrowlocks.so
981 %attr(755,root,root) %{moduledir}/pgstattuple.so
982 %attr(755,root,root) %{moduledir}/postgres_fdw.so
983 %attr(755,root,root) %{moduledir}/seg.so
984 %attr(755,root,root) %{moduledir}/sslinfo.so
985 %attr(755,root,root) %{moduledir}/tcn.so
986 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
987 %attr(755,root,root) %{moduledir}/tsm_system_time.so
988 %attr(755,root,root) %{moduledir}/unaccent.so
989 %attr(755,root,root) %{moduledir}/uuid-ossp.so
990 %{extensiondir}/adminpack--*.sql
991 %{extensiondir}/adminpack.control
992 %{extensiondir}/bloom--*.sql
993 %{extensiondir}/bloom.control
994 %{extensiondir}/btree_gin--*.sql
995 %{extensiondir}/btree_gin.control
996 %{extensiondir}/btree_gist--*.sql
997 %{extensiondir}/btree_gist.control
998 %{extensiondir}/citext--*.sql
999 %{extensiondir}/citext.control
1000 %{extensiondir}/cube--*.sql
1001 %{extensiondir}/cube.control
1002 %{extensiondir}/dict_int--*.sql
1003 %{extensiondir}/dict_int.control
1004 %{extensiondir}/dict_xsyn--*.sql
1005 %{extensiondir}/dict_xsyn.control
1006 %{extensiondir}/earthdistance--*.sql
1007 %{extensiondir}/earthdistance.control
1008 %{extensiondir}/file_fdw--*.sql
1009 %{extensiondir}/file_fdw.control
1010 %{extensiondir}/fuzzystrmatch--*.sql
1011 %{extensiondir}/fuzzystrmatch.control
1012 %{extensiondir}/hstore--*.sql
1013 %{extensiondir}/hstore.control
1014 %{extensiondir}/intarray--*.sql
1015 %{extensiondir}/intarray.control
1016 %{extensiondir}/intagg--*.sql
1017 %{extensiondir}/intagg.control
1018 %{extensiondir}/isn--*.sql
1019 %{extensiondir}/isn.control
1020 %{extensiondir}/ltree--*.sql
1021 %{extensiondir}/ltree.control
1022 %{extensiondir}/pageinspect--*.sql
1023 %{extensiondir}/pageinspect.control
1024 %{extensiondir}/pg_buffercache--*.sql
1025 %{extensiondir}/pg_buffercache.control
1026 %{extensiondir}/pg_freespacemap--*.sql
1027 %{extensiondir}/pg_freespacemap.control
1028 %{extensiondir}/pg_prewarm--*.sql
1029 %{extensiondir}/pg_prewarm.control
1030 %{extensiondir}/pg_stat_statements--*.sql
1031 %{extensiondir}/pg_stat_statements.control
1032 %{extensiondir}/pg_visibility--*.sql
1033 %{extensiondir}/pg_visibility.control
1034 %{extensiondir}/pgrowlocks--*.sql
1035 %{extensiondir}/pgrowlocks.control
1036 %{extensiondir}/pgstattuple--*.sql
1037 %{extensiondir}/pgstattuple.control
1038 %{extensiondir}/postgres_fdw--*.sql
1039 %{extensiondir}/postgres_fdw.control
1040 %{extensiondir}/seg--*.sql
1041 %{extensiondir}/seg.control
1042 %{extensiondir}/sslinfo--*.sql
1043 %{extensiondir}/sslinfo.control
1044 %{extensiondir}/tcn--*.sql
1045 %{extensiondir}/tcn.control
1046 %{extensiondir}/tsm_system_rows--*.sql
1047 %{extensiondir}/tsm_system_rows.control
1048 %{extensiondir}/tsm_system_time--*.sql
1049 %{extensiondir}/tsm_system_time.control
1050 %{extensiondir}/unaccent--*.sql
1051 %{extensiondir}/unaccent.control
1052 %{extensiondir}/uuid-ossp--*.sql
1053 %{extensiondir}/uuid-ossp.control
1055 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1056 %{extensiondir}/hstore_plperl--*.sql
1057 %{extensiondir}/hstore_plperl.control
1058 %{extensiondir}/hstore_plperlu--*.sql
1059 %{extensiondir}/hstore_plperlu.control
1062 %attr(755,root,root) %{moduledir}/hstore_plpython3.so
1063 %attr(755,root,root) %{moduledir}/ltree_plpython3.so
1064 %{extensiondir}/hstore_plpythonu--*.sql
1065 %{extensiondir}/hstore_plpythonu.control
1066 %{extensiondir}/hstore_plpython2u--*.sql
1067 %{extensiondir}/hstore_plpython2u.control
1068 %{extensiondir}/hstore_plpython3u--*.sql
1069 %{extensiondir}/hstore_plpython3u.control
1070 %{extensiondir}/ltree_plpythonu--*.sql
1071 %{extensiondir}/ltree_plpythonu.control
1072 %{extensiondir}/ltree_plpython2u--*.sql
1073 %{extensiondir}/ltree_plpython2u.control
1074 %{extensiondir}/ltree_plpython3u--*.sql
1075 %{extensiondir}/ltree_plpython3u.control
1077 %{pgsqldatadir}/man/man1/oid2name.1*
1078 %{pgsqldatadir}/man/man1/pg_standby.1*
1079 %{pgsqldatadir}/man/man1/vacuumlo.1*