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 URL: http://www.postgresql.org/
12 Source: ftp://ftp.postgresql.org/pub/%{name}-%{version}.tar.gz
13 Source1: postgresql.init
14 Source2: pgsql-Database-HOWTO-html.tar.gz
15 Patch: postgresql-6.4.2-opt.patch
16 Buildroot: /tmp/%{name}-%{version}-root
17 Prereq: /sbin/chkconfig /sbin/ldconfig
18 Requires: postgresql-clients
21 PostgreSQL Data Base Management System (formerly known as Postgres, then as
24 PostgreSQL is an enhancement of the POSTGRES database management system, a
25 next-generation DBMS research prototype. While PostgreSQL retains the
26 powerful data model and rich data types of POSTGRES, it replaces the PostQuel
27 query language with an extended subset of SQL. PostgreSQL is free and the
28 complete source is available.
30 PostgreSQL development is being performed by a team of Internet developers who
31 all subscribe to the PostgreSQL development mailing list. The current
32 coordinator is Marc G. Fournier (scrappy@postgreSQL.org). This team is now
33 responsible for all current and future development of PostgreSQL.
35 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many others have
36 contributed to the porting, testing, debugging and enhancement of the code.
37 The original Postgres code, from which PostgreSQL is derived, was the effort
38 of many graduate students, undergraduate students, and staff programmers
39 working under the direction of Professor Michael Stonebraker at the University
40 of California, Berkeley.
42 The original name of the software at Berkeley was Postgres. When SQL
43 functionality was added in 1995, its name was changed to Postgres95. The name
44 was changed at the end of 1996 to PostgreSQL.
46 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD, and most
50 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
53 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems, ein
54 DBMS-Forschungsprototyp der nächsten Generation. Während es das leistungsfähige
55 Datenmodell und die reichhaltigen Datentypen von POSTGRES beibehält, ersetzt
56 es die PostQuel-Abfragesprache durch ein Subset von SQL. PostgreSQL ist gratis,
57 der gesamte Quellcode ist verfügbar.
59 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle sind auf
60 der PostgreSQL-Entwickleradreßliste. Koordinator ist
61 Marc G. Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für alle
62 aktuellen und künftigen Entwicklungen von PostgreSQL.
64 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen. Zahlreiche andere
65 haben zur Portierung, zum Testen, Debugging und zur Verbesserung des Code beigetragen.
66 Den Original-Postgres-Code, von dem sich PostgreSQL ableitet, verdanken wir der Arbeit
67 vieler Doktoranden, Studenten und Programmierern unter der Leitung von
68 Professor Michael Stonebraker an der University of California, Berkeley.
70 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität hinzukam,
71 wurde der Name in Postgres95 geändert. Ende 1996 schließlich entschied man sich
74 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD und den meisten
78 Système de gestion de bases de données PostgreSQL (D'abord nommé Postgres,
80 PostgreSQL est une amélioration du système de gestion de bases de données
81 POSTGRES, un prototype de recherche de la génération suivant DBMS. Tout
82 en conservant le puissant modèle de donnée de et les types de donée riches
83 de Postgres, il remplace le langage de requêtes de Postgres par un sous
84 ensemble etendu de commandes SQL. PosrgreSQL est libre, et ses sources
87 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
88 de PostgreSQL. Le coordinateur actuel est Marc G Fournier
89 (scrappy@postgreSQL.org). Cette équipe est responsable du développemen
90 actuel et à venir de PostgreSQL.
92 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen. Beaucoup
93 d'autres ont contribué au portage, au test, au débogage et à l'amélioration
94 du code. Le code original de Postgres, duquel PostgreSQL est dérivé,
95 a été l'oeuvre d'étudiants de haut niveau, de moins haut niveau, et de
96 programmeurs travaillant sous la direction du professeur Michael
97 Stonebraker à l'université de Berkeley Californie.
99 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
100 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
101 rebaptisé PostgreSQL en 1996.
103 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
104 et la plupart des Unix.
107 PostgreSQL System Zarz±dzania Baz± Danych (dawniej znany jako Postgres,
108 nastêpnie jako Postgres95).
110 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris, SunOS,
111 HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
114 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir (DBMS).
115 Güçlü veri modeli ve zengin POSTGRES veri tiplerini desteklerken SQL'in
116 geniþletilmiþ bir altkümesi yerine PostQuel sorgulama dilini koyar.
119 Requires: postgresql-clients
120 Summary: PostgreSQL development header files and libraries
121 Summary(de): PostgreSQL-Entwicklungs-Header-Dateien und Libraries
122 Summary(fr): En-têtes et bibliothèques de développement PostgreSQL
123 Summary(pl): PostgreSQL - nag³owki i biblioteki
124 Summary(tr): PostgreSQL baþlýk dosyalarý ve kitaplýklar
125 Group: Development/Libraries
128 This package contains header files and libraries required to compile
129 applications that are talking directly to the PostgreSQL backend server.
131 %description -l de devel
132 Dieses Paket enthält die Header-Dateien und Libraries, die zum
133 Kompilieren von Applikationen notwendig sind, die direkt mit dem
134 PostgreSQL-Backend-Server kommunizieren.
136 %description -l fr devel
137 Ce package contient les fichiers d'en-tête et les bibliothéques nécessaires
138 pour compiler des applications ayant des échanges directs avec le serveur
139 du backend PostgreSQL.
141 %description -l pl devel
142 Pakiet ten zawiera nag³ówki oraz biblioteki wymagane do kompilacji
143 aplikacji ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
145 %description -l tr devel
146 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
147 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
150 Summary: PostgreSQL initial database structure
151 Summary(de): PostgreSQL-Ausgangs-Datenbankstruktur
152 Summary(fr): Structure initiale de base de données PostgreSQL
153 Summary(pl): PostgreSQL - inicjuj±ca struktura bazy danych
154 Summary(tr): PostgreSQL baþlangýç veritabaný yapýsý
155 Group: Applications/Databases
156 Requires: postgresql postgresql-clients
157 Conflicts: postgresql-data <= 6.2.1
160 This packages includes an initial database structure directory for PostgreSQL.
161 For a quick startup on PostegreSQL, it is recommended to install this package
162 with your PostgreSQL backend server (altough it is not required).
164 If you choose to not install this package you will have to create the initial
165 database yourself using 'initdb' command and possibly modify the postgresql
166 startup script if you choose a directory other than /var/lib/pgsql for
167 storing your databases.
169 %description -l de data
170 Dieses Paket schließt ein elementares Strukturverzeichnis für
171 PostgreSQL ein. Für einen schnellen Start mit PostegreSQL empfehlen
172 wir die Installation dieses Pakets mit Ihrem PostgreSQL-Backend-
173 Server (obligatorisch ist es nicht).
174 Sie die anfängliche Datenbank selbst mit Hilfe des initdb-Befehls
175 erstellen und möglicherweise das postgresql-Start-Skript modifizieren,
176 wenn Sie ein anderes als das /var/lib/pgsql-Verzeichnis zum Speichern
177 Ihrer Datenbanken wählen.
179 %description -l fr data
180 Ce paquetage contient une structure initiale de base de données pour PostgreSQL.
181 Pour un démarrage rapide avec PostgreSQL, il est recommandé d'installer ce
182 paquetage avec votre serveur PostgreSQL (bien que ce ne soit pas obligatoire).
184 Si vous n'installez pas ce paquetage, vous devrez créer vous-même la base de
185 données initiale avec la commande « initdb » et modifier le script de
186 démarrage de PostgreSQL si vous choisissez un autre répertoire que
187 /var/lib/pgsql pour stocker vos bases de données.
189 %description -l pl data
190 Pakiet ten zawiera zainicjowan± strukturê bazodanow± dla PostgreSQL. Dla
191 szybkiego startu PostgreSQL rekomendowane jest zainstalowanie tego pakietu
192 razem z pakietem serwera (jednak¿e nie jest on wymagany).
194 Je¿eli nie zainstalujesz tego pakietu bêdziesz musia³ rêcznie utworzyæ
195 inicjuj±c± bazê przy pomocy polecenia 'initdb' oraz ewentualnie skrypt
196 startowy, je¿eli nie wybierzesz katalogu /var/lib/pgsql jako katalogu
197 domy¶lnego dla przechowywania baz danych.
199 %description -l tr data
200 Bu paket, PostgreSQL için bir baþlangýç veri tabaný yapýsý dizinini içerir.
201 PostgreSQL'e hýzlý baþlangýç için bu paketin PostgreSQL sunucusuna yüklenmesi
202 önerilir. Bu paketi yüklememeyi seçerseniz, baþlangýç veri tabanýný 'initdb'
203 komutunu kullanarak kendiniz yaratmanýz gerekir.
206 Summary: clients needed to access a PostgreSQL server
207 Summary(pl): klienci wymagani do dostêpu do serwera PostgreSQL
208 Group: Applications/Databases
211 This package includes only the clients and client libraries needed to access
212 an PostgreSQL server. The server is included in the main package. If all you
213 need is to connect to another PostgreSQL server, the this is the only
214 package you need to install.
216 In this package there are client libraries available for C and C++, as
217 well as several command-line utilities you can use to manage your databases
218 on a remote PostgreSQL server.
220 %description -l pl clients
221 Pakiet ten zawiera tylko klientów oraz biblioteki niezbêdne dla dostêpu
222 do serwera PostgreSQL. Serwer znajduje siê w g³ównym pakiecie.
225 Summary: Perl interface to PostgreSQL database
226 Summary(pl): Interface dla Perl'a umo¿liwiaj±cy dostêp do baz PostgreSQL
227 Group: Application/Databases
228 Requires: postgresql, perl >= 5.004
231 This package includes only perl modules needed to access an PostgreSQL server.
233 %description -l pl perl
234 Pakiet ten zawiera tylko modu³y Perl'a wymagane dla dostêpu do serwera
238 Summary: Documentation for PostgreSQL
239 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
240 Group: Application/Databases
244 This package includes documentation and HOWTO for programmer, admin etc., in
247 %description -l pl doc
248 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
249 administratorów w formacie HTML.
252 Summary: ODBC interface to PostgreSQL
253 Summary(pl): Interface ODBC do PostgreSQL
254 Group: Application/Databases
258 This package includes library and header files for interface ODBC.
260 %description -l pl odbc
261 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interface'u ODBC.
264 rm -rf $RPM_BUILD_ROOT
274 EXTRA_configure="--with-template=linuxalpha"
276 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
277 --enable-hba --enable-locale \
278 --with-odbc --with-odbcinst=/etc \
281 --with-perl $EXTRA_configure
283 gmake OPT_FLAGS="$RPM_OPT_FLAGS"
286 make all PGDOCS=unpacked -C doc
289 rm -rf $RPM_BUILD_ROOT
290 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
291 install -d $RPM_BUILD_ROOT/usr/{include/pgsql,lib,bin,man}
292 install -d $RPM_BUILD_ROOT/var/lib/pgsql
295 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install
296 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install-man
300 ( cd src/interfaces/perl5
301 PERLVER=`ls -d /usr/lib/perl5/${RPM_ARCH}-linux/5.*`
302 install -d $RPM_BUILD_ROOT/$PERLVER
304 make PREFIX=$RPM_BUILD_ROOT/usr install
306 PACK="$RPM_BUILD_ROOT/usr/lib/perl5/site_perl/${RPM_ARCH}-linux/auto/Pg/.packlist"
308 sed -e "s|$RPM_BUILD_ROOT/|/|g" -e "s|./||" < $PACK.old > $PACK
311 LOCAL="$RPM_BUILD_ROOT/$PERLVER/perllocal.pod"
313 sed -e "s|$RPM_BUILD_ROOT/|/|g" < $LOCAL.old > $LOCAL
316 find $RPM_BUILD_ROOT/usr/lib/perl5 -type f -print | \
317 sed -e "s|$RPM_BUILD_ROOT/|/|g" > perlfiles.list
318 find $RPM_BUILD_ROOT/usr/lib/perl5 -type d -name Pg -print | \
319 sed -e "s|$RPM_BUILD_ROOT/|%dir /|g" >> perlfiles.list
321 # Move all includes beneath /usr/include/pgsql.
322 ( cd $RPM_BUILD_ROOT/usr/include
324 for f in *.h access commands executor lib libpq libpq++ port utils
330 # Move all templates/examples beneath /usr/lib/pgsql
331 ( cd $RPM_BUILD_ROOT/usr/lib
333 mv *source *sample pgsql
336 # Move odbc.ini file to etc
337 mv -f $RPM_BUILD_ROOT/usr/*.ini $RPM_BUILD_ROOT/etc
339 install -m 755 $RPM_SOURCE_DIR/postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
341 # Create sample database
342 if ! `grep postgres /etc/passwd >/dev/null 2>&1`; then
343 echo "You must add new user postgres before compiling."
345 ( LD_LIBRARY_PATH=$RPM_BUILD_ROOT/usr/lib \
346 $RPM_BUILD_ROOT/usr/bin/initdb --pgdata=$RPM_BUILD_ROOT/var/lib/pgsql \
347 --pglib=$RPM_BUILD_ROOT/usr/lib/pgsql )
351 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
355 strip -s $RPM_BUILD_ROOT/usr/bin/* || :
358 rm -fR `find contrib/ -type d -name CVS`
361 useradd -M -o -r -d /var/lib/pgsql -s /bin/bash \
362 -c "PostgreSQL Server" postgres >/dev/null 2>&1 || :
365 /sbin/chkconfig --add postgresql
367 %post -p /sbin/ldconfig clients
369 %post -p /sbin/ldconfig devel
371 %post -p /sbin/ldconfig odbc
375 if [ -f /var/lock/subsys/postmaster ]; then
376 /etc/rc.d/init.d/postgresql stop
378 /sbin/chkconfig --del postgresql
381 %postun -p /sbin/ldconfig clients
383 %postun -p /sbin/ldconfig devel
385 %postun -p /sbin/ldconfig odbc
389 rm -rf $RPM_BUILD_ROOT
393 %defattr(644, root, root, 755)
398 %defattr(644, root, root, 755)
400 %doc doc/FAQ doc/FAQ_Linux doc/README*
401 %doc COPYRIGHT README HISTORY doc/bug.template
404 %attr(755, root, root) /etc/rc.d/init.d/*
406 %attr(644, postgres, postgres, 755) /usr/lib/pgsql
407 %attr(755, root, root) /usr/bin/cleardbdir
408 %attr(755, root, root) /usr/bin/createdb
409 %attr(755, root, root) /usr/bin/createuser
410 %attr(755, root, root) /usr/bin/destroydb
411 %attr(755, root, root) /usr/bin/destroyuser
412 %attr(755, root, root) /usr/bin/initdb
413 %attr(755, root, root) /usr/bin/initlocation
414 %attr(755, root, root) /usr/bin/pg_passwd
415 %attr(755, root, root) /usr/bin/pg_version
416 %attr(755, root, root) /usr/bin/postgres
417 %attr(755, root, root) /usr/bin/postmaster
418 %attr(644, root, man) /usr/man/man1/cleardbdir.1
419 %attr(644, root, man) /usr/man/man1/createdb.1
420 %attr(644, root, man) /usr/man/man1/createuser.1
421 %attr(644, root, man) /usr/man/man1/destroydb.1
422 %attr(644, root, man) /usr/man/man1/destroyuser.1
423 %attr(644, root, man) /usr/man/man1/initdb.1
424 %attr(644, root, man) /usr/man/man1/initlocation.1
425 %attr(644, root, man) /usr/man/man1/pg_passwd.1
426 %attr(644, root, man) /usr/man/man1/postgres.1
427 %attr(644, root, man) /usr/man/man1/postmaster.1
428 %attr(644, root, man) /usr/man/man5/*.5
431 %defattr(644, root, root, 755)
437 %attr(644, root, man) /usr/man/man3/*
438 %attr(755, root, root) /usr/bin/ecpg
439 %attr(644, root, man) /usr/man/man1/ecpg.1
442 %defattr(-,postgres,postgres)
443 %attr(-,postgres,postgres) /var/lib/pgsql
446 %defattr(644, root, root, 755)
449 %attr(755, root, root) /usr/bin/pg_dump
450 %attr(755, root, root) /usr/bin/pg_dumpall
451 %attr(755, root, root) /usr/bin/pg_id
452 %attr(755, root, root) /usr/bin/pg_upgrade
453 %attr(755, root, root) /usr/bin/psql
454 %attr(644, root, man) /usr/man/man1/pg_dump.1
455 %attr(644, root, man) /usr/man/man1/pg_dumpall.1
456 %attr(644, root, man) /usr/man/man1/pg_upgrade.1
457 %attr(644, root, man) /usr/man/man1/psql.1
458 %attr(644, root, man) /usr/man/manl/*
460 %files -f perlfiles.list perl
461 %defattr(-, root, root)
464 %defattr(644, root, root, 755)
465 %doc src/interfaces/odbc/readme.txt src/interfaces/odbc/notice.txt
466 %config(noreplace) %verify(not size mtime md5) /etc/odbc*
467 /usr/lib/libpsqlodbc*
471 * Mon Jan 17 1999 Jacek Smyda <smyda@posexperts.com.pl>
472 - added translations for pl
473 - new package: perl, doc, odbc
475 - removed tcl interface
477 * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
479 - use defattr in all packages
480 - updated pgaccess to version 0.90
481 - /var/lib/pgsql/pg_pwd should not be 666
483 * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
484 - create /usr/lib/pgsql (like /usr/include/pgsql)
485 - resurrect libpq++.so*
486 - fix name problem in startup-script (problem #533)
488 * Fri Jun 19 1998 Jeff Johnson <jbj@redhat.com>
489 - configure had "--prefix=$RPM_BUILD_ROOT/usr"
490 - move all include files below /usr/include/pgsql.
491 - resurrect perl client file lists.
493 * Tue May 05 1998 Prospector System <bugs@redhat.com>
494 - translations modified for de, fr, tr