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