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