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 9.6
18 %define pgsqlpriority 96
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: ba589ad4702b4fd0fc86efe2c1a66f78
37 Source1: postgresql.init
38 Source2: pgsql-Database-HOWTO-html.tar.gz
39 # Source2-md5: 5b656ddf1db41965761f85204a14398e
40 Source3: postgresql.sysconfig
41 Source4: postgresql.logrotate
42 Patch0: postgresql-conf.patch
43 Patch1: postgresql-absolute_dbpaths.patch
44 Patch2: postgresql-ecpg-includedir.patch
45 Patch3: per-version-dirs.patch
46 Patch4: postgresql-disable_horology_test.patch
47 Patch5: postgresql-heimdal.patch
48 Patch6: postgresql-link.patch
49 Patch7: socket-dir-fixes.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: python >= 1:2.3
76 BuildRequires: python-devel >= 1:2.3
77 BuildRequires: python-modules >= 1:2.3
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(triggerpostun): /bin/id
89 Requires(triggerpostun): /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 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
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.
177 Summary: Common directories for PostgresSQL %{pgsqlversion}
178 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
179 Group: Applicataion/Databases
180 Requires: postgresql-common >= %{version}-%{release}
183 Common directories for PostgresSQL %{pgsqlversion}
185 %description dirs -l pl.UTF-8
186 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
188 %package backend-devel
189 Summary: PostgreSQL backend development header files
190 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
191 Group: Development/Libraries
192 Requires: postgresql-devel >= %{version}-%{release}
193 Requires: postgresql-libs >= %{version}-%{release}
194 Obsoletes: postgresql-backend-devel
196 %description backend-devel
197 This package contains header files required to compile functions that
198 could be loaded directly by backend
200 %description backend-devel -l pl.UTF-8
201 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
202 bezposrednio ladowane przez beckend serwera PostgreSQL.
205 Summary: Clients needed to access a PostgreSQL server
206 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
207 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
208 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
209 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
210 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
211 Group: Applications/Databases
212 Requires: alternatives
213 Requires: %{name}-dirs = %{version}-%{release}
214 Requires: postgresql-libs >= %{version}-%{release}
215 Obsoletes: postgresql-clients
218 This package includes only the clients needed to access an PostgreSQL
219 server. The server is included in the main package. If all you need is
220 to connect to another PostgreSQL server, the this is the only package
221 you need to install. Clients include several command-line utilities
222 you can use to manage your databases on a remote PostgreSQL server.
224 %description clients -l pl.UTF-8
225 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
226 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
227 poleceń. Serwer znajduje się w głównym pakiecie.
230 Summary: Documentation for PostgreSQL
231 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
232 Group: Applications/Databases
233 Obsoletes: postgresql-doc
236 This package includes documentation and HOWTO for programmer, admin
237 etc., in HTML format.
239 %description doc -l pl.UTF-8
240 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
241 administratorów w formacie HTML.
244 Summary: Embedded SQL in C interface
245 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
247 Requires: %{name}-dirs = %{version}-%{release}
248 Requires: postgresql-libs >= %{version}-%{release}
249 Requires: postgresql-ecpg-libs >= %{version}-%{release}
250 Obsoletes: postgresql-ecpg
253 Embedded SQL in C interface.
255 %description ecpg -l pl.UTF-8
256 Interfejs wbudowanego SQL-a w język C.
258 %package module-plperl
259 Summary: PL/perl - PostgreSQL procedural language
260 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
261 Group: Applications/Databases
262 Requires: %{name} = %{version}-%{release}
263 Obsoletes: postgresql-module-plperl
265 %description module-plperl
266 From PostgreSQL documentation:
268 Postgres supports the definition of procedural languages. In the case
269 of a function or trigger procedure defined in a procedural language,
270 the database has no built-in knowledge about how to interpret the
271 function's source text. Instead, the task is passed to a handler that
272 knows the details of the language. The handler itself is a special
273 programming language function compiled into a shared object and loaded
276 To enable PL/Perl procedural language for your database you have to
277 run createlang command.
279 %description module-plperl -l pl.UTF-8
280 Z dokumentacji PostgreSQL:
282 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
283 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
284 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
285 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
286 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
287 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
290 Za pomocą polecenia createlang można dodać obsługę języka
291 proceduralnego PL/Perl dla swojej bazy danych.
293 %package module-plpython
294 Summary: PL/Python - PostgreSQL procedural language
295 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
296 Group: Applications/Databases
297 Requires: %{name} = %{version}-%{release}
298 %pyrequires_eq python
299 Obsoletes: postgresql-module-plpython
301 %description module-plpython
302 From PostgreSQL documentation:
304 Postgres supports the definition of procedural languages. In the case
305 of a function or trigger procedure defined in a procedural language,
306 the database has no built-in knowledge about how to interpret the
307 function's source text. Instead, the task is passed to a handler that
308 knows the details of the language. The handler itself is a special
309 programming language function compiled into a shared object and loaded
312 To enable PL/Python procedural language for your database you have to
313 run createlang command.
315 %description module-plpython -l pl.UTF-8
316 Z dokumentacji PostgreSQL:
318 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
319 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
320 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
321 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
322 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
323 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
326 Za pomocą polecenia createlang można dodać obsługę języka
327 proceduralnego PL/Python dla swojej bazy danych.
329 %package module-pltcl
330 Summary: PL/Tcl - PostgreSQL procedural language
331 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
332 Group: Applications/Databases
333 Requires: %{name} = %{version}-%{release}
335 Obsoletes: postgresql-module-pltcl
337 %description module-pltcl
338 From PostgreSQL documentation:
340 Postgres supports the definition of procedural languages. In the case
341 of a function or trigger procedure defined in a procedural language,
342 the database has no built-in knowledge about how to interpret the
343 function's source text. Instead, the task is passed to a handler that
344 knows the details of the language. The handler itself is a special
345 programming language function compiled into a shared object and loaded
348 To enable PL/Tcl procedural language for your database you have to run
351 %description module-pltcl -l pl.UTF-8
352 Z dokumentacji PostgreSQL:
354 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
355 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
356 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
357 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
358 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
359 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
362 Za pomocą polecenia createlang można dodać obsługę języka
363 proceduralnego PL/Tcl dla swojej bazy danych.
365 %package module-dblink
366 Summary: dblink module for PostgreSQL
367 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
368 Group: Applications/Databases
369 Requires: %{name} = %{version}-%{release}
370 Obsoletes: postgresql-module-dblink
372 %description module-dblink
373 dblink module for PostgreSQL provides functions returning results from
376 %description module-dblink -l pl.UTF-8
377 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
381 Summary: Large Objects module for PostgreSQL
382 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
383 Group: Applications/Databases
384 Requires: %{name} = %{version}-%{release}
385 Obsoletes: postgresql-module-lo
387 %description module-lo
388 Large Objects module for PostgreSQL adds a new data type 'lo', some
389 support functions and a trigger which handles the orphaning problem.
391 %description module-lo -l pl.UTF-8
392 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
393 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
394 osieroconych obiektów.
396 %package module-pg_trgm
397 Summary: Trigram matching for PostgreSQL
398 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
399 Group: Applications/Databases
400 Requires: %{name} = %{version}-%{release}
401 Obsoletes: postgresql-module-pg_trgm
403 %description module-pg_trgm
404 This module provides functions and index classes for determining the
405 similarity of text based on trigram matching.
407 %description module-pg_trgm -l pl.UTF-8
408 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
409 w oparciu o dopasowywanie trigramowe (trigram matching).
411 %package module-pgcrypto
412 Summary: Cryptographic functions for PostgreSQL
413 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
414 Group: Applications/Databases
415 Requires: %{name} = %{version}-%{release}
416 Obsoletes: postgresql-module-pgcrypto
418 %description module-pgcrypto
419 Cryptographic functions for PostgreSQL.
421 %description module-pgcrypto -l pl.UTF-8
422 Funkcje kryptograficzne dla PostgreSQL.
424 %package module-sepgsql
425 Summary: PostgreSQL external security provider using SELinux
426 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
427 Group: Applications/Databases
428 Requires: %{name} = %{version}-%{release}
429 Requires: libselinux >= 2.1.10
430 Obsoletes: postgresql-module-sepgsql
432 %description module-sepgsql
433 PostgreSQL external security provider using SELinux.
435 %description module-sepgsql -l pl.UTF-8
436 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
438 %package module-tablefunc
439 Summary: crosstab functions for PostgreSQL
440 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
441 Group: Applications/Databases
442 Requires: %{name} = %{version}-%{release}
443 Obsoletes: postgresql-module-tablefunc
445 %description module-tablefunc
446 crosstab functions for PostgreSQL.
448 %description module-tablefunc -l pl.UTF-8
449 Funkcje crosstab dla PostgreSQL-a.
452 Summary: XML-handling functions for PostgreSQL
453 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
454 Group: Applications/Databases
455 Requires: %{name} = %{version}-%{release}
456 Requires: libxml2 >= 1:2.6.23
457 Obsoletes: postgresql-module-xml2
459 %description module-xml2
460 Module with XML functions provides both XPath querying and XSLT
461 functionality. There is also a new table function which allows the
462 straightforward return of multiple XML results.
464 %description module-xml2 -l pl.UTF-8
465 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
466 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
467 bezpośrednie zwracanie wielu wyników XML.
470 Summary: Miscellaneous PostgreSQL contrib modules
471 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
472 Group: Applications/Databases
473 Requires: %{name} = %{version}-%{release}
474 Obsoletes: postgresql-contrib
477 Miscellaneous PostgreSQL contrib modules.
479 %description contrib -l pl.UTF-8
480 Różne moduły dołączone do PostgreSQL-a.
483 %setup -q -n postgresql-%{version}
485 %{?with_absolute_dbpaths:%patch1 -p1}
493 # force rebuild of bison/flex files
494 find src -name \*.l -o -name \*.y | xargs touch
497 #find contrib -type d -name CVS -exec rm -rf {} \;
500 %{__aclocal} -I config
504 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
505 --prefix=%{pgsqldatadir} \
506 --bindir=%{pgsqllibdir}/bin \
507 --sbindir=%{pgsqllibdir}/sbin \
508 --includedir=%{_includedir} \
509 --mandir=%{pgsqldatadir}/man \
510 --datadir=%{pgsqldatadir} \
511 --libdir=%{_libdir} \
512 --docdir=%{pgsqldatadir}/doc \
513 --localedir=%{_datadir}/locale \
516 %{?with_systemtap:--enable-dtrace} \
517 --enable-integer-datetimes \
519 --enable-thread-safety \
520 %{?with_bonjour:--with-bonjour} \
521 %{?with_kerberos5:--with-gssapi} \
522 %{?with_ldap:--with-ldap} \
527 %{?with_perl:--with-perl} \
528 %{?with_python:--with-python} \
529 %{?with_selinux:--with-selinux} \
530 --with-system-tzdata=%{_datadir}/zoneinfo \
532 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
537 for mod in %{contrib_modules}; do \
538 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
539 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
540 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
541 %{__make} -C contrib/$mod CFLAGS="$flags"
544 %{__make} -C src/tutorial \
547 %ifnarch sparc sparcv9 sparc64 alpha
548 %{?with_tests:%{__make} -j1 check}
552 rm -rf $RPM_BUILD_ROOT
553 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{logrotate.d,rc.d/init.d,sysconfig}} \
554 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
555 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
556 $RPM_BUILD_ROOT%{_mandir}
558 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
561 DESTDIR=$RPM_BUILD_ROOT
562 %{__make} -C doc/src/sgml install-man \
563 DESTDIR=$RPM_BUILD_ROOT
566 %{__make} install -C src/pl/plperl \
567 DESTDIR=$RPM_BUILD_ROOT
570 for mod in %{contrib_modules}; do \
571 %{__make} -C contrib/$mod install \
572 DESTDIR=$RPM_BUILD_ROOT
575 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
576 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
577 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/postgresql
580 tar zxf %{SOURCE2} -C howto
583 %py_comp $RPM_BUILD_ROOT%{py_libdir}
584 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
588 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
589 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
590 pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetxlog pg_rewind; do
591 %find_lang $f-%{pgsqlversion}
595 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
597 merge_lang pgscripts postgres plpgsql \
598 pg_basebackup pg_controldata pg_resetxlog pg_rewind > main.lang
599 merge_lang psql initdb \
600 pg_ctl pg_dump > clients.lang
603 %find_lang pltcl-%{pgsqlversion}
607 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
610 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
612 # package it...? nah, why bother.
613 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
615 # remove common files provided by PostgreSQL from master branch
616 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
617 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
618 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
621 rm -rf $RPM_BUILD_ROOT
625 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
626 . /etc/sysconfig/postgresql-%{pgsqlversion}
627 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
628 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
632 for pgdir in $PG_DB_CLUSTERS; do
633 if [ -f $pgdir/PG_VERSION ]; then
634 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
635 echo "Found database(s) in older, incompatible format in cluster $pgdir."
640 if [ "$foundold" = "1" ]; then
642 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
643 echo "and clean (or rename) those directories; then upgrade postgresql and"
644 echo "restore all data (using pg_restore or psql)."
645 echo "Remember to stop the daemon before upgrading!"
647 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
648 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
654 /sbin/chkconfig --add postgresql-%{pgsqlversion}
655 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
658 if [ "$1" = "0" ]; then
659 %service postgresql-%{pgsqlversion} stop
660 /sbin/chkconfig --del postgresql-%{pgsqlversion}
664 update-alternatives \
665 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
666 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
667 update-alternatives \
668 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
669 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
670 update-alternatives \
671 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
672 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
673 update-alternatives \
674 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
675 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
676 update-alternatives \
677 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
678 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
679 update-alternatives \
680 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
681 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
682 update-alternatives \
683 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
684 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
685 update-alternatives \
686 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
687 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
688 update-alternatives \
689 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
690 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
691 update-alternatives \
692 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
693 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
694 update-alternatives \
695 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
696 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
697 update-alternatives \
698 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
699 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
700 update-alternatives \
701 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
702 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
705 if [ $1 -eq 0 ]; then
706 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
707 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
708 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
709 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
710 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
711 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
712 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
713 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
714 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
715 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
716 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
717 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
718 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
722 %defattr(644,root,root,755)
723 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
724 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
725 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
727 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
728 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
729 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
730 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
731 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetxlog
732 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivexlog
733 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
734 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
735 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
736 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
737 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
738 %attr(755,root,root) %{pgsqllibdir}/bin/pg_xlogdump
739 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
740 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
741 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
743 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
744 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
745 %attr(755,root,root) %{moduledir}/dict_int.so
746 %attr(755,root,root) %{moduledir}/dict_snowball.so
747 %attr(755,root,root) %{moduledir}/dict_xsyn.so
748 %attr(755,root,root) %{moduledir}/euc*.so
749 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
750 %attr(755,root,root) %{moduledir}/latin_and_mic.so
751 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
752 %attr(755,root,root) %{moduledir}/plpgsql.so
753 %attr(755,root,root) %{moduledir}/utf8_and_*.so
756 %{extensiondir}/plpgsql--*.sql
757 %{extensiondir}/plpgsql.control
759 %{pgsqldatadir}/*.bki
760 %{pgsqldatadir}/*.sample
761 %{pgsqldatadir}/*.description
762 %{pgsqldatadir}/*.shdescription
763 %{pgsqldatadir}/*.sql
764 %{pgsqldatadir}/*.txt
765 %{pgsqldatadir}/timezonesets
766 %{pgsqldatadir}/tsearch_data
768 %dir %{pgsqldatadir}/contrib
770 %{pgsqldatadir}/man/man1/initdb.1*
771 %{pgsqldatadir}/man/man1/pg_basebackup.1*
772 %{pgsqldatadir}/man/man1/pg_controldata.1*
773 %{pgsqldatadir}/man/man1/pg_ctl.1*
774 %{pgsqldatadir}/man/man1/pg_resetxlog.1*
775 %{pgsqldatadir}/man/man1/pg_receivexlog.1*
776 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
777 %{pgsqldatadir}/man/man1/pg_rewind.1*
778 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
779 %{pgsqldatadir}/man/man1/pg_test_timing.1*
780 %{pgsqldatadir}/man/man1/pg_upgrade.1*
781 %{pgsqldatadir}/man/man1/pg_xlogdump.1*
782 %{pgsqldatadir}/man/man1/pgbench.1*
783 %{pgsqldatadir}/man/man1/postgres.1*
784 %{pgsqldatadir}/man/man1/postmaster.1*
787 %defattr(644,root,root,755)
789 %dir %{pgsqllibdir}/bin
790 %dir %{pgsqllibdir}/lib
792 %dir %{pgsqldatadir}/man
793 %dir %{pgsqldatadir}/man/man1
794 %dir %{pgsqldatadir}/man/man3
795 %dir %{pgsqldatadir}/man/man7
796 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
799 %defattr(644,root,root,755)
800 %doc doc/src/sgml/html howto
801 %{_examplesdir}/%{name}-%{version}
803 %files ecpg -f ecpg-%{pgsqlversion}.lang
804 %defattr(644,root,root,755)
805 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
806 %{pgsqldatadir}/man/man1/ecpg.1*
809 %defattr(644,root,root,755)
810 %dir %{_includedir}/postgresql/%{pgsqlversion}
811 %{_includedir}/postgresql/%{pgsqlversion}/server
812 %dir %{moduledir}/pgxs
813 %attr(755,root,root) %{moduledir}/pgxs/config
814 %{moduledir}/pgxs/src
815 %{pgsqldatadir}/man/man3/SPI_*.3*
817 %files clients -f clients.lang
818 %defattr(644,root,root,755)
819 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
820 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
821 %attr(755,root,root) %{pgsqllibdir}/bin/createlang
822 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
823 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
824 %attr(755,root,root) %{pgsqllibdir}/bin/droplang
825 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
826 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
827 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
828 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
829 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
830 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
831 %attr(755,root,root) %{pgsqllibdir}/bin/psql
832 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
833 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
835 %{pgsqldatadir}/man/man1/clusterdb.1*
836 %{pgsqldatadir}/man/man1/createdb.1*
837 %{pgsqldatadir}/man/man1/createlang.1*
838 %{pgsqldatadir}/man/man1/createuser.1*
839 %{pgsqldatadir}/man/man1/dropdb.1*
840 %{pgsqldatadir}/man/man1/droplang.1*
841 %{pgsqldatadir}/man/man1/dropuser.1*
842 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
843 %{pgsqldatadir}/man/man1/pg_dump.1*
844 %{pgsqldatadir}/man/man1/pg_dumpall.1*
845 %{pgsqldatadir}/man/man1/pg_isready.1*
846 %{pgsqldatadir}/man/man1/pg_restore.1*
847 %{pgsqldatadir}/man/man1/psql.1*
848 %{pgsqldatadir}/man/man1/reindexdb.1*
849 %{pgsqldatadir}/man/man1/vacuumdb.1*
850 %{pgsqldatadir}/man/man7/*.7*
853 %files module-plperl -f plperl-%{pgsqlversion}.lang
854 %defattr(644,root,root,755)
855 %attr(755,root,root) %{moduledir}/plperl.so
856 %{extensiondir}/plperl--*.sql
857 %{extensiondir}/plperl.control
858 %{extensiondir}/plperlu--*.sql
859 %{extensiondir}/plperlu.control
863 %files module-plpython -f plpython-%{pgsqlversion}.lang
864 %defattr(644,root,root,755)
865 %attr(755,root,root) %{moduledir}/plpython2.so
866 %{extensiondir}/plpython*--*.sql
867 %{extensiondir}/plpython*.control
871 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
872 %defattr(644,root,root,755)
873 %attr(755,root,root) %{pgsqllibdir}/bin/pltcl_*
874 %attr(755,root,root) %{moduledir}/pltcl.so
875 %{pgsqldatadir}/unknown.pltcl
876 %{extensiondir}/pltcl*--*.sql
877 %{extensiondir}/pltcl*.control
881 %defattr(644,root,root,755)
882 %attr(755,root,root) %{moduledir}/dblink.so
883 %{extensiondir}/dblink--*.sql
884 %{extensiondir}/dblink.control
885 %{pgsqldatadir}/man/man3/dblink*.3*
888 %defattr(644,root,root,755)
889 %attr(755,root,root) %{moduledir}/lo.so
890 %{extensiondir}/lo--*.sql
891 %{extensiondir}/lo.control
893 %files module-pg_trgm
894 %defattr(644,root,root,755)
895 %attr(755,root,root) %{moduledir}/pg_trgm.so
896 %{extensiondir}/pg_trgm--*.sql
897 %{extensiondir}/pg_trgm.control
899 %files module-pgcrypto
900 %defattr(644,root,root,755)
901 %attr(755,root,root) %{moduledir}/pgcrypto.so
902 %{extensiondir}/pgcrypto--*.sql
903 %{extensiondir}/pgcrypto.control
906 %files module-sepgsql
907 %defattr(644,root,root,755)
908 %attr(755,root,root) %{moduledir}/sepgsql.so
909 %{extensiondir}/sepgsql.sql
912 %files module-tablefunc
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{moduledir}/tablefunc.so
915 %{extensiondir}/*tablefunc--*.sql
916 %{extensiondir}/*tablefunc.control
919 %defattr(644,root,root,755)
920 %attr(755,root,root) %{moduledir}/pgxml.so
921 %{extensiondir}/xml2--*.sql
922 %{extensiondir}/xml2.control
925 %defattr(644,root,root,755)
927 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
928 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
929 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
930 %attr(755,root,root) %{moduledir}/_int.so
931 %attr(755,root,root) %{moduledir}/adminpack.so
932 %attr(755,root,root) %{moduledir}/auth_delay.so
933 %attr(755,root,root) %{moduledir}/auto_explain.so
934 %attr(755,root,root) %{moduledir}/bloom.so
935 %attr(755,root,root) %{moduledir}/btree_gin.so
936 %attr(755,root,root) %{moduledir}/btree_gist.so
937 %attr(755,root,root) %{moduledir}/chkpass.so
938 %attr(755,root,root) %{moduledir}/citext.so
939 %attr(755,root,root) %{moduledir}/cube.so
940 %attr(755,root,root) %{moduledir}/earthdistance.so
941 %attr(755,root,root) %{moduledir}/file_fdw.so
942 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
943 %attr(755,root,root) %{moduledir}/hstore.so
944 %attr(755,root,root) %{moduledir}/isn.so
945 %attr(755,root,root) %{moduledir}/ltree.so
946 %attr(755,root,root) %{moduledir}/pageinspect.so
947 %attr(755,root,root) %{moduledir}/passwordcheck.so
948 %attr(755,root,root) %{moduledir}/pg_buffercache.so
949 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
950 %attr(755,root,root) %{moduledir}/pg_prewarm.so
951 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
952 %attr(755,root,root) %{moduledir}/pg_visibility.so
953 %attr(755,root,root) %{moduledir}/pgrowlocks.so
954 %attr(755,root,root) %{moduledir}/pgstattuple.so
955 %attr(755,root,root) %{moduledir}/postgres_fdw.so
956 %attr(755,root,root) %{moduledir}/seg.so
957 %attr(755,root,root) %{moduledir}/sslinfo.so
958 %attr(755,root,root) %{moduledir}/tcn.so
959 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
960 %attr(755,root,root) %{moduledir}/tsm_system_time.so
961 %attr(755,root,root) %{moduledir}/unaccent.so
962 %attr(755,root,root) %{moduledir}/uuid-ossp.so
963 %{extensiondir}/adminpack--*.sql
964 %{extensiondir}/adminpack.control
965 %{extensiondir}/bloom--*.sql
966 %{extensiondir}/bloom.control
967 %{extensiondir}/btree_gin--*.sql
968 %{extensiondir}/btree_gin.control
969 %{extensiondir}/btree_gist--*.sql
970 %{extensiondir}/btree_gist.control
971 %{extensiondir}/chkpass--*.sql
972 %{extensiondir}/chkpass.control
973 %{extensiondir}/citext--*.sql
974 %{extensiondir}/citext.control
975 %{extensiondir}/cube--*.sql
976 %{extensiondir}/cube.control
977 %{extensiondir}/dict_int--*.sql
978 %{extensiondir}/dict_int.control
979 %{extensiondir}/dict_xsyn--*.sql
980 %{extensiondir}/dict_xsyn.control
981 %{extensiondir}/earthdistance--*.sql
982 %{extensiondir}/earthdistance.control
983 %{extensiondir}/file_fdw--*.sql
984 %{extensiondir}/file_fdw.control
985 %{extensiondir}/fuzzystrmatch--*.sql
986 %{extensiondir}/fuzzystrmatch.control
987 %{extensiondir}/hstore--*.sql
988 %{extensiondir}/hstore.control
989 %{extensiondir}/intarray--*.sql
990 %{extensiondir}/intarray.control
991 %{extensiondir}/intagg--*.sql
992 %{extensiondir}/intagg.control
993 %{extensiondir}/isn--*.sql
994 %{extensiondir}/isn.control
995 %{extensiondir}/ltree--*.sql
996 %{extensiondir}/ltree.control
997 %{extensiondir}/pageinspect--*.sql
998 %{extensiondir}/pageinspect.control
999 %{extensiondir}/pg_buffercache--*.sql
1000 %{extensiondir}/pg_buffercache.control
1001 %{extensiondir}/pg_freespacemap--*.sql
1002 %{extensiondir}/pg_freespacemap.control
1003 %{extensiondir}/pg_prewarm--*.sql
1004 %{extensiondir}/pg_prewarm.control
1005 %{extensiondir}/pg_stat_statements--*.sql
1006 %{extensiondir}/pg_stat_statements.control
1007 %{extensiondir}/pg_visibility--*.sql
1008 %{extensiondir}/pg_visibility.control
1009 %{extensiondir}/pgrowlocks--*.sql
1010 %{extensiondir}/pgrowlocks.control
1011 %{extensiondir}/pgstattuple--*.sql
1012 %{extensiondir}/pgstattuple.control
1013 %{extensiondir}/postgres_fdw--*.sql
1014 %{extensiondir}/postgres_fdw.control
1015 %{extensiondir}/seg--*.sql
1016 %{extensiondir}/seg.control
1017 %{extensiondir}/sslinfo--*.sql
1018 %{extensiondir}/sslinfo.control
1019 %{extensiondir}/tcn--*.sql
1020 %{extensiondir}/tcn.control
1021 %{extensiondir}/tsm_system_rows--*.sql
1022 %{extensiondir}/tsm_system_rows.control
1023 %{extensiondir}/tsm_system_time--*.sql
1024 %{extensiondir}/tsm_system_time.control
1025 %{extensiondir}/unaccent--*.sql
1026 %{extensiondir}/unaccent.control
1027 %{extensiondir}/uuid-ossp--*.sql
1028 %{extensiondir}/uuid-ossp.control
1030 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1031 %{extensiondir}/hstore_plperl--*.sql
1032 %{extensiondir}/hstore_plperl.control
1033 %{extensiondir}/hstore_plperlu--*.sql
1034 %{extensiondir}/hstore_plperlu.control
1037 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1038 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1039 %{extensiondir}/hstore_plpythonu--*.sql
1040 %{extensiondir}/hstore_plpythonu.control
1041 %{extensiondir}/hstore_plpython2u--*.sql
1042 %{extensiondir}/hstore_plpython2u.control
1043 %{extensiondir}/hstore_plpython3u--*.sql
1044 %{extensiondir}/hstore_plpython3u.control
1045 %{extensiondir}/ltree_plpythonu--*.sql
1046 %{extensiondir}/ltree_plpythonu.control
1047 %{extensiondir}/ltree_plpython2u--*.sql
1048 %{extensiondir}/ltree_plpython2u.control
1049 %{extensiondir}/ltree_plpython3u--*.sql
1050 %{extensiondir}/ltree_plpython3u.control
1052 %{pgsqldatadir}/man/man1/oid2name.1*
1053 %{pgsqldatadir}/man/man1/pg_standby.1*
1054 %{pgsqldatadir}/man/man1/vacuumlo.1*