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}.9
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: 62f755219b9b05c25f24737405a5aae1
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-disable_horology_test.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 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
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.
176 Summary: Common directories for PostgresSQL %{pgsqlversion}
177 Summary(pl.UTF-8): Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
178 Group: Applicataion/Databases
179 Requires: postgresql-common >= %{version}-%{release}
182 Common directories for PostgresSQL %{pgsqlversion}
184 %description dirs -l pl.UTF-8
185 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
187 %package backend-devel
188 Summary: PostgreSQL backend development header files
189 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
190 Group: Development/Libraries
191 Requires: postgresql-devel >= %{version}-%{release}
192 Requires: postgresql-libs >= %{version}-%{release}
193 Obsoletes: postgresql-backend-devel
195 %description backend-devel
196 This package contains header files required to compile functions that
197 could be loaded directly by backend
199 %description backend-devel -l pl.UTF-8
200 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
201 bezposrednio ladowane przez beckend serwera PostgreSQL.
204 Summary: Clients needed to access a PostgreSQL server
205 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
206 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
207 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
208 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
209 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
210 Group: Applications/Databases
211 Requires: alternatives
212 Requires: %{name}-dirs = %{version}-%{release}
213 Requires: postgresql-libs >= %{version}-%{release}
214 Obsoletes: postgresql-clients
217 This package includes only the clients needed to access an PostgreSQL
218 server. The server is included in the main package. If all you need is
219 to connect to another PostgreSQL server, the this is the only package
220 you need to install. Clients include several command-line utilities
221 you can use to manage your databases on a remote PostgreSQL server.
223 %description clients -l pl.UTF-8
224 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
225 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
226 poleceń. Serwer znajduje się w głównym pakiecie.
229 Summary: Documentation for PostgreSQL
230 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
231 Group: Applications/Databases
232 Obsoletes: postgresql-doc
235 This package includes documentation and HOWTO for programmer, admin
236 etc., in HTML format.
238 %description doc -l pl.UTF-8
239 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
240 administratorów w formacie HTML.
243 Summary: Embedded SQL in C interface
244 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
246 Requires: %{name}-dirs = %{version}-%{release}
247 Requires: postgresql-libs >= %{version}-%{release}
248 Requires: postgresql-ecpg-libs >= %{version}-%{release}
249 Obsoletes: postgresql-ecpg
252 Embedded SQL in C interface.
254 %description ecpg -l pl.UTF-8
255 Interfejs wbudowanego SQL-a w język C.
257 %package module-plperl
258 Summary: PL/perl - PostgreSQL procedural language
259 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
260 Group: Applications/Databases
261 Requires: %{name} = %{version}-%{release}
262 Obsoletes: postgresql-module-plperl
264 %description module-plperl
265 From PostgreSQL documentation:
267 Postgres supports the definition of procedural languages. In the case
268 of a function or trigger procedure defined in a procedural language,
269 the database has no built-in knowledge about how to interpret the
270 function's source text. Instead, the task is passed to a handler that
271 knows the details of the language. The handler itself is a special
272 programming language function compiled into a shared object and loaded
275 To enable PL/Perl procedural language for your database you have to
276 run createlang command.
278 %description module-plperl -l pl.UTF-8
279 Z dokumentacji PostgreSQL:
281 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
282 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
283 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
284 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
285 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
286 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
289 Za pomocą polecenia createlang można dodać obsługę języka
290 proceduralnego PL/Perl dla swojej bazy danych.
292 %package module-plpython
293 Summary: PL/Python - PostgreSQL procedural language
294 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
295 Group: Applications/Databases
296 Requires: %{name} = %{version}-%{release}
297 %pyrequires_eq python
298 Obsoletes: postgresql-module-plpython
300 %description module-plpython
301 From PostgreSQL documentation:
303 Postgres supports the definition of procedural languages. In the case
304 of a function or trigger procedure defined in a procedural language,
305 the database has no built-in knowledge about how to interpret the
306 function's source text. Instead, the task is passed to a handler that
307 knows the details of the language. The handler itself is a special
308 programming language function compiled into a shared object and loaded
311 To enable PL/Python procedural language for your database you have to
312 run createlang command.
314 %description module-plpython -l pl.UTF-8
315 Z dokumentacji PostgreSQL:
317 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
318 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
319 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
320 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
321 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
322 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
325 Za pomocą polecenia createlang można dodać obsługę języka
326 proceduralnego PL/Python dla swojej bazy danych.
328 %package module-pltcl
329 Summary: PL/Tcl - PostgreSQL procedural language
330 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
331 Group: Applications/Databases
332 Requires: %{name} = %{version}-%{release}
334 Obsoletes: postgresql-module-pltcl
336 %description module-pltcl
337 From PostgreSQL documentation:
339 Postgres supports the definition of procedural languages. In the case
340 of a function or trigger procedure defined in a procedural language,
341 the database has no built-in knowledge about how to interpret the
342 function's source text. Instead, the task is passed to a handler that
343 knows the details of the language. The handler itself is a special
344 programming language function compiled into a shared object and loaded
347 To enable PL/Tcl procedural language for your database you have to run
350 %description module-pltcl -l pl.UTF-8
351 Z dokumentacji PostgreSQL:
353 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
354 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
355 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
356 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
357 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
358 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
361 Za pomocą polecenia createlang można dodać obsługę języka
362 proceduralnego PL/Tcl dla swojej bazy danych.
364 %package module-dblink
365 Summary: dblink module for PostgreSQL
366 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
367 Group: Applications/Databases
368 Requires: %{name} = %{version}-%{release}
369 Obsoletes: postgresql-module-dblink
371 %description module-dblink
372 dblink module for PostgreSQL provides functions returning results from
375 %description module-dblink -l pl.UTF-8
376 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
380 Summary: Large Objects module for PostgreSQL
381 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
382 Group: Applications/Databases
383 Requires: %{name} = %{version}-%{release}
384 Obsoletes: postgresql-module-lo
386 %description module-lo
387 Large Objects module for PostgreSQL adds a new data type 'lo', some
388 support functions and a trigger which handles the orphaning problem.
390 %description module-lo -l pl.UTF-8
391 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
392 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
393 osieroconych obiektów.
395 %package module-pg_trgm
396 Summary: Trigram matching for PostgreSQL
397 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
398 Group: Applications/Databases
399 Requires: %{name} = %{version}-%{release}
400 Obsoletes: postgresql-module-pg_trgm
402 %description module-pg_trgm
403 This module provides functions and index classes for determining the
404 similarity of text based on trigram matching.
406 %description module-pg_trgm -l pl.UTF-8
407 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
408 w oparciu o dopasowywanie trigramowe (trigram matching).
410 %package module-pgcrypto
411 Summary: Cryptographic functions for PostgreSQL
412 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
413 Group: Applications/Databases
414 Requires: %{name} = %{version}-%{release}
415 Obsoletes: postgresql-module-pgcrypto
417 %description module-pgcrypto
418 Cryptographic functions for PostgreSQL.
420 %description module-pgcrypto -l pl.UTF-8
421 Funkcje kryptograficzne dla PostgreSQL.
423 %package module-sepgsql
424 Summary: PostgreSQL external security provider using SELinux
425 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
426 Group: Applications/Databases
427 Requires: %{name} = %{version}-%{release}
428 Requires: libselinux >= 2.1.10
429 Obsoletes: postgresql-module-sepgsql
431 %description module-sepgsql
432 PostgreSQL external security provider using SELinux.
434 %description module-sepgsql -l pl.UTF-8
435 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
437 %package module-tablefunc
438 Summary: crosstab functions for PostgreSQL
439 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
440 Group: Applications/Databases
441 Requires: %{name} = %{version}-%{release}
442 Obsoletes: postgresql-module-tablefunc
444 %description module-tablefunc
445 crosstab functions for PostgreSQL.
447 %description module-tablefunc -l pl.UTF-8
448 Funkcje crosstab dla PostgreSQL-a.
451 Summary: XML-handling functions for PostgreSQL
452 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
453 Group: Applications/Databases
454 Requires: %{name} = %{version}-%{release}
455 Requires: libxml2 >= 1:2.6.23
456 Obsoletes: postgresql-module-xml2
458 %description module-xml2
459 Module with XML functions provides both XPath querying and XSLT
460 functionality. There is also a new table function which allows the
461 straightforward return of multiple XML results.
463 %description module-xml2 -l pl.UTF-8
464 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
465 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
466 bezpośrednie zwracanie wielu wyników XML.
469 Summary: Miscellaneous PostgreSQL contrib modules
470 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
471 Group: Applications/Databases
472 Requires: %{name} = %{version}-%{release}
473 Obsoletes: postgresql-contrib
476 Miscellaneous PostgreSQL contrib modules.
478 %description contrib -l pl.UTF-8
479 Różne moduły dołączone do PostgreSQL-a.
482 %setup -q -n postgresql-%{version}
484 %{?with_absolute_dbpaths:%patch1 -p1}
492 # force rebuild of bison/flex files
493 find src -name \*.l -o -name \*.y | xargs touch
496 #find contrib -type d -name CVS -exec rm -rf {} \;
499 %{__aclocal} -I config
503 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
504 --prefix=%{pgsqldatadir} \
505 --bindir=%{pgsqllibdir}/bin \
506 --sbindir=%{pgsqllibdir}/sbin \
507 --includedir=%{_includedir} \
508 --mandir=%{pgsqldatadir}/man \
509 --datadir=%{pgsqldatadir} \
510 --libdir=%{_libdir} \
511 --docdir=%{pgsqldatadir}/doc \
512 --localedir=%{_datadir}/locale \
515 %{?with_systemtap:--enable-dtrace} \
516 --enable-integer-datetimes \
518 --enable-thread-safety \
519 %{?with_bonjour:--with-bonjour} \
520 %{?with_kerberos5:--with-gssapi} \
521 %{?with_ldap:--with-ldap} \
526 %{?with_perl:--with-perl} \
527 %{?with_python:--with-python} \
528 %{?with_selinux:--with-selinux} \
529 --with-system-tzdata=%{_datadir}/zoneinfo \
531 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
536 for mod in %{contrib_modules}; do \
537 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
538 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
539 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
540 %{__make} -C contrib/$mod CFLAGS="$flags"
543 %{__make} -C src/tutorial \
546 %ifnarch sparc sparcv9 sparc64 alpha
547 %{?with_tests:%{__make} -j1 check}
551 rm -rf $RPM_BUILD_ROOT
552 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
553 $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log/{archive,}/postgresql,run/postgresql} \
554 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
555 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
557 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
560 DESTDIR=$RPM_BUILD_ROOT
561 %{__make} -C doc/src/sgml install-man \
562 DESTDIR=$RPM_BUILD_ROOT
565 %{__make} install -C src/pl/plperl \
566 DESTDIR=$RPM_BUILD_ROOT
569 for mod in %{contrib_modules}; do \
570 %{__make} -C contrib/$mod install \
571 DESTDIR=$RPM_BUILD_ROOT
574 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
575 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
578 tar zxf %{SOURCE2} -C howto
581 %py_comp $RPM_BUILD_ROOT%{py_libdir}
582 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
586 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
587 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
588 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
589 %find_lang $f-%{pgsqlversion}
593 cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
595 merge_lang pgscripts postgres plpgsql \
596 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
597 merge_lang psql initdb \
598 pg_archivecleanup pg_ctl pg_dump > clients.lang
601 %find_lang pltcl-%{pgsqlversion}
605 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
608 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
610 # package it...? nah, why bother.
611 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
613 # remove common files provided by PostgreSQL from master branch
614 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
615 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
616 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
619 rm -rf $RPM_BUILD_ROOT
623 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
624 . /etc/sysconfig/postgresql-%{pgsqlversion}
625 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
626 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
630 for pgdir in $PG_DB_CLUSTERS; do
631 if [ -f $pgdir/PG_VERSION ]; then
632 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
633 echo "Found database(s) in older, incompatible format in cluster $pgdir."
638 if [ "$foundold" = "1" ]; then
640 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
641 echo "and clean (or rename) those directories; then upgrade postgresql and"
642 echo "restore all data (using pg_restore or psql)."
643 echo "Remember to stop the daemon before upgrading!"
645 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
646 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
651 %triggerpostun -- postgresql < 10.5-2
652 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
653 /usr/sbin/usermod -d /var/lib/postgresql postgres
656 echo "This version of PostgreSQL uses new default location for database clusters."
657 echo "Please move your existing clusters before starting PostgreSQL so they follow"
660 echo "/var/lib/postgresql/<version>/<name>"
662 echo "where <version> means PostgreSQL version like 9.6 or 10 and name is cluster"
663 echo "name of your choice. When done, be sure to update /etc/sysconfig/postgresql*"
664 echo "files so they reflect your changes."
668 /sbin/chkconfig --add postgresql-%{pgsqlversion}
669 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
672 if [ "$1" = "0" ]; then
673 %service postgresql-%{pgsqlversion} stop
674 /sbin/chkconfig --del postgresql-%{pgsqlversion}
678 update-alternatives \
679 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
680 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
681 update-alternatives \
682 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
683 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
684 update-alternatives \
685 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
686 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
687 update-alternatives \
688 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
689 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
690 update-alternatives \
691 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
692 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
693 update-alternatives \
694 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgsqlpriority} \
695 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
696 update-alternatives \
697 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
698 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
699 update-alternatives \
700 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
701 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
702 update-alternatives \
703 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
704 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
705 update-alternatives \
706 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
707 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
708 update-alternatives \
709 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
710 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
711 update-alternatives \
712 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
713 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
714 update-alternatives \
715 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
716 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
719 if [ $1 -eq 0 ]; then
720 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
721 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
722 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
723 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
724 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
725 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
726 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
727 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
728 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
729 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
730 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
731 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
732 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
736 %defattr(644,root,root,755)
737 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
738 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
739 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
741 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
742 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
743 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
744 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
745 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
746 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
747 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
748 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
749 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
750 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
751 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
752 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
753 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
754 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
755 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
757 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
758 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
759 %attr(755,root,root) %{moduledir}/dict_int.so
760 %attr(755,root,root) %{moduledir}/dict_snowball.so
761 %attr(755,root,root) %{moduledir}/dict_xsyn.so
762 %attr(755,root,root) %{moduledir}/euc*.so
763 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
764 %attr(755,root,root) %{moduledir}/latin_and_mic.so
765 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
766 %attr(755,root,root) %{moduledir}/pgoutput.so
767 %attr(755,root,root) %{moduledir}/plpgsql.so
768 %attr(755,root,root) %{moduledir}/utf8_and_*.so
771 %{extensiondir}/plpgsql--*.sql
772 %{extensiondir}/plpgsql.control
774 %{pgsqldatadir}/*.bki
775 %{pgsqldatadir}/*.sample
776 %{pgsqldatadir}/*.description
777 %{pgsqldatadir}/*.shdescription
778 %{pgsqldatadir}/*.sql
779 %{pgsqldatadir}/*.txt
780 %{pgsqldatadir}/timezonesets
781 %{pgsqldatadir}/tsearch_data
783 %dir %{pgsqldatadir}/contrib
785 %{pgsqldatadir}/man/man1/initdb.1*
786 %{pgsqldatadir}/man/man1/pg_basebackup.1*
787 %{pgsqldatadir}/man/man1/pg_controldata.1*
788 %{pgsqldatadir}/man/man1/pg_ctl.1*
789 %{pgsqldatadir}/man/man1/pg_resetwal.1*
790 %{pgsqldatadir}/man/man1/pg_receivewal.1*
791 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
792 %{pgsqldatadir}/man/man1/pg_rewind.1*
793 %{pgsqldatadir}/man/man1/pg_waldump.1*
794 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
795 %{pgsqldatadir}/man/man1/pg_test_timing.1*
796 %{pgsqldatadir}/man/man1/pg_upgrade.1*
797 %{pgsqldatadir}/man/man1/pgbench.1*
798 %{pgsqldatadir}/man/man1/postgres.1*
799 %{pgsqldatadir}/man/man1/postmaster.1*
802 %defattr(644,root,root,755)
804 %dir %{pgsqllibdir}/bin
805 %dir %{pgsqllibdir}/lib
807 %dir %{pgsqldatadir}/man
808 %dir %{pgsqldatadir}/man/man1
809 %dir %{pgsqldatadir}/man/man3
810 %dir %{pgsqldatadir}/man/man7
811 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
814 %defattr(644,root,root,755)
815 %doc doc/src/sgml/html howto
816 %{_examplesdir}/%{name}-%{version}
818 %files ecpg -f ecpg-%{pgsqlversion}.lang
819 %defattr(644,root,root,755)
820 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
821 %{pgsqldatadir}/man/man1/ecpg.1*
824 %defattr(644,root,root,755)
825 %dir %{_includedir}/postgresql/%{pgsqlversion}
826 %{_includedir}/postgresql/%{pgsqlversion}/server
827 %dir %{moduledir}/pgxs
828 %attr(755,root,root) %{moduledir}/pgxs/config
829 %{moduledir}/pgxs/src
830 %{pgsqldatadir}/man/man3/SPI_*.3*
832 %files clients -f clients.lang
833 %defattr(644,root,root,755)
834 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
835 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
836 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
837 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
838 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
839 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
840 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
841 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
842 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
843 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
844 %attr(755,root,root) %{pgsqllibdir}/bin/psql
845 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
846 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
848 %{pgsqldatadir}/man/man1/clusterdb.1*
849 %{pgsqldatadir}/man/man1/createdb.1*
850 %{pgsqldatadir}/man/man1/createuser.1*
851 %{pgsqldatadir}/man/man1/dropdb.1*
852 %{pgsqldatadir}/man/man1/dropuser.1*
853 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
854 %{pgsqldatadir}/man/man1/pg_dump.1*
855 %{pgsqldatadir}/man/man1/pg_dumpall.1*
856 %{pgsqldatadir}/man/man1/pg_isready.1*
857 %{pgsqldatadir}/man/man1/pg_restore.1*
858 %{pgsqldatadir}/man/man1/psql.1*
859 %{pgsqldatadir}/man/man1/reindexdb.1*
860 %{pgsqldatadir}/man/man1/vacuumdb.1*
861 %{pgsqldatadir}/man/man7/*.7*
864 %files module-plperl -f plperl-%{pgsqlversion}.lang
865 %defattr(644,root,root,755)
866 %attr(755,root,root) %{moduledir}/plperl.so
867 %{extensiondir}/plperl--*.sql
868 %{extensiondir}/plperl.control
869 %{extensiondir}/plperlu--*.sql
870 %{extensiondir}/plperlu.control
874 %files module-plpython -f plpython-%{pgsqlversion}.lang
875 %defattr(644,root,root,755)
876 %attr(755,root,root) %{moduledir}/plpython2.so
877 %{extensiondir}/plpython*--*.sql
878 %{extensiondir}/plpython*.control
882 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
883 %defattr(644,root,root,755)
884 %attr(755,root,root) %{moduledir}/pltcl.so
885 %{extensiondir}/pltcl*--*.sql
886 %{extensiondir}/pltcl*.control
890 %defattr(644,root,root,755)
891 %attr(755,root,root) %{moduledir}/dblink.so
892 %{extensiondir}/dblink--*.sql
893 %{extensiondir}/dblink.control
894 %{pgsqldatadir}/man/man3/dblink*.3*
897 %defattr(644,root,root,755)
898 %attr(755,root,root) %{moduledir}/lo.so
899 %{extensiondir}/lo--*.sql
900 %{extensiondir}/lo.control
902 %files module-pg_trgm
903 %defattr(644,root,root,755)
904 %attr(755,root,root) %{moduledir}/pg_trgm.so
905 %{extensiondir}/pg_trgm--*.sql
906 %{extensiondir}/pg_trgm.control
908 %files module-pgcrypto
909 %defattr(644,root,root,755)
910 %attr(755,root,root) %{moduledir}/pgcrypto.so
911 %{extensiondir}/pgcrypto--*.sql
912 %{extensiondir}/pgcrypto.control
915 %files module-sepgsql
916 %defattr(644,root,root,755)
917 %attr(755,root,root) %{moduledir}/sepgsql.so
918 %{extensiondir}/sepgsql.sql
921 %files module-tablefunc
922 %defattr(644,root,root,755)
923 %attr(755,root,root) %{moduledir}/tablefunc.so
924 %{extensiondir}/*tablefunc--*.sql
925 %{extensiondir}/*tablefunc.control
928 %defattr(644,root,root,755)
929 %attr(755,root,root) %{moduledir}/pgxml.so
930 %{extensiondir}/xml2--*.sql
931 %{extensiondir}/xml2.control
934 %defattr(644,root,root,755)
936 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
937 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
938 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
939 %attr(755,root,root) %{moduledir}/_int.so
940 %attr(755,root,root) %{moduledir}/adminpack.so
941 %attr(755,root,root) %{moduledir}/auth_delay.so
942 %attr(755,root,root) %{moduledir}/auto_explain.so
943 %attr(755,root,root) %{moduledir}/bloom.so
944 %attr(755,root,root) %{moduledir}/btree_gin.so
945 %attr(755,root,root) %{moduledir}/btree_gist.so
946 %attr(755,root,root) %{moduledir}/chkpass.so
947 %attr(755,root,root) %{moduledir}/citext.so
948 %attr(755,root,root) %{moduledir}/cube.so
949 %attr(755,root,root) %{moduledir}/earthdistance.so
950 %attr(755,root,root) %{moduledir}/file_fdw.so
951 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
952 %attr(755,root,root) %{moduledir}/hstore.so
953 %attr(755,root,root) %{moduledir}/isn.so
954 %attr(755,root,root) %{moduledir}/ltree.so
955 %attr(755,root,root) %{moduledir}/pageinspect.so
956 %attr(755,root,root) %{moduledir}/passwordcheck.so
957 %attr(755,root,root) %{moduledir}/pg_buffercache.so
958 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
959 %attr(755,root,root) %{moduledir}/pg_prewarm.so
960 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
961 %attr(755,root,root) %{moduledir}/pg_visibility.so
962 %attr(755,root,root) %{moduledir}/pgrowlocks.so
963 %attr(755,root,root) %{moduledir}/pgstattuple.so
964 %attr(755,root,root) %{moduledir}/postgres_fdw.so
965 %attr(755,root,root) %{moduledir}/seg.so
966 %attr(755,root,root) %{moduledir}/sslinfo.so
967 %attr(755,root,root) %{moduledir}/tcn.so
968 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
969 %attr(755,root,root) %{moduledir}/tsm_system_time.so
970 %attr(755,root,root) %{moduledir}/unaccent.so
971 %attr(755,root,root) %{moduledir}/uuid-ossp.so
972 %{extensiondir}/adminpack--*.sql
973 %{extensiondir}/adminpack.control
974 %{extensiondir}/bloom--*.sql
975 %{extensiondir}/bloom.control
976 %{extensiondir}/btree_gin--*.sql
977 %{extensiondir}/btree_gin.control
978 %{extensiondir}/btree_gist--*.sql
979 %{extensiondir}/btree_gist.control
980 %{extensiondir}/chkpass--*.sql
981 %{extensiondir}/chkpass.control
982 %{extensiondir}/citext--*.sql
983 %{extensiondir}/citext.control
984 %{extensiondir}/cube--*.sql
985 %{extensiondir}/cube.control
986 %{extensiondir}/dict_int--*.sql
987 %{extensiondir}/dict_int.control
988 %{extensiondir}/dict_xsyn--*.sql
989 %{extensiondir}/dict_xsyn.control
990 %{extensiondir}/earthdistance--*.sql
991 %{extensiondir}/earthdistance.control
992 %{extensiondir}/file_fdw--*.sql
993 %{extensiondir}/file_fdw.control
994 %{extensiondir}/fuzzystrmatch--*.sql
995 %{extensiondir}/fuzzystrmatch.control
996 %{extensiondir}/hstore--*.sql
997 %{extensiondir}/hstore.control
998 %{extensiondir}/intarray--*.sql
999 %{extensiondir}/intarray.control
1000 %{extensiondir}/intagg--*.sql
1001 %{extensiondir}/intagg.control
1002 %{extensiondir}/isn--*.sql
1003 %{extensiondir}/isn.control
1004 %{extensiondir}/ltree--*.sql
1005 %{extensiondir}/ltree.control
1006 %{extensiondir}/pageinspect--*.sql
1007 %{extensiondir}/pageinspect.control
1008 %{extensiondir}/pg_buffercache--*.sql
1009 %{extensiondir}/pg_buffercache.control
1010 %{extensiondir}/pg_freespacemap--*.sql
1011 %{extensiondir}/pg_freespacemap.control
1012 %{extensiondir}/pg_prewarm--*.sql
1013 %{extensiondir}/pg_prewarm.control
1014 %{extensiondir}/pg_stat_statements--*.sql
1015 %{extensiondir}/pg_stat_statements.control
1016 %{extensiondir}/pg_visibility--*.sql
1017 %{extensiondir}/pg_visibility.control
1018 %{extensiondir}/pgrowlocks--*.sql
1019 %{extensiondir}/pgrowlocks.control
1020 %{extensiondir}/pgstattuple--*.sql
1021 %{extensiondir}/pgstattuple.control
1022 %{extensiondir}/postgres_fdw--*.sql
1023 %{extensiondir}/postgres_fdw.control
1024 %{extensiondir}/seg--*.sql
1025 %{extensiondir}/seg.control
1026 %{extensiondir}/sslinfo--*.sql
1027 %{extensiondir}/sslinfo.control
1028 %{extensiondir}/tcn--*.sql
1029 %{extensiondir}/tcn.control
1030 %{extensiondir}/tsm_system_rows--*.sql
1031 %{extensiondir}/tsm_system_rows.control
1032 %{extensiondir}/tsm_system_time--*.sql
1033 %{extensiondir}/tsm_system_time.control
1034 %{extensiondir}/unaccent--*.sql
1035 %{extensiondir}/unaccent.control
1036 %{extensiondir}/uuid-ossp--*.sql
1037 %{extensiondir}/uuid-ossp.control
1039 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1040 %{extensiondir}/hstore_plperl--*.sql
1041 %{extensiondir}/hstore_plperl.control
1042 %{extensiondir}/hstore_plperlu--*.sql
1043 %{extensiondir}/hstore_plperlu.control
1046 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1047 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1048 %{extensiondir}/hstore_plpythonu--*.sql
1049 %{extensiondir}/hstore_plpythonu.control
1050 %{extensiondir}/hstore_plpython2u--*.sql
1051 %{extensiondir}/hstore_plpython2u.control
1052 %{extensiondir}/hstore_plpython3u--*.sql
1053 %{extensiondir}/hstore_plpython3u.control
1054 %{extensiondir}/ltree_plpythonu--*.sql
1055 %{extensiondir}/ltree_plpythonu.control
1056 %{extensiondir}/ltree_plpython2u--*.sql
1057 %{extensiondir}/ltree_plpython2u.control
1058 %{extensiondir}/ltree_plpython3u--*.sql
1059 %{extensiondir}/ltree_plpython3u.control
1061 %{pgsqldatadir}/man/man1/oid2name.1*
1062 %{pgsqldatadir}/man/man1/pg_standby.1*
1063 %{pgsqldatadir}/man/man1/vacuumlo.1*