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