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