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