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