]> git.pld-linux.org Git - packages/postgresql.git/blob - postgresql.spec
- updated to 8.4.0; NOTE: consider postgresql82 / postgresql83 and turning postgresql...
[packages/postgresql.git] / postgresql.spec
1 #
2 # Conditional build:
3 %bcond_without  tests                   # disable testing
4 %bcond_without  tcl                     # disable Tcl support
5 %bcond_without  kerberos5               # disable kerberos5 support
6 %bcond_without  perl                    # disable Perl support
7 %bcond_without  python                  # disable Python support
8 %bcond_without  ldap                    # disable LDAP support
9 %bcond_with     absolute_dbpaths        # enable absolute paths to create database
10                                         # (disabled by default because it is a security risk)
11 #
12
13 Summary:        PostgreSQL Data Base Management System
14 Summary(de.UTF-8):      PostgreSQL Datenbankverwaltungssystem
15 Summary(es.UTF-8):      Gestor de Banco de Datos PostgreSQL
16 Summary(fr.UTF-8):      Sysème de gestion de base de données PostgreSQL
17 Summary(pl.UTF-8):      PostgreSQL - system bazodanowy
18 Summary(pt_BR.UTF-8):   Gerenciador de Banco de Dados PostgreSQL
19 Summary(ru.UTF-8):      PostgreSQL - система управления базами данных
20 Summary(tr.UTF-8):      Veri Tabanı Yönetim Sistemi
21 Summary(uk.UTF-8):      PostgreSQL - система керування базами даних
22 Summary(zh_CN.UTF-8):   PostgreSQL 客户端程序和库文件
23 Name:           postgresql
24 Version:        8.4.0
25 Release:        0.1
26 License:        BSD
27 Group:          Applications/Databases
28 Source0:        ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
29 # Source0-md5:  1f172d5f60326e972837f58fa5acd130
30 Source1:        %{name}.init
31 Source2:        pgsql-Database-HOWTO-html.tar.gz
32 # Source2-md5:  5b656ddf1db41965761f85204a14398e
33 Source3:        %{name}.sysconfig
34 Patch0:         %{name}-conf.patch
35 Patch1:         %{name}-absolute_dbpaths.patch
36 Patch2:         %{name}-ecpg-includedir.patch
37 Patch3:         %{name}-ac_version.patch
38 Patch4:         %{name}-disable_horology_test.patch
39 Patch5:         %{name}-pg_ctl-fix.patch
40 URL:            http://www.postgresql.org/
41 BuildRequires:  autoconf
42 BuildRequires:  automake
43 # not needed for releases... but fixes something in snapshot
44 BuildRequires:  bison >= 1.875
45 BuildRequires:  flex
46 BuildRequires:  gettext-devel
47 %{?with_kerberos5:BuildRequires:        krb5-devel}
48 BuildRequires:  libtool
49 BuildRequires:  libxml2-devel >= 2.6.23
50 BuildRequires:  libxslt-devel
51 BuildRequires:  ncurses-devel >= 5.0
52 %{?with_ldap:BuildRequires:     openldap-devel}
53 BuildRequires:  openssl-devel >= 0.9.7d
54 BuildRequires:  pam-devel
55 %{?with_perl:BuildRequires:     perl-devel}
56 %if %{with python}
57 BuildRequires:  python >= 1:2.3
58 BuildRequires:  python-devel >= 1:2.3
59 BuildRequires:  python-modules >= 1:2.3
60 %endif
61 BuildRequires:  readline-devel >= 4.2
62 BuildRequires:  rpmbuild(macros) >= 1.268
63 %{?with_tcl:BuildRequires:      tcl-devel >= 8.4.3}
64 BuildRequires:  zlib-devel
65 Requires(post,preun):   /sbin/chkconfig
66 Requires(pre):  /bin/id
67 Requires(pre):  /usr/bin/getgid
68 Requires(pre):  /usr/sbin/groupadd
69 Requires(pre):  /usr/sbin/useradd
70 Requires(triggerpostun):        /bin/id
71 Requires(triggerpostun):        /usr/sbin/usermod
72 Requires:       %{name}-clients = %{version}-%{release}
73 Requires:       %{name}-libs = %{version}-%{release}
74 Requires:       rc-scripts
75 Requires:       tzdata
76 Obsoletes:      postgresql-module-tsearch2
77 Obsoletes:      postgresql-server
78 Obsoletes:      postgresql-test
79 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80
81 %define         _pgmoduledir    %{_libdir}/postgresql
82 %define         _pgsqldir       %{_datadir}/postgresql/contrib
83
84 %define         _ulibdir        /usr/lib
85
86 %define contrib_modules adminpack btree_gist chkpass dblink fuzzystrmatch hstore intagg intarray isn lo ltree oid2name pageinspect pgbench pg_buffercache pgcrypto pg_freespacemap pgrowlocks pgstattuple pg_trgm sslinfo tablefunc vacuumlo xml2
87
88 %description
89 PostgreSQL Data Base Management System (formerly known as Postgres,
90 then as Postgres95).
91
92 PostgreSQL is an enhancement of the POSTGRES database management
93 system, a next-generation DBMS research prototype. While PostgreSQL
94 retains the powerful data model and rich data types of POSTGRES, it
95 replaces the PostQuel query language with an extended subset of SQL.
96 PostgreSQL is free and the complete source is available.
97
98 PostgreSQL development is being performed by a team of Internet
99 developers who all subscribe to the PostgreSQL development mailing
100 list. The current coordinator is Marc G. Fournier
101 (scrappy@postgreSQL.org). This team is now responsible for all current
102 and future development of PostgreSQL.
103
104 The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen. Many
105 others have contributed to the porting, testing, debugging and
106 enhancement of the code. The original Postgres code, from which
107 PostgreSQL is derived, was the effort of many graduate students,
108 undergraduate students, and staff programmers working under the
109 direction of Professor Michael Stonebraker at the University of
110 California, Berkeley.
111
112 The original name of the software at Berkeley was Postgres. When SQL
113 functionality was added in 1995, its name was changed to Postgres95.
114 The name was changed at the end of 1996 to PostgreSQL.
115
116 PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
117 and most flavours of Unix.
118
119 %description -l de.UTF-8
120 PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als
121 Postgres95 bekannt).
122
123 PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems,
124 ein DBMS-Forschungsprototyp der nächsten Generation. Während es das
125 leistungsfähige Datenmodell und die reichhaltigen Datentypen von
126 POSTGRES beibehält, ersetzt es die PostQuel-Abfragesprache durch ein
127 Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist
128 verfügbar.
129
130 Ein Team von Internet-Entwicklern befaßt sich mit PostgreSQL. Sie alle
131 sind auf der PostgreSQL-Entwickleradreßliste. Koordinator ist Marc G.
132 Fournier (scrappy@postgreSQL.org). Das Team ist verantwortlich für
133 alle aktuellen und künftigen Entwicklungen von PostgreSQL.
134
135 Die Autoren von PostgreSQL 1.01 waren Andrew Yu und Jolly Chen.
136 Zahlreiche andere haben zur Portierung, zum Testen, Debugging und zur
137 Verbesserung des Code beigetragen. Den Original-Postgres-Code, von dem
138 sich PostgreSQL ableitet, verdanken wir der Arbeit vieler Doktoranden,
139 Studenten und Programmierern unter der Leitung von Professor Michael
140 Stonebraker an der University of California, Berkeley.
141
142 Der ursprüngliche Name war Postgres. Als 1995 SQL-Funktionalität
143 hinzukam, wurde der Name in Postgres95 geändert. Ende 1996 schließlich
144 entschied man sich für PostgreSQL.
145
146 PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
147 und den meisten Unix-Systemen.
148
149 %description -l es.UTF-8
150 Administrador de Banco de Datos PostgreSQL (conocido anteriormente
151 como Postgres, y después como Postgres95). PostgreSQL es una
152 continuación mejorada del Sistema Administrador de Banco de Datos
153 POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva
154 generación. Mientras PostgreSQL mantiene el potente modelo de datos y
155 los varios tipos de datos del POSTGRES, substituye el lenguaje de
156 consulta PostQuel por un subconjunto extendido de la SQL. PostgreSQL
157 es libre y tiene los fuentes disponibles. El desarrollo del PostgreSQL
158 se ejecutado por un equipo de estudiosos de Internet, todos suscritos
159 en la lista de desarrollo del PostgreSQL. El coordinador actual es
160 Marc G. Fournier (scrappy@postgreSQL.org). Este equipo es ahora
161 responsable por el desarrollo actual y futuro del PostgreSQL.
162
163 %description -l fr.UTF-8
164 Système de gestion de bases de données PostgreSQL (D'abord nommé
165 Postgres, puis Postgres95).
166
167 PostgreSQL est une amélioration du système de gestion de bases de
168 données POSTGRES, un prototype de recherche de la génération suivant
169 DBMS. Tout en conservant le puissant modèle de donnée de et les types
170 de donée riches de Postgres, il remplace le langage de requêtes de
171 Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est
172 libre, et ses sources sont disponibles.
173
174 Le développement de PostgreSQL est actuellement réalisé via internet
175 parune équipe de développeurs inscrits sur la mailing-list de
176 développement de PostgreSQL. Le coordinateur actuel est Marc G
177 Fournier (scrappy@postgreSQL.org). Cette équipe est responsable du
178 développemen actuel et à venir de PostgreSQL.
179
180 Les auteurs de PostgreSQL 1.01 étaient Andrew Yu et Jolly Chen.
181 Beaucoup d'autres ont contribué au portage, au test, au débogage et à
182 l'amélioration du code. Le code original de Postgres, duquel
183 PostgreSQL est dérivé, a été l'oeuvre d'étudiants de haut niveau, de
184 moins haut niveau, et de programmeurs travaillant sous la direction du
185 professeur Michael Stonebraker à l'université de Berkeley Californie.
186
187 Le nom original du logiciel était Postgres. Quand les fonctionnalitées
188 SQL furent ajoutées en 1995, son nom est devenu Postgres95. Il a été
189 rebaptisé PostgreSQL en 1996.
190
191 PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD,
192 et la plupart des Unix.
193
194 %description -l pl.UTF-8
195 System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako
196 Postgres, następnie jako Postgres95).
197
198 PostgreSQL jest rozszerzeniem systemu zarządzania baz danych POSTGRES,
199 prototypu DBMS następnej generacji. Co prawda PostgreSQL odziedziczył
200 model danych oraz bogaty zbiór różnych typów danych, to jednak język
201 zapytań PostQuel został zastąpiony rozszerzonym SQL-em. PostgreSQL
202 jest wolnym oprogramowaniem i kody źródłowe tego oprogramowania są w
203 pełni dostępne.
204
205 System PostgreSQL jest tworzony przez zespół ludzi, którzy są zapisani
206 na listę dyskusyjną dotyczącą PostgreSQL-a. Obecnym koordynatorem jest
207 Marc G. Fournier (scrappy@postgreSQL.org). Wymieniony wyżej zespół
208 jest odpowiedzialny za aktualny i przyszły rozwój systemu PostgreSQL.
209
210 Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu
211 innych pomagało przenosząc na różne platformy, testując, analizując i
212 rozszerzając kod. Oryginalny kod Postgres-a, na podstawie którego
213 PostgreSQL powstał, był wysiłkiem wielu absolwentów, studentów oraz
214 zespołu programistów, którzy pracowali pod kierunkiem profesora
215 Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley.
216
217 Nazwa oryginalna oprogramowania tworzonego w Berkeley brzmiała
218 Postgres. W 1995 roku dodano język zapytań SQL i nazwę zmieniono na
219 Postgres95. W końcu roku 1996 nazwę ostatecznie zmieniono na
220 PostgreSQL.
221
222 PostgreSQL może być uruchomiony pod następującymi systemami: Solaris,
223 SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi.
224
225 %description -l pt_BR.UTF-8
226 Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como
227 Postgres, e depois como Postgres95).
228
229 O PostgreSQL é uma continuação melhorada do Sistema Gerenciador de
230 Banco de Dados POSTGRES, que era um protótipo de pesquisa para um SGBD
231 de nova geração. Enquanto o PostgreSQL mantém o poderoso modelo de
232 dados e os vários tipos de dados do POSTGRES, ele substitui a
233 linguagem de consulta PostQuel por um subconjunto estendido da SQL. O
234 PostgreSQL é livre e tem os fontes disponíveis.
235
236 O desenvolvimento do PostgreSQL está sendo executado por uma equipe de
237 desenvolvedores da Internet, todos subscritores da lista de
238 desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier
239 (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo
240 desenvolvimento atual e futuro do PostgreSQL.
241
242 %description -l ru.UTF-8
243 PostgreSQL - система управления базами данных (прежде известная как
244 Postgres, потом как Postgres95).
245
246 PostgreSQL - это расширенная версия системы управления базами данных
247 POSTGRES, исследовательского прототипа DBMS следующей генерации.
248 Сохраняя мощную модель данных и богатый набор типов данных POSTGRES,
249 она заменяет язык запросов PostQuel расширенным набором SQL.
250 PostgreSQL бесплатен и поставляется в виде полного комплекта исходных
251 текстов.
252
253 PostgreSQL разрабатывался командой Internet-разработчиков, подписанных
254 на список рассылки, посвященный разработке PostgreSQL. В настоящее
255 время координатором является Marc G. Fournier
256 (scrappy@postgreSQL.org). Эта команда в настоящее время отвечает за
257 все текущие и будущие разработки PostgreSQL.
258
259 Авторами PostgreSQL 1.01 были Andrew Yu и Jolly Chen. Многие внесли
260 свой вклад в портирование, тестирование, отладку и улучшение кода.
261 Оригинальный код Postgres, от которого произошел PostgreSQL, был
262 создан усилиями студентов, аспирантов и персонала, работающего под
263 руководством профессора Michael Stonebraker в University of
264 California, Berkeley.
265
266 Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году
267 была добавлена функциональность SQL, название изменилось на
268 Postgres95. В конце 1996 года оно еще раз изменилось и теперь это
269 PostgreSQL.
270
271 PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
272 и большинстве других разновидностей Unix.
273
274 %description -l tr.UTF-8
275 PostgreSQL, POSTGRES'den türemiş bir veri tabanı yönetim sistemidir
276 (DBMS). Güçlü veri modeli ve zengin POSTGRES veri tiplerini
277 desteklerken SQL'in genişletilmiş bir altkümesi yerine PostQuel
278 sorgulama dilini koyar.
279
280 %description -l uk.UTF-8
281 PostgreSQL - система керування базами даних (раніш відома як Postgres,
282 потім як Postgres95).
283
284 PostgreSQL - це розширена версія системи керування базами даних
285 POSTGRES, дослідницького прототипу DBMS наступної генерації.
286 Зберігаючи потужну модель даних та багатий набір типів даних POSTGRES,
287 вона замінює мову запитів PostQuel розширеним набором SQL. PostgreSQL
288 безкоштовна та поставляється у вигляді повного комплекту вихідних
289 текстів.
290
291 PostgreSQL розробляється командою Internet-програмістів, учасників
292 списку розсилки, присвяченого розробці PostgreSQL. Наразі
293 координатором є Marc G. Fournier (scrappy@postgreSQL.org). Ця команда
294 відповідає за всі поточні та майбутні розробки PostgreSQL.
295
296 Авторами PostgreSQL 1.01 були Andrew Yu та Jolly Chen. Багато людей
297 внесли свій внесок в портування, тестування, відладку та покращення
298 коду. Оригінальний код Postgres, від якого походить PostgreSQL, був
299 створений зусиллями студентів, аспірантів та персоналу, який працював
300 під керівництвом професора Michael Stonebraker в University of
301 California, Berkeley.
302
303 Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році
304 було додано функціональність SQL, назва змінилася на Postgres95. В
305 кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL.
306
307 PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD
308 та більшості інших різновидів Unix.
309
310 %package devel
311 Summary:        PostgreSQL development header files and libraries
312 Summary(de.UTF-8):      PostgreSQL-Entwicklungs-Header-Dateien und Libraries
313 Summary(es.UTF-8):      Archivos de inclusión y bibliotecas PostgreSQL
314 Summary(fr.UTF-8):      En-têtes et bibliothèques de développement PostgreSQL
315 Summary(pl.UTF-8):      PostgreSQL - pliki nagłówkowe i biblioteki
316 Summary(pt_BR.UTF-8):   Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL
317 Summary(ru.UTF-8):      PostgreSQL - хедеры и библиотеки разработчика
318 Summary(tr.UTF-8):      PostgreSQL başlık dosyaları ve kitaplıklar
319 Summary(uk.UTF-8):      PostgreSQL - хедери та бібліотеки програміста
320 Group:          Development/Libraries
321 Requires:       %{name}-libs = %{version}-%{release}
322
323 %description devel
324 This package contains header files and libraries required to compile
325 applications that are talking directly to the PostgreSQL backend
326 server.
327
328 %description devel -l de.UTF-8
329 Dieses Paket enthält die Header-Dateien und Libraries, die zum
330 Kompilieren von Applikationen notwendig sind, die direkt mit dem
331 PostgreSQL-Backend-Server kommunizieren.
332
333 %description devel -l es.UTF-8
334 Este paquete contiene archivos de inclusión y bibliotecas requeridas
335 para compilación de aplicativos que se comunican directamente con el
336 servidor backend PostgreSQL.
337
338 %description devel -l fr.UTF-8
339 Ce package contient les fichiers d'en-tête et les bibliothéques
340 nécessaires pour compiler des applications ayant des échanges directs
341 avec le serveur du backend PostgreSQL.
342
343 %description devel -l pl.UTF-8
344 Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji
345 aplikacji łączących się bezpośrednio z serwerem PostgreSQL.
346
347 %description devel -l pt_BR.UTF-8
348 Este pacote contém arquivos de inclusão e bibliotecas requeridas para
349 compilação de aplicativos que se comunicam diretamente com o servidor
350 backend PostgreSQL.
351
352 %description devel -l ru.UTF-8
353 Этот пакет содержит хедеры и библиотеки, необходимые для сборки
354 приложений, непосредственно взаимодействующих с сервером PostgreSQL.
355
356 %description devel -l tr.UTF-8
357 Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için
358 gereken başlık dosyalarını ve kitaplıkları içerir.
359
360 %description devel -l uk.UTF-8
361 Цей пакет містить хедери та бібліотеки, необхідні для розробки
362 програм, які безпосередньо взаємодіють з сервером PostgreSQL.
363
364 %package backend-devel
365 Summary:        PostgreSQL backend development header files
366 Summary(pl.UTF-8):      PostgreSQL - pliki nagłówkowe dla backendu
367 Group:          Development/Libraries
368 Requires:       %{name}-devel = %{version}-%{release}
369 Requires:       %{name}-libs = %{version}-%{release}
370
371 %description backend-devel
372 This package contains header files required to compile functions that
373 could be loaded directly by backend
374
375 %description backend-devel -l pl.UTF-8
376 Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc
377 bezposrednio ladowane przez beckend serwera PostgreSQL.
378
379 %package clients
380 Summary:        Clients needed to access a PostgreSQL server
381 Summary(es.UTF-8):      Clientes necesarios para acceder al servidor PostgreSQL
382 Summary(pl.UTF-8):      Klienci wymagani do dostępu do serwera PostgreSQL
383 Summary(pt_BR.UTF-8):   Clientes necessários para acessar o servidor PostgreSQL
384 Summary(ru.UTF-8):      Клиентские программы, необходимые для доступа к серверу PostgreSQL
385 Summary(uk.UTF-8):      Клієнтські програми, необхідні для доступу до сервера PostgreSQL
386 Group:          Applications/Databases
387 Requires:       %{name}-libs = %{version}-%{release}
388
389 %description clients
390 This package includes only the clients needed to access an PostgreSQL
391 server. The server is included in the main package. If all you need is
392 to connect to another PostgreSQL server, the this is the only package
393 you need to install. Clients include several command-line utilities
394 you can use to manage your databases on a remote PostgreSQL server.
395
396 %description clients -l es.UTF-8
397 Este paquete incluye solamente los clientes necesarios para acceder un
398 servidor PostgreSQL. El servidor está en el paquete principal.
399
400 %description clients -l pl.UTF-8
401 Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera
402 PostgreSQL oraz narzędzia do zarządzania bazami działające z linii
403 poleceń. Serwer znajduje się w głównym pakiecie.
404
405 %description clients -l pt_BR.UTF-8
406 Este pacote inclui somente os clientes necessários para acessar um
407 servidor PostgreSQL. O servidor está no pacote principal.
408
409 %description clients -l ru.UTF-8
410 Этот пакет включает только клиентские программы и библиотеки,
411 необходимые для доступа к серверу PostgreSQL. Сервер входит в главный
412 пакет. Если вам надо только работать с другим сервером PostgreSQL, это
413 единственный пакет, который вам надо установить.
414
415 Теперь пакеты с библиотеками для разных языков программирования (C,
416 C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для
417 языка C.
418
419 %description clients -l uk.UTF-8
420 Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні
421 для доступу до сервера PostgreSQL. Сервер міститься в головному
422 пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це
423 єдиний пакет, який вам треба встановити.
424
425 Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl
426 і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C.
427
428 %package doc
429 Summary:        Documentation for PostgreSQL
430 Summary(pl.UTF-8):      Dodatkowa dokumantacja dla PostgreSQL
431 Group:          Applications/Databases
432
433 %description doc
434 This package includes documentation and HOWTO for programmer, admin
435 etc., in HTML format.
436
437 %description doc -l pl.UTF-8
438 Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów,
439 administratorów w formacie HTML.
440
441 %package libs
442 Summary:        PostgreSQL libraries
443 Summary(es.UTF-8):      Biblioteca compartida del PostgreSQL
444 Summary(pl.UTF-8):      Biblioteki dzielone programu PostgreSQL
445 Summary(pt_BR.UTF-8):   Biblioteca compartilhada do PostgreSQL
446 Summary(zh_CN.UTF-8):   PostgreSQL 客户所需要的共享库
447 Group:          Libraries
448
449 %description libs
450 PostgreSQL shared libraries.
451
452 %description libs -l es.UTF-8
453 Este paquete contiene la biblioteca compartida para acceso al
454 PostgreSQL.
455
456 %description libs -l pl.UTF-8
457 Biblioteki dzielone programu PostgreSQL.
458
459 %description libs -l pt_BR.UTF-8
460 Este pacote contém a biblioteca compartilhada para acesso ao
461 PostgreSQL.
462
463 %package ecpg
464 Summary:        Embedded SQL in C interface
465 Summary(pl.UTF-8):      Interfejs wbudowanego SQL-a w język C
466 Group:          Libraries
467 Requires:       %{name}-libs = %{version}-%{release}
468
469 %description ecpg
470 Embedded SQL in C interface.
471
472 %description ecpg -l pl.UTF-8
473 Interfejs wbudowanego SQL-a w język C.
474
475 %package ecpg-devel
476 Summary:        Embedded SQL in C interface files
477 Summary(pl.UTF-8):      Pliki programistyczne interfejsu wbudowanego SQL-a w język C
478 Group:          Development/Libraries
479 Requires:       %{name}-devel = %{version}-%{release}
480 Requires:       %{name}-ecpg = %{version}-%{release}
481
482 %description ecpg-devel
483 Embedded SQL in C interface files.
484
485 %description ecpg-devel -l pl.UTF-8
486 Pliki programistyczne interfejsu wbudowanego SQL-a w język C.
487
488 %package static
489 Summary:        PostgreSQL static libraries
490 Summary(es.UTF-8):      Bibliotecas estaticas PostgreSQL
491 Summary(pl.UTF-8):      Biblioteki statyczne programu PostgreSQL
492 Summary(pt_BR.UTF-8):   Bibliotecas estáticas PostgreSQL
493 Summary(ru.UTF-8):      Статические библиотеки для программирования с PostgreSQL
494 Summary(uk.UTF-8):      Статичні бібліотеки для програмування з PostgreSQL
495 Group:          Development/Libraries
496 Requires:       %{name}-devel = %{version}-%{release}
497
498 %description static
499 PostgreSQL static libraries.
500
501 %description static -l es.UTF-8
502 Este paquete contiene bibliotecas estaticas requerida para compilación
503 de aplicativos que se comunican directamente con el servidor backend
504 PostgreSQL.
505
506 %description static -l pl.UTF-8
507 Biblioteki statyczne programu PostgreSQL.
508
509 %description static -l pt_BR.UTF-8
510 Este pacote contém as bibliotecas estáticas requeridas para compilação
511 de aplicativos que se comunicam diretamente com o servidor backend
512 PostgreSQL.
513
514 %description static -l ru.UTF-8
515 Это отдельный пакет со статическими библиотеками, которые больше не
516 входят в %{name}-devel.
517
518 %description static -l uk.UTF-8
519 Це окремий пакет зі статичними бібліотеками, які більш не входять в
520 %{name}-devel.
521
522 %package module-plpgsql
523 Summary:        PL/pgSQL - PostgreSQL procedural language
524 Summary(pl.UTF-8):      PL/pgSQL - język proceduralny bazy danych PostgreSQL
525 Group:          Applications/Databases
526 Requires:       %{name} = %{version}-%{release}
527
528 %description module-plpgsql
529 From PostgreSQL documentation:
530
531 Postgres supports the definition of procedural languages. In the case
532 of a function or trigger procedure defined in a procedural language,
533 the database has no built-in knowledge about how to interpret the
534 function's source text. Instead, the task is passed to a handler that
535 knows the details of the language. The handler itself is a special
536 programming language function compiled into a shared object and loaded
537 on demand.
538
539 To enable PL/pgSQL procedural language for your database you have to
540 run createlang command.
541
542 %description module-plpgsql -l pl.UTF-8
543 Z dokumentacji PostgreSQL:
544
545 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
546 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
547 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
548 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
549 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
550 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
551 potrzeby.
552
553 Za pomocą polecenia createlang można dodać obsługę języka
554 proceduralnego PL/pgSQL dla swojej bazy danych.
555
556 %package module-plperl
557 Summary:        PL/perl - PostgreSQL procedural language
558 Summary(pl.UTF-8):      PL/perl - język proceduralny bazy danych PostgreSQL
559 Group:          Applications/Databases
560 Requires:       %{name} = %{version}-%{release}
561 Requires:       perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
562
563 %description module-plperl
564 From PostgreSQL documentation:
565
566 Postgres supports the definition of procedural languages. In the case
567 of a function or trigger procedure defined in a procedural language,
568 the database has no built-in knowledge about how to interpret the
569 function's source text. Instead, the task is passed to a handler that
570 knows the details of the language. The handler itself is a special
571 programming language function compiled into a shared object and loaded
572 on demand.
573
574 To enable PL/Perl procedural language for your database you have to
575 run createlang command.
576
577 %description module-plperl -l pl.UTF-8
578 Z dokumentacji PostgreSQL:
579
580 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
581 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
582 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
583 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
584 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
585 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
586 potrzeby.
587
588 Za pomocą polecenia createlang można dodać obsługę języka
589 proceduralnego PL/Perl dla swojej bazy danych.
590
591 %package module-plpython
592 Summary:        PL/Python - PostgreSQL procedural language
593 Summary(pl.UTF-8):      PL/Python - język proceduralny bazy danych PostgreSQL
594 Group:          Applications/Databases
595 Requires:       %{name} = %{version}-%{release}
596 %pyrequires_eq  python
597
598 %description module-plpython
599 From PostgreSQL documentation:
600
601 Postgres supports the definition of procedural languages. In the case
602 of a function or trigger procedure defined in a procedural language,
603 the database has no built-in knowledge about how to interpret the
604 function's source text. Instead, the task is passed to a handler that
605 knows the details of the language. The handler itself is a special
606 programming language function compiled into a shared object and loaded
607 on demand.
608
609 To enable PL/Python procedural language for your database you have to
610 run createlang command.
611
612 %description module-plpython -l pl.UTF-8
613 Z dokumentacji PostgreSQL:
614
615 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
616 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
617 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
618 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
619 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
620 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
621 potrzeby.
622
623 Za pomocą polecenia createlang można dodać obsługę języka
624 proceduralnego PL/Python dla swojej bazy danych.
625
626 %package module-pltcl
627 Summary:        PL/Tcl - PostgreSQL procedural language
628 Summary(pl.UTF-8):      PL/Tcl - język proceduralny bazy danych PostgreSQL
629 Group:          Applications/Databases
630 Requires:       %{name} = %{version}-%{release}
631 Requires:       tcl(Pgtcl)
632
633 %description module-pltcl
634 From PostgreSQL documentation:
635
636 Postgres supports the definition of procedural languages. In the case
637 of a function or trigger procedure defined in a procedural language,
638 the database has no built-in knowledge about how to interpret the
639 function's source text. Instead, the task is passed to a handler that
640 knows the details of the language. The handler itself is a special
641 programming language function compiled into a shared object and loaded
642 on demand.
643
644 To enable PL/Tcl procedural language for your database you have to run
645 createlang command.
646
647 %description module-pltcl -l pl.UTF-8
648 Z dokumentacji PostgreSQL:
649
650 Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy
651 programista zdefiniuje procedurę wyzwalacza lub funkcję w języku
652 proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu
653 funkcję. Funkcja lub procedura ta jest przekazywana do interpretera,
654 który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną
655 funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie
656 potrzeby.
657
658 Za pomocą polecenia createlang można dodać obsługę języka
659 proceduralnego PL/Tcl dla swojej bazy danych.
660
661 %package module-dblink
662 Summary:        dblink module for PostgreSQL
663 Summary(pl.UTF-8):      Moduł dblink dla PostgreSQL-a
664 Group:          Applications/Databases
665 Requires:       %{name} = %{version}-%{release}
666
667 %description module-dblink
668 dblink module for PostgreSQL provides functions returning results from
669 remote database.
670
671 %description module-dblink -l pl.UTF-8
672 Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze
673 zdalnej bazy danych.
674
675 %package module-lo
676 Summary:        Large Objects module for PostgreSQL
677 Summary(pl.UTF-8):      Moduł Large Objects dla PostgreSQL-a
678 Group:          Applications/Databases
679 Requires:       %{name} = %{version}-%{release}
680
681 %description module-lo
682 Large Objects module for PostgreSQL adds a new data type 'lo', some
683 support functions and a trigger which handles the orphaning problem.
684
685 %description module-lo -l pl.UTF-8
686 Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo',
687 kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem
688 osieroconych obiektów.
689
690 %package module-pgcrypto
691 Summary:        Cryptographic functions for PostgreSQL
692 Summary(pl.UTF-8):      Funkcje kryptograficzne dla PostgreSQL-a
693 Group:          Applications/Databases
694 Requires:       %{name} = %{version}-%{release}
695
696 %description module-pgcrypto
697 Cryptographic functions for PostgreSQL.
698
699 %description module-pgcrypto -l pl.UTF-8
700 Funkcje kryptograficzne dla PostgreSQL.
701
702 %package module-tablefunc
703 Summary:        crosstab functions for PostgreSQL
704 Summary(pl.UTF-8):      Funkcje crosstab dla PostgreSQL-a
705 Group:          Applications/Databases
706 Requires:       %{name} = %{version}-%{release}
707
708 %description module-tablefunc
709 crosstab functions for PostgreSQL.
710
711 %description module-tablefunc -l pl.UTF-8
712 Funkcje crosstab dla PostgreSQL-a.
713
714 %package module-pg_trgm
715 Summary:        Trigram matching for PostgreSQL
716 Summary(pl.UTF-8):      Dopasowanie trigramowe dla PostgreSQL-a
717 Group:          Applications/Databases
718 Requires:       %{name} = %{version}-%{release}
719
720 %description module-pg_trgm
721 This module provides functions and index classes for determining the
722 similarity of text based on trigram matching.
723
724 %description module-pg_trgm -l pl.UTF-8
725 Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów
726 w oparciu o dopasowywanie trigramowe (trigram matching).
727
728 %package module-xml2
729 Summary:        XML-handling functions for PostgreSQL
730 Summary(pl.UTF-8):      Funkcje do obsługi XML-a dla PostgreSQL-a
731 Group:          Applications/Databases
732 Requires:       %{name} = %{version}-%{release}
733
734 %description module-xml2
735 Module with XML functions provides both XPath querying and XSLT
736 functionality. There is also a new table function which allows the
737 straightforward return of multiple XML results.
738
739 %description module-xml2 -l pl.UTF-8
740 Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz
741 funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na
742 bezpośrednie zwracanie wielu wyników XML.
743
744 %package contrib
745 Summary:        Miscellaneous PostgreSQL contrib modules
746 Summary(pl.UTF-8):      Różne moduły dołączone do PostgreSQL-a
747 Group:          Applications/Databases
748 Requires:       %{name} = %{version}-%{release}
749
750 %description contrib
751 Miscellaneous PostgreSQL contrib modules.
752
753 %description contrib -l pl.UTF-8
754 Różne moduły dołączone do PostgreSQL-a.
755
756 %prep
757 %setup -q
758 %patch0 -p1
759 %{?with_absolute_dbpaths:%patch1 -p1}
760 %patch2 -p1
761 %patch3 -p1
762 %patch4 -p1
763 %patch5 -p1
764
765 tar xzf doc/man*.tar.gz
766
767 mkdir doc/unpacked
768 tar zxf doc/postgres.tar.gz -C doc/unpacked
769
770 # force rebuild of bison/flex files
771 find src -name \*.l -o -name \*.y | xargs touch
772
773 # Erase all CVS dirs
774 #find contrib -type d -name CVS -exec rm -rf {} \;
775
776 %build
777 %{__aclocal} -I config
778 %{__autoconf}
779 %configure \
780         CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \
781         --disable-rpath \
782         --enable-depend \
783         --enable-integer-datetimes \
784         --with-system-tzdata=%{_datadir}/zoneinfo \
785         --enable-nls \
786         --enable-thread-safety \
787         %{?with_kerberos5:--with-krb5} \
788         %{?with_ldap:--with-ldap} \
789         --with-openssl \
790         --with-pam \
791         --with-libxml \
792         --with-libxslt \
793         %{?with_perl:--with-perl} \
794         %{?with_python:--with-python} \
795         %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \
796         --without-docdir
797
798 %{__make}
799
800 for mod in %{contrib_modules}; do \
801         flags="%{rpmcflags} -DNEED_REENTRANT_FUNCS"
802         if [ $mod = xml2 ]; then flags="$flags -I/usr/include/libxml2"; fi
803         %{__make} -C contrib/$mod CFLAGS="$flags"
804 done
805
806 %{__make} -C src/tutorial \
807         NO_PGXS=1
808
809 %ifnarch sparc sparcv9 sparc64 alpha
810 %{?with_tests:%{__make} check}
811 %endif
812
813 %install
814 rm -rf $RPM_BUILD_ROOT
815 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
816         $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
817         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
818         $RPM_BUILD_ROOT%{_mandir} \
819         $RPM_BUILD_ROOT/home/services/postgres
820
821 install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
822
823 %{__make} install \
824         DESTDIR=$RPM_BUILD_ROOT
825
826 %if %{with perl}
827 %{__make} install -C src/pl/plperl \
828         DESTDIR=$RPM_BUILD_ROOT
829 %endif
830
831 for mod in %{contrib_modules}; do \
832         %{__make} -C contrib/$mod install \
833                 DESTDIR=$RPM_BUILD_ROOT
834 done
835
836 touch $RPM_BUILD_ROOT/var/log/pgsql
837
838 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
839 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
840
841 install -d howto
842 tar zxf %{SOURCE2} -C howto
843
844 %if %{with python}
845 %py_comp $RPM_BUILD_ROOT%{py_libdir}
846 %py_ocomp $RPM_BUILD_ROOT%{py_libdir}
847 %endif
848
849 # find locales
850 for f in libpq5 pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config plpgsql ecpg ecpglib6 plperl plpgsql plpython pltcl; do
851         %find_lang $f-8.4
852 done
853 # merge locales
854 cat pgscripts-8.4.lang pg_resetxlog-8.4.lang \
855     postgres-8.4.lang pg_controldata-8.4.lang \
856     > main-8.4.lang
857 cat pg_dump-8.4.lang psql-8.4.lang initdb-8.4.lang \
858     pg_ctl-8.4.lang > clients-8.4.lang
859 cat ecpg-8.4.lang ecpglib6-8.4.lang > ecpg.lang
860
861 # Remove Contrib documentation. We use macro %doc
862 rm -rf $RPM_BUILD_ROOT/contrib
863
864 %{?with_tcl:mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl}
865
866 install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/
867
868 %clean
869 rm -rf $RPM_BUILD_ROOT
870
871 %pretrans
872 PG_DB_CLUSTERS=""
873 if [ -f /etc/sysconfig/postgresql ]; then
874         . /etc/sysconfig/postgresql
875         if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then
876                 PG_DB_CLUSTERS="$POSTGRES_DATA_DIR"
877         fi
878 fi
879 foundold=0
880 for pgdir in $PG_DB_CLUSTERS; do
881         if [ -f $pgdir/PG_VERSION ]; then
882                 if [ $(cat $pgdir/PG_VERSION) != '8.4' ]; then
883                         echo "Found database(s) in older, incompatible format in cluster $pgdir."
884                         foundold=1
885                 fi
886         fi
887 done
888 if [ "$foundold" = "1" ]; then
889         echo
890         echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)"
891         echo "and clean (or rename) those directories; then upgrade postgresql and"
892         echo "restore all data (using pg_restore or psql)."
893         echo "Remember to stop the daemon before upgrading!"
894         echo
895         echo "Warning for upgrade from version *before* 7.2."
896         echo "Please note, that postgresql module path changed from"
897         echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path"
898         echo "in dump file before restore."
899         echo
900         echo "Warning for upgrade from version *before* 7.3."
901         echo "Reading following webpage is encouraged:"
902         echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3"
903         exit 1
904 fi
905
906 %pre
907 %groupadd -g 88 -r postgres
908 %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres
909
910 %triggerpostun -- %{name} < 7.2-2
911 if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then
912         /usr/sbin/usermod -d /home/services/postgres postgres
913 fi
914
915 %post
916 /sbin/chkconfig --add postgresql
917 %service postgresql restart "postgresql server"
918
919 %preun
920 if [ "$1" = "0" ]; then
921         %service postgresql stop
922         /sbin/chkconfig --del postgresql
923 fi
924
925 %post   libs -p /sbin/ldconfig
926 %postun libs -p /sbin/ldconfig
927
928 %post   ecpg -p /sbin/ldconfig
929 %postun ecpg -p /sbin/ldconfig
930
931 %files -f main-8.4.lang
932 %defattr(644,root,root,755)
933 %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template}
934 %attr(754,root,root) /etc/rc.d/init.d/postgresql
935 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql
936
937 %attr(755,root,root) %{_bindir}/initdb
938 #%attr(755,root,root) %{_bindir}/ipcclean
939 %attr(755,root,root) %{_bindir}/pg_controldata
940 %attr(755,root,root) %{_bindir}/pg_ctl
941 %attr(755,root,root) %{_bindir}/pg_resetxlog
942 %attr(755,root,root) %{_bindir}/postgres
943 %attr(755,root,root) %{_bindir}/postmaster
944
945 %attr(755,root,root) %{_pgmoduledir}/ascii*
946 %attr(755,root,root) %{_pgmoduledir}/cyrillic*
947 %attr(755,root,root) %{_pgmoduledir}/euc*
948 %attr(755,root,root) %{_pgmoduledir}/latin*
949 %attr(755,root,root) %{_pgmoduledir}/utf*
950 %attr(755,root,root) %{_pgmoduledir}/dict_*
951
952 %dir %{_pgsqldir}
953 %dir %{_datadir}/postgresql
954 %{_datadir}/postgresql/*.bki
955 %{_datadir}/postgresql/*.sample
956 %{_datadir}/postgresql/*.description
957 %{_datadir}/postgresql/*.shdescription
958 %{_datadir}/postgresql/*.sql
959 %{_datadir}/postgresql/*.txt
960 %{_datadir}/postgresql/timezonesets
961 %{_datadir}/postgresql/tsearch_data
962
963 %attr(700,postgres,postgres) /home/services/postgres
964 %attr(700,postgres,postgres) %dir /var/lib/pgsql
965 %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql
966
967 %{_mandir}/man1/initdb.1*
968 #%{_mandir}/man1/ipcclean.1*
969 %{_mandir}/man1/pg_controldata.1*
970 %{_mandir}/man1/pg_ctl.1*
971 %{_mandir}/man1/pg_resetxlog.1*
972 %{_mandir}/man1/postgres.1*
973 %{_mandir}/man1/postmaster.1*
974
975 %files doc
976 %defattr(644,root,root,755)
977 %doc doc/unpacked/* doc/src/FAQ howto
978 %{_examplesdir}/%{name}-%{version}
979
980 %files libs -f libpq5-8.4.lang
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_libdir}/libpq.so.*.*
983 %attr(755,root,root) %ghost %{_libdir}/libpq.so.5
984 %dir %{_pgmoduledir}
985
986 %files ecpg -f ecpg.lang
987 %defattr(644,root,root,755)
988 %attr(755,root,root) %{_bindir}/ecpg
989 %attr(755,root,root) %{_libdir}/libecpg.so.*.*
990 %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6
991 %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.*
992 %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3
993 %attr(755,root,root) %{_libdir}/libpgtypes.so.*.*
994 %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3
995 %{_mandir}/man1/ecpg.1*
996
997 %files ecpg-devel
998 %defattr(644,root,root,755)
999 %attr(755,root,root) %{_libdir}/libecpg.so
1000 %attr(755,root,root) %{_libdir}/libecpg_compat.so
1001 %attr(755,root,root) %{_libdir}/libpgtypes.so
1002 %{_includedir}/ecpg*
1003
1004 %files devel -f pg_config-8.4.lang
1005 %defattr(644,root,root,755)
1006 %attr(755,root,root) %{_bindir}/pg_config
1007 %attr(755,root,root) %{_libdir}/libpq.so
1008 %dir %{_includedir}/postgresql
1009 %{_includedir}/libpq-events.h
1010 %{_includedir}/libpq-fe.h
1011 %{_includedir}/pg_config.h
1012 %{_includedir}/pg_config_manual.h
1013 %{_includedir}/pg_config_os.h
1014 %{_includedir}/postgres_ext.h
1015 %dir %{_includedir}/postgresql/internal
1016 %{_includedir}/postgresql/internal/c.h
1017 %{_includedir}/postgresql/internal/libpq-int.h
1018 %{_includedir}/postgresql/internal/port.h
1019 %{_includedir}/postgresql/internal/postgres_fe.h
1020 %{_includedir}/postgresql/internal/pqexpbuffer.h
1021 %{_includedir}/postgresql/internal/libpq
1022 %{_includedir}/libpq
1023 %{_mandir}/man1/pg_config.1*
1024
1025 %files backend-devel
1026 %defattr(644,root,root,755)
1027 %{_includedir}/postgresql/server
1028 %dir %{_pgmoduledir}/pgxs
1029 %attr(755,root,root) %{_pgmoduledir}/pgxs/config
1030 %{_pgmoduledir}/pgxs/src
1031
1032 %files static
1033 %defattr(644,root,root,755)
1034 %{_libdir}/libecpg.a
1035 %{_libdir}/libecpg_compat.a
1036 %{_libdir}/libpq.a
1037 %{_libdir}/libpgtypes.a
1038 %{_libdir}/libpgport.a
1039
1040 %files clients -f clients-8.4.lang
1041 %defattr(644,root,root,755)
1042 %attr(755,root,root) %{_bindir}/clusterdb
1043 %attr(755,root,root) %{_bindir}/createdb
1044 %attr(755,root,root) %{_bindir}/createlang
1045 %attr(755,root,root) %{_bindir}/createuser
1046 %attr(755,root,root) %{_bindir}/dropdb
1047 %attr(755,root,root) %{_bindir}/droplang
1048 %attr(755,root,root) %{_bindir}/dropuser
1049 %attr(755,root,root) %{_bindir}/pg_dump
1050 %attr(755,root,root) %{_bindir}/pg_dumpall
1051 %attr(755,root,root) %{_bindir}/pg_restore
1052 %attr(755,root,root) %{_bindir}/psql
1053 %attr(755,root,root) %{_bindir}/reindexdb
1054 %attr(755,root,root) %{_bindir}/vacuumdb
1055
1056 %{_mandir}/man1/clusterdb.1*
1057 %{_mandir}/man1/createdb.1*
1058 %{_mandir}/man1/createlang.1*
1059 %{_mandir}/man1/createuser.1*
1060 %{_mandir}/man1/dropdb.1*
1061 %{_mandir}/man1/droplang.1*
1062 %{_mandir}/man1/dropuser.1*
1063 %{_mandir}/man1/pg_dump.1*
1064 %{_mandir}/man1/pg_dumpall.1*
1065 %{_mandir}/man1/pg_restore.1*
1066 %{_mandir}/man1/psql.1*
1067 %{_mandir}/man1/reindexdb.1*
1068 %{_mandir}/man1/vacuumdb.1*
1069 %{_mandir}/man7/*.7*
1070
1071 %files module-plpgsql -f plpgsql-8.4.lang
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_pgmoduledir}/plpgsql.so
1074
1075 %if %{with perl}
1076 %files module-plperl -f plperl-8.4.lang
1077 %defattr(644,root,root,755)
1078 %attr(755,root,root) %{_pgmoduledir}/plperl.so
1079 %endif
1080
1081 %if %{with python}
1082 %files module-plpython -f plpython-8.4.lang
1083 %defattr(644,root,root,755)
1084 %attr(755,root,root) %{_pgmoduledir}/plpython.so
1085 %endif
1086
1087 %if %{with tcl}
1088 %files module-pltcl -f pltcl-8.4.lang
1089 %defattr(644,root,root,755)
1090 %attr(755,root,root) %{_bindir}/pltcl_*
1091 %attr(755,root,root) %{_pgmoduledir}/pltcl.so
1092 %{_pgsqldir}/unknown.pltcl
1093 %endif
1094
1095 %files module-dblink
1096 %defattr(644,root,root,755)
1097 %attr(755,root,root) %{_pgmoduledir}/dblink.so
1098 %{_pgsqldir}/*dblink.sql
1099
1100 %files module-lo
1101 %defattr(644,root,root,755)
1102 %attr(755,root,root) %{_pgmoduledir}/lo.so
1103 %{_pgsqldir}/*lo.sql
1104
1105 %files module-pgcrypto
1106 %defattr(644,root,root,755)
1107 %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so
1108 %{_pgsqldir}/*pgcrypto.sql
1109
1110 %files module-tablefunc
1111 %defattr(644,root,root,755)
1112 %attr(755,root,root) %{_pgmoduledir}/tablefunc.so
1113 %{_pgsqldir}/*tablefunc.sql
1114
1115 %files module-pg_trgm
1116 %defattr(644,root,root,755)
1117 %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so
1118 %{_pgsqldir}/*pg_trgm.sql
1119
1120 %files module-xml2
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{_pgmoduledir}/pgxml.so
1123 %{_pgsqldir}/*pgxml.sql
1124
1125 %files contrib
1126 %defattr(644,root,root,755)
1127 %doc contrib/README
1128 %attr(755,root,root) %{_bindir}/oid2name
1129 %attr(755,root,root) %{_bindir}/pgbench
1130 %attr(755,root,root) %{_bindir}/vacuumlo
1131 %attr(755,root,root) %{_pgmoduledir}/_int.so
1132 %attr(755,root,root) %{_pgmoduledir}/adminpack.so
1133 %attr(755,root,root) %{_pgmoduledir}/btree_gist.so
1134 %attr(755,root,root) %{_pgmoduledir}/chkpass.so
1135 %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so
1136 %attr(755,root,root) %{_pgmoduledir}/hstore.so
1137 #%attr(755,root,root) %{_pgmoduledir}/int_aggregate.so
1138 %attr(755,root,root) %{_pgmoduledir}/isn.so
1139 %attr(755,root,root) %{_pgmoduledir}/ltree.so
1140 %attr(755,root,root) %{_pgmoduledir}/pageinspect.so
1141 %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so
1142 %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so
1143 %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so
1144 %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so
1145 %attr(755,root,root) %{_pgmoduledir}/sslinfo.so
1146 %{_pgsqldir}/_int.sql
1147 %{_pgsqldir}/adminpack.sql
1148 %{_pgsqldir}/btree_gist.sql
1149 %{_pgsqldir}/chkpass.sql
1150 %{_pgsqldir}/fuzzystrmatch.sql
1151 %{_pgsqldir}/hstore.sql
1152 %{_pgsqldir}/int_aggregate.sql
1153 %{_pgsqldir}/isn.sql
1154 %{_pgsqldir}/ltree.sql
1155 %{_pgsqldir}/pageinspect.sql
1156 %{_pgsqldir}/pg_buffercache.sql
1157 %{_pgsqldir}/pg_freespacemap.sql
1158 %{_pgsqldir}/pgrowlocks.sql
1159 %{_pgsqldir}/pgstattuple.sql
1160 %{_pgsqldir}/sslinfo.sql
1161 %{_pgsqldir}/uninstall__int.sql
1162 %{_pgsqldir}/uninstall_adminpack.sql
1163 %{_pgsqldir}/uninstall_btree_gist.sql
1164 %{_pgsqldir}/uninstall_chkpass.sql
1165 %{_pgsqldir}/uninstall_fuzzystrmatch.sql
1166 %{_pgsqldir}/uninstall_hstore.sql
1167 %{_pgsqldir}/uninstall_int_aggregate.sql
1168 %{_pgsqldir}/uninstall_isn.sql
1169 %{_pgsqldir}/uninstall_ltree.sql
1170 %{_pgsqldir}/uninstall_pageinspect.sql
1171 %{_pgsqldir}/uninstall_pg_buffercache.sql
1172 %{_pgsqldir}/uninstall_pg_freespacemap.sql
1173 %{_pgsqldir}/uninstall_pgrowlocks.sql
1174 %{_pgsqldir}/uninstall_pgstattuple.sql
1175 %{_pgsqldir}/uninstall_sslinfo.sql
This page took 0.101801 seconds and 4 git commands to generate.