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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16691 - (show annotations) (download)
Thu Jan 13 23:17:39 2011 UTC (11 years, 7 months ago) by blino
File size: 23150 byte(s)
remove comment

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

  ViewVC Help
Powered by ViewVC 1.1.28