]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.spec
- small fixes
[packages/postgresql.git] / postgresql.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        PostgreSQL Data Base Management System
3 Summary(de):    PostgreSQL Datenbankverwaltungssystem
4 Summary(fr):    Sysème de gestion de base de données PostgreSQL.
5 Summary(pl):    PostgreSQL system bazodanowy
6 Summary(tr):    Veri Tabaný Yönetim Sistemi
7 Name:           postgresql
8 Version:        6.5
9 Release:        1
10 Copyright:      BSD
11 Group:          Applications/Databases
12 Group(pl):      Aplikacje/Bazy Danych
13 Source0:        ftp://ftp.postgresql.org/pub/%{name}-%{version}.tar.gz
14 Source1:        postgresql.init
15 Source2:        pgsql-Database-HOWTO-html.tar.gz
16 Patch0:         postgresql-opt.patch
17 Patch1:         postgresql-DESTDIR.patch
18 Patch2:         postgresql-perl.patch
19 URL:            http://www.postgresql.org/
20 Prereq:         /sbin/chkconfig
21 Requires:       rc-scripts
22 Buildroot:      /tmp/%{name}-%{version}-root
23 Requires:       %{name}-libs = %{version}
24
25 %description
26 PostgreSQL Data Base Management System (formerly known as Postgres, then as
27 Postgres95). 
28
29 PostgreSQL is an enhancement of the POSTGRES database management system, a
30 next-generation DBMS research prototype.  While PostgreSQL retains the
31 powerful data model and rich data types of POSTGRES, it replaces the PostQuel
32 query language with an extended subset of SQL. PostgreSQL is free and the
33 complete source is available. 
34
35 PostgreSQL development is being performed by a team of Internet developers who
36 all subscribe to the PostgreSQL development mailing list. The current
37 coordinator is Marc G. Fournier (scrappy@postgreSQL.org). This team is now
38 responsible for all current and future development of PostgreSQL. 
39
40 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many others have
41 contributed to the porting, testing, debugging and enhancement of the code.
42 The original Postgres code, from which PostgreSQL is derived, was the effort
43 of many graduate students, undergraduate students, and staff programmers
44 working under the direction of Professor Michael Stonebraker at the University
45 of California, Berkeley. 
46
47 The original name of the software at Berkeley was Postgres. When SQL
48 functionality was added in 1995, its name was changed to Postgres95. The name
49 was changed at the end of 1996 to PostgreSQL. 
50
51 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD, and most
52 flavours of Unix. 
53
54 %description -l de
55 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als 
56 Postgres95 bekannt).
57
58 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems, ein
59  DBMS-Forschungsprototyp der nächsten Generation. Während es das leistungsfähige
60 Datenmodell und die reichhaltigen Datentypen von POSTGRES beibehält, ersetzt
61 es die PostQuel-Abfragesprache durch ein Subset von SQL. PostgreSQL ist gratis,
62 der gesamte Quellcode ist verfügbar.
63
64 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle sind auf
65 der PostgreSQL-Entwickleradreßliste. Koordinator ist
66  Marc G. Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für alle
67 aktuellen und künftigen Entwicklungen von PostgreSQL.
68
69 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen. Zahlreiche andere
70 haben zur Portierung, zum Testen, Debugging und zur Verbesserung des Code beigetragen.
71 Den Original-Postgres-Code, von dem sich PostgreSQL ableitet, verdanken wir der Arbeit
72 vieler Doktoranden, Studenten und Programmierern unter der Leitung von
73 Professor Michael Stonebraker an der University of California, Berkeley.
74
75 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität hinzukam,
76 wurde der Name in Postgres95 geändert. Ende 1996 schließlich entschied man sich
77 für PostgreSQL.
78
79 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD und den meisten
80 Unix-Systemen.
81
82 %description -l fr
83 Système de gestion de bases de données PostgreSQL (D'abord nommé Postgres,
84 puis Postgres95).
85 PostgreSQL est une amélioration du système de gestion de bases de données
86 POSTGRES, un prototype de recherche de la génération suivant DBMS. Tout
87 en conservant le puissant modèle de donnée de et les types de donée riches
88 de Postgres, il remplace le langage de requêtes de Postgres par un sous
89 ensemble etendu de commandes SQL. PosrgreSQL est libre, et ses sources
90 sont disponibles.
91
92 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
93 de PostgreSQL. Le coordinateur actuel est Marc G Fournier
94 (scrappy@postgreSQL.org). Cette équipe est responsable du développemen
95 actuel et à venir de PostgreSQL.
96
97 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen. Beaucoup
98 d'autres ont contribué au portage, au test, au débogage et à l'amélioration
99 du code. Le code original de Postgres, duquel PostgreSQL est dérivé,
100 a été l'oeuvre d'étudiants de haut niveau, de moins haut niveau, et de
101 programmeurs travaillant sous la direction du professeur Michael
102 Stonebraker à l'université de Berkeley Californie.
103
104 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
105 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été 
106 rebaptisé PostgreSQL en 1996.
107
108 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
109 et la plupart des Unix.
110
111 %description -l pl
112 PostgreSQL System Zarz±dzania Baz± Danych (dawniej znany jako Postgres,
113 nastêpnie jako Postgres95). 
114
115 PostgreSQL mo¿e byæ uruchominy pod nastêpuj±cymi systemami: Solaris, SunOS, 
116 HPUX, AIX, Linux, Irix, FreeBSD i innych systemach Unix.
117
118 %description -l tr
119 PostgreSQL, POSTGRES'den türemiþ bir veri tabaný yönetim sistemidir (DBMS).
120 Güçlü veri modeli ve zengin POSTGRES veri tiplerini desteklerken SQL'in
121 geniþletilmiþ bir altkümesi yerine PostQuel sorgulama dilini koyar.
122
123 %package devel
124 Summary:        PostgreSQL development header files and libraries
125 Summary(de):    PostgreSQL-Entwicklungs-Header-Dateien und Libraries 
126 Summary(fr):    En-têtes et bibliothèques de développement PostgreSQL
127 Summary(pl):    PostgreSQL - nag³owki i biblioteki
128 Summary(tr):    PostgreSQL baþlýk dosyalarý ve kitaplýklar
129 Group:          Development/Libraries
130 Group(pl):      Programowanie/Biblioteki
131 #Requires:      %{name}-clients = %{version}
132
133 %description devel
134 This package contains header files and libraries required to compile
135 applications that are talking directly to the PostgreSQL backend server. 
136
137 %description -l de devel
138 Dieses Paket enthält die Header-Dateien und Libraries, die zum
139 Kompilieren von Applikationen notwendig sind, die direkt mit dem
140 PostgreSQL-Backend-Server kommunizieren.
141
142 %description -l fr devel
143 Ce package contient les fichiers d'en-tête et les bibliothéques nécessaires
144 pour compiler des applications ayant des échanges directs avec le serveur
145 du backend PostgreSQL.
146
147 %description -l pl devel
148 Pakiet zawiera nag³ówki oraz biblioteki wymagane do kompilacji aplikacji 
149 ³±cz±cych siê bezpo¶rednio z serwerem PostgreSQL.
150
151 %description -l tr devel
152 Bu paket, PostgreSQL sunucusuyla konuþacak yazýlýmlar geliþtirmek için
153 gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
154
155 #%package data
156 #Summary:       PostgreSQL initial database structure
157 #Summary(de):   PostgreSQL-Ausgangs-Datenbankstruktur 
158 #Summary(fr):   Structure initiale de base de données PostgreSQL 
159 #Summary(pl):   PostgreSQL - inicjuj±ca struktura bazy danych
160 #Summary(tr):   PostgreSQL baþlangýç veritabaný yapýsý
161 #Group:         Applications/Databases
162 #Group(pl):     Aplikacje/Bazy Danych
163 #PreReq:                %{name} = %{version}
164 #Conflicts:     postgresql-data <= 6.2.1
165 #
166 #%description data
167 #This packages includes an initial database structure directory for PostgreSQL.
168 #For a quick startup on PostegreSQL, it is recommended to install this package
169 #with your PostgreSQL backend server (altough it is not required). 
170 #
171 #If you choose to not install this package you will have to create the initial
172 #database yourself using 'initdb' command and possibly modify the postgresql
173 #startup script if you choose a directory other than /var/lib/pgsql for
174 #storing your databases.
175 #
176 #%description -l de data
177 #Dieses Paket schließt ein elementares Strukturverzeichnis für 
178 #PostgreSQL ein. Für einen schnellen Start mit PostegreSQL empfehlen 
179 #wir die Installation dieses Pakets mit Ihrem PostgreSQL-Backend-
180 #Server (obligatorisch ist es nicht).
181 #Sie die anfängliche Datenbank selbst mit Hilfe des initdb-Befehls 
182 #erstellen und möglicherweise das postgresql-Start-Skript modifizieren, 
183 #wenn Sie ein anderes als das /var/lib/pgsql-Verzeichnis zum Speichern 
184 #Ihrer Datenbanken wählen. 
185 #
186 #%description -l fr data
187 #Ce paquetage contient une structure initiale de base de données pour PostgreSQL.
188 #Pour un démarrage rapide avec PostgreSQL, il est recommandé d'installer ce
189 #paquetage avec votre serveur PostgreSQL (bien que ce ne soit pas obligatoire).
190 #
191 #Si vous n'installez pas ce paquetage, vous devrez créer vous-même la base de
192 #données initiale avec la commande « initdb » et modifier le script de
193 #démarrage de PostgreSQL si vous choisissez un autre répertoire que
194 #/var/lib/pgsql pour stocker vos bases de données.
195 #
196 #%description -l pl data
197 #Pakiet zawiera zainicjowan± strukturê bazodanow± dla PostgreSQL. Dla
198 #szybkiego startu PostgreSQL rekomendowane jest zainstalowanie tego pakietu
199 #razem z pakietem serwera (jednak¿e nie jest on wymagany).
200 #
201 #Je¿eli nie zainstalujesz tego pakietu bêdziesz musia³ rêcznie utworzyæ 
202 #inicjuj±c± bazê przy pomocy polecenia 'initdb' oraz ewentualnie skrypt
203 #startowy, je¿eli nie wybierzesz katalogu /var/lib/pgsql jako katalogu
204 #domy¶lnego dla przechowywania baz danych.
205 #
206 #%description -l tr data
207 #Bu paket, PostgreSQL için bir baþlangýç veri tabaný yapýsý dizinini içerir.
208 #PostgreSQL'e hýzlý baþlangýç için bu paketin PostgreSQL sunucusuna yüklenmesi
209 #önerilir. Bu paketi yüklememeyi seçerseniz, baþlangýç veri tabanýný 'initdb'
210 #komutunu kullanarak kendiniz yaratmanýz gerekir.
211 #
212 %package clients
213 Summary:        clients needed to access a PostgreSQL server
214 Summary(pl):    klienci wymagani do dostêpu do serwera PostgreSQL
215 Group:          Applications/Databases
216 Group(pl):      Aplikacje/Bazy Danych
217
218 %description clients
219 This package includes only the clients and client libraries needed to access
220 an PostgreSQL server. The server is included in the main package. If all you
221 need is to connect to another PostgreSQL server, the  this is the only
222 package you need to install.
223
224 In this package there are client libraries available for C and C++, as
225 well as several command-line utilities you can use to manage your databases
226 on a remote PostgreSQL server.
227
228 %description -l pl clients
229 Pakiet zawiera klientów oraz biblioteki niezbêdne dla dostêpu do serwera 
230 PostgreSQL. Serwer znajduje siê w g³ównym pakiecie.
231
232 %package perl
233 Summary:        Perl interface to PostgreSQL database
234 Summary(pl):    Interface dla Perl'a umo¿liwiaj±cy dostêp do baz PostgreSQL
235 Group:          Applications/Databases
236 Group(pl):      Aplikacje/Bazy Danych
237 Requires:       postgresql, perl >= 5.004
238
239 %description perl
240 This package includes only perl modules needed to access an PostgreSQL server.
241
242 %description -l pl perl
243 Pakiet ten zawiera tylko modu³y Perl'a wymagane dla dostêpu do serwera 
244 PostgreSQL.
245
246 %package doc
247 Summary:        Documentation for PostgreSQL
248 Summary(pl):    Dodatkowa dokumantacja dla PostgreSQL
249 Group:          Applications/Databases
250 Group(pl):      Aplikacje/Bazy Danych
251 #Requires:      %{name} = %{version}
252
253 %description doc
254 This package includes documentation and HOWTO for programmer, admin etc., in
255 HTML format.
256
257 %description -l pl doc
258 Pakiet ten zawiera dokumentacjê oraz HOWTO m.in. dla programistów,
259 administratorów w formacie HTML.
260
261 %package odbc
262 Summary:        ODBC interface to PostgreSQL
263 Summary(pl):    Interface ODBC do PostgreSQL
264 Group:          Applications/Databases
265 Group(pl):      Aplikacje/Bazy Danych
266 #Requires:      %{name} = %{version}
267
268 %description odbc
269 This package includes library for interface ODBC.
270
271 %description -l pl odbc
272 Pakiet ten zawiera biblioteki dla interface'u ODBC.
273
274 %package odbc-devel
275 Summary:        ODBC interface to PostgreSQL - development part
276 Summary(pl):    Interface ODBC do PostgreSQL - cze¶æ programistyczna
277 Group:          Applications/Databases
278 Group(pl):      Aplikacje/Bazy Danych
279 Requires:       %{name}-odbc = %{version}
280
281 %description odbc-devel
282 This package includes library and header files for interface ODBC.
283
284 %description -l pl odbc-devel
285 Pakiet ten zawiera biblioteki i pliki nag³ówkowe dla interface'u ODBC.
286
287 %package odbc-static
288 Summary:        ODBC interface to PostgreSQL - static libraries
289 Summary(pl):    Interface ODBC do PostgreSQL - biblioteki statyczne
290 Group:          Applications/Databases
291 Group(pl):      Aplikacje/Bazy Danych
292 #Requires:      %{name}-odbc-devel = %{version}
293
294 %description odbc-static
295 This package includes static library for interface ODBC.
296
297 %description -l pl odbc-static
298 Pakiet ten zawiera biblioteki statyczne dla interface'u ODBC.
299
300 %package libs
301 Summary:        PostgreSQL libraries
302 Summary(pl):    Biblioteki dzielone programu PostgreSQL
303 Group:          Libraries
304 Group(pl):      Biblioteki
305
306 %description libs
307 PostgreSQL libraries.
308
309 %description libs -l pl
310 Biblioteki dzielone programu PostgreSQL.
311
312 %package static
313 Summary:        PostgreSQL static libraries
314 Summary(pl):    Biblioteki statyczne programu PostgreSQL
315 Group:          Development/Libraries
316 Group(pl):      Programowanie/Biblioteki
317 Requires:       %{name}-devel = %{version}
318
319 %description static
320 PostgreSQL static libraries.
321
322 %description libs -l pl
323 Biblioteki statyczne programu PostgreSQL.
324
325 %package tcl
326 Summary:        tcl interface for PostgreSQL
327 Summary(pl):    tcl interface dla PostgreSQL
328 Group:          Development/Languages/Tcl
329 Group(pl):      Programowanie/Jêzyki/Tcl
330 #Requires:      %{name}-libs = %{version}
331
332 %description tcl
333 tcl interface for PostgreSQL.
334
335 %description tcl -l pl
336 tcl interface dla PostgreSQL.
337
338 %package tcl-devel
339 Summary:        Development part of tcl interface for PostgreSQL
340 Summary(pl):    Czê¶æ dla programistów interafece tcl dla PostgreSQL
341 Group:          Development/Languages/Tcl
342 Group(pl):      Programowanie/Jêzyki/Tcl
343 Requires:       %{name}-tcl = %{version}
344
345 %description tcl-devel
346 Development part of tcl interface for PostgreSQL.
347
348 %description tcl-devel -l pl
349 Czê¶æ dla programistów interafece tcl dla PostgreSQL.
350
351 %package tcl-static
352 Summary:        Static libraries of tcl interface for PostgreSQL
353 Summary(pl):    Biblioteki statyczne interafece tcl dla PostgreSQL
354 Group:          Development/Languages/Tcl
355 Group(pl):      Programowanie/Jêzyki/Tcl
356 Requires:       %{name}-tcl-devel = %{version}
357
358 %description tcl-static
359 Static libraries of tcl interface for PostgreSQL
360
361 %description tcl-devel -l pl
362 Biblioteki statyczne interafece tcl dla PostgreSQL
363
364 %prep
365 %setup  -q
366 %patch0 -p1 -b .opt
367 %patch1 -p1 -b .destdir
368 %patch2 -p1 -b .perl
369
370 %build
371 PATH=$PATH:. ; export PATH
372 cd src
373
374 aclocal
375 autoconf
376
377 %configure \
378         --enable-hba \
379         --enable-locale \
380         --with-odbc \
381         --with-odbcinst=/etc \
382         --with-tcl \
383         --with-x \
384         --with-mb=UNICODE \
385 %ifarch %{ix86}
386         --with-template=linux_i386 \
387 %else
388         --with-template=linux_%{target_cpu} \
389 %endif
390         --with-perl
391
392 make OPT="$RPM_OPT_FLAGS"
393
394 cd ..
395 make all PGDOCS=unpacked -C doc
396
397 %install
398 rm -rf $RPM_BUILD_ROOT
399 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \
400         $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir},%{_includedir}/pgsql} \
401         $RPM_BUILD_ROOT/var/state/pgsql
402                 
403 ( cd src
404   make DESTDIR=$RPM_BUILD_ROOT install
405   make DESTDIR=$RPM_BUILD_ROOT install-man
406 )
407
408 # For Perl interface
409 #( cd src/interfaces/perl5
410 #
411 #  install -d $RPM_BUILD_ROOT/%{perl_sitearch}
412 #  perl Makefile.PL
413 #  make PREFIX=$RPM_BUILD_ROOT/usr install
414
415   ( cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Pg
416     mv .packlist .packlist.old
417     sed -e "s|$RPM_BUILD_ROOT/|/|g" -e "s|./||" < .packlist.old > .packlist
418     rm -f .packlist.old
419   )
420 #  LOCAL="$RPM_BUILD_ROOT/$PERLVER/perllocal.pod"
421 #  mv $LOCAL $LOCAL.old
422 #  sed -e "s|$RPM_BUILD_ROOT/|/|g" < $LOCAL.old > $LOCAL.pg
423 #  rm -f $LOCAL.old
424 #)
425 #find $RPM_BUILD_ROOT%{_libdir}/perl5 -type f -print | \
426 #       sed -e "s|$RPM_BUILD_ROOT/|/|g" | grep -v "perllocal.pod$" > perlfiles.list
427 #find $RPM_BUILD_ROOT%{_libdir}/perl5 -type d -name Pg -print | \
428 #       sed -e "s|$RPM_BUILD_ROOT/|%dir /|g" >> perlfiles.list
429
430 # Move all includes beneath %{_includedir}/pgsql.
431 ( cd $RPM_BUILD_ROOT%{_includedir}
432   rm -rf include
433   for f in *.h access commands executor lib libpq libpq++ port utils
434   do
435         mv $f pgsql
436   done
437 )
438
439 # Move all templates/examples beneath %{_libdir}/pgsql
440 ( cd $RPM_BUILD_ROOT%{_libdir}
441   install -d pgsql
442   mv *source *sample pgsql
443 )
444
445 # Move odbc.ini file to etc
446 mv -f $RPM_BUILD_ROOT/usr/*.ini $RPM_BUILD_ROOT/etc
447
448 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
449
450 install -d howto
451 ( cd howto
452   tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
453 )
454
455 strip -s $RPM_BUILD_ROOT%{_bindir}/ecpg
456 strip -s $RPM_BUILD_ROOT%{_bindir}/pg_dump
457 strip -s $RPM_BUILD_ROOT%{_bindir}/pg_encoding
458 strip -s $RPM_BUILD_ROOT%{_bindir}/pg_id
459 strip -s $RPM_BUILD_ROOT%{_bindir}/pg_passwd
460 strip -s $RPM_BUILD_ROOT%{_bindir}/pgtclsh
461 strip -s $RPM_BUILD_ROOT%{_bindir}/pgtksh
462 strip -s $RPM_BUILD_ROOT%{_bindir}/pg_version
463 strip -s $RPM_BUILD_ROOT%{_bindir}/postgres
464 strip -s $RPM_BUILD_ROOT%{_bindir}/postmaster
465 strip -s $RPM_BUILD_ROOT%{_bindir}/psql
466
467 # gzip all man pages
468 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/*
469
470 # Erase all CVS dir
471 rm -fR `find contrib/ -type d -name CVS`
472
473 chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so*
474
475 %pre
476 /usr/sbin/groupadd -g 88 -r -f postgres 1>&2 || :
477 /usr/sbin/useradd -M -o -r -u 88 -d /var/state/pgsql -s /bin/bash \
478         -g postgres -c "PostgreSQL Server" postgres 1>&2 || :
479
480 %post
481 /sbin/chkconfig --add postgresql
482
483 # Create sample database
484 su postgres -c "LD_LIBRARY_PATH=%{_libdir} \
485     %{_bindir}/initdb --pgdata=/var/state/pgsql \
486     --pglib=%{_libdir}/pgsql"
487
488
489 %preun
490 if [ $1 = 0 ]; then
491         if [ -f /var/lock/subsys/postmaster ]; then
492                 /etc/rc.d/init.d/postgresql stop
493         fi
494         /sbin/chkconfig --del postgresql
495 fi
496
497 %post   -p /sbin/ldconfig libs
498 %postun libs
499 /sbin/ldconfig
500 if [ $1 = 0 ]; then
501         :
502 fi
503
504 %post   -p /sbin/ldconfig devel
505 %postun -p /sbin/ldconfig devel
506
507 %post   -p /sbin/ldconfig odbc
508 %postun -p /sbin/ldconfig odbc
509
510 #%post perl
511 #POD=`find %{_libdir} -name perllocal.pod.pg`
512 #DIR=`dirname $POD`
513 #if [ -f $DIR/perllocal.pod ]; then
514 #       mv $DIR/perllocal.pod $DIR/perllocal.pod.prepg
515 #       cat $DIR/perllocal.pod.pg $DIR/perllocal.pod.prepg > $DIR/perllocal.pod
516 #else
517 #       cp $DIR/perllocal.pod.pg $DIR/perllocal.pod
518 #fi
519 #rm -f $DIR/perllocal.pod.pg
520
521 %clean
522 rm -rf $RPM_BUILD_ROOT
523 rm -f /tmp/tmp_perl_info
524
525 %files doc
526 %defattr(644,root,root,755)
527 %doc doc/unpacked/*
528 %doc howto
529
530 %files
531 %defattr(644,root,root,755)
532 %doc contrib 
533 %doc doc/FAQ doc/FAQ_Linux doc/README* 
534 %doc COPYRIGHT README HISTORY doc/bug.template
535 %doc doc/*.ps.gz
536
537 %attr(754,root,root) /etc/rc.d/init.d/*
538
539 %attr(755,root,root) %{_bindir}/cleardbdir
540 %attr(755,root,root) %{_bindir}/createdb
541 %attr(755,root,root) %{_bindir}/createuser
542 %attr(755,root,root) %{_bindir}/destroydb
543 %attr(755,root,root) %{_bindir}/destroyuser
544 %attr(755,root,root) %{_bindir}/initdb
545 %attr(755,root,root) %{_bindir}/initlocation
546 %attr(755,root,root) %{_bindir}/pg_passwd
547 %attr(755,root,root) %{_bindir}/pg_version
548 %attr(755,root,root) %{_bindir}/pg_encoding
549 %attr(755,root,root) %{_bindir}/postgres
550 %attr(755,root,root) %{_bindir}/postmaster
551 %attr(755,root,root) %{_bindir}/ipcclean
552 %attr(755,root,root) %{_bindir}/createlang
553 %attr(755,root,root) %{_bindir}/destroylang
554
555 %{_mandir}/man1/cleardbdir.1*
556 %{_mandir}/man1/createdb.1*
557 %{_mandir}/man1/createuser.1*
558 %{_mandir}/man1/destroydb.1*
559 %{_mandir}/man1/destroyuser.1*
560 %{_mandir}/man1/initdb.1*
561 %{_mandir}/man1/initlocation.1*
562 %{_mandir}/man1/pg_passwd.1*
563 %{_mandir}/man1/postgres.1*
564 %{_mandir}/man1/postmaster.1*
565 %{_mandir}/man1/ipcclean.1*
566 %{_mandir}/man5/*.5*
567
568 %attr(755,postgres,postgres) %dir /var/state/pgsql
569
570 %files libs
571 %defattr(644,root,root,755)
572 %attr(755,root,root) %{_libdir}/libpq.so.*.*
573 %attr(755,root,root) %{_libdir}/libpq++.so.*.*
574 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
575 # nie wiem do czego to
576 %attr(755,root,root) %{_libdir}/plpgsql.so 
577
578 %{_libdir}/*.description
579 %attr(755,root,root) %{_bindir}/pg_id
580
581 #%defattr(644,postgres,postgres,755)
582 %{_libdir}/pgsql
583
584 %files tcl
585 %defattr(644,root,root,755)
586 %attr(755,root,root) %{_libdir}/libpgtcl.so.*.*
587 %attr(755,root,root) %{_libdir}/pltcl.so
588 %attr(755,root,root) %{_bindir}/pgtclsh
589 %attr(755,root,root) %{_bindir}/pgtksh
590 %attr(755,root,root) %{_bindir}/pgaccess
591
592 %files tcl-devel
593 %defattr(644,root,root,755)
594 %attr(755,root,root) %{_libdir}/libpgtcl.so
595
596 %files tcl-static
597 %defattr(644,root,root,755)
598 %{_libdir}/libpgtcl.a
599
600 %files devel
601 %defattr(644,root,root,755)
602 %attr(755,root,root) %{_libdir}/libecpg.so
603 %attr(755,root,root) %{_libdir}/libpq.so
604 %attr(755,root,root) %{_libdir}/libpq++.so
605 %{_includedir}/pgsql
606 %{_mandir}/man3/*.3*
607 %attr(755,root,root) %{_bindir}/ecpg
608 %{_mandir}/man1/ecpg.1*
609
610 %files static
611 %defattr(644,root,root,755)
612 %{_libdir}/libecpg.a
613 %{_libdir}/libpq.a
614 %{_libdir}/libpq++.a
615
616 #%files data
617
618 %files clients
619 %defattr(644,root,root,755)
620 %attr(755,root,root) %{_libdir}/libec*.so.*.*
621 %attr(755,root,root) %{_libdir}/libpq*.so.*.*
622 %attr(755,root,root) %{_bindir}/pg_dump
623 %attr(755,root,root) %{_bindir}/pg_dumpall
624 %attr(755,root,root) %{_bindir}/pg_upgrade
625 %attr(755,root,root) %{_bindir}/psql
626 %attr(755,root,root) %{_bindir}/vacuumdb
627
628 %{_mandir}/man1/pg_dump.1*
629 %{_mandir}/man1/pg_dumpall.1*
630 %{_mandir}/man1/pg_upgrade.1*
631 %{_mandir}/man1/psql.1*
632 %{_mandir}/manl/*.l*
633
634 %files perl
635 %defattr(644,root,root,755)
636 %dir %{perl_sitearch}/auto/Pg
637 %{perl_sitearch}/auto/Pg/Pg.so
638 %attr(755,root,root) %{perl_sitearch}/auto/Pg/Pg.bs
639 %{perl_sitearch}/auto/Pg/autosplit.ix
640 %{perl_sitearch}/auto/Pg/.packlist
641 %{perl_sitearch}/Pg.pm
642
643 %files odbc
644 %defattr(644,root,root,755)
645 %doc src/interfaces/odbc/readme.txt src/interfaces/odbc/notice.txt
646 %config(noreplace) %verify(not size mtime md5) /etc/odbc*
647 %{_libdir}/libpsqlodbc.so.*.*
648
649 %files odbc-devel
650 %defattr(644,root,root,755)
651 %{_includedir}/iodbc
652 %attr(755,root,root) %{_libdir}/libpsqlodbc.so
653
654 %files odbc-static
655 %defattr(644,root,root,755)
656 %attr(755,root,root) %{_libdir}/libpsqlodbc.a
This page took 0.116835 seconds and 3 git commands to generate.