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 Source0: 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 URL: http://www.postgresql.org/
17 Prereq: /sbin/chkconfig
18 Buildroot: /tmp/%{name}-%{version}-root
19 Requires: %{name}-clients = %{version}
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 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
126 Group(pl): Programowanie/Biblioteki
127 Requires: %{name}-clients = %{version}
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: %{name} = %{version}
160 Requires: %{name}-clients = %{version}
161 Conflicts: postgresql-data <= 6.2.1
164 This packages includes an initial database structure directory for PostgreSQL.
165 For a quick startup on PostegreSQL, it is recommended to install this package
166 with your PostgreSQL backend server (altough it is not required).
168 If you choose to not install this package you will have to create the initial
169 database yourself using 'initdb' command and possibly modify the postgresql
170 startup script if you choose a directory other than /var/lib/pgsql for
171 storing your databases.
173 %description -l de data
174 Dieses Paket schließt ein elementares Strukturverzeichnis für
175 PostgreSQL ein. Für einen schnellen Start mit PostegreSQL empfehlen
176 wir die Installation dieses Pakets mit Ihrem PostgreSQL-Backend-
177 Server (obligatorisch ist es nicht).
178 Sie die anfängliche Datenbank selbst mit Hilfe des initdb-Befehls
179 erstellen und möglicherweise das postgresql-Start-Skript modifizieren,
180 wenn Sie ein anderes als das /var/lib/pgsql-Verzeichnis zum Speichern
181 Ihrer Datenbanken wählen.
183 %description -l fr data
184 Ce paquetage contient une structure initiale de base de données pour PostgreSQL.
185 Pour un démarrage rapide avec PostgreSQL, il est recommandé d'installer ce
186 paquetage avec votre serveur PostgreSQL (bien que ce ne soit pas obligatoire).
188 Si vous n'installez pas ce paquetage, vous devrez créer vous-même la base de
189 données initiale avec la commande « initdb » et modifier le script de
190 démarrage de PostgreSQL si vous choisissez un autre répertoire que
191 /var/lib/pgsql pour stocker vos bases de données.
193 %description -l pl data
194 Pakiet zawiera zainicjowan± strukturê bazodanow± dla PostgreSQL. Dla
195 szybkiego startu PostgreSQL rekomendowane jest zainstalowanie tego pakietu
196 razem z pakietem serwera (jednak¿e nie jest on wymagany).
198 Je¿eli nie zainstalujesz tego pakietu bêdziesz musia³ rêcznie utworzyæ
199 inicjuj±c± bazê przy pomocy polecenia 'initdb' oraz ewentualnie skrypt
200 startowy, je¿eli nie wybierzesz katalogu /var/lib/pgsql jako katalogu
201 domy¶lnego dla przechowywania baz danych.
203 %description -l tr data
204 Bu paket, PostgreSQL için bir baþlangýç veri tabaný yapýsý dizinini içerir.
205 PostgreSQL'e hýzlý baþlangýç için bu paketin PostgreSQL sunucusuna yüklenmesi
206 önerilir. Bu paketi yüklememeyi seçerseniz, baþlangýç veri tabanýný 'initdb'
207 komutunu kullanarak kendiniz yaratmanýz gerekir.
210 Summary: clients needed to access a PostgreSQL server
211 Summary(pl): klienci wymagani do dostêpu do serwera PostgreSQL
212 Group: Applications/Databases
213 Group(pl): Aplikacje/Bazy danych
216 This package includes only the clients and client libraries needed to access
217 an PostgreSQL server. The server is included in the main package. If all you
218 need is to connect to another PostgreSQL server, the this is the only
219 package you need to install.
221 In this package there are client libraries available for C and C++, as
222 well as several command-line utilities you can use to manage your databases
223 on a remote PostgreSQL server.
225 %description -l pl clients
226 Pakiet zawiera klientów oraz biblioteki niezbêdne dla dostêpu do serwera
227 PostgreSQL. Serwer znajduje siê w g³ównym pakiecie.
230 Summary: Perl interface to PostgreSQL database
231 Summary(pl): Interface dla Perl'a umo¿liwiaj±cy dostêp do baz PostgreSQL
232 Group: Applications/Databases
233 Group(pl): Aplikacje/Bazy danych
234 Requires: postgresql, perl >= 5.004
237 This package includes only perl modules needed to access an PostgreSQL server.
239 %description -l pl perl
240 Pakiet ten zawiera tylko modu³y Perl'a wymagane dla dostêpu do serwera
244 Summary: Documentation for PostgreSQL
245 Summary(pl): Dodatkowa dokumantacja dla PostgreSQL
246 Group: Applications/Databases
247 Group(pl): Aplikacje/Bazy danych
248 Requires: %{name} = %{version}
251 This package includes documentation and HOWTO for programmer, admin etc., in
254 %description -l pl doc
255 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
256 administratorów w formacie HTML.
259 Summary: ODBC interface to PostgreSQL
260 Summary(pl): Interface ODBC do PostgreSQL
261 Group: Applications/Databases
262 Group(pl): Aplikacje/Bazy danych
263 Requires: %{name} = %{version}
266 This package includes library and header files for interface ODBC.
268 %description -l pl odbc
269 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interface'u ODBC.
278 CFLAGS="$RPM_OPT_FLAGS" \
279 ./configure %{_target_platform} \
284 --with-odbcinst=/etc \
288 --with-template=linuxalpha \
292 gmake OPT_FLAGS="$RPM_OPT_FLAGS"
295 make all PGDOCS=unpacked -C doc
298 rm -rf $RPM_BUILD_ROOT
299 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
300 install -d $RPM_BUILD_ROOT/usr/{include/pgsql,lib,bin,man}
301 install -d $RPM_BUILD_ROOT/var/lib/pgsql
304 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install
305 gmake POSTGRESDIR=$RPM_BUILD_ROOT/usr install-man
309 ( cd src/interfaces/perl5
311 perl -V:installarchlib > /tmp/tmp_perl_info
312 perl -V:installsitearch >> /tmp/tmp_perl_info
315 PERLVER=$installarchlib
316 install -d $RPM_BUILD_ROOT/$PERLVER
318 make PREFIX=$RPM_BUILD_ROOT/usr install
320 PACK="$RPM_BUILD_ROOT$installsitearch/auto/Pg/.packlist"
322 sed -e "s|$RPM_BUILD_ROOT/|/|g" -e "s|./||" < $PACK.old > $PACK
325 LOCAL="$RPM_BUILD_ROOT/$PERLVER/perllocal.pod"
327 sed -e "s|$RPM_BUILD_ROOT/|/|g" < $LOCAL.old > $LOCAL.pg
330 find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -print | \
331 sed -e "s|$RPM_BUILD_ROOT/|/|g" | grep -v "perllocal.pod$" > perlfiles.list
332 find $RPM_BUILD_ROOT%{_libdir}/perl5 -type d -name Pg -print | \
333 sed -e "s|$RPM_BUILD_ROOT/|%dir /|g" >> perlfiles.list
335 # Move all includes beneath %{_includedir}/pgsql.
336 ( cd $RPM_BUILD_ROOT%{_includedir}
338 for f in *.h access commands executor lib libpq libpq++ port utils
344 # Move all templates/examples beneath %{_libdir}/pgsql
345 ( cd $RPM_BUILD_ROOT%{_libdir}
347 mv *source *sample pgsql
350 # Move odbc.ini file to etc
351 mv -f $RPM_BUILD_ROOT/usr/*.ini $RPM_BUILD_ROOT/etc
353 install $RPM_SOURCE_DIR/postgresql.init $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
357 tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
361 strip -s $RPM_BUILD_ROOT%{_bindir}/* || :
364 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
367 rm -fR `find contrib/ -type d -name CVS`
370 if ! `grep postgres /etc/passwd >/dev/null 2>&1`; then
371 useradd -M -o -r -d /var/lib/pgsql -s /bin/bash \
372 -c "PostgreSQL Server" postgres >/dev/null 2>&1 || :
376 /sbin/chkconfig --add postgresql
380 if [ -f /var/lock/subsys/postmaster ]; then
381 /etc/rc.d/init.d/postgresql stop
383 /sbin/chkconfig --del postgresql
387 # Create sample database
388 su postgres -c "LD_LIBRARY_PATH=%{_libdir} \
389 %{_bindir}/initdb --pgdata=/var/lib/pgsql \
390 --pglib=%{_libdir}/pgsql"
392 %post -p /sbin/ldconfig clients
393 %postun -p /sbin/ldconfig clients
395 %post -p /sbin/ldconfig devel
396 %postun -p /sbin/ldconfig devel
398 %post -p /sbin/ldconfig odbc
399 %postun -p /sbin/ldconfig odbc
402 POD=`find %{_libdir} -name perllocal.pod.pg`
404 if [ -f $DIR/perllocal.pod ]; then
405 mv $DIR/perllocal.pod $DIR/perllocal.pod.prepg
406 cat $DIR/perllocal.pod.pg $DIR/perllocal.pod.prepg > $DIR/perllocal.pod
408 cp $DIR/perllocal.pod.pg $DIR/perllocal.pod
410 rm -f $DIR/perllocal.pod.pg
413 rm -rf $RPM_BUILD_ROOT
414 rm -f /tmp/tmp_perl_info
417 %defattr(644,root,root,755)
422 %defattr(644,root,root,755)
424 %doc doc/FAQ doc/FAQ_Linux doc/README*
425 %doc COPYRIGHT README HISTORY doc/bug.template
428 %attr(754,root,root) /etc/rc.d/init.d/*
430 %attr(644, postgres, postgres,755) %{_libdir}/pgsql
431 %attr(755,root,root) %{_bindir}/cleardbdir
432 %attr(755,root,root) %{_bindir}/createdb
433 %attr(755,root,root) %{_bindir}/createuser
434 %attr(755,root,root) %{_bindir}/destroydb
435 %attr(755,root,root) %{_bindir}/destroyuser
436 %attr(755,root,root) %{_bindir}/initdb
437 %attr(755,root,root) %{_bindir}/initlocation
438 %attr(755,root,root) %{_bindir}/pg_passwd
439 %attr(755,root,root) %{_bindir}/pg_version
440 %attr(755,root,root) %{_bindir}/postgres
441 %attr(755,root,root) %{_bindir}/postmaster
442 %{_mandir}/man1/cleardbdir.1.gz
443 %{_mandir}/man1/createdb.1.gz
444 %{_mandir}/man1/createuser.1.gz
445 %{_mandir}/man1/destroydb.1.gz
446 %{_mandir}/man1/destroyuser.1.gz
447 %{_mandir}/man1/initdb.1.gz
448 %{_mandir}/man1/initlocation.1.gz
449 %{_mandir}/man1/pg_passwd.1.gz
450 %{_mandir}/man1/postgres.1.gz
451 %{_mandir}/man1/postmaster.1.gz
452 %{_mandir}/man5/*.5.gz
455 %defattr(644,root,root,755)
458 %attr(755,root,root) %{_libdir}/libec*.so
459 %attr(755,root,root) %{_libdir}/libpq*.so
462 %attr(755,root,root) %{_bindir}/ecpg
463 %{_mandir}/man1/ecpg.1.gz
466 %defattr(-,postgres,postgres)
467 %attr(-,postgres,postgres) /var/lib/pgsql
470 %defattr(644,root,root,755)
471 %attr(755,root,root) %{_libdir}/libec*.so.*
472 %attr(755,root,root) %{_libdir}/libpq*.so.*
473 %attr(755,root,root) %{_bindir}/pg_dump
474 %attr(755,root,root) %{_bindir}/pg_dumpall
475 %attr(755,root,root) %{_bindir}/pg_id
476 %attr(755,root,root) %{_bindir}/pg_upgrade
477 %attr(755,root,root) %{_bindir}/psql
478 %{_mandir}/man1/pg_dump.1.gz
479 %{_mandir}/man1/pg_dumpall.1.gz
480 %{_mandir}/man1/pg_upgrade.1.gz
481 %{_mandir}/man1/psql.1.gz
484 %files -f perlfiles.list perl
485 %defattr(-,root,root)
488 %defattr(644,root,root,755)
489 %doc src/interfaces/odbc/readme.txt src/interfaces/odbc/notice.txt
490 %config(noreplace) %verify(not size mtime md5) /etc/odbc*
491 %{_libdir}/libpsqlodbc*
495 * Wed Mar 24 1999 Jacek Smyda <smyda@posexperts.com.pl>
497 - correct dir for perl
499 * Fri Mar 5 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
501 - changed ermission on rc script to 754,
502 - /sbin/ldconfig emoved from Prereq list,
503 - removed man group from man pages.
505 * Fri Mar 5 1999 Jacek Smyda <smyda@posexperts.com.pl>
506 - add polish group names
507 - correct install perllocal.pod
509 * Wed Mar 3 1999 Jacek Smyda <smyda@posexperts.com.pl>
512 * Thu Feb 25 1999 Jacek Smyda <smyda@posexperts.com.pl>
515 * Thu Feb 18 1999 Jacek Smyda <smyda@posexperts.com.pl>
516 - Remove template database from data package and init after install
518 * Mon Jan 17 1999 Jacek Smyda <smyda@posexperts.com.pl>
519 - added translations for pl
520 - new package: perl, doc, odbc
522 - removed tcl interface
524 * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
526 - use defattr in all packages
527 - updated pgaccess to version 0.90
528 - /var/lib/pgsql/pg_pwd should not be 666
530 * Sun Jun 21 1998 Jeff Johnson <jbj@redhat.com>
531 - create %{_libdir}/pgsql (like %{_includedir}/pgsql)
532 - resurrect libpq++.so*
533 - fix name problem in startup-script (problem #533)
535 * Fri Jun 19 1998 Jeff Johnson <jbj@redhat.com>
536 - configure had "--prefix=$RPM_BUILD_ROOT/usr"
537 - move all include files below %{_includedir}/pgsql.
538 - resurrect perl client file lists.
540 * Tue May 05 1998 Prospector System <bugs@redhat.com>
541 - translations modified for de, fr, tr