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