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}.9
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 980f11ed6b61a5fb64fbd9dffdccc8be
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 URL: http://www.postgresql.org/
50 BuildRequires: autoconf >= 2.69
51 BuildRequires: automake
52 %{?with_bonjour:BuildRequires: avahi-compat-libdns_sd-devel}
53 # not needed for releases... but fixes something in snapshot
54 BuildRequires: bison >= 1.875
55 BuildRequires: docbook-dtd42-sgml
56 BuildRequires: docbook-dtd42-xml
57 BuildRequires: docbook-style-xsl
58 BuildRequires: flex >= 2.5.31
59 BuildRequires: gettext-tools
60 BuildRequires: gnome-doc-tools
61 %{?with_kerberos5:BuildRequires: heimdal-devel}
62 %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10}
63 BuildRequires: libtool
64 BuildRequires: libxml2-devel >= 1:2.6.23
65 BuildRequires: libxslt-devel
66 BuildRequires: libxslt-progs
67 BuildRequires: ncurses-devel >= 5.0
68 %{?with_ldap:BuildRequires: openldap-devel}
69 BuildRequires: openssl-devel >= 0.9.7d
70 BuildRequires: ossp-uuid-devel
71 BuildRequires: pam-devel
72 %{?with_perl:BuildRequires: perl-devel}
74 BuildRequires: python >= 1:2.3
75 BuildRequires: python-devel >= 1:2.3
76 BuildRequires: python-modules >= 1:2.3
78 BuildRequires: readline-devel >= 4.2
79 BuildRequires: rpmbuild(macros) >= 1.671
80 %{?with_systemtap:BuildRequires: systemtap-sdt-devel}
81 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3}
82 %{?with_tests:BuildRequires: tzdata}
83 BuildRequires: zlib-devel
84 Requires(post,preun): /sbin/chkconfig
85 Requires(pre): /bin/id
86 Requires(pre): /usr/bin/getgid
87 Requires(triggerpostun): /bin/id
88 Requires(triggerpostun): /usr/sbin/usermod
89 Requires: %{name}-clients = %{version}-%{release}
90 Requires: %{name}-dirs = %{version}-%{release}
91 Requires: postgresql-libs >= %{version}-%{release}
92 Requires: rc-scripts >= 0.4.3.0
95 Obsoletes: postgresql-module-plpgsql
96 Obsoletes: postgresql-module-tsearch2
97 Obsoletes: postgresql-server
98 Obsoletes: postgresql-test
99 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
101 %define pgsqldatadir %{_datadir}/postgresql/%{pgsqlversion}
102 %define pgsqllibdir %{_libdir}/postgresql/%{pgsqlversion}
103 %define moduledir %{pgsqllibdir}/lib
104 %define extensiondir %{pgsqldatadir}/extension
106 %define _ulibdir /usr/lib
109 # spi, test_decoding, worker_spi - examples/tests
110 # tsearch2 - old module for compatibility only
111 %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
114 PostgreSQL Data Base Management System (formerly known as Postgres,
117 PostgreSQL is an enhancement of the POSTGRES database management
118 system, a next-generation DBMS research prototype. While PostgreSQL
119 retains the powerful data model and rich data types of POSTGRES, it
120 replaces the PostQuel query language with an extended subset of SQL.
121 PostgreSQL is free and the complete source is available.
123 PostgreSQL development is being performed by a team of Internet
124 developers who all subscribe to the PostgreSQL development mailing
125 list. The current coordinator is Marc G. Fournier
126 (scrappy@postgreSQL.org). This team is now responsible for all current
127 and future development of PostgreSQL.
129 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
130 others have contributed to the porting, testing, debugging and
131 enhancement of the code. The original Postgres code, from which
132 PostgreSQL is derived, was the effort of many graduate students,
133 undergraduate students, and staff programmers working under the
134 direction of Professor Michael Stonebraker at the University of
135 California, Berkeley.
137 The original name of the software at Berkeley was Postgres. When SQL
138 functionality was added in 1995, its name was changed to Postgres95.
139 The name was changed at the end of 1996 to PostgreSQL.
141 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
142 and most flavours of Unix.
144 %description -l pl.UTF-8
145 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
146 Postgres, następnie jako Postgres95).
148 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
149 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
150 model danych oraz bogaty zbiór różnych typów danych, to jednak język
151 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
152 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
155 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
156 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
157 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
158 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
160 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
161 innych pomagało przenosząc na różne platformy, testując, analizując i
162 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
163 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
164 zespołu programistów, którzy pracowali pod kierunkiem profesora
165 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
167 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
168 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
169 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
172 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
173 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
175 %package -n postgresql-common
176 Summary: Common PostgreSQL files and directories
177 Summary(pl.UTF-8): PostgreSQL - wspólne pliki i katalogi
178 Group: Applicataion/Databases
179 Requires(pre): /usr/sbin/groupadd
180 Requires(pre): /usr/sbin/useradd
182 %description -n postgresql-common
183 Common PostgreSQL files and directories.
185 %description -n postgresql-common -l pl.UTF-8
186 PostgreSQL - wspólne pliki i katalogi.
189 Summary: Common directories for PostgresSQL %{pgsqlversion}
190 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
191 Group: Applicataion/Databases
192 Requires: postgresql-common >= %{version}-%{release}
195 Common directories for PostgresSQL %{pgsqlversion}
197 %description dirs -l pl.UTF-8
198 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
200 %package backend-devel
201 Summary: PostgreSQL backend development header files
202 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
203 Group: Development/Libraries
204 Requires: postgresql-devel >= %{version}-%{release}
205 Requires: postgresql-libs >= %{version}-%{release}
206 Obsoletes: postgresql-backend-devel
208 %description backend-devel
209 This package contains header files required to compile functions that
210 could be loaded directly by backend
212 %description backend-devel -l pl.UTF-8
213 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
214 bezposrednio ladowane przez beckend serwera PostgreSQL.
217 Summary: Clients needed to access a PostgreSQL server
218 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
219 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
220 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
221 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
222 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
223 Group: Applications/Databases
224 Requires: alternatives
225 Requires: %{name}-dirs = %{version}-%{release}
226 Requires: postgresql-libs >= %{version}-%{release}
227 Obsoletes: postgresql-clients
230 This package includes only the clients needed to access an PostgreSQL
231 server. The server is included in the main package. If all you need is
232 to connect to another PostgreSQL server, the this is the only package
233 you need to install. Clients include several command-line utilities
234 you can use to manage your databases on a remote PostgreSQL server.
236 %description clients -l pl.UTF-8
237 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
238 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
239 poleceń. Serwer znajduje się w głównym pakiecie.
242 Summary: Documentation for PostgreSQL
243 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
244 Group: Applications/Databases
245 Obsoletes: postgresql-doc
248 This package includes documentation and HOWTO for programmer, admin
249 etc., in HTML format.
251 %description doc -l pl.UTF-8
252 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
253 administratorów w formacie HTML.
256 Summary: Embedded SQL in C interface
257 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
259 Requires: %{name}-dirs = %{version}-%{release}
260 Requires: postgresql-libs >= %{version}-%{release}
261 Requires: postgresql-ecpg-libs >= %{version}-%{release}
262 Obsoletes: postgresql-ecpg
265 Embedded SQL in C interface.
267 %description ecpg -l pl.UTF-8
268 Interfejs wbudowanego SQL-a w język C.
270 %package module-plperl
271 Summary: PL/perl - PostgreSQL procedural language
272 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
273 Group: Applications/Databases
274 Requires: %{name} = %{version}-%{release}
275 Obsoletes: postgresql-module-plperl
277 %description module-plperl
278 From PostgreSQL documentation:
280 Postgres supports the definition of procedural languages. In the case
281 of a function or trigger procedure defined in a procedural language,
282 the database has no built-in knowledge about how to interpret the
283 function's source text. Instead, the task is passed to a handler that
284 knows the details of the language. The handler itself is a special
285 programming language function compiled into a shared object and loaded
288 To enable PL/Perl procedural language for your database you have to
289 run createlang command.
291 %description module-plperl -l pl.UTF-8
292 Z dokumentacji PostgreSQL:
294 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
295 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
296 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
297 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
298 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
299 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
302 Za pomocą polecenia createlang można dodać obsługę języka
303 proceduralnego PL/Perl dla swojej bazy danych.
305 %package module-plpython
306 Summary: PL/Python - PostgreSQL procedural language
307 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
308 Group: Applications/Databases
309 Requires: %{name} = %{version}-%{release}
310 %pyrequires_eq python
311 Obsoletes: postgresql-module-plpython
313 %description module-plpython
314 From PostgreSQL documentation:
316 Postgres supports the definition of procedural languages. In the case
317 of a function or trigger procedure defined in a procedural language,
318 the database has no built-in knowledge about how to interpret the
319 function's source text. Instead, the task is passed to a handler that
320 knows the details of the language. The handler itself is a special
321 programming language function compiled into a shared object and loaded
324 To enable PL/Python procedural language for your database you have to
325 run createlang command.
327 %description module-plpython -l pl.UTF-8
328 Z dokumentacji PostgreSQL:
330 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
331 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
332 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
333 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
334 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
335 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
338 Za pomocą polecenia createlang można dodać obsługę języka
339 proceduralnego PL/Python dla swojej bazy danych.
341 %package module-pltcl
342 Summary: PL/Tcl - PostgreSQL procedural language
343 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
344 Group: Applications/Databases
345 Requires: %{name} = %{version}-%{release}
347 Obsoletes: postgresql-module-pltcl
349 %description module-pltcl
350 From PostgreSQL documentation:
352 Postgres supports the definition of procedural languages. In the case
353 of a function or trigger procedure defined in a procedural language,
354 the database has no built-in knowledge about how to interpret the
355 function's source text. Instead, the task is passed to a handler that
356 knows the details of the language. The handler itself is a special
357 programming language function compiled into a shared object and loaded
360 To enable PL/Tcl procedural language for your database you have to run
363 %description module-pltcl -l pl.UTF-8
364 Z dokumentacji PostgreSQL:
366 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
367 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
368 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
369 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
370 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
371 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
374 Za pomocą polecenia createlang można dodać obsługę języka
375 proceduralnego PL/Tcl dla swojej bazy danych.
377 %package module-dblink
378 Summary: dblink module for PostgreSQL
379 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
380 Group: Applications/Databases
381 Requires: %{name} = %{version}-%{release}
382 Obsoletes: postgresql-module-dblink
384 %description module-dblink
385 dblink module for PostgreSQL provides functions returning results from
388 %description module-dblink -l pl.UTF-8
389 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
393 Summary: Large Objects module for PostgreSQL
394 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
395 Group: Applications/Databases
396 Requires: %{name} = %{version}-%{release}
397 Obsoletes: postgresql-module-lo
399 %description module-lo
400 Large Objects module for PostgreSQL adds a new data type 'lo', some
401 support functions and a trigger which handles the orphaning problem.
403 %description module-lo -l pl.UTF-8
404 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
405 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
406 osieroconych obiektów.
408 %package module-pg_trgm
409 Summary: Trigram matching for PostgreSQL
410 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
411 Group: Applications/Databases
412 Requires: %{name} = %{version}-%{release}
413 Obsoletes: postgresql-module-pg_trgm
415 %description module-pg_trgm
416 This module provides functions and index classes for determining the
417 similarity of text based on trigram matching.
419 %description module-pg_trgm -l pl.UTF-8
420 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
421 w oparciu o dopasowywanie trigramowe (trigram matching).
423 %package module-pgcrypto
424 Summary: Cryptographic functions for PostgreSQL
425 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
426 Group: Applications/Databases
427 Requires: %{name} = %{version}-%{release}
428 Obsoletes: postgresql-module-pgcrypto
430 %description module-pgcrypto
431 Cryptographic functions for PostgreSQL.
433 %description module-pgcrypto -l pl.UTF-8
434 Funkcje kryptograficzne dla PostgreSQL.
436 %package module-sepgsql
437 Summary: PostgreSQL external security provider using SELinux
438 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
439 Group: Applications/Databases
440 Requires: %{name} = %{version}-%{release}
441 Requires: libselinux >= 2.1.10
442 Obsoletes: postgresql-module-sepgsql
444 %description module-sepgsql
445 PostgreSQL external security provider using SELinux.
447 %description module-sepgsql -l pl.UTF-8
448 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
450 %package module-tablefunc
451 Summary: crosstab functions for PostgreSQL
452 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
453 Group: Applications/Databases
454 Requires: %{name} = %{version}-%{release}
455 Obsoletes: postgresql-module-tablefunc
457 %description module-tablefunc
458 crosstab functions for PostgreSQL.
460 %description module-tablefunc -l pl.UTF-8
461 Funkcje crosstab dla PostgreSQL-a.
464 Summary: XML-handling functions for PostgreSQL
465 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
466 Group: Applications/Databases
467 Requires: %{name} = %{version}-%{release}
468 Requires: libxml2 >= 1:2.6.23
469 Obsoletes: postgresql-module-xml2
471 %description module-xml2
472 Module with XML functions provides both XPath querying and XSLT
473 functionality. There is also a new table function which allows the
474 straightforward return of multiple XML results.
476 %description module-xml2 -l pl.UTF-8
477 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
478 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
479 bezpośrednie zwracanie wielu wyników XML.
482 Summary: Miscellaneous PostgreSQL contrib modules
483 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
484 Group: Applications/Databases
485 Requires: %{name} = %{version}-%{release}
486 Obsoletes: postgresql-contrib
489 Miscellaneous PostgreSQL contrib modules.
491 %description contrib -l pl.UTF-8
492 Różne moduły dołączone do PostgreSQL-a.
495 %setup -q -n postgresql-%{version}
497 %{?with_absolute_dbpaths:%patch1 -p1}
505 # force rebuild of bison/flex files
506 find src -name \*.l -o -name \*.y | xargs touch
509 #find contrib -type d -name CVS -exec rm -rf {} \;
512 %{__aclocal} -I config
516 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
517 --prefix=%{pgsqldatadir} \
518 --bindir=%{pgsqllibdir}/bin \
519 --sbindir=%{pgsqllibdir}/sbin \
520 --includedir=%{_includedir} \
521 --mandir=%{pgsqldatadir}/man \
522 --datadir=%{pgsqldatadir} \
523 --libdir=%{_libdir} \
524 --docdir=%{pgsqldatadir}/doc \
525 --localedir=%{_datadir}/locale \
528 %{?with_systemtap:--enable-dtrace} \
529 --enable-integer-datetimes \
531 --enable-thread-safety \
532 %{?with_bonjour:--with-bonjour} \
533 %{?with_kerberos5:--with-gssapi} \
534 %{?with_ldap:--with-ldap} \
539 %{?with_perl:--with-perl} \
540 %{?with_python:--with-python} \
541 %{?with_selinux:--with-selinux} \
542 --with-system-tzdata=%{_datadir}/zoneinfo \
544 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
549 for mod in %{contrib_modules}; do \
550 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
551 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
552 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
553 %{__make} -C contrib/$mod CFLAGS="$flags"
556 %{__make} -C src/tutorial \
559 %ifnarch sparc sparcv9 sparc64 alpha
560 %{?with_tests:%{__make} -j1 check}
564 rm -rf $RPM_BUILD_ROOT
565 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
566 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
567 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
568 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
570 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
573 DESTDIR=$RPM_BUILD_ROOT
574 %{__make} -C doc/src/sgml install-man \
575 DESTDIR=$RPM_BUILD_ROOT
578 %{__make} install -C src/pl/plperl \
579 DESTDIR=$RPM_BUILD_ROOT
582 for mod in %{contrib_modules}; do \
583 %{__make} -C contrib/$mod install \
584 DESTDIR=$RPM_BUILD_ROOT
587 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
588 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
591 tar zxf %{SOURCE2} -C howto
594 %py_comp $RPM_BUILD_ROOT%{py_libdir}
595 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
599 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
600 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
601 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
602 %find_lang $f-%{pgsqlversion}
606 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
608 merge_lang pgscripts postgres plpgsql \
609 pg_basebackup pg_checksums pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
610 merge_lang psql initdb \
611 pg_archivecleanup pg_ctl pg_dump > clients.lang
614 %find_lang pltcl-%{pgsqlversion}
618 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
621 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
623 # package it...? nah, why bother.
624 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
626 # remove common files provided by PostgreSQL from master branch
627 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
628 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
629 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
632 rm -rf $RPM_BUILD_ROOT
636 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
637 . /etc/sysconfig/postgresql-%{pgsqlversion}
638 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
639 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
643 for pgdir in $PG_DB_CLUSTERS; do
644 if [ -f $pgdir/PG_VERSION ]; then
645 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
646 echo "Found database(s) in older, incompatible format in cluster $pgdir."
651 if [ "$foundold" = "1" ]; then
653 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
654 echo "and clean (or rename) those directories; then upgrade postgresql and"
655 echo "restore all data (using pg_restore or psql)."
656 echo "Remember to stop the daemon before upgrading!"
658 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
659 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
664 %triggerpostun -- postgresql < 10.5-2
665 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
666 /usr/sbin/usermod -d /var/lib/postgresql postgres
669 echo "This version of PostgreSQL uses new default location for database clusters."
670 echo "Please move your existing clusters before starting PostgreSQL so they follow"
673 echo "/var/lib/postgresql/<version>/<name>"
675 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
676 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
677 echo "files so they reflect your changes."
681 /sbin/chkconfig --add postgresql-%{pgsqlversion}
682 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
685 if [ "$1" = "0" ]; then
686 %service postgresql-%{pgsqlversion} stop
687 /sbin/chkconfig --del postgresql-%{pgsqlversion}
691 update-alternatives \
692 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
693 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
694 update-alternatives \
695 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
696 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
697 update-alternatives \
698 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
699 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
700 update-alternatives \
701 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
702 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
703 update-alternatives \
704 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
705 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
706 update-alternatives \
707 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
708 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
709 update-alternatives \
710 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
711 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
712 update-alternatives \
713 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
714 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
715 update-alternatives \
716 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
717 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
718 update-alternatives \
719 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
720 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
721 update-alternatives \
722 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
723 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
724 update-alternatives \
725 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
726 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
727 update-alternatives \
728 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
729 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
732 if [ $1 -eq 0 ]; then
733 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
734 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
735 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
736 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
737 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
738 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
739 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
740 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
741 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
742 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
743 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
744 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
745 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
749 %defattr(644,root,root,755)
750 %doc COPYRIGHT README HISTORY doc/{KNOWN_BUGS,MISSING_FEATURES,TODO}
751 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
752 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
754 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
755 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
756 %attr(755,root,root) %{pgsqllibdir}/bin/pg_checksums
757 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
758 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
759 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
760 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
761 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
762 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
763 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
764 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
765 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
766 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
767 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
768 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
769 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
771 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
772 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
773 %attr(755,root,root) %{moduledir}/dict_int.so
774 %attr(755,root,root) %{moduledir}/dict_snowball.so
775 %attr(755,root,root) %{moduledir}/dict_xsyn.so
776 %attr(755,root,root) %{moduledir}/euc*.so
777 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
778 %attr(755,root,root) %{moduledir}/latin_and_mic.so
779 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
780 %attr(755,root,root) %{moduledir}/pgoutput.so
781 %attr(755,root,root) %{moduledir}/plpgsql.so
782 %attr(755,root,root) %{moduledir}/utf8_and_*.so
785 %{extensiondir}/plpgsql--*.sql
786 %{extensiondir}/plpgsql.control
788 %{pgsqldatadir}/*.bki
789 %{pgsqldatadir}/*.sample
790 %{pgsqldatadir}/*.description
791 %{pgsqldatadir}/*.shdescription
792 %{pgsqldatadir}/*.sql
793 %{pgsqldatadir}/*.txt
794 %{pgsqldatadir}/timezonesets
795 %{pgsqldatadir}/tsearch_data
797 %dir %{pgsqldatadir}/contrib
799 %{pgsqldatadir}/man/man1/initdb.1*
800 %{pgsqldatadir}/man/man1/pg_basebackup.1*
801 %{pgsqldatadir}/man/man1/pg_checksums.1*
802 %{pgsqldatadir}/man/man1/pg_controldata.1*
803 %{pgsqldatadir}/man/man1/pg_ctl.1*
804 %{pgsqldatadir}/man/man1/pg_resetwal.1*
805 %{pgsqldatadir}/man/man1/pg_receivewal.1*
806 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
807 %{pgsqldatadir}/man/man1/pg_rewind.1*
808 %{pgsqldatadir}/man/man1/pg_waldump.1*
809 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
810 %{pgsqldatadir}/man/man1/pg_test_timing.1*
811 %{pgsqldatadir}/man/man1/pg_upgrade.1*
812 %{pgsqldatadir}/man/man1/pgbench.1*
813 %{pgsqldatadir}/man/man1/postgres.1*
814 %{pgsqldatadir}/man/man1/postmaster.1*
817 %defattr(644,root,root,755)
819 %dir %{pgsqllibdir}/bin
820 %dir %{pgsqllibdir}/lib
822 %dir %{pgsqldatadir}/man
823 %dir %{pgsqldatadir}/man/man1
824 %dir %{pgsqldatadir}/man/man3
825 %dir %{pgsqldatadir}/man/man7
826 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
829 %defattr(644,root,root,755)
830 %doc doc/src/sgml/html howto
831 %{_examplesdir}/%{name}-%{version}
833 %files ecpg -f ecpg-%{pgsqlversion}.lang
834 %defattr(644,root,root,755)
835 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
836 %{pgsqldatadir}/man/man1/ecpg.1*
839 %defattr(644,root,root,755)
840 %dir %{_includedir}/postgresql/%{pgsqlversion}
841 %{_includedir}/postgresql/%{pgsqlversion}/server
842 %dir %{moduledir}/pgxs
843 %attr(755,root,root) %{moduledir}/pgxs/config
844 %{moduledir}/pgxs/src
845 %{pgsqldatadir}/man/man3/SPI_*.3*
847 %files clients -f clients.lang
848 %defattr(644,root,root,755)
849 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
850 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
851 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
852 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
853 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
854 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
855 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
856 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
857 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
858 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
859 %attr(755,root,root) %{pgsqllibdir}/bin/psql
860 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
861 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
863 %{pgsqldatadir}/man/man1/clusterdb.1*
864 %{pgsqldatadir}/man/man1/createdb.1*
865 %{pgsqldatadir}/man/man1/createuser.1*
866 %{pgsqldatadir}/man/man1/dropdb.1*
867 %{pgsqldatadir}/man/man1/dropuser.1*
868 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
869 %{pgsqldatadir}/man/man1/pg_dump.1*
870 %{pgsqldatadir}/man/man1/pg_dumpall.1*
871 %{pgsqldatadir}/man/man1/pg_isready.1*
872 %{pgsqldatadir}/man/man1/pg_restore.1*
873 %{pgsqldatadir}/man/man1/psql.1*
874 %{pgsqldatadir}/man/man1/reindexdb.1*
875 %{pgsqldatadir}/man/man1/vacuumdb.1*
876 %{pgsqldatadir}/man/man7/*.7*
879 %files module-plperl -f plperl-%{pgsqlversion}.lang
880 %defattr(644,root,root,755)
881 %attr(755,root,root) %{moduledir}/plperl.so
882 %{extensiondir}/plperl--*.sql
883 %{extensiondir}/plperl.control
884 %{extensiondir}/plperlu--*.sql
885 %{extensiondir}/plperlu.control
889 %files module-plpython -f plpython-%{pgsqlversion}.lang
890 %defattr(644,root,root,755)
891 %attr(755,root,root) %{moduledir}/plpython2.so
892 %{extensiondir}/plpython*--*.sql
893 %{extensiondir}/plpython*.control
897 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
898 %defattr(644,root,root,755)
899 %attr(755,root,root) %{moduledir}/pltcl.so
900 %{extensiondir}/pltcl*--*.sql
901 %{extensiondir}/pltcl*.control
905 %defattr(644,root,root,755)
906 %attr(755,root,root) %{moduledir}/dblink.so
907 %{extensiondir}/dblink--*.sql
908 %{extensiondir}/dblink.control
909 %{pgsqldatadir}/man/man3/dblink*.3*
912 %defattr(644,root,root,755)
913 %attr(755,root,root) %{moduledir}/lo.so
914 %{extensiondir}/lo--*.sql
915 %{extensiondir}/lo.control
917 %files module-pg_trgm
918 %defattr(644,root,root,755)
919 %attr(755,root,root) %{moduledir}/pg_trgm.so
920 %{extensiondir}/pg_trgm--*.sql
921 %{extensiondir}/pg_trgm.control
923 %files module-pgcrypto
924 %defattr(644,root,root,755)
925 %attr(755,root,root) %{moduledir}/pgcrypto.so
926 %{extensiondir}/pgcrypto--*.sql
927 %{extensiondir}/pgcrypto.control
930 %files module-sepgsql
931 %defattr(644,root,root,755)
932 %attr(755,root,root) %{moduledir}/sepgsql.so
933 %{extensiondir}/sepgsql.sql
936 %files module-tablefunc
937 %defattr(644,root,root,755)
938 %attr(755,root,root) %{moduledir}/tablefunc.so
939 %{extensiondir}/*tablefunc--*.sql
940 %{extensiondir}/*tablefunc.control
943 %defattr(644,root,root,755)
944 %attr(755,root,root) %{moduledir}/pgxml.so
945 %{extensiondir}/xml2--*.sql
946 %{extensiondir}/xml2.control
949 %defattr(644,root,root,755)
951 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
952 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
953 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
954 %attr(755,root,root) %{moduledir}/_int.so
955 %attr(755,root,root) %{moduledir}/adminpack.so
956 %attr(755,root,root) %{moduledir}/auth_delay.so
957 %attr(755,root,root) %{moduledir}/auto_explain.so
958 %attr(755,root,root) %{moduledir}/bloom.so
959 %attr(755,root,root) %{moduledir}/btree_gin.so
960 %attr(755,root,root) %{moduledir}/btree_gist.so
961 %attr(755,root,root) %{moduledir}/citext.so
962 %attr(755,root,root) %{moduledir}/cube.so
963 %attr(755,root,root) %{moduledir}/earthdistance.so
964 %attr(755,root,root) %{moduledir}/file_fdw.so
965 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
966 %attr(755,root,root) %{moduledir}/hstore.so
967 %attr(755,root,root) %{moduledir}/isn.so
968 %attr(755,root,root) %{moduledir}/ltree.so
969 %attr(755,root,root) %{moduledir}/pageinspect.so
970 %attr(755,root,root) %{moduledir}/passwordcheck.so
971 %attr(755,root,root) %{moduledir}/pg_buffercache.so
972 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
973 %attr(755,root,root) %{moduledir}/pg_prewarm.so
974 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
975 %attr(755,root,root) %{moduledir}/pg_visibility.so
976 %attr(755,root,root) %{moduledir}/pgrowlocks.so
977 %attr(755,root,root) %{moduledir}/pgstattuple.so
978 %attr(755,root,root) %{moduledir}/postgres_fdw.so
979 %attr(755,root,root) %{moduledir}/seg.so
980 %attr(755,root,root) %{moduledir}/sslinfo.so
981 %attr(755,root,root) %{moduledir}/tcn.so
982 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
983 %attr(755,root,root) %{moduledir}/tsm_system_time.so
984 %attr(755,root,root) %{moduledir}/unaccent.so
985 %attr(755,root,root) %{moduledir}/uuid-ossp.so
986 %{extensiondir}/adminpack--*.sql
987 %{extensiondir}/adminpack.control
988 %{extensiondir}/bloom--*.sql
989 %{extensiondir}/bloom.control
990 %{extensiondir}/btree_gin--*.sql
991 %{extensiondir}/btree_gin.control
992 %{extensiondir}/btree_gist--*.sql
993 %{extensiondir}/btree_gist.control
994 %{extensiondir}/citext--*.sql
995 %{extensiondir}/citext.control
996 %{extensiondir}/cube--*.sql
997 %{extensiondir}/cube.control
998 %{extensiondir}/dict_int--*.sql
999 %{extensiondir}/dict_int.control
1000 %{extensiondir}/dict_xsyn--*.sql
1001 %{extensiondir}/dict_xsyn.control
1002 %{extensiondir}/earthdistance--*.sql
1003 %{extensiondir}/earthdistance.control
1004 %{extensiondir}/file_fdw--*.sql
1005 %{extensiondir}/file_fdw.control
1006 %{extensiondir}/fuzzystrmatch--*.sql
1007 %{extensiondir}/fuzzystrmatch.control
1008 %{extensiondir}/hstore--*.sql
1009 %{extensiondir}/hstore.control
1010 %{extensiondir}/intarray--*.sql
1011 %{extensiondir}/intarray.control
1012 %{extensiondir}/intagg--*.sql
1013 %{extensiondir}/intagg.control
1014 %{extensiondir}/isn--*.sql
1015 %{extensiondir}/isn.control
1016 %{extensiondir}/ltree--*.sql
1017 %{extensiondir}/ltree.control
1018 %{extensiondir}/pageinspect--*.sql
1019 %{extensiondir}/pageinspect.control
1020 %{extensiondir}/pg_buffercache--*.sql
1021 %{extensiondir}/pg_buffercache.control
1022 %{extensiondir}/pg_freespacemap--*.sql
1023 %{extensiondir}/pg_freespacemap.control
1024 %{extensiondir}/pg_prewarm--*.sql
1025 %{extensiondir}/pg_prewarm.control
1026 %{extensiondir}/pg_stat_statements--*.sql
1027 %{extensiondir}/pg_stat_statements.control
1028 %{extensiondir}/pg_visibility--*.sql
1029 %{extensiondir}/pg_visibility.control
1030 %{extensiondir}/pgrowlocks--*.sql
1031 %{extensiondir}/pgrowlocks.control
1032 %{extensiondir}/pgstattuple--*.sql
1033 %{extensiondir}/pgstattuple.control
1034 %{extensiondir}/postgres_fdw--*.sql
1035 %{extensiondir}/postgres_fdw.control
1036 %{extensiondir}/seg--*.sql
1037 %{extensiondir}/seg.control
1038 %{extensiondir}/sslinfo--*.sql
1039 %{extensiondir}/sslinfo.control
1040 %{extensiondir}/tcn--*.sql
1041 %{extensiondir}/tcn.control
1042 %{extensiondir}/tsm_system_rows--*.sql
1043 %{extensiondir}/tsm_system_rows.control
1044 %{extensiondir}/tsm_system_time--*.sql
1045 %{extensiondir}/tsm_system_time.control
1046 %{extensiondir}/unaccent--*.sql
1047 %{extensiondir}/unaccent.control
1048 %{extensiondir}/uuid-ossp--*.sql
1049 %{extensiondir}/uuid-ossp.control
1051 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1052 %{extensiondir}/hstore_plperl--*.sql
1053 %{extensiondir}/hstore_plperl.control
1054 %{extensiondir}/hstore_plperlu--*.sql
1055 %{extensiondir}/hstore_plperlu.control
1058 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1059 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1060 %{extensiondir}/hstore_plpythonu--*.sql
1061 %{extensiondir}/hstore_plpythonu.control
1062 %{extensiondir}/hstore_plpython2u--*.sql
1063 %{extensiondir}/hstore_plpython2u.control
1064 %{extensiondir}/hstore_plpython3u--*.sql
1065 %{extensiondir}/hstore_plpython3u.control
1066 %{extensiondir}/ltree_plpythonu--*.sql
1067 %{extensiondir}/ltree_plpythonu.control
1068 %{extensiondir}/ltree_plpython2u--*.sql
1069 %{extensiondir}/ltree_plpython2u.control
1070 %{extensiondir}/ltree_plpython3u--*.sql
1071 %{extensiondir}/ltree_plpython3u.control
1073 %{pgsqldatadir}/man/man1/oid2name.1*
1074 %{pgsqldatadir}/man/man1/pg_standby.1*
1075 %{pgsqldatadir}/man/man1/vacuumlo.1*