]> TLD Linux GIT Repositories - packages/postgresql.git/blob - postgresql.spec
- release 4
[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:        4
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/{archive,}/postgresql,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 sed -e 's,@pgsqlbindir@,%{pgsqllibdir}/bin,g; s,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE1} >$RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql-%{pgsqlversion}
576 sed -e 's,@pgsqlversion@,%{pgsqlversion},g;' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/postgresql-%{pgsqlversion}
577
578 install -d howto
579 tar zxf %{SOURCE2} -C howto
580
581 %if %{with python}
582 %py_comp $RPM_BUILD_ROOT%{py_libdir}
583 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
584 %endif
585
586 # find locales
587 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
588         plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
589         pg_basebackup pg_config pg_controldata pg_ctl pg_dump pg_resetxlog; do
590         %find_lang $f-%{pgsqlversion}
591 done
592 # merge locales
593 merge_lang() {
594         cat $(for f in $@; do echo ${f}-%{pgsqlversion}.lang ; done)
595 }
596 merge_lang pgscripts postgres plpgsql \
597         pg_basebackup pg_controldata pg_resetxlog > main.lang
598 merge_lang psql initdb \
599         pg_ctl pg_dump > clients.lang
600
601 %if %{with tcl}
602 %find_lang pltcl-%{pgsqlversion}
603 %endif
604
605 %if %{with selinux}
606 %{__mv} $RPM_BUILD_ROOT{%{pgsqldatadir}/contrib,%{extensiondir}}/sepgsql.sql
607 %endif
608
609 cp -p src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/%{pgsqlversion}/server/
610
611 # package it...?  nah, why bother.
612 %{__rm} -r $RPM_BUILD_ROOT%{pgsqldatadir}/doc/html
613
614 # remove common files provided by PostgreSQL from master branch
615 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/{ecpg*,libpq*,pg_config*,postgres_ext.h,postgresql/internal}
616 %{__rm} -r $RPM_BUILD_ROOT{%{_libdir}/{libecpg*,libpg*,libpq*,pkgconfig},%{pgsqllibdir}/bin/pg_config,%{pgsqldatadir}/man/man1/pg_config.1*}
617 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{ecpglib*,libpq*,pg_config*}
618
619 %clean
620 rm -rf $RPM_BUILD_ROOT
621
622 %pre
623 PG_DB_CLUSTERS=""
624 if [ -f /etc/sysconfig/postgresql-%{pgsqlversion} ]; then
625         . /etc/sysconfig/postgresql-%{pgsqlversion}
626         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
627                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
628         fi
629 fi
630 foundold=0
631 for pgdir in $PG_DB_CLUSTERS; do
632         if [ -f $pgdir/PG_VERSION ]; then
633                 if [ $(cat $pgdir/PG_VERSION) != '%{pgsqlversion}' ]; then
634                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
635                         foundold=1
636                 fi
637         fi
638 done
639 if [ "$foundold" = "1" ]; then
640         echo
641         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
642         echo "and clean (or rename) those directories; then upgrade postgresql and"
643         echo "restore all data (using pg_restore or psql)."
644         echo "Remember to stop the daemon before upgrading!"
645         echo
646         echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with"
647         echo "some restrictions: http://www.postgresql.org/docs/10.0/static/pgupgrade.html"
648         echo
649         exit 1
650 fi
651
652 %post
653 /sbin/chkconfig --add postgresql-%{pgsqlversion}
654 %service postgresql-%{pgsqlversion} restart "postgresql-%{pgsqlversion} server"
655
656 %preun
657 if [ "$1" = "0" ]; then
658         %service postgresql-%{pgsqlversion} stop
659         /sbin/chkconfig --del postgresql-%{pgsqlversion}
660 fi
661
662 %posttrans      clients
663 update-alternatives \
664         --install %{_bindir}/clusterdb clusterdb %{pgsqllibdir}/bin/clusterdb %{pgsqlpriority} \
665         --slave %{_mandir}/man1/clusterdb.1 clusterdb.1 %{pgsqldatadir}/man/man1/clusterdb.1* || :
666 update-alternatives \
667         --install %{_bindir}/createdb createdb %{pgsqllibdir}/bin/createdb %{pgsqlpriority} \
668         --slave %{_mandir}/man1/createdb.1 createdb.1 %{pgsqldatadir}/man/man1/createdb.1* || :
669 update-alternatives \
670         --install %{_bindir}/createuser createuser %{pgsqllibdir}/bin/createuser %{pgsqlpriority} \
671         --slave %{_mandir}/man1/createuser.1 createuser.1 %{pgsqldatadir}/man/man1/createuser.1* || :
672 update-alternatives \
673         --install %{_bindir}/dropdb dropdb %{pgsqllibdir}/bin/dropdb %{pgsqlpriority} \
674         --slave %{_mandir}/man1/dropdb.1 dropdb.1 %{pgsqldatadir}/man/man1/dropdb.1* || :
675 update-alternatives \
676         --install %{_bindir}/dropuser dropuser %{pgsqllibdir}/bin/dropuser %{pgsqlpriority} \
677         --slave %{_mandir}/man1/dropuser.1 dropuser.1 %{pgsqldatadir}/man/man1/dropuser.1* || :
678 update-alternatives \
679         --install %{_bindir}/pg_dump pg_dump %{pgsqllibdir}/bin/pg_dump %{pgsqlpriority} \
680         --slave %{_mandir}/man1/pg_dump.1 pg_dump.1 %{pgsqldatadir}/man/man1/pg_dump.1* || :
681 update-alternatives \
682         --install %{_bindir}/pg_dumpall pg_dumpall %{pgsqllibdir}/bin/pg_dumpall %{pgsqlpriority} \
683         --slave %{_mandir}/man1/pg_dumpall.1 pg_dumpall.1 %{pgsqldatadir}/man/man1/pg_dumpall.1* || :
684 update-alternatives \
685         --install %{_bindir}/pg_isready pg_isready %{pgsqllibdir}/bin/pg_isready %{pgsqlpriority} \
686         --slave %{_mandir}/man1/pg_isready.1 pg_isready.1 %{pgsqldatadir}/man/man1/pg_isready.1* || :
687 update-alternatives \
688         --install %{_bindir}/pg_restore pg_restore %{pgsqllibdir}/bin/pg_restore %{pgsqlpriority} \
689         --slave %{_mandir}/man1/pg_restore.1 pg_restore.1 %{pgsqldatadir}/man/man1/pg_restore.1* || :
690 update-alternatives \
691         --install %{_bindir}/psql psql %{pgsqllibdir}/bin/psql %{pgsqlpriority} \
692         --slave %{_mandir}/man1/psql.1 pgsql.1 %{pgsqldatadir}/man/man1/psql.1* || :
693 update-alternatives \
694         --install %{_bindir}/reindexdb reindexdb %{pgsqllibdir}/bin/reindexdb %{pgsqlpriority} \
695         --slave %{_mandir}/man1/reindexdb.1 reindexdb.1 %{pgsqldatadir}/man/man1/reindexdb.1* || :
696 update-alternatives \
697         --install %{_bindir}/vacuumdb vacuumdb %{pgsqllibdir}/bin/vacuumdb %{pgsqlpriority} \
698         --slave %{_mandir}/man1/vacuumdb.1 vacuumdb.1 %{pgsqldatadir}/man/man1/vacuumdb.1* || :
699
700 %postun clients
701 if [ $1 -eq 0 ]; then
702         update-alternatives --remove clusterdb %{pgsqllibdir}/bin/clusterdb || :
703         update-alternatives --remove createdb %{pgsqllibdir}/bin/createdb || :
704         update-alternatives --remove createuser %{pgsqllibdir}/bin/createuser || :
705         update-alternatives --remove dropdb %{pgsqllibdir}/bin/dropdb || :
706         update-alternatives --remove dropuser %{pgsqllibdir}/bin/dropuser || :
707         update-alternatives --remove pg_dump %{pgsqllibdir}/bin/pg_dump || :
708         update-alternatives --remove pg_dumpall %{pgsqllibdir}/bin/pg_dumpall || :
709         update-alternatives --remove pg_isready %{pgsqllibdir}/bin/pg_isready || :
710         update-alternatives --remove pg_restore %{pgsqllibdir}/bin/pg_restore || :
711         update-alternatives --remove psql %{pgsqllibdir}/bin/psql || :
712         update-alternatives --remove reindexdb %{pgsqllibdir}/bin/reindexdb || :
713         update-alternatives --remove vacuumdb %{pgsqllibdir}/bin/vacuumdb || :
714 fi
715
716 %files -f main.lang
717 %defattr(644,root,root,755)
718 %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO}
719 %attr(754,root,root) /etc/rc.d/init.d/postgresql-%{pgsqlversion}
720 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql-%{pgsqlversion}
721
722 %attr(755,root,root) %{pgsqllibdir}/bin/initdb
723 %attr(755,root,root) %{pgsqllibdir}/bin/pg_basebackup
724 %attr(755,root,root) %{pgsqllibdir}/bin/pg_controldata
725 %attr(755,root,root) %{pgsqllibdir}/bin/pg_ctl
726 %attr(755,root,root) %{pgsqllibdir}/bin/pg_resetxlog
727 %attr(755,root,root) %{pgsqllibdir}/bin/pg_receivexlog
728 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_fsync
729 %attr(755,root,root) %{pgsqllibdir}/bin/pg_test_timing
730 %attr(755,root,root) %{pgsqllibdir}/bin/pg_upgrade
731 %attr(755,root,root) %{pgsqllibdir}/bin/pg_xlogdump
732 %attr(755,root,root) %{pgsqllibdir}/bin/pgbench
733 %attr(755,root,root) %{pgsqllibdir}/bin/postgres
734 %attr(755,root,root) %{pgsqllibdir}/bin/postmaster
735
736 %attr(755,root,root) %{moduledir}/ascii_and_mic.so
737 %attr(755,root,root) %{moduledir}/cyrillic_and_mic.so
738 %attr(755,root,root) %{moduledir}/dict_int.so
739 %attr(755,root,root) %{moduledir}/dict_snowball.so
740 %attr(755,root,root) %{moduledir}/dict_xsyn.so
741 %attr(755,root,root) %{moduledir}/euc*.so
742 %attr(755,root,root) %{moduledir}/latin2_and_win1250.so
743 %attr(755,root,root) %{moduledir}/latin_and_mic.so
744 %attr(755,root,root) %{moduledir}/libpqwalreceiver.so
745 %attr(755,root,root) %{moduledir}/plpgsql.so
746 %attr(755,root,root) %{moduledir}/utf8_and_*.so
747
748 %dir %{extensiondir}
749 %{extensiondir}/plpgsql--*.sql
750 %{extensiondir}/plpgsql.control
751
752 %{pgsqldatadir}/*.bki
753 %{pgsqldatadir}/*.sample
754 %{pgsqldatadir}/*.description
755 %{pgsqldatadir}/*.shdescription
756 %{pgsqldatadir}/*.sql
757 %{pgsqldatadir}/*.txt
758 %{pgsqldatadir}/timezonesets
759 %{pgsqldatadir}/tsearch_data
760
761 %dir %{pgsqldatadir}/contrib
762
763 %{pgsqldatadir}/man/man1/initdb.1*
764 %{pgsqldatadir}/man/man1/pg_basebackup.1*
765 %{pgsqldatadir}/man/man1/pg_controldata.1*
766 %{pgsqldatadir}/man/man1/pg_ctl.1*
767 %{pgsqldatadir}/man/man1/pg_resetxlog.1*
768 %{pgsqldatadir}/man/man1/pg_receivexlog.1*
769 %{pgsqldatadir}/man/man1/pg_test_fsync.1*
770 %{pgsqldatadir}/man/man1/pg_test_timing.1*
771 %{pgsqldatadir}/man/man1/pg_test_timing.1*
772 %{pgsqldatadir}/man/man1/pg_upgrade.1*
773 %{pgsqldatadir}/man/man1/pg_xlogdump.1*
774 %{pgsqldatadir}/man/man1/pgbench.1*
775 %{pgsqldatadir}/man/man1/postgres.1*
776 %{pgsqldatadir}/man/man1/postmaster.1*
777
778 %files dirs
779 %defattr(644,root,root,755)
780 %dir %{pgsqllibdir}
781 %dir %{pgsqllibdir}/bin
782 %dir %{pgsqllibdir}/lib
783 %dir %{pgsqldatadir}
784 %dir %{pgsqldatadir}/man
785 %dir %{pgsqldatadir}/man/man1
786 %dir %{pgsqldatadir}/man/man3
787 %dir %{pgsqldatadir}/man/man7
788 %attr(700,postgres,postgres) %dir /var/lib/postgresql/%{pgsqlversion}
789
790 %files doc
791 %defattr(644,root,root,755)
792 %doc doc/src/sgml/html howto
793 %{_examplesdir}/%{name}-%{version}
794
795 %files ecpg -f ecpg-%{pgsqlversion}.lang
796 %defattr(644,root,root,755)
797 %attr(755,root,root) %{pgsqllibdir}/bin/ecpg
798 %{pgsqldatadir}/man/man1/ecpg.1*
799
800 %files backend-devel
801 %defattr(644,root,root,755)
802 %dir %{_includedir}/postgresql/%{pgsqlversion}
803 %{_includedir}/postgresql/%{pgsqlversion}/server
804 %dir %{moduledir}/pgxs
805 %attr(755,root,root) %{moduledir}/pgxs/config
806 %{moduledir}/pgxs/src
807 %{pgsqldatadir}/man/man3/SPI_*.3*
808
809 %files clients -f clients.lang
810 %defattr(644,root,root,755)
811 %attr(755,root,root) %{pgsqllibdir}/bin/clusterdb
812 %attr(755,root,root) %{pgsqllibdir}/bin/createdb
813 %attr(755,root,root) %{pgsqllibdir}/bin/createlang
814 %attr(755,root,root) %{pgsqllibdir}/bin/createuser
815 %attr(755,root,root) %{pgsqllibdir}/bin/dropdb
816 %attr(755,root,root) %{pgsqllibdir}/bin/droplang
817 %attr(755,root,root) %{pgsqllibdir}/bin/dropuser
818 %attr(755,root,root) %{pgsqllibdir}/bin/pg_archivecleanup
819 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dump
820 %attr(755,root,root) %{pgsqllibdir}/bin/pg_dumpall
821 %attr(755,root,root) %{pgsqllibdir}/bin/pg_isready
822 %attr(755,root,root) %{pgsqllibdir}/bin/pg_restore
823 %attr(755,root,root) %{pgsqllibdir}/bin/psql
824 %attr(755,root,root) %{pgsqllibdir}/bin/reindexdb
825 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumdb
826
827 %{pgsqldatadir}/man/man1/clusterdb.1*
828 %{pgsqldatadir}/man/man1/createdb.1*
829 %{pgsqldatadir}/man/man1/createlang.1*
830 %{pgsqldatadir}/man/man1/createuser.1*
831 %{pgsqldatadir}/man/man1/dropdb.1*
832 %{pgsqldatadir}/man/man1/droplang.1*
833 %{pgsqldatadir}/man/man1/dropuser.1*
834 %{pgsqldatadir}/man/man1/pg_archivecleanup.1*
835 %{pgsqldatadir}/man/man1/pg_dump.1*
836 %{pgsqldatadir}/man/man1/pg_dumpall.1*
837 %{pgsqldatadir}/man/man1/pg_isready.1*
838 %{pgsqldatadir}/man/man1/pg_restore.1*
839 %{pgsqldatadir}/man/man1/psql.1*
840 %{pgsqldatadir}/man/man1/reindexdb.1*
841 %{pgsqldatadir}/man/man1/vacuumdb.1*
842 %{pgsqldatadir}/man/man7/*.7*
843
844 %if %{with perl}
845 %files module-plperl -f plperl-%{pgsqlversion}.lang
846 %defattr(644,root,root,755)
847 %attr(755,root,root) %{moduledir}/plperl.so
848 %{extensiondir}/plperl--*.sql
849 %{extensiondir}/plperl.control
850 %{extensiondir}/plperlu--*.sql
851 %{extensiondir}/plperlu.control
852 %endif
853
854 %if %{with python}
855 %files module-plpython -f plpython-%{pgsqlversion}.lang
856 %defattr(644,root,root,755)
857 %attr(755,root,root) %{moduledir}/plpython2.so
858 %{extensiondir}/plpython*--*.sql
859 %{extensiondir}/plpython*.control
860 %endif
861
862 %if %{with tcl}
863 %files module-pltcl -f pltcl-%{pgsqlversion}.lang
864 %defattr(644,root,root,755)
865 %attr(755,root,root) %{pgsqllibdir}/bin/pltcl_*
866 %attr(755,root,root) %{moduledir}/pltcl.so
867 %{pgsqldatadir}/unknown.pltcl
868 %{extensiondir}/pltcl*--*.sql
869 %{extensiondir}/pltcl*.control
870 %endif
871
872 %files module-dblink
873 %defattr(644,root,root,755)
874 %attr(755,root,root) %{moduledir}/dblink.so
875 %{extensiondir}/dblink--*.sql
876 %{extensiondir}/dblink.control
877 %{pgsqldatadir}/man/man3/dblink*.3*
878
879 %files module-lo
880 %defattr(644,root,root,755)
881 %attr(755,root,root) %{moduledir}/lo.so
882 %{extensiondir}/lo--*.sql
883 %{extensiondir}/lo.control
884
885 %files module-pg_trgm
886 %defattr(644,root,root,755)
887 %attr(755,root,root) %{moduledir}/pg_trgm.so
888 %{extensiondir}/pg_trgm--*.sql
889 %{extensiondir}/pg_trgm.control
890
891 %files module-pgcrypto
892 %defattr(644,root,root,755)
893 %attr(755,root,root) %{moduledir}/pgcrypto.so
894 %{extensiondir}/pgcrypto--*.sql
895 %{extensiondir}/pgcrypto.control
896
897 %if %{with selinux}
898 %files module-sepgsql
899 %defattr(644,root,root,755)
900 %attr(755,root,root) %{moduledir}/sepgsql.so
901 %{extensiondir}/sepgsql.sql
902 %endif
903
904 %files module-tablefunc
905 %defattr(644,root,root,755)
906 %attr(755,root,root) %{moduledir}/tablefunc.so
907 %{extensiondir}/*tablefunc--*.sql
908 %{extensiondir}/*tablefunc.control
909
910 %files module-xml2
911 %defattr(644,root,root,755)
912 %attr(755,root,root) %{moduledir}/pgxml.so
913 %{extensiondir}/xml2--*.sql
914 %{extensiondir}/xml2.control
915
916 %files contrib
917 %defattr(644,root,root,755)
918 %doc contrib/README
919 %attr(755,root,root) %{pgsqllibdir}/bin/oid2name
920 %attr(755,root,root) %{pgsqllibdir}/bin/pg_standby
921 %attr(755,root,root) %{pgsqllibdir}/bin/vacuumlo
922 %attr(755,root,root) %{moduledir}/_int.so
923 %attr(755,root,root) %{moduledir}/adminpack.so
924 %attr(755,root,root) %{moduledir}/auth_delay.so
925 %attr(755,root,root) %{moduledir}/auto_explain.so
926 %attr(755,root,root) %{moduledir}/btree_gin.so
927 %attr(755,root,root) %{moduledir}/btree_gist.so
928 %attr(755,root,root) %{moduledir}/chkpass.so
929 %attr(755,root,root) %{moduledir}/citext.so
930 %attr(755,root,root) %{moduledir}/cube.so
931 %attr(755,root,root) %{moduledir}/earthdistance.so
932 %attr(755,root,root) %{moduledir}/file_fdw.so
933 %attr(755,root,root) %{moduledir}/fuzzystrmatch.so
934 %attr(755,root,root) %{moduledir}/hstore.so
935 %attr(755,root,root) %{moduledir}/isn.so
936 %attr(755,root,root) %{moduledir}/ltree.so
937 %attr(755,root,root) %{moduledir}/pageinspect.so
938 %attr(755,root,root) %{moduledir}/passwordcheck.so
939 %attr(755,root,root) %{moduledir}/pg_buffercache.so
940 %attr(755,root,root) %{moduledir}/pg_freespacemap.so
941 %attr(755,root,root) %{moduledir}/pg_stat_statements.so
942 %attr(755,root,root) %{moduledir}/pgrowlocks.so
943 %attr(755,root,root) %{moduledir}/pgstattuple.so
944 %attr(755,root,root) %{moduledir}/postgres_fdw.so
945 %attr(755,root,root) %{moduledir}/seg.so
946 %attr(755,root,root) %{moduledir}/sslinfo.so
947 %attr(755,root,root) %{moduledir}/tcn.so
948 %attr(755,root,root) %{moduledir}/unaccent.so
949 %attr(755,root,root) %{moduledir}/uuid-ossp.so
950 %{extensiondir}/adminpack--*.sql
951 %{extensiondir}/adminpack.control
952 %{extensiondir}/btree_gin--*.sql
953 %{extensiondir}/btree_gin.control
954 %{extensiondir}/btree_gist--*.sql
955 %{extensiondir}/btree_gist.control
956 %{extensiondir}/chkpass--*.sql
957 %{extensiondir}/chkpass.control
958 %{extensiondir}/citext--*.sql
959 %{extensiondir}/citext.control
960 %{extensiondir}/cube--*.sql
961 %{extensiondir}/cube.control
962 %{extensiondir}/dict_int--*.sql
963 %{extensiondir}/dict_int.control
964 %{extensiondir}/dict_xsyn--*.sql
965 %{extensiondir}/dict_xsyn.control
966 %{extensiondir}/earthdistance--*.sql
967 %{extensiondir}/earthdistance.control
968 %{extensiondir}/file_fdw--*.sql
969 %{extensiondir}/file_fdw.control
970 %{extensiondir}/fuzzystrmatch--*.sql
971 %{extensiondir}/fuzzystrmatch.control
972 %{extensiondir}/hstore--*.sql
973 %{extensiondir}/hstore.control
974 %{extensiondir}/intarray--*.sql
975 %{extensiondir}/intarray.control
976 %{extensiondir}/intagg--*.sql
977 %{extensiondir}/intagg.control
978 %{extensiondir}/isn--*.sql
979 %{extensiondir}/isn.control
980 %{extensiondir}/ltree--*.sql
981 %{extensiondir}/ltree.control
982 %{extensiondir}/pageinspect--*.sql
983 %{extensiondir}/pageinspect.control
984 %{extensiondir}/pg_buffercache--*.sql
985 %{extensiondir}/pg_buffercache.control
986 %{extensiondir}/pg_freespacemap--*.sql
987 %{extensiondir}/pg_freespacemap.control
988 %{extensiondir}/pg_stat_statements--*.sql
989 %{extensiondir}/pg_stat_statements.control
990 %{extensiondir}/pgrowlocks--*.sql
991 %{extensiondir}/pgrowlocks.control
992 %{extensiondir}/pgstattuple--*.sql
993 %{extensiondir}/pgstattuple.control
994 %{extensiondir}/postgres_fdw--*.sql
995 %{extensiondir}/postgres_fdw.control
996 %{extensiondir}/seg--*.sql
997 %{extensiondir}/seg.control
998 %{extensiondir}/sslinfo--*.sql
999 %{extensiondir}/sslinfo.control
1000 %{extensiondir}/tcn--*.sql
1001 %{extensiondir}/tcn.control
1002 %{extensiondir}/unaccent--*.sql
1003 %{extensiondir}/unaccent.control
1004 %{extensiondir}/uuid-ossp--*.sql
1005 %{extensiondir}/uuid-ossp.control
1006 %{pgsqldatadir}/man/man1/oid2name.1*
1007 %{pgsqldatadir}/man/man1/pg_standby.1*
1008 %{pgsqldatadir}/man/man1/vacuumlo.1*