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)
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%{pgver}
31 Version: %{pgver}.%{pgminver}
34 Group: Applications/Databases
35 Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5: a5fe5fdff2d6c28f65601398be0950df
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: libpgport-pkglibdir.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(pre): /usr/sbin/groupadd
88 Requires(pre): /usr/sbin/useradd
89 Requires(triggerpostun): /bin/id
90 Requires(triggerpostun): /usr/sbin/usermod
91 Requires: %{name}-clients >= %{version}-%{release}
92 Requires: postgresql-libs = %{version}-%{release}
93 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/%{pgver}
102 %define pgsqllibdir %{_libdir}/postgresql/%{pgver}
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.
175 %package -n postgresql-devel
176 Summary: PostgreSQL development header files and libraries
177 Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
178 Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL
179 Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL
180 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki
181 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
182 Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика
183 Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar
184 Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста
185 Group: Development/Libraries
186 Requires: alternatives
187 Requires: postgresql-libs = %{version}-%{release}
189 %description -n postgresql-devel
190 This package contains header files and libraries required to compile
191 applications that are talking directly to the PostgreSQL backend
194 %description -n postgresql-devel -l pl.UTF-8
195 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
196 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
198 %package backend-devel
199 Summary: PostgreSQL backend development header files
200 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
201 Group: Development/Libraries
202 Requires: postgresql-devel = %{version}-%{release}
203 Requires: postgresql-libs = %{version}-%{release}
205 %description backend-devel
206 This package contains header files required to compile functions that
207 could be loaded directly by backend
209 %description backend-devel -l pl.UTF-8
210 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
211 bezposrednio ladowane przez beckend serwera PostgreSQL.
214 Summary: Clients needed to access a PostgreSQL server
215 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
216 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
217 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
218 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
219 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
220 Group: Applications/Databases
221 Requires: alternatives
222 Requires: postgresql-libs = %{version}-%{release}
225 This package includes only the clients needed to access an PostgreSQL
226 server. The server is included in the main package. If all you need is
227 to connect to another PostgreSQL server, the this is the only package
228 you need to install. Clients include several command-line utilities
229 you can use to manage your databases on a remote PostgreSQL server.
231 %description clients -l pl.UTF-8
232 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
233 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
234 poleceń. Serwer znajduje się w głównym pakiecie.
237 Summary: Documentation for PostgreSQL
238 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
239 Group: Applications/Databases
242 This package includes documentation and HOWTO for programmer, admin
243 etc., in HTML format.
245 %description doc -l pl.UTF-8
246 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
247 administratorów w formacie HTML.
249 %package -n postgresql-libs
250 Summary: PostgreSQL libraries
251 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
252 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
253 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
254 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
257 %description -n postgresql-libs
258 PostgreSQL shared libraries.
260 %description -n postgresql-libs -l pl.UTF-8
261 Biblioteki dzielone programu PostgreSQL.
264 Summary: Embedded SQL in C interface
265 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
267 Requires: postgresql-libs = %{version}-%{release}
268 Requires: postgresql-ecpg-libs = %{version}-%{release}
271 Embedded SQL in C interface.
273 %description ecpg -l pl.UTF-8
274 Interfejs wbudowanego SQL-a w język C.
276 %package -n postgresql-ecpg-libs
277 Summary: PostgreSQL libraries
278 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
279 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
280 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
281 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
284 %description -n postgresql-ecpg-libs
285 PostgreSQL shared libraries.
287 %description -n postgresql-ecpg-libs -l pl.UTF-8
288 Biblioteki dzielone programu PostgreSQL.
290 %package -n postgresql-ecpg-devel
291 Summary: Embedded SQL in C interface files
292 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
293 Group: Development/Libraries
294 Requires: postgresql-devel = %{version}-%{release}
295 Requires: postgresql-ecpg-devel = %{version}-%{release}
297 %description -n postgresql-ecpg-devel
298 Embedded SQL in C interface files.
300 %description -n postgresql-ecpg-devel -l pl.UTF-8
301 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
303 %package -n postgresql-ecpg-static
304 Summary: PostgreSQL static libraries
305 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
306 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
307 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
308 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
309 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
310 Group: Development/Libraries
311 Requires: postgresql-devel = %{version}-%{release}
313 %description -n postgresql-ecpg-static
314 PostgreSQL static libraries.
316 %description -n postgresql-ecpg-static -l pl.UTF-8
317 Biblioteki statyczne programu PostgreSQL.
319 %package -n postgresql-static
320 Summary: PostgreSQL static libraries
321 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
322 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
323 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
324 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
325 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
326 Group: Development/Libraries
327 Requires: postgresql-devel = %{version}-%{release}
329 %description -n postgresql-static
330 PostgreSQL static libraries.
332 %description -n postgresql-static -l pl.UTF-8
333 Biblioteki statyczne programu PostgreSQL.
335 %package module-plperl
336 Summary: PL/perl - PostgreSQL procedural language
337 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
338 Group: Applications/Databases
339 Requires: %{name} = %{version}-%{release}
341 %description module-plperl
342 From PostgreSQL documentation:
344 Postgres supports the definition of procedural languages. In the case
345 of a function or trigger procedure defined in a procedural language,
346 the database has no built-in knowledge about how to interpret the
347 function's source text. Instead, the task is passed to a handler that
348 knows the details of the language. The handler itself is a special
349 programming language function compiled into a shared object and loaded
352 To enable PL/Perl procedural language for your database you have to
353 run createlang command.
355 %description module-plperl -l pl.UTF-8
356 Z dokumentacji PostgreSQL:
358 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
359 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
360 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
361 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
362 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
363 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
366 Za pomocą polecenia createlang można dodać obsługę języka
367 proceduralnego PL/Perl dla swojej bazy danych.
369 %package module-plpython
370 Summary: PL/Python - PostgreSQL procedural language
371 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
372 Group: Applications/Databases
373 Requires: %{name} = %{version}-%{release}
374 %pyrequires_eq python
376 %description module-plpython
377 From PostgreSQL documentation:
379 Postgres supports the definition of procedural languages. In the case
380 of a function or trigger procedure defined in a procedural language,
381 the database has no built-in knowledge about how to interpret the
382 function's source text. Instead, the task is passed to a handler that
383 knows the details of the language. The handler itself is a special
384 programming language function compiled into a shared object and loaded
387 To enable PL/Python procedural language for your database you have to
388 run createlang command.
390 %description module-plpython -l pl.UTF-8
391 Z dokumentacji PostgreSQL:
393 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
394 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
395 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
396 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
397 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
398 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
401 Za pomocą polecenia createlang można dodać obsługę języka
402 proceduralnego PL/Python dla swojej bazy danych.
404 %package module-pltcl
405 Summary: PL/Tcl - PostgreSQL procedural language
406 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
407 Group: Applications/Databases
408 Requires: %{name} = %{version}-%{release}
411 %description module-pltcl
412 From PostgreSQL documentation:
414 Postgres supports the definition of procedural languages. In the case
415 of a function or trigger procedure defined in a procedural language,
416 the database has no built-in knowledge about how to interpret the
417 function's source text. Instead, the task is passed to a handler that
418 knows the details of the language. The handler itself is a special
419 programming language function compiled into a shared object and loaded
422 To enable PL/Tcl procedural language for your database you have to run
425 %description module-pltcl -l pl.UTF-8
426 Z dokumentacji PostgreSQL:
428 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
429 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
430 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
431 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
432 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
433 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
436 Za pomocą polecenia createlang można dodać obsługę języka
437 proceduralnego PL/Tcl dla swojej bazy danych.
439 %package module-dblink
440 Summary: dblink module for PostgreSQL
441 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
442 Group: Applications/Databases
443 Requires: %{name} = %{version}-%{release}
445 %description module-dblink
446 dblink module for PostgreSQL provides functions returning results from
449 %description module-dblink -l pl.UTF-8
450 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
454 Summary: Large Objects module for PostgreSQL
455 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
456 Group: Applications/Databases
457 Requires: %{name} = %{version}-%{release}
459 %description module-lo
460 Large Objects module for PostgreSQL adds a new data type 'lo', some
461 support functions and a trigger which handles the orphaning problem.
463 %description module-lo -l pl.UTF-8
464 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
465 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
466 osieroconych obiektów.
468 %package module-pg_trgm
469 Summary: Trigram matching for PostgreSQL
470 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
471 Group: Applications/Databases
472 Requires: %{name} = %{version}-%{release}
474 %description module-pg_trgm
475 This module provides functions and index classes for determining the
476 similarity of text based on trigram matching.
478 %description module-pg_trgm -l pl.UTF-8
479 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
480 w oparciu o dopasowywanie trigramowe (trigram matching).
482 %package module-pgcrypto
483 Summary: Cryptographic functions for PostgreSQL
484 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
485 Group: Applications/Databases
486 Requires: %{name} = %{version}-%{release}
488 %description module-pgcrypto
489 Cryptographic functions for PostgreSQL.
491 %description module-pgcrypto -l pl.UTF-8
492 Funkcje kryptograficzne dla PostgreSQL.
494 %package module-sepgsql
495 Summary: PostgreSQL external security provider using SELinux
496 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
497 Group: Applications/Databases
498 Requires: %{name} = %{version}-%{release}
499 Requires: libselinux >= 2.1.10
501 %description module-sepgsql
502 PostgreSQL external security provider using SELinux.
504 %description module-sepgsql -l pl.UTF-8
505 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
507 %package module-tablefunc
508 Summary: crosstab functions for PostgreSQL
509 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
510 Group: Applications/Databases
511 Requires: %{name} = %{version}-%{release}
513 %description module-tablefunc
514 crosstab functions for PostgreSQL.
516 %description module-tablefunc -l pl.UTF-8
517 Funkcje crosstab dla PostgreSQL-a.
520 Summary: XML-handling functions for PostgreSQL
521 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
522 Group: Applications/Databases
523 Requires: %{name} = %{version}-%{release}
524 Requires: libxml2 >= 1:2.6.23
526 %description module-xml2
527 Module with XML functions provides both XPath querying and XSLT
528 functionality. There is also a new table function which allows the
529 straightforward return of multiple XML results.
531 %description module-xml2 -l pl.UTF-8
532 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
533 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
534 bezpośrednie zwracanie wielu wyników XML.
537 Summary: Miscellaneous PostgreSQL contrib modules
538 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
539 Group: Applications/Databases
540 Requires: %{name} = %{version}-%{release}
543 Miscellaneous PostgreSQL contrib modules.
545 %description contrib -l pl.UTF-8
546 Różne moduły dołączone do PostgreSQL-a.
549 %setup -q -n postgresql-%{version}
551 %{?with_absolute_dbpaths:%patch1 -p1}
559 # force rebuild of bison/flex files
560 find src -name \*.l -o -name \*.y | xargs touch
563 #find contrib -type d -name CVS -exec rm -rf {} \;
566 %{__aclocal} -I config
570 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
571 --prefix=%{pgsqldatadir} \
572 --bindir=%{pgsqllibdir}/bin \
573 --sbindir=%{pgsqllibdir}/sbin \
574 --includedir=%{_includedir} \
575 --mandir=%{pgsqldatadir}/man \
576 --datadir=%{pgsqldatadir} \
577 --libdir=%{_libdir} \
578 --docdir=%{pgsqldatadir}/doc \
581 %{?with_systemtap:--enable-dtrace} \
582 --enable-integer-datetimes \
584 --enable-thread-safety \
585 %{?with_bonjour:--with-bonjour} \
586 %{?with_kerberos5:--with-gssapi} \
587 %{?with_ldap:--with-ldap} \
592 %{?with_perl:--with-perl} \
593 %{?with_python:--with-python} \
594 %{?with_selinux:--with-selinux} \
595 --with-system-tzdata=%{_datadir}/zoneinfo \
597 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
602 for mod in %{contrib_modules}; do \
603 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
604 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
605 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
606 %{__make} -C contrib/$mod CFLAGS="$flags"
609 %{__make} -C src/tutorial \
612 %ifnarch sparc sparcv9 sparc64 alpha
613 %{?with_tests:%{__make} -j1 check}
617 rm -rf $RPM_BUILD_ROOT
618 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
619 $RPM_BUILD_ROOT/var/{lib/pgsql,log} \
620 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
621 $RPM_BUILD_ROOT%{_mandir} \
622 $RPM_BUILD_ROOT/home/services/postgres
624 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
627 DESTDIR=$RPM_BUILD_ROOT
628 %{__make} -C doc/src/sgml install-man \
629 DESTDIR=$RPM_BUILD_ROOT
632 %{__make} install -C src/pl/plperl \
633 DESTDIR=$RPM_BUILD_ROOT
636 for mod in %{contrib_modules}; do \
637 %{__make} -C contrib/$mod install \
638 DESTDIR=$RPM_BUILD_ROOT
641 touch $RPM_BUILD_ROOT/var/log/pgsql
643 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql10
644 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql10
647 tar zxf %{SOURCE2} -C howto
650 %py_comp $RPM_BUILD_ROOT%{py_libdir}
651 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
655 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
656 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
657 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
658 %find_lang $f-%{pgver}
662 cat $(for f in $@; do echo ${f}-%{pgver}.lang ; done)
664 merge_lang pgscripts postgres plpgsql \
665 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
666 merge_lang psql initdb \
667 pg_archivecleanup pg_ctl pg_dump > clients.lang
670 %find_lang pltcl-%{pgver}
674 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
677 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgver}/server/
679 # package it...? nah, why bother.
680 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
683 rm -rf $RPM_BUILD_ROOT
687 if [ -f /etc/sysconfig/postgresql10 ]; then
688 . /etc/sysconfig/postgresql10
689 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
690 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
694 for pgdir in $PG_DB_CLUSTERS; do
695 if [ -f $pgdir/PG_VERSION ]; then
696 if [ $(cat $pgdir/PG_VERSION) != '%{pgver}' ]; then
697 echo "Found database(s) in older, incompatible format in cluster $pgdir."
702 if [ "$foundold" = "1" ]; then
704 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
705 echo "and clean (or rename) those directories; then upgrade postgresql and"
706 echo "restore all data (using pg_restore or psql)."
707 echo "Remember to stop the daemon before upgrading!"
709 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
710 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
714 %groupadd -g 88 -r postgres
715 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
717 %triggerpostun -- %{name} < 7.2-2
718 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
719 /usr/sbin/usermod -d /home/services/postgres postgres
723 /sbin/chkconfig --add postgresql10
724 %service postgresql10 restart "postgresql10 server"
727 if [ "$1" = "0" ]; then
728 %service postgresql10 stop
729 /sbin/chkconfig --del postgresql10
733 update-alternatives \
734 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgver}%{pgminver} \
735 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
736 update-alternatives \
737 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgver}%{pgminver} \
738 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
739 update-alternatives \
740 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgver}%{pgminver} \
741 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
742 update-alternatives \
743 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgver}%{pgminver} \
744 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
745 update-alternatives \
746 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgver}%{pgminver} \
747 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
748 update-alternatives \
749 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgver}%{pgminver} \
750 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
751 update-alternatives \
752 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgver}%{pgminver} \
753 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
754 update-alternatives \
755 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgver}%{pgminver} \
756 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
757 update-alternatives \
758 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgver}%{pgminver} \
759 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
760 update-alternatives \
761 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgver}%{pgminver} \
762 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
763 update-alternatives \
764 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgver}%{pgminver} \
765 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
766 update-alternatives \
767 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgver}%{pgminver} \
768 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
769 update-alternatives \
770 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgver}%{pgminver} \
771 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
774 if [ $1 -eq 0 ]; then
775 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
776 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
777 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
778 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
779 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
780 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
781 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
782 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
783 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
784 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
785 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
786 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
787 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
790 %post -n postgresql-devel
791 update-alternatives \
792 --install %{_bindir}/pg_config pg_config %{pgsqllibdir}/bin/pg_config %{pgver}%{pgminver} \
793 --slave %{_mandir}/man1/pg_config.1 pg_config.1 %{pgsqldatadir}/man/man1/pg_config.1* || :
795 %postun -n postgresql-devel
796 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
799 %post -n postgresql-libs -p /sbin/ldconfig
800 %postun -n postgresql-libs -p /sbin/ldconfig
802 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
803 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
806 %defattr(644,root,root,755)
807 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
808 %attr(754,root,root) /etc/rc.d/init.d/postgresql10
809 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql10
811 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
812 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
813 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
814 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
815 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
816 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
817 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
818 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
819 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
820 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
821 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
822 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
823 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
824 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
825 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
827 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
828 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
829 %attr(755,root,root) %{moduledir}/dict_int.so
830 %attr(755,root,root) %{moduledir}/dict_snowball.so
831 %attr(755,root,root) %{moduledir}/dict_xsyn.so
832 %attr(755,root,root) %{moduledir}/euc*.so
833 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
834 %attr(755,root,root) %{moduledir}/latin_and_mic.so
835 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
836 %attr(755,root,root) %{moduledir}/pgoutput.so
837 %attr(755,root,root) %{moduledir}/plpgsql.so
838 %attr(755,root,root) %{moduledir}/utf8_and_*.so
841 %{extensiondir}/plpgsql--*.sql
842 %{extensiondir}/plpgsql.control
845 %{pgsqldatadir}/*.bki
846 %{pgsqldatadir}/*.sample
847 %{pgsqldatadir}/*.description
848 %{pgsqldatadir}/*.shdescription
849 %{pgsqldatadir}/*.sql
850 %{pgsqldatadir}/*.txt
851 %{pgsqldatadir}/timezonesets
852 %{pgsqldatadir}/tsearch_data
854 %dir %{pgsqldatadir}/contrib
856 %attr(700,postgres,postgres) /home/services/postgres
857 %attr(700,postgres,postgres) %dir /var/lib/pgsql
858 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
860 %{pgsqldatadir}/man/man1/initdb.1*
861 %{pgsqldatadir}/man/man1/pg_basebackup.1*
862 %{pgsqldatadir}/man/man1/pg_controldata.1*
863 %{pgsqldatadir}/man/man1/pg_ctl.1*
864 %{pgsqldatadir}/man/man1/pg_resetwal.1*
865 %{pgsqldatadir}/man/man1/pg_receivewal.1*
866 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
867 %{pgsqldatadir}/man/man1/pg_rewind.1*
868 %{pgsqldatadir}/man/man1/pg_waldump.1*
869 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
870 %{pgsqldatadir}/man/man1/pg_test_timing.1*
871 %{pgsqldatadir}/man/man1/pg_upgrade.1*
872 %{pgsqldatadir}/man/man1/pgbench.1*
873 %{pgsqldatadir}/man/man1/postgres.1*
874 %{pgsqldatadir}/man/man1/postmaster.1*
877 %defattr(644,root,root,755)
878 %doc doc/src/sgml/html howto
879 %{_examplesdir}/%{name}-%{version}
881 %files -n postgresql-libs -f libpq5-%{pgver}.lang
882 %defattr(644,root,root,755)
883 %attr(755,root,root) %{_libdir}/libpq.so.*.*
884 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
886 %files ecpg -f ecpg-%{pgver}.lang
887 %defattr(644,root,root,755)
888 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
889 %{pgsqldatadir}/man/man1/ecpg.1*
891 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgver}.lang
892 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
893 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
894 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
895 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
896 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
897 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
899 %files -n postgresql-ecpg-devel
900 %defattr(644,root,root,755)
901 %attr(755,root,root) %{_libdir}/libecpg.so
902 %attr(755,root,root) %{_libdir}/libecpg_compat.so
903 %attr(755,root,root) %{_libdir}/libpgtypes.so
905 %{_libdir}/pkgconfig/libecpg.pc
906 %{_libdir}/pkgconfig/libecpg_compat.pc
907 %{_libdir}/pkgconfig/libpgtypes.pc
909 %files -n postgresql-ecpg-static
910 %defattr(644,root,root,755)
912 %{_libdir}/libecpg_compat.a
913 %{_libdir}/libpgtypes.a
915 %files -n postgresql-devel -f pg_config-%{pgver}.lang
916 %defattr(644,root,root,755)
917 %attr(755,root,root) %{pgsqllibdir}/bin/pg_config
918 %attr(755,root,root) %{_libdir}/libpq.so
919 %dir %{_includedir}/postgresql
920 %{_includedir}/libpq-events.h
921 %{_includedir}/libpq-fe.h
922 %{_includedir}/pg_config.h
923 %{_includedir}/pg_config_ext.h
924 %{_includedir}/pg_config_manual.h
925 %{_includedir}/pg_config_os.h
926 %{_includedir}/postgres_ext.h
927 %dir %{_includedir}/postgresql/internal
928 %{_includedir}/postgresql/internal/c.h
929 %{_includedir}/postgresql/internal/libpq-int.h
930 %{_includedir}/postgresql/internal/port.h
931 %{_includedir}/postgresql/internal/postgres_fe.h
932 %{_includedir}/postgresql/internal/pqexpbuffer.h
933 %{_includedir}/postgresql/internal/libpq
935 %{_libdir}/pkgconfig/libpq.pc
936 %{pgsqldatadir}/man/man1/pg_config.1*
939 %defattr(644,root,root,755)
940 %dir %{_includedir}/postgresql/%{pgver}
941 %{_includedir}/postgresql/%{pgver}/server
942 %dir %{moduledir}/pgxs
943 %attr(755,root,root) %{moduledir}/pgxs/config
944 %{moduledir}/pgxs/src
945 %{pgsqldatadir}/man/man3/SPI_*.3*
947 %files -n postgresql-static
948 %defattr(644,root,root,755)
950 %{pgsqllibdir}/lib/libpgcommon.a
951 %{pgsqllibdir}/lib/libpgfeutils.a
952 %{pgsqllibdir}/lib/libpgport.a
954 %files clients -f clients.lang
955 %defattr(644,root,root,755)
956 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
957 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
958 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
959 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
960 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
961 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
962 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
963 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
964 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
965 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
966 %attr(755,root,root) %{pgsqllibdir}/bin/psql
967 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
968 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
970 %{pgsqldatadir}/man/man1/clusterdb.1*
971 %{pgsqldatadir}/man/man1/createdb.1*
972 %{pgsqldatadir}/man/man1/createuser.1*
973 %{pgsqldatadir}/man/man1/dropdb.1*
974 %{pgsqldatadir}/man/man1/dropuser.1*
975 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
976 %{pgsqldatadir}/man/man1/pg_dump.1*
977 %{pgsqldatadir}/man/man1/pg_dumpall.1*
978 %{pgsqldatadir}/man/man1/pg_isready.1*
979 %{pgsqldatadir}/man/man1/pg_restore.1*
980 %{pgsqldatadir}/man/man1/psql.1*
981 %{pgsqldatadir}/man/man1/reindexdb.1*
982 %{pgsqldatadir}/man/man1/vacuumdb.1*
983 %{pgsqldatadir}/man/man7/*.7*
986 %files module-plperl -f plperl-%{pgver}.lang
987 %defattr(644,root,root,755)
988 %attr(755,root,root) %{moduledir}/plperl.so
989 %{extensiondir}/plperl--*.sql
990 %{extensiondir}/plperl.control
991 %{extensiondir}/plperlu--*.sql
992 %{extensiondir}/plperlu.control
996 %files module-plpython -f plpython-%{pgver}.lang
997 %defattr(644,root,root,755)
998 %attr(755,root,root) %{moduledir}/plpython2.so
999 %{extensiondir}/plpython*--*.sql
1000 %{extensiondir}/plpython*.control
1004 %files module-pltcl -f pltcl-%{pgver}.lang
1005 %defattr(644,root,root,755)
1006 %attr(755,root,root) %{moduledir}/pltcl.so
1007 %{extensiondir}/pltcl*--*.sql
1008 %{extensiondir}/pltcl*.control
1011 %files module-dblink
1012 %defattr(644,root,root,755)
1013 %attr(755,root,root) %{moduledir}/dblink.so
1014 %{extensiondir}/dblink--*.sql
1015 %{extensiondir}/dblink.control
1016 %{pgsqldatadir}/man/man3/dblink*.3*
1019 %defattr(644,root,root,755)
1020 %attr(755,root,root) %{moduledir}/lo.so
1021 %{extensiondir}/lo--*.sql
1022 %{extensiondir}/lo.control
1024 %files module-pg_trgm
1025 %defattr(644,root,root,755)
1026 %attr(755,root,root) %{moduledir}/pg_trgm.so
1027 %{extensiondir}/pg_trgm--*.sql
1028 %{extensiondir}/pg_trgm.control
1030 %files module-pgcrypto
1031 %defattr(644,root,root,755)
1032 %attr(755,root,root) %{moduledir}/pgcrypto.so
1033 %{extensiondir}/pgcrypto--*.sql
1034 %{extensiondir}/pgcrypto.control
1037 %files module-sepgsql
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{moduledir}/sepgsql.so
1040 %{extensiondir}/sepgsql.sql
1043 %files module-tablefunc
1044 %defattr(644,root,root,755)
1045 %attr(755,root,root) %{moduledir}/tablefunc.so
1046 %{extensiondir}/*tablefunc--*.sql
1047 %{extensiondir}/*tablefunc.control
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{moduledir}/pgxml.so
1052 %{extensiondir}/xml2--*.sql
1053 %{extensiondir}/xml2.control
1056 %defattr(644,root,root,755)
1058 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1059 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1060 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1061 %attr(755,root,root) %{moduledir}/_int.so
1062 %attr(755,root,root) %{moduledir}/adminpack.so
1063 %attr(755,root,root) %{moduledir}/auth_delay.so
1064 %attr(755,root,root) %{moduledir}/auto_explain.so
1065 %attr(755,root,root) %{moduledir}/bloom.so
1066 %attr(755,root,root) %{moduledir}/btree_gin.so
1067 %attr(755,root,root) %{moduledir}/btree_gist.so
1068 %attr(755,root,root) %{moduledir}/chkpass.so
1069 %attr(755,root,root) %{moduledir}/citext.so
1070 %attr(755,root,root) %{moduledir}/cube.so
1071 %attr(755,root,root) %{moduledir}/earthdistance.so
1072 %attr(755,root,root) %{moduledir}/file_fdw.so
1073 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1074 %attr(755,root,root) %{moduledir}/hstore.so
1075 %attr(755,root,root) %{moduledir}/isn.so
1076 %attr(755,root,root) %{moduledir}/ltree.so
1077 %attr(755,root,root) %{moduledir}/pageinspect.so
1078 %attr(755,root,root) %{moduledir}/passwordcheck.so
1079 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1080 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1081 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1082 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1083 %attr(755,root,root) %{moduledir}/pg_visibility.so
1084 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1085 %attr(755,root,root) %{moduledir}/pgstattuple.so
1086 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1087 %attr(755,root,root) %{moduledir}/seg.so
1088 %attr(755,root,root) %{moduledir}/sslinfo.so
1089 %attr(755,root,root) %{moduledir}/tcn.so
1090 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1091 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1092 %attr(755,root,root) %{moduledir}/unaccent.so
1093 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1094 %{extensiondir}/adminpack--*.sql
1095 %{extensiondir}/adminpack.control
1096 %{extensiondir}/bloom--*.sql
1097 %{extensiondir}/bloom.control
1098 %{extensiondir}/btree_gin--*.sql
1099 %{extensiondir}/btree_gin.control
1100 %{extensiondir}/btree_gist--*.sql
1101 %{extensiondir}/btree_gist.control
1102 %{extensiondir}/chkpass--*.sql
1103 %{extensiondir}/chkpass.control
1104 %{extensiondir}/citext--*.sql
1105 %{extensiondir}/citext.control
1106 %{extensiondir}/cube--*.sql
1107 %{extensiondir}/cube.control
1108 %{extensiondir}/dict_int--*.sql
1109 %{extensiondir}/dict_int.control
1110 %{extensiondir}/dict_xsyn--*.sql
1111 %{extensiondir}/dict_xsyn.control
1112 %{extensiondir}/earthdistance--*.sql
1113 %{extensiondir}/earthdistance.control
1114 %{extensiondir}/file_fdw--*.sql
1115 %{extensiondir}/file_fdw.control
1116 %{extensiondir}/fuzzystrmatch--*.sql
1117 %{extensiondir}/fuzzystrmatch.control
1118 %{extensiondir}/hstore--*.sql
1119 %{extensiondir}/hstore.control
1120 %{extensiondir}/intarray--*.sql
1121 %{extensiondir}/intarray.control
1122 %{extensiondir}/intagg--*.sql
1123 %{extensiondir}/intagg.control
1124 %{extensiondir}/isn--*.sql
1125 %{extensiondir}/isn.control
1126 %{extensiondir}/ltree--*.sql
1127 %{extensiondir}/ltree.control
1128 %{extensiondir}/pageinspect--*.sql
1129 %{extensiondir}/pageinspect.control
1130 %{extensiondir}/pg_buffercache--*.sql
1131 %{extensiondir}/pg_buffercache.control
1132 %{extensiondir}/pg_freespacemap--*.sql
1133 %{extensiondir}/pg_freespacemap.control
1134 %{extensiondir}/pg_prewarm--*.sql
1135 %{extensiondir}/pg_prewarm.control
1136 %{extensiondir}/pg_stat_statements--*.sql
1137 %{extensiondir}/pg_stat_statements.control
1138 %{extensiondir}/pg_visibility--*.sql
1139 %{extensiondir}/pg_visibility.control
1140 %{extensiondir}/pgrowlocks--*.sql
1141 %{extensiondir}/pgrowlocks.control
1142 %{extensiondir}/pgstattuple--*.sql
1143 %{extensiondir}/pgstattuple.control
1144 %{extensiondir}/postgres_fdw--*.sql
1145 %{extensiondir}/postgres_fdw.control
1146 %{extensiondir}/seg--*.sql
1147 %{extensiondir}/seg.control
1148 %{extensiondir}/sslinfo--*.sql
1149 %{extensiondir}/sslinfo.control
1150 %{extensiondir}/tcn--*.sql
1151 %{extensiondir}/tcn.control
1152 %{extensiondir}/tsm_system_rows--*.sql
1153 %{extensiondir}/tsm_system_rows.control
1154 %{extensiondir}/tsm_system_time--*.sql
1155 %{extensiondir}/tsm_system_time.control
1156 %{extensiondir}/unaccent--*.sql
1157 %{extensiondir}/unaccent.control
1158 %{extensiondir}/uuid-ossp--*.sql
1159 %{extensiondir}/uuid-ossp.control
1161 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1162 %{extensiondir}/hstore_plperl--*.sql
1163 %{extensiondir}/hstore_plperl.control
1164 %{extensiondir}/hstore_plperlu--*.sql
1165 %{extensiondir}/hstore_plperlu.control
1168 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1169 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1170 %{extensiondir}/hstore_plpythonu--*.sql
1171 %{extensiondir}/hstore_plpythonu.control
1172 %{extensiondir}/hstore_plpython2u--*.sql
1173 %{extensiondir}/hstore_plpython2u.control
1174 %{extensiondir}/hstore_plpython3u--*.sql
1175 %{extensiondir}/hstore_plpython3u.control
1176 %{extensiondir}/ltree_plpythonu--*.sql
1177 %{extensiondir}/ltree_plpythonu.control
1178 %{extensiondir}/ltree_plpython2u--*.sql
1179 %{extensiondir}/ltree_plpython2u.control
1180 %{extensiondir}/ltree_plpython3u--*.sql
1181 %{extensiondir}/ltree_plpython3u.control
1183 %{pgsqldatadir}/man/man1/oid2name.1*
1184 %{pgsqldatadir}/man/man1/pg_standby.1*
1185 %{pgsqldatadir}/man/man1/vacuumlo.1*