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: postgresql-libs = %{version}-%{release}
188 %description -n postgresql-devel
189 This package contains header files and libraries required to compile
190 applications that are talking directly to the PostgreSQL backend
193 %description -n postgresql-devel -l pl.UTF-8
194 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
195 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
197 %package backend-devel
198 Summary: PostgreSQL backend development header files
199 Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu
200 Group: Development/Libraries
201 Requires: postgresql-devel = %{version}-%{release}
202 Requires: postgresql-libs = %{version}-%{release}
204 %description backend-devel
205 This package contains header files required to compile functions that
206 could be loaded directly by backend
208 %description backend-devel -l pl.UTF-8
209 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
210 bezposrednio ladowane przez beckend serwera PostgreSQL.
213 Summary: Clients needed to access a PostgreSQL server
214 Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL
215 Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL
216 Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL
217 Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL
218 Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL
219 Group: Applications/Databases
220 Requires: alternatives
221 Requires: postgresql-libs = %{version}-%{release}
224 This package includes only the clients needed to access an PostgreSQL
225 server. The server is included in the main package. If all you need is
226 to connect to another PostgreSQL server, the this is the only package
227 you need to install. Clients include several command-line utilities
228 you can use to manage your databases on a remote PostgreSQL server.
230 %description clients -l pl.UTF-8
231 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
232 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
233 poleceń. Serwer znajduje się w głównym pakiecie.
236 Summary: Documentation for PostgreSQL
237 Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL
238 Group: Applications/Databases
241 This package includes documentation and HOWTO for programmer, admin
242 etc., in HTML format.
244 %description doc -l pl.UTF-8
245 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
246 administratorów w formacie HTML.
248 %package -n postgresql-libs
249 Summary: PostgreSQL libraries
250 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
251 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
252 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
253 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
256 %description -n postgresql-libs
257 PostgreSQL shared libraries.
259 %description -n postgresql-libs -l pl.UTF-8
260 Biblioteki dzielone programu PostgreSQL.
263 Summary: Embedded SQL in C interface
264 Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C
266 Requires: postgresql-libs = %{version}-%{release}
267 Requires: postgresql-ecpg-libs = %{version}-%{release}
270 Embedded SQL in C interface.
272 %description ecpg -l pl.UTF-8
273 Interfejs wbudowanego SQL-a w język C.
275 %package -n postgresql-ecpg-libs
276 Summary: PostgreSQL libraries
277 Summary(es.UTF-8): Biblioteca compartida del PostgreSQL
278 Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL
279 Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL
280 Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库
283 %description -n postgresql-ecpg-libs
284 PostgreSQL shared libraries.
286 %description -n postgresql-ecpg-libs -l pl.UTF-8
287 Biblioteki dzielone programu PostgreSQL.
289 %package -n postgresql-ecpg-devel
290 Summary: Embedded SQL in C interface files
291 Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C
292 Group: Development/Libraries
293 Requires: postgresql-devel = %{version}-%{release}
294 Requires: postgresql-ecpg-devel = %{version}-%{release}
296 %description -n postgresql-ecpg-devel
297 Embedded SQL in C interface files.
299 %description -n postgresql-ecpg-devel -l pl.UTF-8
300 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
302 %package -n postgresql-ecpg-static
303 Summary: PostgreSQL static libraries
304 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
305 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
306 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
307 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
308 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
309 Group: Development/Libraries
310 Requires: postgresql-devel = %{version}-%{release}
312 %description -n postgresql-ecpg-static
313 PostgreSQL static libraries.
315 %description -n postgresql-ecpg-static -l pl.UTF-8
316 Biblioteki statyczne programu PostgreSQL.
318 %package -n postgresql-static
319 Summary: PostgreSQL static libraries
320 Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL
321 Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL
322 Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL
323 Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL
324 Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL
325 Group: Development/Libraries
326 Requires: postgresql-devel = %{version}-%{release}
328 %description -n postgresql-static
329 PostgreSQL static libraries.
331 %description -n postgresql-static -l pl.UTF-8
332 Biblioteki statyczne programu PostgreSQL.
334 %package module-plperl
335 Summary: PL/perl - PostgreSQL procedural language
336 Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL
337 Group: Applications/Databases
338 Requires: %{name} = %{version}-%{release}
340 %description module-plperl
341 From PostgreSQL documentation:
343 Postgres supports the definition of procedural languages. In the case
344 of a function or trigger procedure defined in a procedural language,
345 the database has no built-in knowledge about how to interpret the
346 function's source text. Instead, the task is passed to a handler that
347 knows the details of the language. The handler itself is a special
348 programming language function compiled into a shared object and loaded
351 To enable PL/Perl procedural language for your database you have to
352 run createlang command.
354 %description module-plperl -l pl.UTF-8
355 Z dokumentacji PostgreSQL:
357 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
358 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
359 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
360 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
361 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
362 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
365 Za pomocą polecenia createlang można dodać obsługę języka
366 proceduralnego PL/Perl dla swojej bazy danych.
368 %package module-plpython
369 Summary: PL/Python - PostgreSQL procedural language
370 Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL
371 Group: Applications/Databases
372 Requires: %{name} = %{version}-%{release}
373 %pyrequires_eq python
375 %description module-plpython
376 From PostgreSQL documentation:
378 Postgres supports the definition of procedural languages. In the case
379 of a function or trigger procedure defined in a procedural language,
380 the database has no built-in knowledge about how to interpret the
381 function's source text. Instead, the task is passed to a handler that
382 knows the details of the language. The handler itself is a special
383 programming language function compiled into a shared object and loaded
386 To enable PL/Python procedural language for your database you have to
387 run createlang command.
389 %description module-plpython -l pl.UTF-8
390 Z dokumentacji PostgreSQL:
392 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
393 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
394 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
395 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
396 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
397 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
400 Za pomocą polecenia createlang można dodać obsługę języka
401 proceduralnego PL/Python dla swojej bazy danych.
403 %package module-pltcl
404 Summary: PL/Tcl - PostgreSQL procedural language
405 Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL
406 Group: Applications/Databases
407 Requires: %{name} = %{version}-%{release}
410 %description module-pltcl
411 From PostgreSQL documentation:
413 Postgres supports the definition of procedural languages. In the case
414 of a function or trigger procedure defined in a procedural language,
415 the database has no built-in knowledge about how to interpret the
416 function's source text. Instead, the task is passed to a handler that
417 knows the details of the language. The handler itself is a special
418 programming language function compiled into a shared object and loaded
421 To enable PL/Tcl procedural language for your database you have to run
424 %description module-pltcl -l pl.UTF-8
425 Z dokumentacji PostgreSQL:
427 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
428 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
429 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
430 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
431 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
432 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
435 Za pomocą polecenia createlang można dodać obsługę języka
436 proceduralnego PL/Tcl dla swojej bazy danych.
438 %package module-dblink
439 Summary: dblink module for PostgreSQL
440 Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a
441 Group: Applications/Databases
442 Requires: %{name} = %{version}-%{release}
444 %description module-dblink
445 dblink module for PostgreSQL provides functions returning results from
448 %description module-dblink -l pl.UTF-8
449 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
453 Summary: Large Objects module for PostgreSQL
454 Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a
455 Group: Applications/Databases
456 Requires: %{name} = %{version}-%{release}
458 %description module-lo
459 Large Objects module for PostgreSQL adds a new data type 'lo', some
460 support functions and a trigger which handles the orphaning problem.
462 %description module-lo -l pl.UTF-8
463 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
464 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
465 osieroconych obiektów.
467 %package module-pg_trgm
468 Summary: Trigram matching for PostgreSQL
469 Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a
470 Group: Applications/Databases
471 Requires: %{name} = %{version}-%{release}
473 %description module-pg_trgm
474 This module provides functions and index classes for determining the
475 similarity of text based on trigram matching.
477 %description module-pg_trgm -l pl.UTF-8
478 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
479 w oparciu o dopasowywanie trigramowe (trigram matching).
481 %package module-pgcrypto
482 Summary: Cryptographic functions for PostgreSQL
483 Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a
484 Group: Applications/Databases
485 Requires: %{name} = %{version}-%{release}
487 %description module-pgcrypto
488 Cryptographic functions for PostgreSQL.
490 %description module-pgcrypto -l pl.UTF-8
491 Funkcje kryptograficzne dla PostgreSQL.
493 %package module-sepgsql
494 Summary: PostgreSQL external security provider using SELinux
495 Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
496 Group: Applications/Databases
497 Requires: %{name} = %{version}-%{release}
498 Requires: libselinux >= 2.1.10
500 %description module-sepgsql
501 PostgreSQL external security provider using SELinux.
503 %description module-sepgsql -l pl.UTF-8
504 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
506 %package module-tablefunc
507 Summary: crosstab functions for PostgreSQL
508 Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a
509 Group: Applications/Databases
510 Requires: %{name} = %{version}-%{release}
512 %description module-tablefunc
513 crosstab functions for PostgreSQL.
515 %description module-tablefunc -l pl.UTF-8
516 Funkcje crosstab dla PostgreSQL-a.
519 Summary: XML-handling functions for PostgreSQL
520 Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a
521 Group: Applications/Databases
522 Requires: %{name} = %{version}-%{release}
523 Requires: libxml2 >= 1:2.6.23
525 %description module-xml2
526 Module with XML functions provides both XPath querying and XSLT
527 functionality. There is also a new table function which allows the
528 straightforward return of multiple XML results.
530 %description module-xml2 -l pl.UTF-8
531 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
532 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
533 bezpośrednie zwracanie wielu wyników XML.
536 Summary: Miscellaneous PostgreSQL contrib modules
537 Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a
538 Group: Applications/Databases
539 Requires: %{name} = %{version}-%{release}
542 Miscellaneous PostgreSQL contrib modules.
544 %description contrib -l pl.UTF-8
545 Różne moduły dołączone do PostgreSQL-a.
548 %setup -q -n postgresql-%{version}
550 %{?with_absolute_dbpaths:%patch1 -p1}
558 # force rebuild of bison/flex files
559 find src -name \*.l -o -name \*.y | xargs touch
562 #find contrib -type d -name CVS -exec rm -rf {} \;
565 %{__aclocal} -I config
569 CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
570 --prefix=%{pgsqldatadir} \
571 --bindir=%{pgsqllibdir}/bin \
572 --sbindir=%{pgsqllibdir}/sbin \
573 --includedir=%{_includedir} \
574 --mandir=%{pgsqldatadir}/man \
575 --datadir=%{pgsqldatadir} \
576 --libdir=%{_libdir} \
577 --docdir=%{pgsqldatadir}/doc \
580 %{?with_systemtap:--enable-dtrace} \
581 --enable-integer-datetimes \
583 --enable-thread-safety \
584 %{?with_bonjour:--with-bonjour} \
585 %{?with_kerberos5:--with-gssapi} \
586 %{?with_ldap:--with-ldap} \
591 %{?with_perl:--with-perl} \
592 %{?with_python:--with-python} \
593 %{?with_selinux:--with-selinux} \
594 --with-system-tzdata=%{_datadir}/zoneinfo \
596 %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
601 for mod in %{contrib_modules}; do \
602 flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
603 if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi
604 if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
605 %{__make} -C contrib/$mod CFLAGS="$flags"
608 %{__make} -C src/tutorial \
611 %ifnarch sparc sparcv9 sparc64 alpha
612 %{?with_tests:%{__make} -j1 check}
616 rm -rf $RPM_BUILD_ROOT
617 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
618 $RPM_BUILD_ROOT/var/{lib/pgsql,log} \
619 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
620 $RPM_BUILD_ROOT%{_mandir} \
621 $RPM_BUILD_ROOT/home/services/postgres
623 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
626 DESTDIR=$RPM_BUILD_ROOT
627 %{__make} -C doc/src/sgml install-man \
628 DESTDIR=$RPM_BUILD_ROOT
631 %{__make} install -C src/pl/plperl \
632 DESTDIR=$RPM_BUILD_ROOT
635 for mod in %{contrib_modules}; do \
636 %{__make} -C contrib/$mod install \
637 DESTDIR=$RPM_BUILD_ROOT
640 touch $RPM_BUILD_ROOT/var/log/pgsql
642 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql10
643 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql10
646 tar zxf %{SOURCE2} -C howto
649 %py_comp $RPM_BUILD_ROOT%{py_libdir}
650 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
654 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
655 plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
656 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
657 %find_lang $f-%{pgver}
661 cat $(for f in $@; do echo ${f}-%{pgver}.lang ; done)
663 merge_lang pgscripts postgres plpgsql \
664 pg_basebackup pg_controldata pg_resetwal pg_rewind pg_upgrade pg_test_fsync pg_test_timing pg_waldump > main.lang
665 merge_lang psql initdb \
666 pg_archivecleanup pg_ctl pg_dump > clients.lang
669 %find_lang pltcl-%{pgver}
673 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
676 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgver}/server/
678 # package it...? nah, why bother.
679 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
682 rm -rf $RPM_BUILD_ROOT
686 if [ -f /etc/sysconfig/postgresql10 ]; then
687 . /etc/sysconfig/postgresql10
688 if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
689 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
693 for pgdir in $PG_DB_CLUSTERS; do
694 if [ -f $pgdir/PG_VERSION ]; then
695 if [ $(cat $pgdir/PG_VERSION) != '%{pgver}' ]; then
696 echo "Found database(s) in older, incompatible format in cluster $pgdir."
701 if [ "$foundold" = "1" ]; then
703 echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
704 echo "and clean (or rename) those directories; then upgrade postgresql and"
705 echo "restore all data (using pg_restore or psql)."
706 echo "Remember to stop the daemon before upgrading!"
708 echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
709 echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
713 %groupadd -g 88 -r postgres
714 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
716 %triggerpostun -- %{name} < 7.2-2
717 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
718 /usr/sbin/usermod -d /home/services/postgres postgres
722 /sbin/chkconfig --add postgresql10
723 %service postgresql10 restart "postgresql10 server"
726 if [ "$1" = "0" ]; then
727 %service postgresql10 stop
728 /sbin/chkconfig --del postgresql10
732 update-alternatives \
733 --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgver}%{pgminver} \
734 --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
735 update-alternatives \
736 --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgver}%{pgminver} \
737 --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
738 update-alternatives \
739 --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgver}%{pgminver} \
740 --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
741 update-alternatives \
742 --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgver}%{pgminver} \
743 --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
744 update-alternatives \
745 --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgver}%{pgminver} \
746 --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
747 update-alternatives \
748 --install %{_bindir}/pg_archivecleanup pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup %{pgver}%{pgminver} \
749 --slave %{_mandir}/man1/pg_archivecleanup.1 pg_archivecleanup.1 %{pgsqldatadir}/man/man1/pg_archivecleanup.1* || :
750 update-alternatives \
751 --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgver}%{pgminver} \
752 --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
753 update-alternatives \
754 --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgver}%{pgminver} \
755 --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
756 update-alternatives \
757 --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgver}%{pgminver} \
758 --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
759 update-alternatives \
760 --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgver}%{pgminver} \
761 --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
762 update-alternatives \
763 --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgver}%{pgminver} \
764 --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
765 update-alternatives \
766 --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgver}%{pgminver} \
767 --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
768 update-alternatives \
769 --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgver}%{pgminver} \
770 --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
773 if [ $1 -eq 0 ]; then
774 update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
775 update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
776 update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
777 update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
778 update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
779 update-alternatives --remove pg_archivecleanup %{pgsqllibdir}/bin/pg_archivecleanup || :
780 update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
781 update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
782 update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
783 update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
784 update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
785 update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
786 update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
789 %post -n postgresql-devel
790 update-alternatives \
791 --install %{_bindir}/pg_config pg_config %{pgsqllibdir}/bin/pg_config %{pgver}%{pgminver} \
792 --slave %{_mandir}/man1/pg_config.1 pg_config.1 %{pgsqldatadir}/man/man1/pg_config.1* || :
794 %postun -n postgresql-devel
795 update-alternatives --remove pg_config %{pgsqllibdir}/bin/pg_config || :
798 %post -n postgresql-libs -p /sbin/ldconfig
799 %postun -n postgresql-libs -p /sbin/ldconfig
801 %post -n postgresql-ecpg-libs -p /sbin/ldconfig
802 %postun -n postgresql-ecpg-libs -p /sbin/ldconfig
805 %defattr(644,root,root,755)
806 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
807 %attr(754,root,root) /etc/rc.d/init.d/postgresql10
808 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql10
810 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
811 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
812 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
813 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
814 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetwal
815 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivewal
816 %attr(755,root,root) %{pgsqllibdir}/bin/pg_recvlogical
817 %attr(755,root,root) %{pgsqllibdir}/bin/pg_rewind
818 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
819 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
820 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
821 %attr(755,root,root) %{pgsqllibdir}/bin/pg_waldump
822 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
823 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
824 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
826 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
827 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
828 %attr(755,root,root) %{moduledir}/dict_int.so
829 %attr(755,root,root) %{moduledir}/dict_snowball.so
830 %attr(755,root,root) %{moduledir}/dict_xsyn.so
831 %attr(755,root,root) %{moduledir}/euc*.so
832 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
833 %attr(755,root,root) %{moduledir}/latin_and_mic.so
834 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
835 %attr(755,root,root) %{moduledir}/pgoutput.so
836 %attr(755,root,root) %{moduledir}/plpgsql.so
837 %attr(755,root,root) %{moduledir}/utf8_and_*.so
840 %{extensiondir}/plpgsql--*.sql
841 %{extensiondir}/plpgsql.control
844 %{pgsqldatadir}/*.bki
845 %{pgsqldatadir}/*.sample
846 %{pgsqldatadir}/*.description
847 %{pgsqldatadir}/*.shdescription
848 %{pgsqldatadir}/*.sql
849 %{pgsqldatadir}/*.txt
850 %{pgsqldatadir}/timezonesets
851 %{pgsqldatadir}/tsearch_data
853 %dir %{pgsqldatadir}/contrib
855 %attr(700,postgres,postgres) /home/services/postgres
856 %attr(700,postgres,postgres) %dir /var/lib/pgsql
857 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
859 %{pgsqldatadir}/man/man1/initdb.1*
860 %{pgsqldatadir}/man/man1/pg_basebackup.1*
861 %{pgsqldatadir}/man/man1/pg_controldata.1*
862 %{pgsqldatadir}/man/man1/pg_ctl.1*
863 %{pgsqldatadir}/man/man1/pg_resetwal.1*
864 %{pgsqldatadir}/man/man1/pg_receivewal.1*
865 %{pgsqldatadir}/man/man1/pg_recvlogical.1*
866 %{pgsqldatadir}/man/man1/pg_rewind.1*
867 %{pgsqldatadir}/man/man1/pg_waldump.1*
868 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
869 %{pgsqldatadir}/man/man1/pg_test_timing.1*
870 %{pgsqldatadir}/man/man1/pg_upgrade.1*
871 %{pgsqldatadir}/man/man1/pgbench.1*
872 %{pgsqldatadir}/man/man1/postgres.1*
873 %{pgsqldatadir}/man/man1/postmaster.1*
876 %defattr(644,root,root,755)
877 %doc doc/src/sgml/html howto
878 %{_examplesdir}/%{name}-%{version}
880 %files -n postgresql-libs -f libpq5-%{pgver}.lang
881 %defattr(644,root,root,755)
882 %attr(755,root,root) %{_libdir}/libpq.so.*.*
883 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
885 %files ecpg -f ecpg-%{pgver}.lang
886 %defattr(644,root,root,755)
887 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
888 %{pgsqldatadir}/man/man1/ecpg.1*
890 %files -n postgresql-ecpg-libs -f ecpglib6-%{pgver}.lang
891 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
892 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
893 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
894 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
895 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
896 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
898 %files -n postgresql-ecpg-devel
899 %defattr(644,root,root,755)
900 %attr(755,root,root) %{_libdir}/libecpg.so
901 %attr(755,root,root) %{_libdir}/libecpg_compat.so
902 %attr(755,root,root) %{_libdir}/libpgtypes.so
904 %{_libdir}/pkgconfig/libecpg.pc
905 %{_libdir}/pkgconfig/libecpg_compat.pc
906 %{_libdir}/pkgconfig/libpgtypes.pc
908 %files -n postgresql-ecpg-static
909 %defattr(644,root,root,755)
911 %{_libdir}/libecpg_compat.a
912 %{_libdir}/libpgtypes.a
914 %files -n postgresql-devel -f pg_config-%{pgver}.lang
915 %defattr(644,root,root,755)
916 %attr(755,root,root) %{pgsqllibdir}/bin/pg_config
917 %attr(755,root,root) %{_libdir}/libpq.so
918 %dir %{_includedir}/postgresql
919 %{_includedir}/libpq-events.h
920 %{_includedir}/libpq-fe.h
921 %{_includedir}/pg_config.h
922 %{_includedir}/pg_config_ext.h
923 %{_includedir}/pg_config_manual.h
924 %{_includedir}/pg_config_os.h
925 %{_includedir}/postgres_ext.h
926 %dir %{_includedir}/postgresql/internal
927 %{_includedir}/postgresql/internal/c.h
928 %{_includedir}/postgresql/internal/libpq-int.h
929 %{_includedir}/postgresql/internal/port.h
930 %{_includedir}/postgresql/internal/postgres_fe.h
931 %{_includedir}/postgresql/internal/pqexpbuffer.h
932 %{_includedir}/postgresql/internal/libpq
934 %{_libdir}/pkgconfig/libpq.pc
935 %{pgsqldatadir}/man/man1/pg_config.1*
938 %defattr(644,root,root,755)
939 %dir %{_includedir}/postgresql/%{pgver}
940 %{_includedir}/postgresql/%{pgver}/server
941 %dir %{moduledir}/pgxs
942 %attr(755,root,root) %{moduledir}/pgxs/config
943 %{moduledir}/pgxs/src
944 %{pgsqldatadir}/man/man3/SPI_*.3*
946 %files -n postgresql-static
947 %defattr(644,root,root,755)
949 %{pgsqllibdir}/lib/libpgcommon.a
950 %{pgsqllibdir}/lib/libpgfeutils.a
951 %{pgsqllibdir}/lib/libpgport.a
953 %files clients -f clients.lang
954 %defattr(644,root,root,755)
955 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
956 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
957 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
958 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
959 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
960 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
961 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
962 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
963 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
964 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
965 %attr(755,root,root) %{pgsqllibdir}/bin/psql
966 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
967 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
969 %{pgsqldatadir}/man/man1/clusterdb.1*
970 %{pgsqldatadir}/man/man1/createdb.1*
971 %{pgsqldatadir}/man/man1/createuser.1*
972 %{pgsqldatadir}/man/man1/dropdb.1*
973 %{pgsqldatadir}/man/man1/dropuser.1*
974 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
975 %{pgsqldatadir}/man/man1/pg_dump.1*
976 %{pgsqldatadir}/man/man1/pg_dumpall.1*
977 %{pgsqldatadir}/man/man1/pg_isready.1*
978 %{pgsqldatadir}/man/man1/pg_restore.1*
979 %{pgsqldatadir}/man/man1/psql.1*
980 %{pgsqldatadir}/man/man1/reindexdb.1*
981 %{pgsqldatadir}/man/man1/vacuumdb.1*
982 %{pgsqldatadir}/man/man7/*.7*
985 %files module-plperl -f plperl-%{pgver}.lang
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{moduledir}/plperl.so
988 %{extensiondir}/plperl--*.sql
989 %{extensiondir}/plperl.control
990 %{extensiondir}/plperlu--*.sql
991 %{extensiondir}/plperlu.control
995 %files module-plpython -f plpython-%{pgver}.lang
996 %defattr(644,root,root,755)
997 %attr(755,root,root) %{moduledir}/plpython2.so
998 %{extensiondir}/plpython*--*.sql
999 %{extensiondir}/plpython*.control
1003 %files module-pltcl -f pltcl-%{pgver}.lang
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{moduledir}/pltcl.so
1006 %{extensiondir}/pltcl*--*.sql
1007 %{extensiondir}/pltcl*.control
1010 %files module-dblink
1011 %defattr(644,root,root,755)
1012 %attr(755,root,root) %{moduledir}/dblink.so
1013 %{extensiondir}/dblink--*.sql
1014 %{extensiondir}/dblink.control
1015 %{pgsqldatadir}/man/man3/dblink*.3*
1018 %defattr(644,root,root,755)
1019 %attr(755,root,root) %{moduledir}/lo.so
1020 %{extensiondir}/lo--*.sql
1021 %{extensiondir}/lo.control
1023 %files module-pg_trgm
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{moduledir}/pg_trgm.so
1026 %{extensiondir}/pg_trgm--*.sql
1027 %{extensiondir}/pg_trgm.control
1029 %files module-pgcrypto
1030 %defattr(644,root,root,755)
1031 %attr(755,root,root) %{moduledir}/pgcrypto.so
1032 %{extensiondir}/pgcrypto--*.sql
1033 %{extensiondir}/pgcrypto.control
1036 %files module-sepgsql
1037 %defattr(644,root,root,755)
1038 %attr(755,root,root) %{moduledir}/sepgsql.so
1039 %{extensiondir}/sepgsql.sql
1042 %files module-tablefunc
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{moduledir}/tablefunc.so
1045 %{extensiondir}/*tablefunc--*.sql
1046 %{extensiondir}/*tablefunc.control
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{moduledir}/pgxml.so
1051 %{extensiondir}/xml2--*.sql
1052 %{extensiondir}/xml2.control
1055 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
1058 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
1059 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
1060 %attr(755,root,root) %{moduledir}/_int.so
1061 %attr(755,root,root) %{moduledir}/adminpack.so
1062 %attr(755,root,root) %{moduledir}/auth_delay.so
1063 %attr(755,root,root) %{moduledir}/auto_explain.so
1064 %attr(755,root,root) %{moduledir}/bloom.so
1065 %attr(755,root,root) %{moduledir}/btree_gin.so
1066 %attr(755,root,root) %{moduledir}/btree_gist.so
1067 %attr(755,root,root) %{moduledir}/chkpass.so
1068 %attr(755,root,root) %{moduledir}/citext.so
1069 %attr(755,root,root) %{moduledir}/cube.so
1070 %attr(755,root,root) %{moduledir}/earthdistance.so
1071 %attr(755,root,root) %{moduledir}/file_fdw.so
1072 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
1073 %attr(755,root,root) %{moduledir}/hstore.so
1074 %attr(755,root,root) %{moduledir}/isn.so
1075 %attr(755,root,root) %{moduledir}/ltree.so
1076 %attr(755,root,root) %{moduledir}/pageinspect.so
1077 %attr(755,root,root) %{moduledir}/passwordcheck.so
1078 %attr(755,root,root) %{moduledir}/pg_buffercache.so
1079 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
1080 %attr(755,root,root) %{moduledir}/pg_prewarm.so
1081 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
1082 %attr(755,root,root) %{moduledir}/pg_visibility.so
1083 %attr(755,root,root) %{moduledir}/pgrowlocks.so
1084 %attr(755,root,root) %{moduledir}/pgstattuple.so
1085 %attr(755,root,root) %{moduledir}/postgres_fdw.so
1086 %attr(755,root,root) %{moduledir}/seg.so
1087 %attr(755,root,root) %{moduledir}/sslinfo.so
1088 %attr(755,root,root) %{moduledir}/tcn.so
1089 %attr(755,root,root) %{moduledir}/tsm_system_rows.so
1090 %attr(755,root,root) %{moduledir}/tsm_system_time.so
1091 %attr(755,root,root) %{moduledir}/unaccent.so
1092 %attr(755,root,root) %{moduledir}/uuid-ossp.so
1093 %{extensiondir}/adminpack--*.sql
1094 %{extensiondir}/adminpack.control
1095 %{extensiondir}/bloom--*.sql
1096 %{extensiondir}/bloom.control
1097 %{extensiondir}/btree_gin--*.sql
1098 %{extensiondir}/btree_gin.control
1099 %{extensiondir}/btree_gist--*.sql
1100 %{extensiondir}/btree_gist.control
1101 %{extensiondir}/chkpass--*.sql
1102 %{extensiondir}/chkpass.control
1103 %{extensiondir}/citext--*.sql
1104 %{extensiondir}/citext.control
1105 %{extensiondir}/cube--*.sql
1106 %{extensiondir}/cube.control
1107 %{extensiondir}/dict_int--*.sql
1108 %{extensiondir}/dict_int.control
1109 %{extensiondir}/dict_xsyn--*.sql
1110 %{extensiondir}/dict_xsyn.control
1111 %{extensiondir}/earthdistance--*.sql
1112 %{extensiondir}/earthdistance.control
1113 %{extensiondir}/file_fdw--*.sql
1114 %{extensiondir}/file_fdw.control
1115 %{extensiondir}/fuzzystrmatch--*.sql
1116 %{extensiondir}/fuzzystrmatch.control
1117 %{extensiondir}/hstore--*.sql
1118 %{extensiondir}/hstore.control
1119 %{extensiondir}/intarray--*.sql
1120 %{extensiondir}/intarray.control
1121 %{extensiondir}/intagg--*.sql
1122 %{extensiondir}/intagg.control
1123 %{extensiondir}/isn--*.sql
1124 %{extensiondir}/isn.control
1125 %{extensiondir}/ltree--*.sql
1126 %{extensiondir}/ltree.control
1127 %{extensiondir}/pageinspect--*.sql
1128 %{extensiondir}/pageinspect.control
1129 %{extensiondir}/pg_buffercache--*.sql
1130 %{extensiondir}/pg_buffercache.control
1131 %{extensiondir}/pg_freespacemap--*.sql
1132 %{extensiondir}/pg_freespacemap.control
1133 %{extensiondir}/pg_prewarm--*.sql
1134 %{extensiondir}/pg_prewarm.control
1135 %{extensiondir}/pg_stat_statements--*.sql
1136 %{extensiondir}/pg_stat_statements.control
1137 %{extensiondir}/pg_visibility--*.sql
1138 %{extensiondir}/pg_visibility.control
1139 %{extensiondir}/pgrowlocks--*.sql
1140 %{extensiondir}/pgrowlocks.control
1141 %{extensiondir}/pgstattuple--*.sql
1142 %{extensiondir}/pgstattuple.control
1143 %{extensiondir}/postgres_fdw--*.sql
1144 %{extensiondir}/postgres_fdw.control
1145 %{extensiondir}/seg--*.sql
1146 %{extensiondir}/seg.control
1147 %{extensiondir}/sslinfo--*.sql
1148 %{extensiondir}/sslinfo.control
1149 %{extensiondir}/tcn--*.sql
1150 %{extensiondir}/tcn.control
1151 %{extensiondir}/tsm_system_rows--*.sql
1152 %{extensiondir}/tsm_system_rows.control
1153 %{extensiondir}/tsm_system_time--*.sql
1154 %{extensiondir}/tsm_system_time.control
1155 %{extensiondir}/unaccent--*.sql
1156 %{extensiondir}/unaccent.control
1157 %{extensiondir}/uuid-ossp--*.sql
1158 %{extensiondir}/uuid-ossp.control
1160 %attr(755,root,root) %{moduledir}/hstore_plperl.so
1161 %{extensiondir}/hstore_plperl--*.sql
1162 %{extensiondir}/hstore_plperl.control
1163 %{extensiondir}/hstore_plperlu--*.sql
1164 %{extensiondir}/hstore_plperlu.control
1167 %attr(755,root,root) %{moduledir}/hstore_plpython2.so
1168 %attr(755,root,root) %{moduledir}/ltree_plpython2.so
1169 %{extensiondir}/hstore_plpythonu--*.sql
1170 %{extensiondir}/hstore_plpythonu.control
1171 %{extensiondir}/hstore_plpython2u--*.sql
1172 %{extensiondir}/hstore_plpython2u.control
1173 %{extensiondir}/hstore_plpython3u--*.sql
1174 %{extensiondir}/hstore_plpython3u.control
1175 %{extensiondir}/ltree_plpythonu--*.sql
1176 %{extensiondir}/ltree_plpythonu.control
1177 %{extensiondir}/ltree_plpython2u--*.sql
1178 %{extensiondir}/ltree_plpython2u.control
1179 %{extensiondir}/ltree_plpython3u--*.sql
1180 %{extensiondir}/ltree_plpython3u.control
1182 %{pgsqldatadir}/man/man1/oid2name.1*
1183 %{pgsqldatadir}/man/man1/pg_standby.1*
1184 %{pgsqldatadir}/man/man1/vacuumlo.1*