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