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