1 Summary: PostgreSQL Data Base Management System
2 Summary(de): PostgreSQL Datenbankverwaltungssystem
3 Summary(fr): Sysème de gestion de base de données PostgreSQL.
4 Summary(pl): PostgreSQL system bazodanowy
5 Summary(tr): Veri Tabaný Yönetim Sistemi
10 Group: Applications/Databases
11 Group(pl): Aplikacje/Bazy danych
12 URL: http://www.postgresql.org/
13 Source: ftp://ftp.postgresql.org/pub/%{name}-%{version}.tar.gz
14 Source1: postgresql.init
15 Source2: pgsql-Database-HOWTO-html.tar.gz
16 Patch: postgresql-6.4.2-opt.patch
17 Buildroot: /tmp/%{name}-%{version}-root
18 Prereq: /sbin/chkconfig /sbin/ldconfig
19 Requires: postgresql-clients
22 PostgreSQL Data Base Management System (formerly known as Postgres, then as
25 PostgreSQL is an enhancement of the POSTGRES database management system, a
26 next-generation DBMS research prototype. While PostgreSQL retains the
27 powerful data model and rich data types of POSTGRES, it replaces the PostQuel
28 query language with an extended subset of SQL. PostgreSQL is free and the
29 complete source is available.
31 PostgreSQL development is being performed by a team of Internet developers who
32 all subscribe to the PostgreSQL development mailing list. The current
33 coordinator is Marc G. Fournier (scrappy@postgreSQL.org). This team is now
34 responsible for all current and future development of PostgreSQL.
36 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many others have
37 contributed to the porting, testing, debugging and enhancement of the code.
38 The original Postgres code, from which PostgreSQL is derived, was the effort
39 of many graduate students, undergraduate students, and staff programmers
40 working under the direction of Professor Michael Stonebraker at the University
41 of California, Berkeley.
43 The original name of the software at Berkeley was Postgres. When SQL
44 functionality was added in 1995, its name was changed to Postgres95. The name
45 was changed at the end of 1996 to PostgreSQL.
47 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD, and most
51 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
54 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems, ein
55 DBMS-Forschungsprototyp der nächsten Generation. Während es das leistungsfähige
56 Datenmodell und die reichhaltigen Datentypen von POSTGRES beibehält, ersetzt
57 es die PostQuel-Abfragesprache durch ein Subset von SQL. PostgreSQL ist gratis,
58 der gesamte Quellcode ist verfügbar.
60 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle sind auf
61 der PostgreSQL-Entwickleradreßliste. Koordinator ist
62 Marc G. Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für alle
63 aktuellen und künftigen Entwicklungen von PostgreSQL.
65 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen. Zahlreiche andere
66 haben zur Portierung, zum Testen, Debugging und zur Verbesserung des Code beigetragen.
67 Den Original-Postgres-Code, von dem sich PostgreSQL ableitet, verdanken wir der Arbeit
68 vieler Doktoranden, Studenten und Programmierern unter der Leitung von
69 Professor Michael Stonebraker an der University of California, Berkeley.
71 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität hinzukam,
72 wurde der Name in Postgres95 geändert. Ende 1996 schließlich entschied man sich
75 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD und den meisten
79 Système de gestion de bases de données PostgreSQL (D'abord nommé Postgres,
81 PostgreSQL est une amélioration du système de gestion de bases de données
82 POSTGRES, un prototype de recherche de la génération suivant DBMS. Tout
83 en conservant le puissant modèle de donnée de et les types de donée riches
84 de Postgres, il remplace le langage de requêtes de Postgres par un sous
85 ensemble etendu de commandes SQL. PosrgreSQL est libre, et ses sources
88 Le développement de PostgreSQL est actuellement réalisé via internet par\une équipe de développeurs inscrits sur la mailing-list de développement
89 de PostgreSQL. Le coordinateur actuel est Marc G Fournier
90 (scrappy@postgreSQL.org). Cette équipe est responsable du développemen
91 actuel et à venir de PostgreSQL.
93 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen. Beaucoup
94 d'autres ont contribué au portage, au test, au débogage et à l'amélioration
95 du code. Le code original de Postgres, duquel PostgreSQL est dérivé,
96 a été l'oeuvre d'étudiants de haut niveau, de moins haut niveau, et de
97 programmeurs travaillant sous la direction du professeur Michael
98 Stonebraker à l'université de Berkeley Californie.
100 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
101 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
102 rebaptisé PostgreSQL en 1996.
104 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
105 et la plupart des Unix.
108 PostgreSQL System Zarz±dzania Baz± Danych (dawniej znany jako Postgres,
109 nastêpnie jako Postgres95).
111 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris, SunOS,
112 HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
115 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir (DBMS).
116 Güçlü veri modeli ve zengin POSTGRES veri tiplerini desteklerken SQL'in
117 geniþletilmiþ bir altkümesi yerine PostQuel sorgulama dilini koyar.
120 Requires: postgresql-clients
121 Summary: PostgreSQL development header files and libraries
122 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
123 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
124 Summary(pl): PostgreSQL - nag³owki i biblioteki
125 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
126 Group: Development/Libraries
127 Group(pl): Programowanie/Biblioteki
130 This package contains header files and libraries required to compile
131 applications that are talking directly to the PostgreSQL backend server.
133 %description -l de devel
134 Dieses Paket enthält die Header-Dateien und Libraries, die zum
135 Kompilieren von Applikationen notwendig sind, die direkt mit dem
136 PostgreSQL-Backend-Server kommunizieren.
138 %description -l fr devel
139 Ce package contient les fichiers d'en-tête et les bibliothéques nécessaires
140 pour compiler des applications ayant des échanges directs avec le serveur
141 du backend PostgreSQL.
143 %description -l pl devel
144 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji aplikacji
145 ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
147 %description -l tr devel
148 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
149 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
152 Summary: PostgreSQL initial database structure
153 Summary(de): PostgreSQL-Ausgangs-Datenbankstruktur
154 Summary(fr): Structure initiale de base de données PostgreSQL
155 Summary(pl): PostgreSQL - inicjuj±ca struktura bazy danych
156 Summary(tr): PostgreSQL baþlangýç veritabaný yapýsý
157 Group: Applications/Databases
158 Group(pl): Aplikacje/Bazy danych
159 Requires: postgresql postgresql-clients
160 Conflicts: postgresql-data <= 6.2.1
163 This packages includes an initial database structure directory for PostgreSQL.
164 For a quick startup on PostegreSQL, it is recommended to install this package
165 with your PostgreSQL backend server (altough it is not required).
167 If you choose to not install this package you will have to create the initial
168 database yourself using 'initdb' command and possibly modify the postgresql
169 startup script if you choose a directory other than /var/lib/pgsql for
170 storing your databases.
172 %description -l de data
173 Dieses Paket schließt ein elementares Strukturverzeichnis für
174 PostgreSQL ein. Für einen schnellen Start mit PostegreSQL empfehlen
175 wir die Installation dieses Pakets mit Ihrem PostgreSQL-Backend-
176 Server (obligatorisch ist es nicht).
177 Sie die anfängliche Datenbank selbst mit Hilfe des initdb-Befehls
178 erstellen und möglicherweise das postgresql-Start-Skript modifizieren,
179 wenn Sie ein anderes als das /var/lib/pgsql-Verzeichnis zum Speichern
180 Ihrer Datenbanken wählen.
182 %description -l fr data
183 Ce paquetage contient une structure initiale de base de données pour PostgreSQL.
184 Pour un démarrage rapide avec PostgreSQL, il est recommandé d'installer ce
185 paquetage avec votre serveur PostgreSQL (bien que ce ne soit pas obligatoire).
187 Si vous n'installez pas ce paquetage, vous devrez créer vous-même la base de
188 données initiale avec la commande « initdb » et modifier le script de
189 démarrage de PostgreSQL si vous choisissez un autre répertoire que
190 /var/lib/pgsql pour stocker vos bases de données.
192 %description -l pl data
193 Pakiet zawiera zainicjowan± strukturê bazodanow± dla PostgreSQL. Dla
194 szybkiego startu PostgreSQL rekomendowane jest zainstalowanie tego pakietu
195 razem z pakietem serwera (jednak¿e nie jest on wymagany).
197 Je¿eli nie zainstalujesz tego pakietu bêdziesz musia³ rêcznie utworzyæ
198 inicjuj±c± bazê przy pomocy polecenia 'initdb' oraz ewentualnie skrypt
199 startowy, je¿eli nie wybierzesz katalogu /var/lib/pgsql jako katalogu
200 domy¶lnego dla przechowywania baz danych.
202 %description -l tr data
203 Bu paket, PostgreSQL için bir baþlangýç veri tabaný yapýsý dizinini içerir.
204 PostgreSQL'e hýzlý baþlangýç için bu paketin PostgreSQL sunucusuna yüklenmesi
205 önerilir. Bu paketi yüklememeyi seçerseniz, baþlangýç veri tabanýný 'initdb'
206 komutunu kullanarak kendiniz yaratmanýz gerekir.
209 Summary: clients needed to access a PostgreSQL server
210 Summary(pl): klienci wymagani do dostêpu do serwera PostgreSQL
211 Group: Applications/Databases
212 Group(pl): Aplikacje/Bazy danych
215 This package includes only the clients and client libraries needed to access
216 an PostgreSQL server. The server is included in the main package. If all you
217 need is to connect to another PostgreSQL server, the this is the only
218 package you need to install.
220 In this package there are client libraries available for C and C++, as
221 well as several command-line utilities you can use to manage your databases
222 on a remote PostgreSQL server.
224 %description -l pl clients
225 Pakiet zawiera klientów oraz biblioteki niezbêdne dla dostêpu do serwera
226 PostgreSQL. Serwer znajduje siê w g³ównym pakiecie.
229 Summary: Perl interface to PostgreSQL database
230 Summary(pl): Interface dla Perl'a umo¿liwiaj±cy dostêp do baz PostgreSQL
231 Group: Applications/Databases
232 Group(pl): Aplikacje/Bazy danych
233 Requires: postgresql, perl >= 5.004
236 This package includes only perl modules needed to access an PostgreSQL server.
238 %description -l pl perl
239 Pakiet ten zawiera tylko modu³y Perl'a wymagane dla dostêpu do serwera
243 Summary: Documentation for PostgreSQL
244 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
245 Group: Applications/Databases
246 Group(pl): Aplikacje/Bazy danych
250 This package includes documentation and HOWTO for programmer, admin etc., in
253 %description -l pl doc
254 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
255 administratorów w formacie HTML.
258 Summary: ODBC interface to PostgreSQL
259 Summary(pl): Interface ODBC do PostgreSQL
260 Group: Applications/Databases
261 Group(pl): Aplikacje/Bazy danych
265 This package includes library and header files for interface ODBC.
267 %description -l pl odbc
268 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interface'u ODBC.
271 rm -rf $RPM_BUILD_ROOT
281 EXTRA_configure="--with-template=linuxalpha"
283 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
284 --enable-hba --enable-locale \
285 --with-odbc --with-odbcinst=/etc \
288 --with-perl $EXTRA_configure
290 gmake OPT_FLAGS="$RPM_OPT_FLAGS"
293 make all PGDOCS=unpacked -C doc
296 rm -rf $RPM_BUILD_ROOT
297 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
298 install -d $RPM_BUILD_ROOT/usr/{include/pgsql,lib,bin,man}
299 install -d $RPM_BUILD_ROOT/var/lib/pgsql
302 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install
303 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install-man
307 ( cd src/interfaces/perl5
308 PERLVER=`ls -d /usr/lib/perl5/${RPM_ARCH}-linux/5.*`
309 install -d $RPM_BUILD_ROOT/$PERLVER
311 make PREFIX=$RPM_BUILD_ROOT/usr install
313 PACK="$RPM_BUILD_ROOT/usr/lib/perl5/site_perl/${RPM_ARCH}-linux/auto/Pg/.packlist"
315 sed -e "s|$RPM_BUILD_ROOT/|/|g" -e "s|./||" < $PACK.old > $PACK
318 LOCAL="$RPM_BUILD_ROOT/$PERLVER/perllocal.pod"
320 sed -e "s|$RPM_BUILD_ROOT/|/|g" < $LOCAL.old > $LOCAL.pg
323 find $RPM_BUILD_ROOT/usr/lib/perl5 -type f -print | \
324 sed -e "s|$RPM_BUILD_ROOT/|/|g" | grep -v "perllocal.pod$" > perlfiles.list
325 find $RPM_BUILD_ROOT/usr/lib/perl5 -type d -name Pg -print | \
326 sed -e "s|$RPM_BUILD_ROOT/|%dir /|g" >> perlfiles.list
328 # Move all includes beneath /usr/include/pgsql.
329 ( cd $RPM_BUILD_ROOT/usr/include
331 for f in *.h access commands executor lib libpq libpq++ port utils
337 # Move all templates/examples beneath /usr/lib/pgsql
338 ( cd $RPM_BUILD_ROOT/usr/lib
340 mv *source *sample pgsql
343 # Move odbc.ini file to etc
344 mv -f $RPM_BUILD_ROOT/usr/*.ini $RPM_BUILD_ROOT/etc
346 install -m 755 $RPM_SOURCE_DIR/postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
350 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
354 strip -s $RPM_BUILD_ROOT/usr/bin/* || :
357 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
360 rm -fR `find contrib/ -type d -name CVS`
363 /sbin/chkconfig --add postgresql
366 # Create sample database
367 su postgres -c "LD_LIBRARY_PATH=/usr/lib \
368 /usr/bin/initdb --pgdata=/var/lib/pgsql \
369 --pglib=/usr/lib/pgsql"
371 %post -p /sbin/ldconfig clients
373 %post -p /sbin/ldconfig devel
375 %post -p /sbin/ldconfig odbc
378 POD=`find /usr/lib -name perllocal.pod.pg`
380 if [ -f $DIR/perllocal.pod ]; then
381 mv $DIR/perllocal.pod $DIR/perllocal.pod.prepg
382 cat $DIR/perllocal.pod.pg $DIR/perllocal.pod.prepg > $DIR/perllocal.pod
384 cp $DIR/perllocal.pod.pg $DIR/perllocal.pod
386 rm -f $DIR/perllocal.pod.pg
390 if [ -f /var/lock/subsys/postmaster ]; then
391 /etc/rc.d/init.d/postgresql stop
393 /sbin/chkconfig --del postgresql
396 %postun -p /sbin/ldconfig clients
398 %postun -p /sbin/ldconfig devel
400 %postun -p /sbin/ldconfig odbc
404 rm -rf $RPM_BUILD_ROOT
407 %defattr(644, root, root, 755)
412 %defattr(644, root, root, 755)
414 %doc doc/FAQ doc/FAQ_Linux doc/README*
415 %doc COPYRIGHT README HISTORY doc/bug.template
418 %attr(755, root, root) /etc/rc.d/init.d/*
420 %attr(644, postgres, postgres, 755) /usr/lib/pgsql
421 %attr(755, root, root) /usr/bin/cleardbdir
422 %attr(755, root, root) /usr/bin/createdb
423 %attr(755, root, root) /usr/bin/createuser
424 %attr(755, root, root) /usr/bin/destroydb
425 %attr(755, root, root) /usr/bin/destroyuser
426 %attr(755, root, root) /usr/bin/initdb
427 %attr(755, root, root) /usr/bin/initlocation
428 %attr(755, root, root) /usr/bin/pg_passwd
429 %attr(755, root, root) /usr/bin/pg_version
430 %attr(755, root, root) /usr/bin/postgres
431 %attr(755, root, root) /usr/bin/postmaster
432 %attr(644, root, man) /usr/man/man1/cleardbdir.1.gz
433 %attr(644, root, man) /usr/man/man1/createdb.1.gz
434 %attr(644, root, man) /usr/man/man1/createuser.1.gz
435 %attr(644, root, man) /usr/man/man1/destroydb.1.gz
436 %attr(644, root, man) /usr/man/man1/destroyuser.1.gz
437 %attr(644, root, man) /usr/man/man1/initdb.1.gz
438 %attr(644, root, man) /usr/man/man1/initlocation.1.gz
439 %attr(644, root, man) /usr/man/man1/pg_passwd.1.gz
440 %attr(644, root, man) /usr/man/man1/postgres.1.gz
441 %attr(644, root, man) /usr/man/man1/postmaster.1.gz
442 %attr(644, root, man) /usr/man/man5/*.5.gz
445 %defattr(644, root, root, 755)
451 %attr(644, root, man) /usr/man/man3/*.gz
452 %attr(755, root, root) /usr/bin/ecpg
453 %attr(644, root, man) /usr/man/man1/ecpg.1.gz
456 %defattr(-,postgres,postgres)
457 %attr(-,postgres,postgres) /var/lib/pgsql
460 %defattr(644, root, root, 755)
463 %attr(755, root, root) /usr/bin/pg_dump
464 %attr(755, root, root) /usr/bin/pg_dumpall
465 %attr(755, root, root) /usr/bin/pg_id
466 %attr(755, root, root) /usr/bin/pg_upgrade
467 %attr(755, root, root) /usr/bin/psql
468 %attr(644, root, man) /usr/man/man1/pg_dump.1.gz
469 %attr(644, root, man) /usr/man/man1/pg_dumpall.1.gz
470 %attr(644, root, man) /usr/man/man1/pg_upgrade.1.gz
471 %attr(644, root, man) /usr/man/man1/psql.1.gz
472 %attr(644, root, man) /usr/man/manl/*.gz
474 %files -f perlfiles.list perl
475 %defattr(-, root, root)
478 %defattr(644, root, root, 755)
479 %doc src/interfaces/odbc/readme.txt src/interfaces/odbc/notice.txt
480 %config(noreplace) %verify(not size mtime md5) /etc/odbc*
481 /usr/lib/libpsqlodbc*
485 * Fri Mar 5 1999 Jacek Smyda <smyda@posexperts.com.pl>
486 - remove adduser (standard user in passwd)
487 - add polish group names
488 - correct install perllocal.pod
490 * Wed Mar 3 1999 Jacek Smyda <smyda@posexperts.com.pl>
493 * Thu Feb 25 1999 Jacek Smyda <smyda@posexperts.com.pl>
496 * Thu Feb 18 1999 Jacek Smyda <smyda@posexperts.com.pl>
497 - Remove template database from data package and init after install
499 * Mon Jan 17 1999 Jacek Smyda <smyda@posexperts.com.pl>
500 - added translations for pl
501 - new package: perl, doc, odbc
503 - removed tcl interface
505 * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
507 - use defattr in all packages
508 - updated pgaccess to version 0.90
509 - /var/lib/pgsql/pg_pwd should not be 666
511 * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
512 - create /usr/lib/pgsql (like /usr/include/pgsql)
513 - resurrect libpq++.so*
514 - fix name problem in startup-script (problem #533)
516 * Fri Jun 19 1998 Jeff Johnson <jbj@redhat.com>
517 - configure had "--prefix=$RPM_BUILD_ROOT/usr"
518 - move all include files below /usr/include/pgsql.
519 - resurrect perl client file lists.
521 * Tue May 05 1998 Prospector System <bugs@redhat.com>
522 - translations modified for de, fr, tr