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