1 %include /usr/lib/rpm/macros.perl
2 %define _python_sitepkgsdir %(echo `python -c "import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/')"`)
3 Summary: PostgreSQL Data Base Management System
4 Summary(de): PostgreSQL Datenbankverwaltungssystem
5 Summary(fr): Sysème de gestion de base de données PostgreSQL
6 Summary(pl): PostgreSQL - system bazodanowy
7 Summary(tr): Veri Tabaný Yönetim Sistemi
12 Group: Applications/Databases
13 Group(pl): Aplikacje/Bazy danych
14 Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.gz
16 Source2: pgsql-Database-HOWTO-html.tar.gz
17 Source3: %{name}.sysconfig
18 Source4: pgaccess.desktop
20 Patch0: %{name}-DESTDIR.patch
21 Patch1: %{name}-no_libnsl.patch
22 Patch2: %{name}-configure.patch
23 Patch3: %{name}-install.patch
25 URL: http://www.postgresql.org/
26 Prereq: /sbin/chkconfig
28 BuildRequires: autoconf
29 BuildRequires: tcl-devel >= 8.3.2
30 BuildRequires: tk-devel >= 8.3.2
31 BuildRequires: readline-devel >= 4.2
32 BuildRequires: ncurses-devel >= 5.0
33 BuildRequires: perl-devel >= 5.6
34 BuildRequires: python-devel
35 BuildRequires: rpm-perlprov
36 BuildRequires: zlib-devel
37 BuildRequires: openssl-devel >= 0.9.6a
38 BuildRequires: XFree86-devel
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Requires: %{name}-libs = %{version}
41 Obsoletes: postgresql-server
42 Obsoletes: postgresql-test
44 %define pgsqldir %{_libdir}/pgsql/sql
45 %define pgmoduledir %{_libdir}/pgsql/modules
49 PostgreSQL Data Base Management System (formerly known as Postgres,
52 PostgreSQL is an enhancement of the POSTGRES database management
53 system, a next-generation DBMS research prototype. While PostgreSQL
54 retains the powerful data model and rich data types of POSTGRES, it
55 replaces the PostQuel query language with an extended subset of SQL.
56 PostgreSQL is free and the complete source is available.
58 PostgreSQL development is being performed by a team of Internet
59 developers who all subscribe to the PostgreSQL development mailing
60 list. The current coordinator is Marc G. Fournier
61 (scrappy@postgreSQL.org). This team is now responsible for all current
62 and future development of PostgreSQL.
64 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
65 others have contributed to the porting, testing, debugging and
66 enhancement of the code. The original Postgres code, from which
67 PostgreSQL is derived, was the effort of many graduate students,
68 undergraduate students, and staff programmers working under the
69 direction of Professor Michael Stonebraker at the University of
72 The original name of the software at Berkeley was Postgres. When SQL
73 functionality was added in 1995, its name was changed to Postgres95.
74 The name was changed at the end of 1996 to PostgreSQL.
76 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
77 and most flavours of Unix.
80 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
83 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
84 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
85 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
86 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
87 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
90 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
91 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
92 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
93 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
95 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
96 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
97 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
98 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
99 Studenten und Programmierern unter der Leitung von Professor Michael
100 Stonebraker an der University of California, Berkeley.
102 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
103 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
104 entschied man sich für PostgreSQL.
106 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
107 und den meisten Unix-Systemen.
110 Système de gestion de bases de données PostgreSQL (D'abord nommé
111 Postgres, puis Postgres95).
113 PostgreSQL est une amélioration du système de gestion de bases de
114 données POSTGRES, un prototype de recherche de la génération suivant
115 DBMS. Tout en conservant le puissant modèle de donnée de et les types
116 de donée riches de Postgres, il remplace le langage de requêtes de
117 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
118 libre, et ses sources sont disponibles.
120 Le développement de PostgreSQL est actuellement réalisé via internet
121 parune équipe de développeurs inscrits sur la mailing-list de
122 développement de PostgreSQL. Le coordinateur actuel est Marc G
123 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
124 développemen actuel et à venir de PostgreSQL.
126 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
127 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
128 l'amélioration du code. Le code original de Postgres, duquel
129 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
130 moins haut niveau, et de programmeurs travaillant sous la direction du
131 professeur Michael Stonebraker à l'université de Berkeley Californie.
133 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
134 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
135 rebaptisé PostgreSQL en 1996.
137 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
138 et la plupart des Unix.
141 System Zarz±dzania Baz± Danych PostgreSQL (dawniej znany jako
142 Postgres, nastêpnie jako Postgres95).
144 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris,
145 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
148 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir
149 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
150 desteklerken SQL'in geniþletilmiþ bir altkümesi yerine PostQuel
151 sorgulama dilini koyar.
154 Summary: PostgreSQL development header files and libraries
155 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
156 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
157 Summary(pl): PostgreSQL - pliki nag³ówkowe i biblioteki
158 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
159 Group: Development/Libraries
160 Group(de): Entwicklung/Libraries
161 Group(fr): Development/Librairies
162 Group(pl): Programowanie/Biblioteki
163 Requires: %{name}-libs = %{version}
166 This package contains header files and libraries required to compile
167 applications that are talking directly to the PostgreSQL backend
170 %description -l de devel
171 Dieses Paket enthält die Header-Dateien und Libraries, die zum
172 Kompilieren von Applikationen notwendig sind, die direkt mit dem
173 PostgreSQL-Backend-Server kommunizieren.
175 %description -l fr devel
176 Ce package contient les fichiers d'en-tête et les bibliothéques
177 nécessaires pour compiler des applications ayant des échanges directs
178 avec le serveur du backend PostgreSQL.
180 %description -l pl devel
181 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji
182 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
184 %description -l tr devel
185 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
186 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
189 Summary: Clients needed to access a PostgreSQL server
190 Summary(pl): Klienci wymagani do dostêpu do serwera PostgreSQL
191 Group: Applications/Databases
192 Group(pl): Aplikacje/Bazy danych
193 Requires: %{name}-libs = %{version}
196 This package includes only the clients and client libraries needed to
197 access an PostgreSQL server. The server is included in the main
198 package. If all you need is to connect to another PostgreSQL server,
199 the this is the only package you need to install.
201 In this package there are client libraries available for C and C++, as
202 well as several command-line utilities you can use to manage your
203 databases on a remote PostgreSQL server.
205 %description -l pl clients
206 Pakiet zawiera klientów oraz biblioteki niezbêdne dla dostêpu do
207 serwera PostgreSQL. Serwer znajduje siê w g³ównym pakiecie.
210 Summary: Perl interface to PostgreSQL database
211 Summary(pl): Interfejs dla Perla umo¿liwiaj±cy dostêp do baz PostgreSQL
212 Group: Applications/Databases
213 Group(pl): Aplikacje/Bazy danych
214 Requires: perl >= 5.004
215 Requires: %{name}-libs = %{version}
218 This package includes only perl modules needed to access an PostgreSQL
221 %description -l pl perl
222 Pakiet ten zawiera tylko modu³y Perla wymagane dla dostêpu do serwera
226 Summary: The python-based client programs needed for accessing a PostgreSQL server
227 Group: Development/Languages/Python
228 Group(de): Entwicklung/Sprachen/Python
229 Group(pl): Programowanie/Jêzyki/Python
230 Requires: python >= 2.0
231 Requires: %{name}-libs = %{version}
234 postgresql-python includes the python-based client programs and client
235 libraries that you'll need to access a PostgreSQL database management
239 Summary: Documentation for PostgreSQL
240 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
241 Group: Applications/Databases
242 Group(pl): Aplikacje/Bazy danych
245 This package includes documentation and HOWTO for programmer, admin
246 etc., in HTML format.
248 %description -l pl doc
249 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
250 administratorów w formacie HTML.
253 Summary: PostgreSQL libraries
254 Summary(pl): Biblioteki dzielone programu PostgreSQL
257 Group(es): Bibliotecas
258 Group(fr): Librairies
259 Group(pl): Biblioteki
262 PostgreSQL libraries.
264 %description libs -l pl
265 Biblioteki dzielone programu PostgreSQL.
268 Summary: PostgreSQL static libraries
269 Summary(pl): Biblioteki statyczne programu PostgreSQL
270 Group: Development/Libraries
271 Group(de): Entwicklung/Libraries
272 Group(fr): Development/Librairies
273 Group(pl): Programowanie/Biblioteki
274 Requires: %{name}-devel = %{version}
277 PostgreSQL static libraries.
279 %description -l pl static
280 Biblioteki statyczne programu PostgreSQL.
283 Summary: C++ interface to PostgreSQL
284 Summary(pl): Interfejs C++ do PostgreSQL
285 Group: Applications/Databases
286 Group(pl): Aplikacje/Bazy danych
287 Requires: %{name}-libs = %{version}
290 This package includes library for C++ interface to PostgreSQL.
292 %description -l pl c++
293 Pakiet ten zawiera biblioteki dla interfejsu C++ do PostgreSQL.
296 Summary: C++ interface to PostgreSQL - development part
297 Summary(pl): Interfejs C++ do PostgreSQL - cze¶æ programistyczna
298 Group: Applications/Databases
299 Group(pl): Aplikacje/Bazy danych
300 Requires: %{name}-c++ = %{version}
301 Requires: %{name}-devel = %{version}
303 %description c++-devel
304 This package includes library and header files for C++ interface.
306 %description -l pl c++-devel
307 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interfejsu C++.
310 Summary: C++ interface to PostgreSQL - static libraries
311 Summary(pl): Interfejs C++ do PostgreSQL - biblioteki statyczne
312 Group: Applications/Databases
313 Group(pl): Aplikacje/Bazy danych
314 Requires: %{name}-c++-devel = %{version}
316 %description c++-static
317 This package includes static library for interface C++.
319 %description -l pl c++-static
320 Pakiet ten zawiera biblioteki statyczne dla interfejsu C++.
323 Summary: ODBC interface to PostgreSQL
324 Summary(pl): Interfejs ODBC do PostgreSQL
325 Group: Applications/Databases
326 Group(pl): Aplikacje/Bazy danych
327 Requires: %{name}-libs = %{version}
330 This package includes library for interface ODBC.
332 %description -l pl odbc
333 Pakiet ten zawiera biblioteki dla interfejsu ODBC.
336 Summary: ODBC interface to PostgreSQL - development part
337 Summary(pl): Interfejs ODBC do PostgreSQL - cze¶æ programistyczna
338 Group: Applications/Databases
339 Group(pl): Aplikacje/Bazy danych
340 Requires: %{name}-odbc = %{version}
341 Requires: %{name}-devel = %{version}
343 %description odbc-devel
344 This package includes library and header files for interface ODBC.
346 %description -l pl odbc-devel
347 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interfejsu ODBC.
350 Summary: ODBC interface to PostgreSQL - static libraries
351 Summary(pl): Interfejs ODBC do PostgreSQL - biblioteki statyczne
352 Group: Applications/Databases
353 Group(pl): Aplikacje/Bazy danych
354 Requires: %{name}-odbc-devel = %{version}
356 %description odbc-static
357 This package includes static library for interface ODBC.
359 %description -l pl odbc-static
360 Pakiet ten zawiera biblioteki statyczne dla interfejsu ODBC.
363 Summary: A free graphical database management tool for PostgreSQL
364 Summary(pl): Graficzne narzêdzie do obs³ugi baz danych PostgreSQL
365 Group: Applications/Databases
366 Group(pl): Aplikacje/Bazy danych
367 Requires: %{name}-tcl = %{version}
369 %description -n pgaccess
370 A free graphical database management tool for PostgreSQL.
372 %description -l pl -n pgaccess
373 Graficzne narzêdzie do obs³ugi baz danych PostgreSQL.
376 Summary: tcl interface for PostgreSQL
377 Summary(pl): Interfejs tcl dla PostgreSQL
378 Group: Development/Languages/Tcl
379 Group(de): Entwicklung/Sprachen/Tcl
380 Group(pl): Programowanie/Jêzyki/Tcl
381 Requires: %{name}-libs = %{version}
384 tcl interface for PostgreSQL.
386 %description tcl -l pl
387 Interfejs tcl dla PostgreSQL.
390 Summary: Development part of tcl interface for PostgreSQL
391 Summary(pl): Czê¶æ dla programistów interfejsu tcl dla PostgreSQL
392 Group: Development/Languages/Tcl
393 Group(de): Entwicklung/Sprachen/Tcl
394 Group(pl): Programowanie/Jêzyki/Tcl
395 Requires: %{name}-tcl = %{version}
396 Requires: %{name}-devel = %{version}
398 %description tcl-devel
399 Development part of tcl interface for PostgreSQL.
401 %description tcl-devel -l pl
402 Czê¶æ interfejsu tcl dla PostgreSQL przeznaczona dla programistów.
405 Summary: Static libraries of tcl interface for PostgreSQL
406 Summary(pl): Biblioteki statyczne interfejsu tcl dla PostgreSQL
407 Group: Development/Languages/Tcl
408 Group(de): Entwicklung/Sprachen/Tcl
409 Group(pl): Programowanie/Jêzyki/Tcl
410 Requires: %{name}-tcl-devel = %{version}
412 %description tcl-static
413 Static libraries of tcl interface for PostgreSQL.
415 %description tcl-devel -l pl
416 Biblioteki statyczne interfejsu tcl dla PostgreSQL.
418 %package module-datetime
419 Summary: Some useful datetime functions for PostgreSQL
420 Summary(pl): Kilka u¿ytecznych funkcji operuj±cych na dacie i czasie dla PostgreSQL
421 Group: Applications/Databases
422 Group(pl): Aplikacje/Bazy danych
423 Requires: %{name} = %{version}
425 %description module-datetime
426 Some useful datetime function for PostgreSQL such as:
430 - time_difference(time,time)
441 To enable them you need to execute datetime_function.sql script.
442 You can found it in /usr/share/pgsql/sql directory.
444 %description module-datetime -l pl
445 Kilka u¿ytecznych funkcji operuj±cych na dacie i czasie dla
450 - time_difference(time,time)
461 Po wykonaniu skryptu datetime_function.sql mo¿na u¿ywaæ tych funkcji
462 z poziomu zapytañ SQL. Skrypt ten znajduje siê w katalogu
463 /usr/share/pgsql/sql.
465 %package module-plpgsql
466 Summary: PL/pgSQL - PostgreSQL procedural language
467 Summary(pl): PL/pgSQL jêzyk proceduralny bazy danych PostgreSQL
468 Group: Applications/Databases
469 Group(pl): Aplikacje/Bazy danych
470 Requires: %{name} = %{version}
472 %description module-plpgsql
473 From PostgreSQL documentation.
475 Postgres supports the definition of procedural languages. In the case
476 of a function or trigger procedure defined in a procedural language,
477 the database has no built-in knowledge about how to interpret the
478 function's source text. Instead, the task is passed to a handler that
479 knows the details of the language. The handler itself is a special
480 programming language function compiled into a shared object and loaded
483 To enable PL/pgSQL procedural language for your database you have to
484 run createlang command.
486 %description module-plpgsql -l pl
487 Z dokumentacji PostgreSQL.
489 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
490 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
491 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
492 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
493 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
494 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
497 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
498 proceduralnego PL/pgSQL dla swojej bazy danych.
500 %package module-pltcl
501 Summary: PL/TCL - PostgreSQL procedural language
502 Summary(pl): PL/TCL - jêzyk proceduralny bazy danych PostgreSQL
503 Group: Applications/Databases
504 Group(pl): Aplikacje/Bazy danych
505 Requires: %{name} = %{version}
507 %description module-pltcl
508 From PostgreSQL documentation.
510 Postgres supports the definition of procedural languages. In the case
511 of a function or trigger procedure defined in a procedural language,
512 the database has no built-in knowledge about how to interpret the
513 function's source text. Instead, the task is passed to a handler that
514 knows the details of the language. The handler itself is a special
515 programming language function compiled into a shared object and loaded
518 To enable PL/TCL procedural language for your database you have to run
521 %description module-pltcl -l pl
522 Z dokumentacji PostgreSQL.
524 Postgres ma wsparcie dla jêzyków proceduralnych. W przypadku, kiedy
525 programista zdefiniuje procedurê wyzwalacza lub funkcjê w jêzyku
526 proceduralnym, baza danych nie ma pojêcia jak interpretowaæ tego typu
527 funkcjê. Funkcja lub procedura ta jest przekazywana do interpretera,
528 który wie jak j± wykonaæ. Interpreter jest odpowiedni±, specjaln±
529 funkcj±, która jest skompilowana w obiekt dzielony i ³adowany w razie
532 Za pomoc± komendy createlang mo¿na dodaæ wsparcie dla jêzyka
533 proceduralnego PL/TCL dla swojej bazy danych.
542 tar xzf doc/man*.tar.gz
545 tar zxf doc/postgres.tar.gz -C doc/unpacked
548 rm -fR `find contrib/ -type d -name CVS`
554 %{!?_without_pgsql_locale:--enable-locale} \
555 %{!?_without_pgsql_multibyte:--enable-multibyte} \
557 --enable-unicode-conversion \
565 --with-odbcinst=%{_sysconfdir} \
566 --with-template=%{_target_os} \
573 rm -rf $RPM_BUILD_ROOT
574 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,sysconfig} \
575 $RPM_BUILD_ROOT/var/{lib/pgsql,log} \
576 $RPM_BUILD_ROOT%{_libdir}/pgsql/{modules,sql} \
577 $RPM_BUILD_ROOT%{_libdir}/python2.0 \
578 $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
579 $RPM_BUILD_ROOT%{_mandir}
581 %{__make} -C src install \
582 DESTDIR=$RPM_BUILD_ROOT
584 #%{__make} -C src/interfaces/python install \
585 # DESTDIR=$RPM_BUILD_ROOT \
588 #%{__make} -C doc install DESTDIR=$RPM_BUILD_ROOT
590 touch $RPM_BUILD_ROOT/var/log/pgsql
592 # Move PL/pgSQL procedural language to %{pgmoduledir}
593 ( cd $RPM_BUILD_ROOT%{_libdir}
594 mv -f plpgsql.so $RPM_BUILD_ROOT%{pgmoduledir}
597 # Move PL/TCL procedural language to %{pgmoduledir}
598 ( cd $RPM_BUILD_ROOT%{_libdir}
599 mv -f pltcl.so $RPM_BUILD_ROOT%{pgmoduledir}
602 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
603 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
604 install %{SOURCE4} $RPM_BUILD_ROOT%{_applnkdir}/System
605 install %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}
607 cp -a man? $RPM_BUILD_ROOT%{_mandir}
611 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
614 #for f in `find $RPM_BUILD_ROOT -type f`; do
615 # if (file $f | grep -q "script"); then
616 # perl -pi -e 's@#\!.*python@#\!%{_bindir}/python@' $f;
620 gzip -9nf doc/FAQ doc/README* COPYRIGHT README HISTORY doc/bug.template \
621 doc/internals.ps* src/interfaces/odbc/readme.txt \
622 src/interfaces/odbc/notice.txt
625 getgid postgres >/dev/null 2>&1 || /usr/sbin/groupadd -g 88 -r -f postgres
626 id postgres >/dev/null 2>&1 || /usr/sbin/useradd -M -o -r -u 88 \
627 -d /var/lib/pgsql -s /bin/sh -g postgres \
628 -c "PostgreSQL Server" postgres
631 /sbin/chkconfig --add postgresql
633 if [ -r /var/lock/subsys/postmaster ]; then
634 /etc/rc.d/init.d/postgresql restart >&2
636 echo "Run \"/etc/rc.d/init.d/postgresql start\" to start postgresql server."
640 if [ "$1" = "0" ]; then
641 if [ -f /var/lock/subsys/postmaster ]; then
642 /etc/rc.d/init.d/postgresql stop
644 /sbin/chkconfig --del postgresql
647 %post libs -p /sbin/ldconfig
648 %postun libs -p /sbin/ldconfig
650 %post tcl -p /sbin/ldconfig
651 %postun tcl -p /sbin/ldconfig
653 %post clients -p /sbin/ldconfig
654 %postun clients -p /sbin/ldconfig
656 %post c++ -p /sbin/ldconfig
657 %postun c++ -p /sbin/ldconfig
659 %post odbc -p /sbin/ldconfig
660 %postun odbc -p /sbin/ldconfig
663 rm -rf $RPM_BUILD_ROOT
664 rm -f /tmp/tmp_perl_info
667 %defattr(644,root,root,755)
668 %attr(754,root,root) /etc/rc.d/init.d/*
669 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/*
671 %attr(755,root,root) %{_bindir}/createdb
672 %attr(755,root,root) %{_bindir}/createuser
673 %attr(755,root,root) %{_bindir}/dropdb
674 %attr(755,root,root) %{_bindir}/dropuser
675 %attr(755,root,root) %{_bindir}/initdb
676 %attr(755,root,root) %{_bindir}/initlocation
677 %attr(755,root,root) %{_bindir}/pg_ctl
678 %attr(755,root,root) %{_bindir}/pg_config
679 %attr(755,root,root) %{_bindir}/pg_encoding
680 %attr(755,root,root) %{_bindir}/pg_passwd
681 %attr(755,root,root) %{_bindir}/postgres
682 %attr(755,root,root) %{_bindir}/postmaster
683 %attr(755,root,root) %{_bindir}/ipcclean
684 %attr(755,root,root) %{_bindir}/createlang
685 %attr(755,root,root) %{_bindir}/droplang
687 %dir %{_libdir}/pgsql
688 %dir %{_libdir}/pgsql/modules
689 %dir %{_libdir}/pgsql/sql
690 %{_datadir}/postgresql/*.bki
691 %{_datadir}/postgresql/*.sample
692 %{_datadir}/postgresql/*.description
694 %attr(700,postgres,postgres) %dir /var/lib/pgsql
695 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 size mtime) /var/log/pgsql
697 %{_mandir}/man1/createdb.1*
698 %{_mandir}/man1/createlang.1*
699 %{_mandir}/man1/createuser.1*
700 %{_mandir}/man1/dropdb.1*
701 %{_mandir}/man1/droplang.1*
702 %{_mandir}/man1/dropuser.1*
703 %{_mandir}/man1/initdb.1*
704 %{_mandir}/man1/initlocation.1*
705 %{_mandir}/man1/pg_passwd.1*
706 %{_mandir}/man1/pg_ctl.1*
707 %{_mandir}/man1/pg_config.1*
708 %{_mandir}/man1/postgres.1*
709 %{_mandir}/man1/postmaster.1*
710 %{_mandir}/man1/ipcclean.1*
713 %doc doc/FAQ* doc/README*
714 %doc COPYRIGHT.gz README.gz HISTORY.gz doc/bug.template.gz
717 %defattr(644,root,root,755)
722 %defattr(644,root,root,755)
723 %attr(755,root,root) %{_libdir}/libpq.so.*.*
724 %attr(755,root,root) %{_libdir}/libpgeasy.so.*.*
725 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
726 %attr(755,root,root) %{_bindir}/pg_id
729 %defattr(644,root,root,755)
730 %doc doc/internals.ps*
731 %attr(755,root,root) %{_libdir}/libecpg.so
732 %attr(755,root,root) %{_libdir}/libpgeasy.so
733 %attr(755,root,root) %{_libdir}/libpq.so
734 %dir %{_includedir}/postgresql
735 %{_includedir}/postgresql/c.h
736 %{_includedir}/postgresql/config.h
737 %{_includedir}/postgresql/ecpgerrno.h
738 %{_includedir}/postgresql/ecpglib.h
739 %{_includedir}/postgresql/ecpgtype.h
740 %{_includedir}/postgresql/libpgeasy.h
741 %{_includedir}/postgresql/libpq-fe.h
742 %{_includedir}/postgresql/libpq-int.h
743 %{_includedir}/postgresql/os.h
744 %{_includedir}/postgresql/postgres_ext.h
745 %{_includedir}/postgresql/postgres_fe.h
746 %{_includedir}/postgresql/pqexpbuffer.h
747 %{_includedir}/postgresql/sql3types.h
748 %{_includedir}/postgresql/sqlca.h
749 %{_includedir}/postgresql/lib
750 %{_includedir}/postgresql/libpq
751 %attr(755,root,root) %{_bindir}/ecpg
752 %{_mandir}/man1/ecpg.1*
755 %defattr(644,root,root,755)
757 %{_libdir}/libpgeasy.a
761 %defattr(644,root,root,755)
762 %attr(755,root,root) %{_bindir}/pg_dump
763 %attr(755,root,root) %{_bindir}/pg_dumpall
764 %attr(755,root,root) %{_bindir}/pg_restore
765 %attr(755,root,root) %{_bindir}/psql
766 %attr(755,root,root) %{_bindir}/vacuumdb
768 %{_mandir}/man1/pg_dump.1*
769 %{_mandir}/man1/pg_dumpall.1*
770 %{_mandir}/man1/pg_restore.1*
771 %{_mandir}/man1/psql.1*
772 %{_mandir}/man1/vacuumdb.1*
776 %defattr(644,root,root,755)
777 %attr(755,root,root) %{_libdir}/libpq++.so.*.*
780 %defattr(644,root,root,755)
781 %attr(755,root,root) %{_libdir}/libpq++.so
782 %{_includedir}/postgresql/libpq++.h
783 %{_includedir}/postgresql/libpq++
786 %defattr(644,root,root,755)
790 %defattr(644,root,root,755)
791 %dir %{perl_sitearch}/auto/Pg
792 %{perl_sitearch}/auto/Pg/Pg.bs
793 %{perl_sitearch}/auto/plperl/plperl.bs
794 %attr(755,root,root) %{perl_sitearch}/auto/Pg/Pg.so
795 %attr(755,root,root) %{perl_sitearch}/auto/plperl/plperl.so
796 %{perl_sitearch}/auto/Pg/autosplit.ix
797 %{perl_sitearch}/Pg.pm
801 %defattr(644,root,root,755)
802 %{_libdir}/python*/*.py
803 %attr(755,root,root) %{_python_sitepkgsdir}/*.so
806 %defattr(644,root,root,755)
807 %doc src/bin/pgaccess/doc/html/*
808 %attr(755,root,root) %{_bindir}/pgaccess
809 %dir %{_datadir}/postgresql/pgaccess
810 %attr(755, root, root) %{_datadir}/postgresql/pgaccess/main.tcl
811 %{_datadir}/postgresql/pgaccess/images
812 %{_datadir}/postgresql/pgaccess/lib
813 %{_applnkdir}/System/pgaccess.desktop
814 %{_pixmapsdir}/pgaccess.png
815 %{_mandir}/man1/pgaccess.1*
818 %defattr(644,root,root,755)
819 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
820 %attr(755,root,root) %{_bindir}/pgtclsh
821 %attr(755,root,root) %{_bindir}/pgtksh
822 %{_mandir}/man1/pgtclsh.1*
823 %{_mandir}/man1/pgtksh.1*
826 %defattr(644,root,root,755)
827 %attr(755,root,root) %{_libdir}/libpgtcl.so
828 %{_includedir}/postgresql/libpgtcl.h
831 %defattr(644,root,root,755)
832 %{_libdir}/libpgtcl.a
835 %defattr(644,root,root,755)
836 %doc src/interfaces/odbc/readme.txt.gz src/interfaces/odbc/notice.txt.gz
837 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/odbc*
838 %attr(755,root,root) %{_libdir}/libpsqlodbc.so.*.*
839 %{_datadir}/postgresql/odbc.sql
842 %defattr(644,root,root,755)
843 %{_includedir}/postgresql/iodbc
844 %attr(755,root,root) %{_libdir}/libpsqlodbc.so
847 %defattr(644,root,root,755)
848 %{_libdir}/libpsqlodbc.a
850 #%files module-datetime
851 #%defattr(644,root,root,755)
852 #%attr(755,root,root) %{pgmoduledir}/datetime_functions.so
853 #%attr(644,root,root) %{pgsqldir}/datetime_functions.sql
855 %files module-plpgsql
856 %defattr(644,root,root,755)
857 %attr(755,root,root) %{pgmoduledir}/plpgsql.so
860 %defattr(644,root,root,755)
861 %attr(755,root,root) %{pgmoduledir}/pltcl.so