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