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