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 10
18 %define pgsqlpriority 100
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}.21
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 6e352f58227b2a6dc995488d3fc87efc
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 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
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.
178 Summary: Common directories for PostgresSQL %{pgsqlversion}
179 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
180 Group: Applicataion/Databases
181 Requires: postgresql-common >= %{version}-%{release}
184 Common directories for PostgresSQL %{pgsqlversion}
186 %description dirs -l pl.UTF-8
187 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
189 %package backend-devel
190 Summary: PostgreSQL backend development header files
191 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
192 Group: Development/Libraries
193 Requires: postgresql-devel >= %{version}-%{release}
194 Requires: postgresql-libs >= %{version}-%{release}
195 Obsoletes: postgresql-backend-devel
197 %description backend-devel
198 This package contains header files required to compile functions that
199 could be loaded directly by backend
201 %description backend-devel -l pl.UTF-8
202 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
203 bezposrednio ladowane przez beckend serwera PostgreSQL.
206 Summary: Clients needed to access a PostgreSQL server
207 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
208 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
209 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
210 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
211 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
212 Group: Applications/Databases
213 Requires: alternatives
214 Requires: %{name}-dirs = %{version}-%{release}
215 Requires: postgresql-libs >= %{version}-%{release}
216 Obsoletes: postgresql-clients
219 This package includes only the clients needed to access an PostgreSQL
220 server. The server is included in the main package. If all you need is
221 to connect to another PostgreSQL server, the this is the only package
222 you need to install. Clients include several command-line utilities
223 you can use to manage your databases on a remote PostgreSQL server.
225 %description clients -l pl.UTF-8
226 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
227 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
228 poleceń. Serwer znajduje się w głównym pakiecie.
231 Summary: Documentation for PostgreSQL
232 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
233 Group: Applications/Databases
234 Obsoletes: postgresql-doc
237 This package includes documentation and HOWTO for programmer, admin
238 etc., in HTML format.
240 %description doc -l pl.UTF-8
241 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
242 administratorów w formacie HTML.
245 Summary: Embedded SQL in C interface
246 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
248 Requires: %{name}-dirs = %{version}-%{release}
249 Requires: postgresql-libs >= %{version}-%{release}
250 Requires: postgresql-ecpg-libs >= %{version}-%{release}
251 Obsoletes: postgresql-ecpg
254 Embedded SQL in C interface.
256 %description ecpg -l pl.UTF-8
257 Interfejs wbudowanego SQL-a w język C.
259 %package module-plperl
260 Summary: PL/perl - PostgreSQL procedural language
261 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
262 Group: Applications/Databases
263 Requires: %{name} = %{version}-%{release}
264 Obsoletes: postgresql-module-plperl
266 %description module-plperl
267 From PostgreSQL documentation:
269 Postgres supports the definition of procedural languages. In the case
270 of a function or trigger procedure defined in a procedural language,
271 the database has no built-in knowledge about how to interpret the
272 function's source text. Instead, the task is passed to a handler that
273 knows the details of the language. The handler itself is a special
274 programming language function compiled into a shared object and loaded
277 To enable PL/Perl procedural language for your database you have to
278 run createlang command.
280 %description module-plperl -l pl.UTF-8
281 Z dokumentacji PostgreSQL:
283 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
284 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
285 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
286 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
287 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
288 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
291 Za pomocą polecenia createlang można dodać obsługę języka
292 proceduralnego PL/Perl dla swojej bazy danych.
294 %package module-plpython
295 Summary: PL/Python - PostgreSQL procedural language
296 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
297 Group: Applications/Databases
298 Requires: %{name} = %{version}-%{release}
299 %pyrequires_eq python3
300 Obsoletes: postgresql-module-plpython
302 %description module-plpython
303 From PostgreSQL documentation:
305 Postgres supports the definition of procedural languages. In the case
306 of a function or trigger procedure defined in a procedural language,
307 the database has no built-in knowledge about how to interpret the
308 function's source text. Instead, the task is passed to a handler that
309 knows the details of the language. The handler itself is a special
310 programming language function compiled into a shared object and loaded
313 To enable PL/Python procedural language for your database you have to
314 run createlang command.
316 %description module-plpython -l pl.UTF-8
317 Z dokumentacji PostgreSQL:
319 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
320 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
321 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
322 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
323 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
324 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
327 Za pomocą polecenia createlang można dodać obsługę języka
328 proceduralnego PL/Python dla swojej bazy danych.
330 %package module-pltcl
331 Summary: PL/Tcl - PostgreSQL procedural language
332 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
333 Group: Applications/Databases
334 Requires: %{name} = %{version}-%{release}
336 Obsoletes: postgresql-module-pltcl
338 %description module-pltcl
339 From PostgreSQL documentation:
341 Postgres supports the definition of procedural languages. In the case
342 of a function or trigger procedure defined in a procedural language,
343 the database has no built-in knowledge about how to interpret the
344 function's source text. Instead, the task is passed to a handler that
345 knows the details of the language. The handler itself is a special
346 programming language function compiled into a shared object and loaded
349 To enable PL/Tcl procedural language for your database you have to run
352 %description module-pltcl -l pl.UTF-8
353 Z dokumentacji PostgreSQL:
355 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
356 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
357 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
358 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
359 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
360 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
363 Za pomocą polecenia createlang można dodać obsługę języka
364 proceduralnego PL/Tcl dla swojej bazy danych.
366 %package module-dblink
367 Summary: dblink module for PostgreSQL
368 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
369 Group: Applications/Databases
370 Requires: %{name} = %{version}-%{release}
371 Obsoletes: postgresql-module-dblink
373 %description module-dblink
374 dblink module for PostgreSQL provides functions returning results from
377 %description module-dblink -l pl.UTF-8
378 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
382 Summary: Large Objects module for PostgreSQL
383 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
384 Group: Applications/Databases
385 Requires: %{name} = %{version}-%{release}
386 Obsoletes: postgresql-module-lo
388 %description module-lo
389 Large Objects module for PostgreSQL adds a new data type 'lo', some
390 support functions and a trigger which handles the orphaning problem.
392 %description module-lo -l pl.UTF-8
393 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
394 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
395 osieroconych obiektów.
397 %package module-pg_trgm
398 Summary: Trigram matching for PostgreSQL
399 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
400 Group: Applications/Databases
401 Requires: %{name} = %{version}-%{release}
402 Obsoletes: postgresql-module-pg_trgm
404 %description module-pg_trgm
405 This module provides functions and index classes for determining the
406 similarity of text based on trigram matching.
408 %description module-pg_trgm -l pl.UTF-8
409 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
410 w oparciu o dopasowywanie trigramowe (trigram matching).
412 %package module-pgcrypto
413 Summary: Cryptographic functions for PostgreSQL
414 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
415 Group: Applications/Databases
416 Requires: %{name} = %{version}-%{release}
417 Obsoletes: postgresql-module-pgcrypto
419 %description module-pgcrypto
420 Cryptographic functions for PostgreSQL.
422 %description module-pgcrypto -l pl.UTF-8
423 Funkcje kryptograficzne dla PostgreSQL.
425 %package module-sepgsql
426 Summary: PostgreSQL external security provider using SELinux
427 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
428 Group: Applications/Databases
429 Requires: %{name} = %{version}-%{release}
430 Requires: libselinux >= 2.1.10
431 Obsoletes: postgresql-module-sepgsql
433 %description module-sepgsql
434 PostgreSQL external security provider using SELinux.
436 %description module-sepgsql -l pl.UTF-8
437 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
439 %package module-tablefunc
440 Summary: crosstab functions for PostgreSQL
441 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
442 Group: Applications/Databases
443 Requires: %{name} = %{version}-%{release}
444 Obsoletes: postgresql-module-tablefunc
446 %description module-tablefunc
447 crosstab functions for PostgreSQL.
449 %description module-tablefunc -l pl.UTF-8
450 Funkcje crosstab dla PostgreSQL-a.
453 Summary: XML-handling functions for PostgreSQL
454 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
455 Group: Applications/Databases
456 Requires: %{name} = %{version}-%{release}
457 Requires: libxml2 >= 1:2.6.23
458 Obsoletes: postgresql-module-xml2
460 %description module-xml2
461 Module with XML functions provides both XPath querying and XSLT
462 functionality. There is also a new table function which allows the
463 straightforward return of multiple XML results.
465 %description module-xml2 -l pl.UTF-8
466 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
467 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
468 bezpośrednie zwracanie wielu wyników XML.
471 Summary: Miscellaneous PostgreSQL contrib modules
472 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
473 Group: Applications/Databases
474 Requires: %{name} = %{version}-%{release}
475 Obsoletes: postgresql-contrib
478 Miscellaneous PostgreSQL contrib modules.
480 %description contrib -l pl.UTF-8
481 Różne moduły dołączone do PostgreSQL-a.
484 %setup -q -n postgresql-%{version}
486 %{?with_absolute_dbpaths:%patch1 -p1}
496 # force rebuild of bison/flex files
497 find src -name \*.l -o -name \*.y | xargs touch
500 #find contrib -type d -name CVS -exec rm -rf {} \;
503 %{__aclocal} -I config
507 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
508 --prefix=%{pgsqldatadir} \
509 --bindir=%{pgsqllibdir}/bin \
510 --sbindir=%{pgsqllibdir}/sbin \
511 --includedir=%{_includedir} \
512 --mandir=%{pgsqldatadir}/man \
513 --datadir=%{pgsqldatadir} \
514 --libdir=%{_libdir} \
515 --docdir=%{pgsqldatadir}/doc \
516 --localedir=%{_datadir}/locale \
519 %{?with_systemtap:--enable-dtrace} \
520 --enable-integer-datetimes \
522 --enable-thread-safety \
523 %{?with_bonjour:--with-bonjour} \
524 %{?with_kerberos5:--with-gssapi} \
525 %{?with_ldap:--with-ldap} \
530 %{?with_perl:--with-perl} \
531 %{?with_python:--with-python} \
532 %{?with_selinux:--with-selinux} \
533 --with-system-tzdata=%{_datadir}/zoneinfo \
535 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
540 for mod in %{contrib_modules}; do \
541 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
542 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
543 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
544 %{__make} -C contrib/$mod CFLAGS="$flags"
547 %{__make} -C src/tutorial \
550 %ifnarch sparc sparcv9 sparc64 alpha
551 %{?with_tests:%{__make} -j1 check}
555 rm -rf $RPM_BUILD_ROOT
556 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
557 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
558 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
559 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
561 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
564 DESTDIR=$RPM_BUILD_ROOT
565 %{__make} -C doc/src/sgml install-man \
566 DESTDIR=$RPM_BUILD_ROOT
569 %{__make} install -C src/pl/plperl \
570 DESTDIR=$RPM_BUILD_ROOT
573 for mod in %{contrib_modules}; do \
574 %{__make} -C contrib/$mod install \
575 DESTDIR=$RPM_BUILD_ROOT
578 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
579 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
582 tar zxf %{SOURCE2} -C howto
585 %py3_comp $RPM_BUILD_ROOT%{py3_libdir}
586 %py3_ocomp $RPM_BUILD_ROOT%{py3_libdir}
590 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
591 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
592 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
593 %find_lang $f-%{pgsqlversion}
597 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
599 merge_lang pgscripts postgres plpgsql \
600 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
601 merge_lang psql initdb \
602 pg_archivecleanup pg_ctl pg_dump > clients.lang
605 %find_lang pltcl-%{pgsqlversion}
609 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
612 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
614 # package it...? nah, why bother.
615 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
617 # remove common files provided by PostgreSQL from master branch
618 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
619 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
620 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
623 rm -rf $RPM_BUILD_ROOT
627 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
628 . /etc/sysconfig/postgresql-%{pgsqlversion}
629 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
630 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
634 for pgdir in $PG_DB_CLUSTERS; do
635 if [ -f $pgdir/PG_VERSION ]; then
636 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
637 echo "Found database(s) in older, incompatible format in cluster $pgdir."
642 if [ "$foundold" = "1" ]; then
644 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
645 echo "and clean (or rename) those directories; then upgrade postgresql and"
646 echo "restore all data (using pg_restore or psql)."
647 echo "Remember to stop the daemon before upgrading!"
649 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
650 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
655 %triggerpostun -- postgresql < 10.5-2
656 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
657 /usr/sbin/usermod -d /var/lib/postgresql postgres
660 echo "This version of PostgreSQL uses new default location for database clusters."
661 echo "Please move your existing clusters before starting PostgreSQL so they follow"
664 echo "/var/lib/postgresql/<version>/<name>"
666 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
667 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
668 echo "files so they reflect your changes."
672 /sbin/chkconfig --add postgresql-%{pgsqlversion}
673 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
676 if [ "$1" = "0" ]; then
677 %service postgresql-%{pgsqlversion} stop
678 /sbin/chkconfig --del postgresql-%{pgsqlversion}
682 update-alternatives \
683 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
684 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
685 update-alternatives \
686 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
687 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
688 update-alternatives \
689 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
690 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
691 update-alternatives \
692 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
693 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
694 update-alternatives \
695 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
696 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
697 update-alternatives \
698 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
699 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
700 update-alternatives \
701 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
702 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
703 update-alternatives \
704 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
705 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
706 update-alternatives \
707 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
708 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
709 update-alternatives \
710 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
711 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
712 update-alternatives \
713 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
714 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
715 update-alternatives \
716 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
717 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
718 update-alternatives \
719 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
720 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
723 if [ $1 -eq 0 ]; then
724 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
725 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
726 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
727 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
728 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
729 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
730 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
731 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
732 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
733 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
734 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
735 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
736 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
740 %defattr(644,root,root,755)
741 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
742 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
743 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
745 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
746 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
747 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
748 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
749 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
750 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
751 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
752 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
753 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
754 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
755 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
756 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
757 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
758 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
759 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
761 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
762 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
763 %attr(755,root,root) %{moduledir}/dict_int.so
764 %attr(755,root,root) %{moduledir}/dict_snowball.so
765 %attr(755,root,root) %{moduledir}/dict_xsyn.so
766 %attr(755,root,root) %{moduledir}/euc*.so
767 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
768 %attr(755,root,root) %{moduledir}/latin_and_mic.so
769 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
770 %attr(755,root,root) %{moduledir}/pgoutput.so
771 %attr(755,root,root) %{moduledir}/plpgsql.so
772 %attr(755,root,root) %{moduledir}/utf8_and_*.so
775 %{extensiondir}/plpgsql--*.sql
776 %{extensiondir}/plpgsql.control
778 %{pgsqldatadir}/*.bki
779 %{pgsqldatadir}/*.sample
780 %{pgsqldatadir}/*.description
781 %{pgsqldatadir}/*.shdescription
782 %{pgsqldatadir}/*.sql
783 %{pgsqldatadir}/*.txt
784 %{pgsqldatadir}/timezonesets
785 %{pgsqldatadir}/tsearch_data
787 %dir %{pgsqldatadir}/contrib
789 %{pgsqldatadir}/man/man1/initdb.1*
790 %{pgsqldatadir}/man/man1/pg_basebackup.1*
791 %{pgsqldatadir}/man/man1/pg_controldata.1*
792 %{pgsqldatadir}/man/man1/pg_ctl.1*
793 %{pgsqldatadir}/man/man1/pg_resetwal.1*
794 %{pgsqldatadir}/man/man1/pg_receivewal.1*
795 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
796 %{pgsqldatadir}/man/man1/pg_rewind.1*
797 %{pgsqldatadir}/man/man1/pg_waldump.1*
798 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
799 %{pgsqldatadir}/man/man1/pg_test_timing.1*
800 %{pgsqldatadir}/man/man1/pg_upgrade.1*
801 %{pgsqldatadir}/man/man1/pgbench.1*
802 %{pgsqldatadir}/man/man1/postgres.1*
803 %{pgsqldatadir}/man/man1/postmaster.1*
806 %defattr(644,root,root,755)
808 %dir %{pgsqllibdir}/bin
809 %dir %{pgsqllibdir}/lib
811 %dir %{pgsqldatadir}/man
812 %dir %{pgsqldatadir}/man/man1
813 %dir %{pgsqldatadir}/man/man3
814 %dir %{pgsqldatadir}/man/man7
815 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
818 %defattr(644,root,root,755)
819 %doc doc/src/sgml/html howto
820 %{_examplesdir}/%{name}-%{version}
822 %files ecpg -f ecpg-%{pgsqlversion}.lang
823 %defattr(644,root,root,755)
824 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
825 %{pgsqldatadir}/man/man1/ecpg.1*
828 %defattr(644,root,root,755)
829 %dir %{_includedir}/postgresql/%{pgsqlversion}
830 %{_includedir}/postgresql/%{pgsqlversion}/server
831 %dir %{moduledir}/pgxs
832 %attr(755,root,root) %{moduledir}/pgxs/config
833 %{moduledir}/pgxs/src
834 %{pgsqldatadir}/man/man3/SPI_*.3*
836 %files clients -f clients.lang
837 %defattr(644,root,root,755)
838 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
839 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
840 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
841 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
842 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
843 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
844 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
845 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
846 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
847 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
848 %attr(755,root,root) %{pgsqllibdir}/bin/psql
849 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
850 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
852 %{pgsqldatadir}/man/man1/clusterdb.1*
853 %{pgsqldatadir}/man/man1/createdb.1*
854 %{pgsqldatadir}/man/man1/createuser.1*
855 %{pgsqldatadir}/man/man1/dropdb.1*
856 %{pgsqldatadir}/man/man1/dropuser.1*
857 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
858 %{pgsqldatadir}/man/man1/pg_dump.1*
859 %{pgsqldatadir}/man/man1/pg_dumpall.1*
860 %{pgsqldatadir}/man/man1/pg_isready.1*
861 %{pgsqldatadir}/man/man1/pg_restore.1*
862 %{pgsqldatadir}/man/man1/psql.1*
863 %{pgsqldatadir}/man/man1/reindexdb.1*
864 %{pgsqldatadir}/man/man1/vacuumdb.1*
865 %{pgsqldatadir}/man/man7/*.7*
868 %files module-plperl -f plperl-%{pgsqlversion}.lang
869 %defattr(644,root,root,755)
870 %attr(755,root,root) %{moduledir}/plperl.so
871 %{extensiondir}/plperl--*.sql
872 %{extensiondir}/plperl.control
873 %{extensiondir}/plperlu--*.sql
874 %{extensiondir}/plperlu.control
878 %files module-plpython -f plpython-%{pgsqlversion}.lang
879 %defattr(644,root,root,755)
880 %attr(755,root,root) %{moduledir}/plpython3.so
881 %{extensiondir}/plpython*--*.sql
882 %{extensiondir}/plpython*.control
886 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
887 %defattr(644,root,root,755)
888 %attr(755,root,root) %{moduledir}/pltcl.so
889 %{extensiondir}/pltcl*--*.sql
890 %{extensiondir}/pltcl*.control
894 %defattr(644,root,root,755)
895 %attr(755,root,root) %{moduledir}/dblink.so
896 %{extensiondir}/dblink--*.sql
897 %{extensiondir}/dblink.control
898 %{pgsqldatadir}/man/man3/dblink*.3*
901 %defattr(644,root,root,755)
902 %attr(755,root,root) %{moduledir}/lo.so
903 %{extensiondir}/lo--*.sql
904 %{extensiondir}/lo.control
906 %files module-pg_trgm
907 %defattr(644,root,root,755)
908 %attr(755,root,root) %{moduledir}/pg_trgm.so
909 %{extensiondir}/pg_trgm--*.sql
910 %{extensiondir}/pg_trgm.control
912 %files module-pgcrypto
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{moduledir}/pgcrypto.so
915 %{extensiondir}/pgcrypto--*.sql
916 %{extensiondir}/pgcrypto.control
919 %files module-sepgsql
920 %defattr(644,root,root,755)
921 %attr(755,root,root) %{moduledir}/sepgsql.so
922 %{extensiondir}/sepgsql.sql
925 %files module-tablefunc
926 %defattr(644,root,root,755)
927 %attr(755,root,root) %{moduledir}/tablefunc.so
928 %{extensiondir}/*tablefunc--*.sql
929 %{extensiondir}/*tablefunc.control
932 %defattr(644,root,root,755)
933 %attr(755,root,root) %{moduledir}/pgxml.so
934 %{extensiondir}/xml2--*.sql
935 %{extensiondir}/xml2.control
938 %defattr(644,root,root,755)
940 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
941 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
942 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
943 %attr(755,root,root) %{moduledir}/_int.so
944 %attr(755,root,root) %{moduledir}/adminpack.so
945 %attr(755,root,root) %{moduledir}/auth_delay.so
946 %attr(755,root,root) %{moduledir}/auto_explain.so
947 %attr(755,root,root) %{moduledir}/bloom.so
948 %attr(755,root,root) %{moduledir}/btree_gin.so
949 %attr(755,root,root) %{moduledir}/btree_gist.so
950 %attr(755,root,root) %{moduledir}/chkpass.so
951 %attr(755,root,root) %{moduledir}/citext.so
952 %attr(755,root,root) %{moduledir}/cube.so
953 %attr(755,root,root) %{moduledir}/earthdistance.so
954 %attr(755,root,root) %{moduledir}/file_fdw.so
955 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
956 %attr(755,root,root) %{moduledir}/hstore.so
957 %attr(755,root,root) %{moduledir}/isn.so
958 %attr(755,root,root) %{moduledir}/ltree.so
959 %attr(755,root,root) %{moduledir}/pageinspect.so
960 %attr(755,root,root) %{moduledir}/passwordcheck.so
961 %attr(755,root,root) %{moduledir}/pg_buffercache.so
962 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
963 %attr(755,root,root) %{moduledir}/pg_prewarm.so
964 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
965 %attr(755,root,root) %{moduledir}/pg_visibility.so
966 %attr(755,root,root) %{moduledir}/pgrowlocks.so
967 %attr(755,root,root) %{moduledir}/pgstattuple.so
968 %attr(755,root,root) %{moduledir}/postgres_fdw.so
969 %attr(755,root,root) %{moduledir}/seg.so
970 %attr(755,root,root) %{moduledir}/sslinfo.so
971 %attr(755,root,root) %{moduledir}/tcn.so
972 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
973 %attr(755,root,root) %{moduledir}/tsm_system_time.so
974 %attr(755,root,root) %{moduledir}/unaccent.so
975 %attr(755,root,root) %{moduledir}/uuid-ossp.so
976 %{extensiondir}/adminpack--*.sql
977 %{extensiondir}/adminpack.control
978 %{extensiondir}/bloom--*.sql
979 %{extensiondir}/bloom.control
980 %{extensiondir}/btree_gin--*.sql
981 %{extensiondir}/btree_gin.control
982 %{extensiondir}/btree_gist--*.sql
983 %{extensiondir}/btree_gist.control
984 %{extensiondir}/chkpass--*.sql
985 %{extensiondir}/chkpass.control
986 %{extensiondir}/citext--*.sql
987 %{extensiondir}/citext.control
988 %{extensiondir}/cube--*.sql
989 %{extensiondir}/cube.control
990 %{extensiondir}/dict_int--*.sql
991 %{extensiondir}/dict_int.control
992 %{extensiondir}/dict_xsyn--*.sql
993 %{extensiondir}/dict_xsyn.control
994 %{extensiondir}/earthdistance--*.sql
995 %{extensiondir}/earthdistance.control
996 %{extensiondir}/file_fdw--*.sql
997 %{extensiondir}/file_fdw.control
998 %{extensiondir}/fuzzystrmatch--*.sql
999 %{extensiondir}/fuzzystrmatch.control
1000 %{extensiondir}/hstore--*.sql
1001 %{extensiondir}/hstore.control
1002 %{extensiondir}/intarray--*.sql
1003 %{extensiondir}/intarray.control
1004 %{extensiondir}/intagg--*.sql
1005 %{extensiondir}/intagg.control
1006 %{extensiondir}/isn--*.sql
1007 %{extensiondir}/isn.control
1008 %{extensiondir}/ltree--*.sql
1009 %{extensiondir}/ltree.control
1010 %{extensiondir}/pageinspect--*.sql
1011 %{extensiondir}/pageinspect.control
1012 %{extensiondir}/pg_buffercache--*.sql
1013 %{extensiondir}/pg_buffercache.control
1014 %{extensiondir}/pg_freespacemap--*.sql
1015 %{extensiondir}/pg_freespacemap.control
1016 %{extensiondir}/pg_prewarm--*.sql
1017 %{extensiondir}/pg_prewarm.control
1018 %{extensiondir}/pg_stat_statements--*.sql
1019 %{extensiondir}/pg_stat_statements.control
1020 %{extensiondir}/pg_visibility--*.sql
1021 %{extensiondir}/pg_visibility.control
1022 %{extensiondir}/pgrowlocks--*.sql
1023 %{extensiondir}/pgrowlocks.control
1024 %{extensiondir}/pgstattuple--*.sql
1025 %{extensiondir}/pgstattuple.control
1026 %{extensiondir}/postgres_fdw--*.sql
1027 %{extensiondir}/postgres_fdw.control
1028 %{extensiondir}/seg--*.sql
1029 %{extensiondir}/seg.control
1030 %{extensiondir}/sslinfo--*.sql
1031 %{extensiondir}/sslinfo.control
1032 %{extensiondir}/tcn--*.sql
1033 %{extensiondir}/tcn.control
1034 %{extensiondir}/tsm_system_rows--*.sql
1035 %{extensiondir}/tsm_system_rows.control
1036 %{extensiondir}/tsm_system_time--*.sql
1037 %{extensiondir}/tsm_system_time.control
1038 %{extensiondir}/unaccent--*.sql
1039 %{extensiondir}/unaccent.control
1040 %{extensiondir}/uuid-ossp--*.sql
1041 %{extensiondir}/uuid-ossp.control
1043 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1044 %{extensiondir}/hstore_plperl--*.sql
1045 %{extensiondir}/hstore_plperl.control
1046 %{extensiondir}/hstore_plperlu--*.sql
1047 %{extensiondir}/hstore_plperlu.control
1050 %attr(755,root,root) %{moduledir}/hstore_plpython3.so
1051 %attr(755,root,root) %{moduledir}/ltree_plpython3.so
1052 %{extensiondir}/hstore_plpythonu--*.sql
1053 %{extensiondir}/hstore_plpythonu.control
1054 %{extensiondir}/hstore_plpython2u--*.sql
1055 %{extensiondir}/hstore_plpython2u.control
1056 %{extensiondir}/hstore_plpython3u--*.sql
1057 %{extensiondir}/hstore_plpython3u.control
1058 %{extensiondir}/ltree_plpythonu--*.sql
1059 %{extensiondir}/ltree_plpythonu.control
1060 %{extensiondir}/ltree_plpython2u--*.sql
1061 %{extensiondir}/ltree_plpython2u.control
1062 %{extensiondir}/ltree_plpython3u--*.sql
1063 %{extensiondir}/ltree_plpython3u.control
1065 %{pgsqldatadir}/man/man1/oid2name.1*
1066 %{pgsqldatadir}/man/man1/pg_standby.1*
1067 %{pgsqldatadir}/man/man1/vacuumlo.1*