/[packages]/cauldron/postgresql9.3/current/SPECS/postgresql9.3.spec
ViewVC logotype

Contents of /cauldron/postgresql9.3/current/SPECS/postgresql9.3.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 813904 - (show annotations) (download)
Sat Feb 7 09:32:13 2015 UTC (5 years, 8 months ago) by oden
File size: 23259 byte(s)
- 9.3.6 (fixes CVE-2014-8161, CVE-2015-0241, CVE-2015-0242, CVE-2015-0243, CVE-2015-0244)
1 %define Werror_cflags %{nil}
2 %define _disable_ld_no_undefined 1
3
4 %define perl_version %(rpm -q --qf "%{VERSION}" perl)
5 %define perl_epoch %(rpm -q --qf "%{EPOCH}" perl)
6
7 %define pgdata /var/lib/pgsql
8 %define logrotatedir %{_sysconfdir}/logrotate.d
9
10 %define major 5.6
11 %define major_ecpg 6
12
13 %define bname postgresql
14 %define current_major_version 9.3
15 %define current_minor_version 6
16
17 %define rel 1
18
19
20 %define libname %mklibname pq%{current_major_version} _%{major}
21 %define libecpg %mklibname ecpg%{current_major_version} _%{major_ecpg}
22
23 %define withuuid 1
24
25 Summary: PostgreSQL client programs and libraries
26 Name: %{bname}%{current_major_version}
27 Version: %{current_major_version}.%{current_minor_version}
28 Release: %mkrel %{rel}
29 License: BSD
30 Group: Databases
31 URL: http://www.postgresql.org/
32 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
33 Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.md5
34 Source10: postgres.profile
35 Source11: postgresql.service
36 Source13: postgresql.distro.releasenote
37 Source14: postgresql_initdb.sh
38 Source15: postgresql.tmpfiles.d
39 Patch0: postgresql-9.3.5-libpq_soname.patch
40 Requires: perl
41 Provides: postgresql-clients = %{version}-%{release}
42 Conflicts: postgresql-clients < %{version}-%{release}
43 BuildRequires: bison
44 BuildRequires: flex
45 BuildRequires: openssl-devel
46 BuildRequires: pam-devel
47 BuildRequires: perl-devel
48 BuildRequires: python-devel
49 BuildRequires: readline-devel
50 BuildRequires: tcl-devel
51 BuildRequires: libxml2-devel
52 BuildRequires: libxslt-devel
53 BuildRequires: zlib-devel
54 %if %withuuid
55 BuildRequires: ossp_uuid-devel
56 %endif
57 # Need to build doc
58 BuildRequires: docbook-dtd42-sgml
59 BuildRequires: openjade
60 BuildRequires: docbook-utils
61 BuildRequires: docbook-style-xsl
62 BuildRequires: xsltproc
63 Provides: %{bname}-virtual = %{current_major_version}
64 Conflicts: %{bname}-virtual < %{current_major_version}
65 Provides: %{bname} = %{version}-%{release}
66 Conflicts: %{bname} < %{version}-%{release}
67
68 %description
69 PostgreSQL is an advanced Object-Relational database management system (DBMS)
70 that supports almost all SQL constructs (including transactions, subselects and
71 user-defined types and functions). The postgresql package includes the client
72 programs and libraries that you'll need to access a PostgreSQL DBMS server.
73 These PostgreSQL client programs are programs that directly manipulate the
74 internal structure of PostgreSQL databases on a PostgreSQL server. These client
75 programs can be located on the same machine with the PostgreSQL server, or may
76 be on a remote machine which accesses a PostgreSQL server over a network
77 connection. This package contains the client libraries for C and C++, as well
78 as command-line utilities for managing PostgreSQL databases on a PostgreSQL
79 server.
80
81 If you want to manipulate a PostgreSQL database on a remote PostgreSQL server,
82 you need this package. You also need to install this package if you're
83 installing the postgresql-server package.
84
85 %package -n %{libname}
86 Summary: The shared libraries required for any PostgreSQL clients
87 Group: System/Libraries
88 Conflicts: postgresql-libs < %{version}-%{release}
89 Provides: postgresql-libs = %{version}-%{release}
90 Provides: libpq = %{version}-%{release}
91 Provides: %{libname}-virtual = %{current_major_version}
92 Conflicts: %{libname}-virtual < %{current_major_version}
93
94 %description -n %{libname}
95 C and C++ libraries to enable user programs to communicate with the PostgreSQL
96 database backend. The backend can be on another machine and accessed through
97 TCP/IP.
98
99 %package -n %{libecpg}
100 Summary: Shared library libecpg for PostgreSQL
101 Group: System/Libraries
102 Requires: postgresql%{current_major_version} = %{version}-%{release}
103 Provides: libecpg = %{version}-%{release}
104 Provides: %{libecpg}-virtual = %{current_major_version}
105 Conflicts: %{libecpg}-virtual < %{current_major_version}
106
107 %description -n %{libecpg}
108 Libecpg is used by programs built with ecpg (Embedded PostgreSQL for C) Use
109 postgresql-dev to develop such programs.
110
111 %package server
112 Summary: The programs needed to create and run a PostgreSQL server
113 Group: Databases
114 Provides: sqlserver
115 Requires(post): %{libname} >= %{version}-%{release}
116 Requires(preun): %{libname} >= %{version}-%{release}
117 # add/remove services
118 Requires(post): rpm-helper
119 Requires(preun): rpm-helper
120 # add/del user
121 Requires(pre): rpm-helper
122 Requires(postun): rpm-helper
123 Requires(pre): postgresql%{current_major_version} >= %{version}-%{release}
124 Requires(post): postgresql%{current_major_version} >= %{version}-%{release}
125 Provides: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
126 Provides: %{bname}-server-virtual = %{current_major_version}
127 Conflicts: %{bname}-server-virtual < %{current_major_version}
128 Provides: %{bname}-server = %{version}-%{release}
129 Requires: postgresql-plpgsql = %{version}-%{release}
130
131 %description server
132 The postgresql-server package includes the programs needed to create and run a
133 PostgreSQL server, which will in turn allow you to create and maintain
134 PostgreSQL databases. PostgreSQL is an advanced Object-Relational database
135 management system (DBMS) that supports almost all SQL constructs (including
136 transactions, subselects and user-defined types and functions). You should
137 install postgresql-server if you want to create and maintain your own
138 PostgreSQL databases and/or your own PostgreSQL server. You also need to
139 install the postgresql and postgresql-devel packages.
140
141 After installing this package, please read postgresql.%{_vendor}.releasenote.
142
143 %package docs
144 Summary: Extra documentation for PostgreSQL
145 Group: Databases
146 BuildArch: noarch
147 Provides: %{bname}-docs-virtual = %{current_major_version}
148 Conflicts: %{bname}-docs-virtual < %{current_major_version}
149
150 %description docs
151 The postgresql-docs package includes the SGML source for the documentation as
152 well as the documentation in other formats, and some extra documentation.
153 Install this package if you want to help with the PostgreSQL documentation
154 project, or if you want to generate printed documentation.
155
156 %package contrib
157 Summary: Contributed binaries distributed with PostgreSQL
158 Group: Databases
159 Requires: postgresql%{current_major_version}-server = %{version}-%{release}
160 Provides: %{bname}-contrib-virtual = %{current_major_version}
161 Conflicts: %{bname}-contrib-virtual < %{current_major_version}
162
163 %description contrib
164 The postgresql-contrib package includes the contrib tree distributed with the
165 PostgreSQL tarball. Selected contrib modules are prebuilt.
166
167 %package devel
168 Summary: PostgreSQL development header files and libraries
169 Group: Development/Databases
170 Requires: postgresql%{current_major_version} = %{version}-%{release}
171 Provides: %{bname}-devel-virtual = %{current_major_version}
172 Conflicts: %{bname}-devel-virtual < %{current_major_version}
173 Requires: %{libname} = %{version}-%{release}
174 Provides: postgresql-libs-devel = %{version}-%{release}
175 Provides: pq-devel = %{version}-%{release}
176 %if %_lib != lib
177 Provides: libpq-devel = %{version}-%{release}
178 %endif
179 Provides: %{_lib}pq-devel = %{version}
180 Conflicts: %{_lib}pq-devel < %{version}
181 Requires: %{libecpg} = %{version}-%{release}
182 Provides: libecpg-devel = %{version}-%{release}
183 Provides: %{_lib}ecpg-devel = %{version}-%{release}
184 Conflicts: %{_lib}ecpg-devel < %{version}-%{release}
185 Provides: %{bname}-devel = %{version}-%{release}
186 Conflicts: %{bname}-devel < %{version}-%{release}
187
188 %description devel
189 The postgresql-devel package contains the header files and libraries needed to
190 compile C or C++ applications which will directly interact with a PostgreSQL
191 database management server and the ecpg Embedded C Postgres preprocessor. You
192 need to install this package if you want to develop applications which will
193 interact with a PostgreSQL server. If you're installing postgresql-server, you
194 need to install this package.
195
196 %package pl
197 Summary: Procedurals languages for PostgreSQL
198 Group: Databases
199 Conflicts: libpgsql2
200 Requires: %{name}-plpython = %{version}-%{release}
201 Requires: %{name}-plperl = %{version}-%{release}
202 Requires: %{name}-pltcl = %{version}-%{release}
203 Requires: %{name}-plpgsql = %{version}-%{release}
204 Provides: %{bname}-pl-virtual = %{current_major_version}
205 Conflicts: %{bname}-pl-virtual < %{current_major_version}
206 Conflicts: %{bname}-pl < %{version}-%{release}
207 Provides: %{bname}-pl = %{version}-%{release}
208
209 %description pl
210 PostgreSQL is an advanced Object-Relational database management system. The
211 postgresql-pl will install the the PL/Perl, PL/Tcl, and PL/Python procedural
212 languages for the backend. PL/Pgsql is part of the core server package.
213
214 %package plpython
215 Summary: The PL/Python procedural language for PostgreSQL
216 Group: Databases
217 Requires: postgresql%{current_major_version}-server = %{version}
218 Conflicts: postgresql-pl < %version-%release
219 Requires: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
220 Provides: %{bname}-plpython-virtual = %{current_major_version}
221 Conflicts: %{bname}-plpython-virtual < %{current_major_version}
222 Conflicts: %{bname}-plpython < %{version}-%{release}
223 Provides: %{bname}-plpython = %{version}-%{release}
224
225 %description plpython
226 PostgreSQL is an advanced Object-Relational database management system. The
227 postgresql-plpython package contains the the PL/Python procedural languages for
228 the backend. PL/Python is part of the core server package.
229
230 %package plperl
231 Summary: The PL/Perl procedural language for PostgreSQL
232 Group: Databases
233 Requires: postgresql%{current_major_version}-server = %{version}
234 Requires: perl-base = %{perl_epoch}:%{perl_version}
235 Conflicts: postgresql-pl < %version-%release
236 Requires: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
237 Provides: %{bname}-plperl-virtual = %{current_major_version}
238 Conflicts: %{bname}-plperl-virtual < %{current_major_version}
239 Conflicts: %{bname}-plperl < %{version}-%{release}
240 Provides: %{bname}-plperl = %{version}-%{release}
241
242 %description plperl
243 PostgreSQL is an advanced Object-Relational database management system. The
244 postgresql-plperl package contains the the PL/Perl procedural languages for the
245 backend. PL/Perl is part of the core server package.
246
247 %package pltcl
248 Summary: The PL/Tcl procedural language for PostgreSQL
249 Group: Databases
250 Requires: postgresql%{current_major_version}-server = %{version}
251 Conflicts: postgresql-pl < %version-%release
252 Requires: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
253 Provides: %{bname}-pltcl-virtual = %{current_major_version}
254 Conflicts: %{bname}-pltcl-virtual < %{current_major_version}
255 Conflicts: %{bname}-pltcl < %{version}-%{release}
256 Provides: %{bname}-pltcl = %{version}-%{release}
257
258 %description pltcl
259 PostgreSQL is an advanced Object-Relational database management system. The
260 postgresql-pltcl package contains the the PL/Tcl procedural languages for the
261 backend. PL/Tcl is part of the core server package.
262
263 %package plpgsql
264 Summary: The PL/PgSQL procedural language for PostgreSQL
265 Group: Databases
266 Requires: postgresql%{current_major_version}-server = %{version}
267 Conflicts: postgresql-pl < %version-%release
268 Requires: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
269 Provides: %{bname}-plpgsql-virtual = %{current_major_version}
270 Conflicts: %{bname}-plpgsql-virtual < %{current_major_version}
271 Conflicts: %{bname}-plpgsql < %{version}-%{release}
272 Provides: %{bname}-plpgsql = %{version}-%{release}
273
274 %description plpgsql
275 PostgreSQL is an advanced Object-Relational database management system. The
276 postgresql-plpgsql package contains the the PL/PgSQL procedural languages for
277 the backend. PL/PgSQL is part of the core server package.
278
279 %prep
280 %setup -q -n %{bname}-%{version}
281 cp src/Makefile.shlib src/Makefile.libpq.shlib
282 %apply_patches
283
284 %build
285
286 %serverbuild
287
288 # -fPIC is only needed for shared objects, should not be in optflags
289 export CFLAGS=$(echo "$CFLAGS"|sed -e 's/-fPIC//')
290 export CXXFLAGS=$(echo "$CXXFLAGS"|sed -e 's/-fPIC//')
291 export RPM_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS"|sed -e 's/-fPIC//')
292
293 %configure2_5x \
294 --disable-rpath \
295 --with-perl \
296 --with-python \
297 --with-tcl --with-tclconfig=%{_libdir} \
298 --with-openssl \
299 --with-pam \
300 --with-libxml \
301 --with-libxslt \
302 --libdir=%{_libdir} \
303 --mandir=%{_mandir} \
304 --prefix=%_prefix \
305 --sysconfdir=%{_sysconfdir}/pgsql \
306 --enable-nls \
307 %if %{withuuid}
308 --with-ossp-uuid
309 %endif
310
311 # $(rpathdir) come from Makefile
312 perl -pi -e 's|^all:|LINK.shared=\$(COMPILER) -shared -Wl,-rpath,\$(rpathdir),-soname,\$(soname)\nall:|' src/pl/plperl/GNUmakefile
313
314 %make world
315
316 pushd src/test
317 make all
318 popd
319
320 %check
321 make check
322
323 %install
324 make DESTDIR=%{buildroot} install-world install-docs
325
326 # install odbcinst.ini
327 mkdir -p %{buildroot}%{_sysconfdir}/pgsql
328
329 # copy over Makefile.global to the include dir....
330 #install -m755 src/Makefile.global %{buildroot}%{_includedir}/pgsql/
331
332 # PGDATA needs removal of group and world permissions due to pg_pwd hole.
333 install -d -m 700 %{buildroot}/var/lib/pgsql/data
334
335 # backups of data go here...
336 install -d -m 700 %{buildroot}/var/lib/pgsql/backups
337
338 # Create the multiple postmaster startup directory
339 install -d -m 700 %{buildroot}/etc/sysconfig/pgsql
340
341 # install systemd units
342 mkdir -p %{buildroot}%{_unitdir}
343 install -m 644 %{SOURCE11} %{buildroot}%{_unitdir}/%{bname}.service
344
345 # Create the directory for sockets.
346 install -d -m 755 %{buildroot}/var/run/postgresql
347
348 # ... and make a tmpfiles script to recreate it at reboot.
349 mkdir -p %{buildroot}%{_tmpfilesdir}
350 install -m 0644 %{SOURCE15} %{buildroot}%{_tmpfilesdir}/postgresql.conf
351
352 # install helper script for env initialisation
353 mkdir -p %{buildroot}%{_libexecdir}
354 install -m 755 %{SOURCE14} %{buildroot}%{_libexecdir}/
355
356 mkdir -p %{buildroot}/var/log/postgres
357
358 mkdir -p %{buildroot}%{logrotatedir}
359 cat > %{buildroot}%{logrotatedir}/%{bname} <<EOF
360 /var/log/postgres/postgresql {
361 notifempty
362 missingok
363 copytruncate
364 }
365 EOF
366
367 mv %{buildroot}%{_docdir}/%{bname}/html %{buildroot}%{_docdir}/%{name}-docs-%{version}
368
369 echo -n '' > main.lst
370 for i in \
371 pg_ctl initdb pg_config psql pg_dump pgscripts libpq libecpg \
372 ecpg libpq%{major} ecpglib%{major_ecpg}; do
373 %find_lang $i-%{current_major_version}
374 cat $i-%{current_major_version}.lang >> main.lst
375 %find_lang $i
376 cat $i.lang >> main.lst
377 done
378 echo -n '' > server.lst
379 for i in postgres pg_resetxlog pg_controldata plpgsql plpython plperl pltcl pg_basebackup; do
380 %find_lang $i
381 cat $i.lang >> server.lst
382 %find_lang $i-%{current_major_version}
383 cat $i-%{current_major_version}.lang >> server.lst
384 done
385
386 # pg_ctl.lang initdb.lang pg_config.lang psql.lang pg_dump.lang pgscripts.lang \
387 # postgres.lang pg_resetxlog.lang pg_controldata.lang \
388 # libpq.lang libecpg.lang \
389
390 # taken directly in build dir.
391 rm -fr %{buildroot}%{_datadir}/doc/postgresql/contrib/
392 rm -fr %{buildroot}%{_datadir}/doc/postgresql/extension/
393
394 mkdir -p %{buildroot}/%{_sys_macros_dir}
395 cat > %{buildroot}/%{_sys_macros_dir}/%{name}.macros <<EOF
396 %%postgresql_version %{version}
397 %%postgresql_major %{current_major_version}
398 %%postgresql_minor %{current_minor_version}
399 %%pgmodules_req Requires: %{?arch_tagged:%arch_tagged %{bname}-server-ABI}%{?!arch_tagged:%{bname}-server-ABI} = %{current_major_version}
400 EOF
401
402 cat %{SOURCE13} > postgresql.%{_vendor}.releasenote
403 cat > README.urpmi <<EOF
404 You just installed or updated %{bname} server.
405 You can find important information about %{distribution} %{bname} rpms and database
406 management in:
407
408 %{_defaultdocdir}/%{name}-server/postgresql.%{_vendor}.releasenote
409
410 Please read it.
411 EOF
412
413 # postgres' .profile and .bashrc
414 install -D -m 700 %{SOURCE10} %{buildroot}/var/lib/pgsql/.profile
415 (
416 cd %{buildroot}/var/lib/pgsql/
417 ln -s .profile .bashrc
418 )
419
420 cat > %{buildroot}%{_sysconfdir}/sysconfig/postgresql <<EOF
421 # Olivier Thauvin <nanardon@mandriva.org>
422
423 # The database location:
424 # You probably won't change this
425 # PGDATA=/var/lib/pgsql/data
426
427 # What is the based locales for postgresql
428 # Setting locales to C allow to use any encoding
429 # ISO or UTF, any other choice will restrict you
430 # either ISO or UTF.
431 LC_ALL=C
432
433 # These are additional to pass to pg_ctl when starting/restarting postgresql.
434 # PGOPTIONS=
435 EOF
436
437 %pre server
438 %_pre_useradd postgres /var/lib/pgsql /bin/bash
439
440 [ ! -f %{pgdata}/data/PG_VERSION ] && exit 0
441 mypgversion=`cat %{pgdata}/data/PG_VERSION`
442 [ $mypgversion = %{current_major_version} ] && exit 0
443
444 echo ""
445 echo "You currently have database tree for Postgresql $mypgversion"
446 echo "You must use postgresql${mypgversion}-server"
447 echo "To update you Postgresql server, dump your databases"
448 echo "delete /var/lib/pgsql/data/ content, upgrade the server, then"
449 echo "restore your databases from your backup"
450 echo ""
451
452 exit 1
453
454 %post server
455 %_post_service %{bname}
456
457 %_tmpfilescreate %{_tmpfilesdir}/%{bname}
458
459 %preun server
460 %_preun_service %{bname}
461
462 %postun server
463 %_postun_userdel postgres
464
465 %files -f main.lst
466 %doc doc/KNOWN_BUGS doc/MISSING_FEATURES
467 %doc COPYRIGHT README HISTORY doc/bug.template
468 %{_bindir}/clusterdb
469 %{_bindir}/createdb
470 %{_bindir}/createlang
471 %{_bindir}/createuser
472 %{_bindir}/dropdb
473 %{_bindir}/droplang
474 %{_bindir}/dropuser
475 %{_bindir}/pg_dump
476 %{_bindir}/pg_dumpall
477 %{_bindir}/pg_isready
478 %{_bindir}/pg_restore
479 %{_bindir}/psql
480 %{_bindir}/reindexdb
481 %{_bindir}/vacuumdb
482 %{_mandir}/man1/clusterdb.*
483 %{_mandir}/man1/createdb.*
484 %{_mandir}/man1/createlang.*
485 %{_mandir}/man1/createuser.*
486 %{_mandir}/man1/dropdb.*
487 %{_mandir}/man1/droplang.*
488 %{_mandir}/man1/dropuser.*
489 %{_mandir}/man1/pg_dump.*
490 %{_mandir}/man1/pg_dumpall.*
491 %{_mandir}/man1/pg_isready.*
492 %{_mandir}/man1/pg_restore.*
493 %{_mandir}/man1/psql.*
494 %{_mandir}/man1/vacuumdb.*
495 %{_mandir}/man1/reindexdb.*
496 %{_mandir}/man7/*
497 %{_sys_macros_dir}/%{name}.macros
498
499 %files -n %{libname}
500 %{_libdir}/libpq.so.%{major}*
501
502 %files -n %{libecpg}
503 %{_libdir}/libecpg.so.%{major_ecpg}*
504 %{_libdir}/libecpg_compat.so.*
505 %{_libdir}/libpgtypes.so.*
506
507 %files docs
508 %doc %{_docdir}/%{name}-docs-%{version}
509
510 %files contrib
511 # %doc contrib/*/README.* contrib/spi/*.example
512 %{_libdir}/postgresql/_int.so
513 %{_libdir}/postgresql/btree_gist.so
514 %{_libdir}/postgresql/chkpass.so
515 %{_libdir}/postgresql/cube.so
516 %{_libdir}/postgresql/dblink.so
517 %{_libdir}/postgresql/earthdistance.so
518 %{_libdir}/postgresql/fuzzystrmatch.so
519 %{_libdir}/postgresql/insert_username.so
520 %{_libdir}/postgresql/lo.so
521 %{_libdir}/postgresql/ltree.so
522 %{_libdir}/postgresql/moddatetime.so
523 %{_libdir}/postgresql/pgcrypto.so
524 %{_libdir}/postgresql/pgstattuple.so
525 %{_libdir}/postgresql/refint.so
526 %{_libdir}/postgresql/seg.so
527 %{_libdir}/postgresql/tablefunc.so
528 %{_libdir}/postgresql/timetravel.so
529 %{_libdir}/postgresql/pg_trgm.so
530 %{_libdir}/postgresql/autoinc.so
531 %{_libdir}/postgresql/pg_buffercache.so
532 %{_libdir}/postgresql/adminpack.so
533 %{_libdir}/postgresql/hstore.so
534 %{_libdir}/postgresql/isn.so
535 %{_libdir}/postgresql/pg_freespacemap.so
536 %{_libdir}/postgresql/pgrowlocks.so
537 %{_libdir}/postgresql/sslinfo.so
538 %{_libdir}/postgresql/pageinspect.so
539 %{_libdir}/postgresql/tcn.so
540 %{_libdir}/postgresql/postgres_fdw.so
541 %{_libdir}/postgresql/worker_spi.so
542
543 %{_bindir}/oid2name
544 %{_bindir}/pgbench
545 %{_bindir}/vacuumlo
546 %{_bindir}/pg_test_timing
547 %{_bindir}/pg_xlogdump
548 %{_mandir}/man1/oid2name.1*
549 %{_mandir}/man1/pgbench.1*
550 %{_mandir}/man1/pg_test_timing.1*
551 %{_mandir}/man1/pg_xlogdump.1*
552 %{_mandir}/man1/vacuumlo.1*
553
554 %files server -f server.lst
555 %config(noreplace) %{_sysconfdir}/sysconfig/postgresql
556 %doc README.urpmi postgresql.%{_vendor}.releasenote
557 %{_unitdir}/%{bname}.service
558 %{_bindir}/initdb
559 %{_bindir}/pg_controldata
560 %{_bindir}/pg_ctl
561 %{_bindir}/pg_resetxlog
562 %{_bindir}/postgres
563 %{_bindir}/postmaster
564 %{_bindir}/pg_standby
565 %{_bindir}/pg_archivecleanup
566 %{_bindir}/pg_upgrade
567 %{_bindir}/pg_basebackup
568 %{_bindir}/pg_receivexlog
569 %{_bindir}/pg_test_fsync
570 %{_mandir}/man1/initdb.1*
571 %{_mandir}/man1/pg_archivecleanup.1*
572 %{_mandir}/man1/pg_controldata.*
573 %{_mandir}/man1/pg_ctl.1*
574 %{_mandir}/man1/pg_receivexlog.1*
575 %{_mandir}/man1/pg_standby.1*
576 %{_mandir}/man1/pg_resetxlog.*
577 %{_mandir}/man1/postgres.1*
578 %{_mandir}/man1/postmaster.1*
579 %{_mandir}/man1/pg_basebackup.1*
580 %{_mandir}/man1/pg_test_fsync.1*
581 %{_mandir}/man1/pg_upgrade.1*
582 %dir %{_libdir}/postgresql
583 %dir %{_datadir}/postgresql
584 %{_tmpfilesdir}/postgresql.conf
585 %attr(755,postgres,postgres) %ghost %dir /var/run/postgresql
586 %config(noreplace) /var/lib/pgsql/.bashrc
587 %attr(-,postgres,postgres) /var/lib/pgsql/.profile
588 %attr(700,postgres,postgres) %dir %{pgdata}
589 %attr(-,postgres,postgres) %{pgdata}/data
590 %attr(700,postgres,postgres) %dir %{pgdata}/backups
591 %{_libdir}/postgresql/*_and_*.so
592 %{_libdir}/postgresql/pgxml.so
593 %{_libdir}/postgresql/dict_int.so
594 %{_libdir}/postgresql/dict_xsyn.so
595 %{_libdir}/postgresql/test_parser.so
596 %{_libdir}/postgresql/tsearch2.so
597 %{_libdir}/postgresql/dict_snowball.so
598 %{_libdir}/postgresql/auto_explain.so
599 %{_libdir}/postgresql/btree_gin.so
600 %{_libdir}/postgresql/citext.so
601 %{_libdir}/postgresql/pg_stat_statements.so
602 %{_libdir}/postgresql/auth_delay.so
603 %{_libdir}/postgresql/dummy_seclabel.so
604 %{_libdir}/postgresql/file_fdw.so
605 %{_libexecdir}/postgresql_initdb.sh
606 %if %{withuuid}
607 %{_libdir}/postgresql/uuid-ossp.so
608 %endif
609 %{_libdir}/postgresql/euc2004_sjis2004.so
610 %{_libdir}/postgresql/libpqwalreceiver.so
611 %{_libdir}/postgresql/passwordcheck.so
612 %{_libdir}/postgresql/pg_upgrade_support.so
613 %{_libdir}/postgresql/unaccent.so
614 %{_datadir}/postgresql/postgres.bki
615 %{_datadir}/postgresql/postgres.description
616 %{_datadir}/postgresql/*.sample
617 %{_datadir}/postgresql/timezone
618 %{_datadir}/postgresql/system_views.sql
619 %{_datadir}/postgresql/conversion_create.sql
620 %{_datadir}/postgresql/information_schema.sql
621 %{_datadir}/postgresql/snowball_create.sql
622 %{_datadir}/postgresql/sql_features.txt
623 %{_datadir}/postgresql/postgres.shdescription
624 %dir %{_datadir}/postgresql/timezonesets
625 %{_datadir}/postgresql/timezonesets/Africa.txt
626 %{_datadir}/postgresql/timezonesets/America.txt
627 %{_datadir}/postgresql/timezonesets/Antarctica.txt
628 %{_datadir}/postgresql/timezonesets/Asia.txt
629 %{_datadir}/postgresql/timezonesets/Atlantic.txt
630 %{_datadir}/postgresql/timezonesets/Australia
631 %{_datadir}/postgresql/timezonesets/Australia.txt
632 %{_datadir}/postgresql/timezonesets/Default
633 %{_datadir}/postgresql/timezonesets/Etc.txt
634 %{_datadir}/postgresql/timezonesets/Europe.txt
635 %{_datadir}/postgresql/timezonesets/India
636 %{_datadir}/postgresql/timezonesets/Indian.txt
637 %{_datadir}/postgresql/timezonesets/Pacific.txt
638 %{_datadir}/postgresql/tsearch_data
639 %{_datadir}/postgresql/extension
640
641 %attr(700,postgres,postgres) %dir /var/log/postgres
642 %{logrotatedir}/%{bname}
643
644 %files devel
645 # %doc doc/TODO doc/TODO.detail
646 %{_includedir}/*
647 %{_bindir}/ecpg
648 %{_libdir}/lib*.so
649 %{_libdir}/lib*.a
650 %{_libdir}/pkgconfig/*.pc
651 %{_libdir}/postgresql/pgxs/
652 %{_mandir}/man1/ecpg.1*
653 %{_bindir}/pg_config
654 %{_mandir}/man1/pg_config.1*
655 %{_mandir}/man3/SPI_*.3*
656 %{_mandir}/man3/dblink*.3*
657
658 %files pl
659
660 %files plpython
661 %{_libdir}/postgresql/plpython2.so
662
663 %files plperl
664 %{_libdir}/postgresql/plperl.so
665
666 %files pltcl
667 %{_libdir}/postgresql/pltcl.so
668 %{_bindir}/pltcl_delmod
669 %{_bindir}/pltcl_listmod
670 %{_bindir}/pltcl_loadmod
671 %{_datadir}/postgresql/unknown.pltcl
672
673 %files plpgsql
674 %{_libdir}/postgresql/plpgsql.so

  ViewVC Help
Powered by ViewVC 1.1.28