]> TLD Linux GIT Repositories - packages/postgresql.git/blob - postgresql.spec
- use full name in syslog ident, updated default logging config
[packages/postgresql.git] / postgresql.spec
1 #
2 # Conditional build:
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)
14 #
15
16 %define beta %{nil}
17 %define pgsqlversion 9.3
18 %define pgsqlpriority 93
19
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}.25
32 Release:        2
33 License:        BSD
34 Group:          Applications/Databases
35 Source0:        http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
36 # Source0-md5:  8a7c673ece44f6e3cd124676b704cc48
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-ac_version.patch
48 Patch7:         socket-dir-fixes.patch
49 Patch8:         postgresql-ossp_uuid.patch
50 URL:            http://www.postgresql.org/
51 BuildRequires:  autoconf >= 2.69
52 BuildRequires:  automake
53 %{?with_bonjour:BuildRequires:  avahi-compat-libdns_sd-devel}
54 # not needed for releases... but fixes something in snapshot
55 BuildRequires:  bison >= 1.875
56 BuildRequires:  docbook-dtd42-sgml
57 BuildRequires:  docbook-dtd42-xml
58 BuildRequires:  docbook-style-xsl
59 BuildRequires:  flex >= 2.5.31
60 BuildRequires:  gettext-tools
61 BuildRequires:  gnome-doc-tools
62 %{?with_kerberos5:BuildRequires:        heimdal-devel}
63 %{?with_selinux:BuildRequires:  libselinux-devel >= 2.1.10}
64 BuildRequires:  libtool
65 BuildRequires:  libxml2-devel >= 1:2.6.23
66 BuildRequires:  libxslt-devel
67 BuildRequires:  libxslt-progs
68 BuildRequires:  ncurses-devel >= 5.0
69 %{?with_ldap:BuildRequires:     openldap-devel}
70 BuildRequires:  openssl-devel >= 0.9.7d
71 BuildRequires:  ossp-uuid-devel
72 BuildRequires:  pam-devel
73 %{?with_perl:BuildRequires:     perl-devel}
74 %if %{with python}
75 BuildRequires:  python >= 1:2.3
76 BuildRequires:  python-devel >= 1:2.3
77 BuildRequires:  python-modules >= 1:2.3
78 %endif
79 BuildRequires:  readline-devel >= 4.2
80 BuildRequires:  rpmbuild(macros) >= 1.671
81 %{?with_systemtap:BuildRequires:        systemtap-sdt-devel}
82 %{?with_tcl:BuildRequires:      tcl-devel >= 8.4.3}
83 %{?with_tests:BuildRequires:    tzdata}
84 BuildRequires:  zlib-devel
85 Requires(post,preun):   /sbin/chkconfig
86 Requires(pre):  /bin/id
87 Requires(pre):  /usr/bin/getgid
88 Requires(triggerpostun):        /bin/id
89 Requires(triggerpostun):        /usr/sbin/usermod
90 Requires:       %{name}-clients = %{version}-%{release}
91 Requires:       %{name}-dirs = %{version}-%{release}
92 Requires:       postgresql-libs >= %{version}-%{release}
93 Requires:       rc-scripts >= 0.4.3.0
94 Requires:       tzdata
95 Obsoletes:      postgresql
96 Obsoletes:      postgresql-module-plpgsql
97 Obsoletes:      postgresql-module-tsearch2
98 Obsoletes:      postgresql-server
99 Obsoletes:      postgresql-test
100 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
101
102 %define         pgsqldatadir    %{_datadir}/postgresql/%{pgsqlversion}
103 %define         pgsqllibdir     %{_libdir}/postgresql/%{pgsqlversion}
104 %define         moduledir       %{pgsqllibdir}/lib
105 %define         extensiondir    %{pgsqldatadir}/extension
106
107 %define         _ulibdir        /usr/lib
108
109 # omitted contribs:
110 # spi, test_decoding, worker_spi - examples/tests
111 # tsearch2 - old module for compatibility only
112 %define contrib_modules adminpack auth_delay auto_explain btree_gin btree_gist chkpass citext cube dblink dict_int dict_xsyn earthdistance file_fdw fuzzystrmatch hstore intagg intarray isn lo ltree oid2name pageinspect passwordcheck pg_archivecleanup pg_buffercache pg_freespacemap pg_standby pg_stat_statements pg_trgm pg_test_fsync pg_test_timing pg_upgrade pg_xlogdump pgbench pgcrypto pgrowlocks pgstattuple postgres_fdw seg %{?with_selinux:sepgsql} sslinfo tablefunc tcn unaccent uuid-ossp vacuumlo xml2
113
114 %description
115 PostgreSQL Data Base Management System (formerly known as Postgres,
116 then as Postgres95).
117
118 PostgreSQL is an enhancement of the POSTGRES database management
119 system, a next-generation DBMS research prototype. While PostgreSQL
120 retains the powerful data model and rich data types of POSTGRES, it
121 replaces the PostQuel query language with an extended subset of SQL.
122 PostgreSQL is free and the complete source is available.
123
124 PostgreSQL development is being performed by a team of Internet
125 developers who all subscribe to the PostgreSQL development mailing
126 list. The current coordinator is Marc G. Fournier
127 (scrappy@postgreSQL.org). This team is now responsible for all current
128 and future development of PostgreSQL.
129
130 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
131 others have contributed to the porting, testing, debugging and
132 enhancement of the code. The original Postgres code, from which
133 PostgreSQL is derived, was the effort of many graduate students,
134 undergraduate students, and staff programmers working under the
135 direction of Professor Michael Stonebraker at the University of
136 California, Berkeley.
137
138 The original name of the software at Berkeley was Postgres. When SQL
139 functionality was added in 1995, its name was changed to Postgres95.
140 The name was changed at the end of 1996 to PostgreSQL.
141
142 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
143 and most flavours of Unix.
144
145 %description -l pl.UTF-8
146 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
147 Postgres, następnie jako Postgres95).
148
149 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
150 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
151 model danych oraz bogaty zbiór różnych typów danych, to jednak język
152 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
153 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
154 pełni dostępne.
155
156 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
157 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
158 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
159 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
160
161 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
162 innych pomagało przenosząc na różne platformy, testując, analizując i
163 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
164 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
165 zespołu programistów, którzy pracowali pod kierunkiem profesora
166 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
167
168 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
169 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
170 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
171 PostgreSQL.
172
173 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
174 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
175
176 %package dirs
177 Summary:        Common directories for PostgresSQL %{pgsqlversion}
178 Summary(pl.UTF-8):      Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
179 Group:          Applicataion/Databases
180 Requires:       postgresql-common >= %{version}-%{release}
181
182 %description dirs
183 Common directories for PostgresSQL %{pgsqlversion}
184
185 %description dirs -l pl.UTF-8
186 Wspólne pliki i katalogi dla PostgreSQL %{pgsqlversion}
187
188 %package backend-devel
189 Summary:        PostgreSQL backend development header files
190 Summary(pl.UTF-8):      PostgreSQL - pliki nagłówkowe dla backendu
191 Group:          Development/Libraries
192 Requires:       postgresql-devel >= %{version}-%{release}
193 Requires:       postgresql-libs >= %{version}-%{release}
194 Obsoletes:      postgresql-backend-devel
195
196 %description backend-devel
197 This package contains header files required to compile functions that
198 could be loaded directly by backend
199
200 %description backend-devel -l pl.UTF-8
201 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
202 bezposrednio ladowane przez beckend serwera PostgreSQL.
203
204 %package clients
205 Summary:        Clients needed to access a PostgreSQL server
206 Summary(es.UTF-8):      Clientes necesarios para acceder al servidor PostgreSQL
207 Summary(pl.UTF-8):      Klienci wymagani do dostępu do serwera PostgreSQL
208 Summary(pt_BR.UTF-8):   Clientes necessários para acessar o servidor PostgreSQL
209 Summary(ru.UTF-8):      Клиентские программы, необходимые для доступа к серверу PostgreSQL
210 Summary(uk.UTF-8):      Клієнтські програми, необхідні для доступу до сервера PostgreSQL
211 Group:          Applications/Databases
212 Requires:       alternatives
213 Requires:       %{name}-dirs = %{version}-%{release}
214 Requires:       postgresql-libs >= %{version}-%{release}
215 Obsoletes:      postgresql-clients
216
217 %description clients
218 This package includes only the clients needed to access an PostgreSQL
219 server. The server is included in the main package. If all you need is
220 to connect to another PostgreSQL server, the this is the only package
221 you need to install. Clients include several command-line utilities
222 you can use to manage your databases on a remote PostgreSQL server.
223
224 %description clients -l pl.UTF-8
225 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
226 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
227 poleceń. Serwer znajduje się w głównym pakiecie.
228
229 %package doc
230 Summary:        Documentation for PostgreSQL
231 Summary(pl.UTF-8):      Dodatkowa dokumantacja dla PostgreSQL
232 Group:          Applications/Databases
233 Obsoletes:      postgresql-doc
234
235 %description doc
236 This package includes documentation and HOWTO for programmer, admin
237 etc., in HTML format.
238
239 %description doc -l pl.UTF-8
240 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
241 administratorów w formacie HTML.
242
243 %package ecpg
244 Summary:        Embedded SQL in C interface
245 Summary(pl.UTF-8):      Interfejs wbudowanego SQL-a w język C
246 Group:          Libraries
247 Requires:       %{name}-dirs = %{version}-%{release}
248 Requires:       postgresql-libs >= %{version}-%{release}
249 Requires:       postgresql-ecpg-libs >= %{version}-%{release}
250 Obsoletes:      postgresql-ecpg
251
252 %description ecpg
253 Embedded SQL in C interface.
254
255 %description ecpg -l pl.UTF-8
256 Interfejs wbudowanego SQL-a w język C.
257
258 %package module-plperl
259 Summary:        PL/perl - PostgreSQL procedural language
260 Summary(pl.UTF-8):      PL/perl - język proceduralny bazy danych PostgreSQL
261 Group:          Applications/Databases
262 Requires:       %{name} = %{version}-%{release}
263 Obsoletes:      postgresql-module-plperl
264
265 %description module-plperl
266 From PostgreSQL documentation:
267
268 Postgres supports the definition of procedural languages. In the case
269 of a function or trigger procedure defined in a procedural language,
270 the database has no built-in knowledge about how to interpret the
271 function's source text. Instead, the task is passed to a handler that
272 knows the details of the language. The handler itself is a special
273 programming language function compiled into a shared object and loaded
274 on demand.
275
276 To enable PL/Perl procedural language for your database you have to
277 run createlang command.
278
279 %description module-plperl -l pl.UTF-8
280 Z dokumentacji PostgreSQL:
281
282 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
283 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
284 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
285 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
286 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
287 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
288 potrzeby.
289
290 Za pomocą polecenia createlang można dodać obsługę języka
291 proceduralnego PL/Perl dla swojej bazy danych.
292
293 %package module-plpython
294 Summary:        PL/Python - PostgreSQL procedural language
295 Summary(pl.UTF-8):      PL/Python - język proceduralny bazy danych PostgreSQL
296 Group:          Applications/Databases
297 Requires:       %{name} = %{version}-%{release}
298 %pyrequires_eq  python
299 Obsoletes:      postgresql-module-plpython
300
301 %description module-plpython
302 From PostgreSQL documentation:
303
304 Postgres supports the definition of procedural languages. In the case
305 of a function or trigger procedure defined in a procedural language,
306 the database has no built-in knowledge about how to interpret the
307 function's source text. Instead, the task is passed to a handler that
308 knows the details of the language. The handler itself is a special
309 programming language function compiled into a shared object and loaded
310 on demand.
311
312 To enable PL/Python procedural language for your database you have to
313 run createlang command.
314
315 %description module-plpython -l pl.UTF-8
316 Z dokumentacji PostgreSQL:
317
318 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
319 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
320 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
321 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
322 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
323 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
324 potrzeby.
325
326 Za pomocą polecenia createlang można dodać obsługę języka
327 proceduralnego PL/Python dla swojej bazy danych.
328
329 %package module-pltcl
330 Summary:        PL/Tcl - PostgreSQL procedural language
331 Summary(pl.UTF-8):      PL/Tcl - język proceduralny bazy danych PostgreSQL
332 Group:          Applications/Databases
333 Requires:       %{name} = %{version}-%{release}
334 Requires:       tcl(Pgtcl)
335 Obsoletes:      postgresql-module-pltcl
336
337 %description module-pltcl
338 From PostgreSQL documentation:
339
340 Postgres supports the definition of procedural languages. In the case
341 of a function or trigger procedure defined in a procedural language,
342 the database has no built-in knowledge about how to interpret the
343 function's source text. Instead, the task is passed to a handler that
344 knows the details of the language. The handler itself is a special
345 programming language function compiled into a shared object and loaded
346 on demand.
347
348 To enable PL/Tcl procedural language for your database you have to run
349 createlang command.
350
351 %description module-pltcl -l pl.UTF-8
352 Z dokumentacji PostgreSQL:
353
354 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
355 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
356 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
357 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
358 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
359 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
360 potrzeby.
361
362 Za pomocą polecenia createlang można dodać obsługę języka
363 proceduralnego PL/Tcl dla swojej bazy danych.
364
365 %package module-dblink
366 Summary:        dblink module for PostgreSQL
367 Summary(pl.UTF-8):      Moduł dblink dla PostgreSQL-a
368 Group:          Applications/Databases
369 Requires:       %{name} = %{version}-%{release}
370 Obsoletes:      postgresql-module-dblink
371
372 %description module-dblink
373 dblink module for PostgreSQL provides functions returning results from
374 remote database.
375
376 %description module-dblink -l pl.UTF-8
377 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
378 zdalnej bazy danych.
379
380 %package module-lo
381 Summary:        Large Objects module for PostgreSQL
382 Summary(pl.UTF-8):      Moduł Large Objects dla PostgreSQL-a
383 Group:          Applications/Databases
384 Requires:       %{name} = %{version}-%{release}
385 Obsoletes:      postgresql-module-lo
386
387 %description module-lo
388 Large Objects module for PostgreSQL adds a new data type 'lo', some
389 support functions and a trigger which handles the orphaning problem.
390
391 %description module-lo -l pl.UTF-8
392 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
393 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
394 osieroconych obiektów.
395
396 %package module-pg_trgm
397 Summary:        Trigram matching for PostgreSQL
398 Summary(pl.UTF-8):      Dopasowanie trigramowe dla PostgreSQL-a
399 Group:          Applications/Databases
400 Requires:       %{name} = %{version}-%{release}
401 Obsoletes:      postgresql-module-pg_trgm
402
403 %description module-pg_trgm
404 This module provides functions and index classes for determining the
405 similarity of text based on trigram matching.
406
407 %description module-pg_trgm -l pl.UTF-8
408 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
409 w oparciu o dopasowywanie trigramowe (trigram matching).
410
411 %package module-pgcrypto
412 Summary:        Cryptographic functions for PostgreSQL
413 Summary(pl.UTF-8):      Funkcje kryptograficzne dla PostgreSQL-a
414 Group:          Applications/Databases
415 Requires:       %{name} = %{version}-%{release}
416 Obsoletes:      postgresql-module-pgcrypto
417
418 %description module-pgcrypto
419 Cryptographic functions for PostgreSQL.
420
421 %description module-pgcrypto -l pl.UTF-8
422 Funkcje kryptograficzne dla PostgreSQL.
423
424 %package module-sepgsql
425 Summary:        PostgreSQL external security provider using SELinux
426 Summary(pl.UTF-8):      Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa
427 Group:          Applications/Databases
428 Requires:       %{name} = %{version}-%{release}
429 Requires:       libselinux >= 2.1.10
430 Obsoletes:      postgresql-module-sepgsql
431
432 %description module-sepgsql
433 PostgreSQL external security provider using SELinux.
434
435 %description module-sepgsql -l pl.UTF-8
436 Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa.
437
438 %package module-tablefunc
439 Summary:        crosstab functions for PostgreSQL
440 Summary(pl.UTF-8):      Funkcje crosstab dla PostgreSQL-a
441 Group:          Applications/Databases
442 Requires:       %{name} = %{version}-%{release}
443 Obsoletes:      postgresql-module-tablefunc
444
445 %description module-tablefunc
446 crosstab functions for PostgreSQL.
447
448 %description module-tablefunc -l pl.UTF-8
449 Funkcje crosstab dla PostgreSQL-a.
450
451 %package module-xml2
452 Summary:        XML-handling functions for PostgreSQL
453 Summary(pl.UTF-8):      Funkcje do obsługi XML-a dla PostgreSQL-a
454 Group:          Applications/Databases
455 Requires:       %{name} = %{version}-%{release}
456 Requires:       libxml2 >= 1:2.6.23
457 Obsoletes:      postgresql-module-xml2
458
459 %description module-xml2
460 Module with XML functions provides both XPath querying and XSLT
461 functionality. There is also a new table function which allows the
462 straightforward return of multiple XML results.
463
464 %description module-xml2 -l pl.UTF-8
465 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
466 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
467 bezpośrednie zwracanie wielu wyników XML.
468
469 %package contrib
470 Summary:        Miscellaneous PostgreSQL contrib modules
471 Summary(pl.UTF-8):      Różne moduły dołączone do PostgreSQL-a
472 Group:          Applications/Databases
473 Requires:       %{name} = %{version}-%{release}
474 Obsoletes:      postgresql-contrib
475
476 %description contrib
477 Miscellaneous PostgreSQL contrib modules.
478
479 %description contrib -l pl.UTF-8
480 Różne moduły dołączone do PostgreSQL-a.
481
482 %prep
483 %setup -q -n postgresql-%{version}
484 %patch0 -p1
485 %{?with_absolute_dbpaths:%patch1 -p1}
486 %patch2 -p1
487 %patch3 -p1
488 %patch4 -p1
489 %patch5 -p1
490 %patch6 -p1
491 %patch7 -p1
492 %patch8 -p1
493
494 # force rebuild of bison/flex files
495 find src -name \*.l -o -name \*.y | xargs touch
496
497 # Erase all CVS dirs
498 #find contrib -type d -name CVS -exec rm -rf {} \;
499
500 %build
501 %{__aclocal} -I config
502 %{__autoconf}
503 %{__autoheader}
504 %configure \
505         CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \
506         --prefix=%{pgsqldatadir} \
507         --bindir=%{pgsqllibdir}/bin \
508         --sbindir=%{pgsqllibdir}/sbin \
509         --includedir=%{_includedir} \
510         --mandir=%{pgsqldatadir}/man \
511         --datadir=%{pgsqldatadir} \
512         --libdir=%{_libdir} \
513         --docdir=%{pgsqldatadir}/doc \
514         --localedir=%{_datadir}/locale \
515         --disable-rpath \
516         --enable-depend \
517         %{?with_systemtap:--enable-dtrace} \
518         --enable-integer-datetimes \
519         --enable-nls \
520         --enable-thread-safety \
521         %{?with_bonjour:--with-bonjour} \
522         %{?with_kerberos5:--with-gssapi} \
523         %{?with_ldap:--with-ldap} \
524         --with-libxml \
525         --with-libxslt \
526         --with-openssl \
527         --with-pam \
528         %{?with_perl:--with-perl} \
529         %{?with_python:--with-python} \
530         %{?with_selinux:--with-selinux} \
531         --with-system-tzdata=%{_datadir}/zoneinfo \
532         %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
533         --with-ossp-uuid
534
535 %{__make}
536
537 for mod in %{contrib_modules}; do \
538         flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS"
539         if [ $mod = "xml2"      ]; then flags="$flags -I/usr/include/libxml2"; fi
540         if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi
541         %{__make} -C contrib/$mod CFLAGS="$flags"
542 done
543
544 %{__make} -C src/tutorial \
545         NO_PGXS=1
546
547 %ifnarch sparc sparcv9 sparc64 alpha
548 %{?with_tests:%{__make} -j1 check}
549 %endif
550
551 %install
552 rm -rf $RPM_BUILD_ROOT
553 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
554         $RPM_BUILD_ROOT/var/{lib/postgresql/%{pgsqlversion},log,run/postgresql} \
555         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
556         $RPM_BUILD_ROOT%{_mandir}
557
558 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
559
560 %{__make} install \
561         DESTDIR=$RPM_BUILD_ROOT
562 %{__make} -C doc/src/sgml install-man \
563         DESTDIR=$RPM_BUILD_ROOT
564
565 %if %{with perl}
566 %{__make} install -C src/pl/plperl \
567         DESTDIR=$RPM_BUILD_ROOT
568 %endif
569
570 for mod in %{contrib_modules}; do \
571         %{__make} -C contrib/$mod install \
572                 DESTDIR=$RPM_BUILD_ROOT
573 done
574
575 touch $RPM_BUILD_ROOT/var/log/pgsql
576
577 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
578 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
579
580 install -d howto
581 tar zxf %{SOURCE2} -C howto
582
583 %if %{with python}
584 %py_comp $RPM_BUILD_ROOT%{py_libdir}
585 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
586 %endif
587
588 # find locales
589 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
590         plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
591         pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetxlog; do
592         %find_lang $f-%{pgsqlversion}
593 done
594 # merge locales
595 merge_lang() {
596         cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
597 }
598 merge_lang pgscripts postgres plpgsql \
599         pg_basebackup pg_controldata pg_resetxlog > main.lang
600 merge_lang psql initdb \
601         pg_ctl pg_dump > clients.lang
602
603 %if %{with tcl}
604 %find_lang pltcl-%{pgsqlversion}
605 %endif
606
607 %if %{with selinux}
608 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
609 %endif
610
611 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
612
613 # package it...?  nah, why bother.
614 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
615
616 # remove common files provided by PostgreSQL from master branch
617 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
618 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
619 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
620
621 %clean
622 rm -rf $RPM_BUILD_ROOT
623
624 %pre
625 PG_DB_CLUSTERS=""
626 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
627         . /etc/sysconfig/postgresql-%{pgsqlversion}
628         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
629                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
630         fi
631 fi
632 foundold=0
633 for pgdir in $PG_DB_CLUSTERS; do
634         if [ -f $pgdir/PG_VERSION ]; then
635                 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
636                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
637                         foundold=1
638                 fi
639         fi
640 done
641 if [ "$foundold" = "1" ]; then
642         echo
643         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
644         echo "and clean (or rename) those directories; then upgrade postgresql and"
645         echo "restore all data (using pg_restore or psql)."
646         echo "Remember to stop the daemon before upgrading!"
647         echo
648         echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
649         echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
650         echo
651         exit 1
652 fi
653
654 %post
655 /sbin/chkconfig --add postgresql-%{pgsqlversion}
656 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
657
658 %preun
659 if [ "$1" = "0" ]; then
660         %service postgresql-%{pgsqlversion} stop
661         /sbin/chkconfig --del postgresql-%{pgsqlversion}
662 fi
663
664 %posttrans      clients
665 update-alternatives \
666         --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
667         --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
668 update-alternatives \
669         --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
670         --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
671 update-alternatives \
672         --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
673         --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
674 update-alternatives \
675         --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
676         --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
677 update-alternatives \
678         --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
679         --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
680 update-alternatives \
681         --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
682         --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
683 update-alternatives \
684         --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
685         --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
686 update-alternatives \
687         --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
688         --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
689 update-alternatives \
690         --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
691         --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
692 update-alternatives \
693         --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
694         --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
695 update-alternatives \
696         --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
697         --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
698 update-alternatives \
699         --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
700         --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
701
702 %postun clients
703 if [ $1 -eq 0 ]; then
704         update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
705         update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
706         update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
707         update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
708         update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
709         update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
710         update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
711         update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
712         update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
713         update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
714         update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
715         update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
716 fi
717
718 %files -f main.lang
719 %defattr(644,root,root,755)
720 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
721 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
722 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
723
724 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
725 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
726 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
727 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
728 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetxlog
729 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivexlog
730 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
731 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
732 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
733 %attr(755,root,root) %{pgsqllibdir}/bin/pg_xlogdump
734 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
735 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
736 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
737
738 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
739 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
740 %attr(755,root,root) %{moduledir}/dict_int.so
741 %attr(755,root,root) %{moduledir}/dict_snowball.so
742 %attr(755,root,root) %{moduledir}/dict_xsyn.so
743 %attr(755,root,root) %{moduledir}/euc*.so
744 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
745 %attr(755,root,root) %{moduledir}/latin_and_mic.so
746 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
747 %attr(755,root,root) %{moduledir}/plpgsql.so
748 %attr(755,root,root) %{moduledir}/utf8_and_*.so
749
750 %dir %{extensiondir}
751 %{extensiondir}/plpgsql--*.sql
752 %{extensiondir}/plpgsql.control
753
754 %{pgsqldatadir}/*.bki
755 %{pgsqldatadir}/*.sample
756 %{pgsqldatadir}/*.description
757 %{pgsqldatadir}/*.shdescription
758 %{pgsqldatadir}/*.sql
759 %{pgsqldatadir}/*.txt
760 %{pgsqldatadir}/timezonesets
761 %{pgsqldatadir}/tsearch_data
762
763 %dir %{pgsqldatadir}/contrib
764
765 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
766
767 %{pgsqldatadir}/man/man1/initdb.1*
768 %{pgsqldatadir}/man/man1/pg_basebackup.1*
769 %{pgsqldatadir}/man/man1/pg_controldata.1*
770 %{pgsqldatadir}/man/man1/pg_ctl.1*
771 %{pgsqldatadir}/man/man1/pg_resetxlog.1*
772 %{pgsqldatadir}/man/man1/pg_receivexlog.1*
773 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
774 %{pgsqldatadir}/man/man1/pg_test_timing.1*
775 %{pgsqldatadir}/man/man1/pg_test_timing.1*
776 %{pgsqldatadir}/man/man1/pg_upgrade.1*
777 %{pgsqldatadir}/man/man1/pg_xlogdump.1*
778 %{pgsqldatadir}/man/man1/pgbench.1*
779 %{pgsqldatadir}/man/man1/postgres.1*
780 %{pgsqldatadir}/man/man1/postmaster.1*
781
782 %files dirs
783 %defattr(644,root,root,755)
784 %dir %{pgsqllibdir}
785 %dir %{pgsqllibdir}/bin
786 %dir %{pgsqllibdir}/lib
787 %dir %{pgsqldatadir}
788 %dir %{pgsqldatadir}/man
789 %dir %{pgsqldatadir}/man/man1
790 %dir %{pgsqldatadir}/man/man3
791 %dir %{pgsqldatadir}/man/man7
792 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
793
794 %files doc
795 %defattr(644,root,root,755)
796 %doc doc/src/sgml/html howto
797 %{_examplesdir}/%{name}-%{version}
798
799 %files ecpg -f ecpg-%{pgsqlversion}.lang
800 %defattr(644,root,root,755)
801 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
802 %{pgsqldatadir}/man/man1/ecpg.1*
803
804 %files backend-devel
805 %defattr(644,root,root,755)
806 %dir %{_includedir}/postgresql/%{pgsqlversion}
807 %{_includedir}/postgresql/%{pgsqlversion}/server
808 %dir %{moduledir}/pgxs
809 %attr(755,root,root) %{moduledir}/pgxs/config
810 %{moduledir}/pgxs/src
811 %{pgsqldatadir}/man/man3/SPI_*.3*
812
813 %files clients -f clients.lang
814 %defattr(644,root,root,755)
815 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
816 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
817 %attr(755,root,root) %{pgsqllibdir}/bin/createlang
818 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
819 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
820 %attr(755,root,root) %{pgsqllibdir}/bin/droplang
821 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
822 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
823 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
824 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
825 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
826 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
827 %attr(755,root,root) %{pgsqllibdir}/bin/psql
828 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
829 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
830
831 %{pgsqldatadir}/man/man1/clusterdb.1*
832 %{pgsqldatadir}/man/man1/createdb.1*
833 %{pgsqldatadir}/man/man1/createlang.1*
834 %{pgsqldatadir}/man/man1/createuser.1*
835 %{pgsqldatadir}/man/man1/dropdb.1*
836 %{pgsqldatadir}/man/man1/droplang.1*
837 %{pgsqldatadir}/man/man1/dropuser.1*
838 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
839 %{pgsqldatadir}/man/man1/pg_dump.1*
840 %{pgsqldatadir}/man/man1/pg_dumpall.1*
841 %{pgsqldatadir}/man/man1/pg_isready.1*
842 %{pgsqldatadir}/man/man1/pg_restore.1*
843 %{pgsqldatadir}/man/man1/psql.1*
844 %{pgsqldatadir}/man/man1/reindexdb.1*
845 %{pgsqldatadir}/man/man1/vacuumdb.1*
846 %{pgsqldatadir}/man/man7/*.7*
847
848 %if %{with perl}
849 %files module-plperl -f plperl-%{pgsqlversion}.lang
850 %defattr(644,root,root,755)
851 %attr(755,root,root) %{moduledir}/plperl.so
852 %{extensiondir}/plperl--*.sql
853 %{extensiondir}/plperl.control
854 %{extensiondir}/plperlu--*.sql
855 %{extensiondir}/plperlu.control
856 %endif
857
858 %if %{with python}
859 %files module-plpython -f plpython-%{pgsqlversion}.lang
860 %defattr(644,root,root,755)
861 %attr(755,root,root) %{moduledir}/plpython2.so
862 %{extensiondir}/plpython*--*.sql
863 %{extensiondir}/plpython*.control
864 %endif
865
866 %if %{with tcl}
867 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
868 %defattr(644,root,root,755)
869 %attr(755,root,root) %{pgsqllibdir}/bin/pltcl_*
870 %attr(755,root,root) %{moduledir}/pltcl.so
871 %{pgsqldatadir}/unknown.pltcl
872 %{extensiondir}/pltcl*--*.sql
873 %{extensiondir}/pltcl*.control
874 %endif
875
876 %files module-dblink
877 %defattr(644,root,root,755)
878 %attr(755,root,root) %{moduledir}/dblink.so
879 %{extensiondir}/dblink--*.sql
880 %{extensiondir}/dblink.control
881 %{pgsqldatadir}/man/man3/dblink*.3*
882
883 %files module-lo
884 %defattr(644,root,root,755)
885 %attr(755,root,root) %{moduledir}/lo.so
886 %{extensiondir}/lo--*.sql
887 %{extensiondir}/lo.control
888
889 %files module-pg_trgm
890 %defattr(644,root,root,755)
891 %attr(755,root,root) %{moduledir}/pg_trgm.so
892 %{extensiondir}/pg_trgm--*.sql
893 %{extensiondir}/pg_trgm.control
894
895 %files module-pgcrypto
896 %defattr(644,root,root,755)
897 %attr(755,root,root) %{moduledir}/pgcrypto.so
898 %{extensiondir}/pgcrypto--*.sql
899 %{extensiondir}/pgcrypto.control
900
901 %if %{with selinux}
902 %files module-sepgsql
903 %defattr(644,root,root,755)
904 %attr(755,root,root) %{moduledir}/sepgsql.so
905 %{extensiondir}/sepgsql.sql
906 %endif
907
908 %files module-tablefunc
909 %defattr(644,root,root,755)
910 %attr(755,root,root) %{moduledir}/tablefunc.so
911 %{extensiondir}/*tablefunc--*.sql
912 %{extensiondir}/*tablefunc.control
913
914 %files module-xml2
915 %defattr(644,root,root,755)
916 %attr(755,root,root) %{moduledir}/pgxml.so
917 %{extensiondir}/xml2--*.sql
918 %{extensiondir}/xml2.control
919
920 %files contrib
921 %defattr(644,root,root,755)
922 %doc contrib/README
923 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
924 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
925 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
926 %attr(755,root,root) %{moduledir}/_int.so
927 %attr(755,root,root) %{moduledir}/adminpack.so
928 %attr(755,root,root) %{moduledir}/auth_delay.so
929 %attr(755,root,root) %{moduledir}/auto_explain.so
930 %attr(755,root,root) %{moduledir}/btree_gin.so
931 %attr(755,root,root) %{moduledir}/btree_gist.so
932 %attr(755,root,root) %{moduledir}/chkpass.so
933 %attr(755,root,root) %{moduledir}/citext.so
934 %attr(755,root,root) %{moduledir}/cube.so
935 %attr(755,root,root) %{moduledir}/earthdistance.so
936 %attr(755,root,root) %{moduledir}/file_fdw.so
937 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
938 %attr(755,root,root) %{moduledir}/hstore.so
939 %attr(755,root,root) %{moduledir}/isn.so
940 %attr(755,root,root) %{moduledir}/ltree.so
941 %attr(755,root,root) %{moduledir}/pageinspect.so
942 %attr(755,root,root) %{moduledir}/passwordcheck.so
943 %attr(755,root,root) %{moduledir}/pg_buffercache.so
944 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
945 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
946 %attr(755,root,root) %{moduledir}/pgrowlocks.so
947 %attr(755,root,root) %{moduledir}/pgstattuple.so
948 %attr(755,root,root) %{moduledir}/postgres_fdw.so
949 %attr(755,root,root) %{moduledir}/seg.so
950 %attr(755,root,root) %{moduledir}/sslinfo.so
951 %attr(755,root,root) %{moduledir}/tcn.so
952 %attr(755,root,root) %{moduledir}/unaccent.so
953 %attr(755,root,root) %{moduledir}/uuid-ossp.so
954 %{extensiondir}/adminpack--*.sql
955 %{extensiondir}/adminpack.control
956 %{extensiondir}/btree_gin--*.sql
957 %{extensiondir}/btree_gin.control
958 %{extensiondir}/btree_gist--*.sql
959 %{extensiondir}/btree_gist.control
960 %{extensiondir}/chkpass--*.sql
961 %{extensiondir}/chkpass.control
962 %{extensiondir}/citext--*.sql
963 %{extensiondir}/citext.control
964 %{extensiondir}/cube--*.sql
965 %{extensiondir}/cube.control
966 %{extensiondir}/dict_int--*.sql
967 %{extensiondir}/dict_int.control
968 %{extensiondir}/dict_xsyn--*.sql
969 %{extensiondir}/dict_xsyn.control
970 %{extensiondir}/earthdistance--*.sql
971 %{extensiondir}/earthdistance.control
972 %{extensiondir}/file_fdw--*.sql
973 %{extensiondir}/file_fdw.control
974 %{extensiondir}/fuzzystrmatch--*.sql
975 %{extensiondir}/fuzzystrmatch.control
976 %{extensiondir}/hstore--*.sql
977 %{extensiondir}/hstore.control
978 %{extensiondir}/intarray--*.sql
979 %{extensiondir}/intarray.control
980 %{extensiondir}/intagg--*.sql
981 %{extensiondir}/intagg.control
982 %{extensiondir}/isn--*.sql
983 %{extensiondir}/isn.control
984 %{extensiondir}/ltree--*.sql
985 %{extensiondir}/ltree.control
986 %{extensiondir}/pageinspect--*.sql
987 %{extensiondir}/pageinspect.control
988 %{extensiondir}/pg_buffercache--*.sql
989 %{extensiondir}/pg_buffercache.control
990 %{extensiondir}/pg_freespacemap--*.sql
991 %{extensiondir}/pg_freespacemap.control
992 %{extensiondir}/pg_stat_statements--*.sql
993 %{extensiondir}/pg_stat_statements.control
994 %{extensiondir}/pgrowlocks--*.sql
995 %{extensiondir}/pgrowlocks.control
996 %{extensiondir}/pgstattuple--*.sql
997 %{extensiondir}/pgstattuple.control
998 %{extensiondir}/postgres_fdw--*.sql
999 %{extensiondir}/postgres_fdw.control
1000 %{extensiondir}/seg--*.sql
1001 %{extensiondir}/seg.control
1002 %{extensiondir}/sslinfo--*.sql
1003 %{extensiondir}/sslinfo.control
1004 %{extensiondir}/tcn--*.sql
1005 %{extensiondir}/tcn.control
1006 %{extensiondir}/unaccent--*.sql
1007 %{extensiondir}/unaccent.control
1008 %{extensiondir}/uuid-ossp--*.sql
1009 %{extensiondir}/uuid-ossp.control
1010 %{pgsqldatadir}/man/man1/oid2name.1*
1011 %{pgsqldatadir}/man/man1/pg_standby.1*
1012 %{pgsqldatadir}/man/man1/vacuumlo.1*