]>
Commit | Line | Data |
---|---|---|
5f47c8ad PG |
1 | # TODO: |
2 | # - init scripts for pgclusters lb and replicate | |
a774e725 | 3 | # |
4 | # Conditional build: | |
964e9385 | 5 | %bcond_without kerberos5 # disable kerberos5 support |
dce5630b | 6 | %bcond_without python # disable Python support |
5f47c8ad PG |
7 | %bcond_without perl # disable Perl support |
8 | %bcond_without tcl # disables Tcl support | |
9 | %bcond_without tests # disable testing | |
16404f9a | 10 | %bcond_with absolute_dbpaths # enable absolute paths to create database |
550a1fa5 | 11 | # (disabled by default because it is a security risk) |
5f47c8ad PG |
12 | %bcond_with pgcluster # enable pgcluster support |
13 | # Fails tests because of cluster turned off: | |
14 | %if %{with pgcluster} | |
15 | %undefine with_tests | |
16 | %endif | |
a774e725 | 17 | |
cf06d071 | 18 | # NOTE: merge from POSTGRESQL_8_3 branch when 8.3 arrives |
19 | ||
016f481d | 20 | Summary: PostgreSQL Data Base Management System |
620f9138 ER |
21 | Summary(de.UTF-8): PostgreSQL Datenbankverwaltungssystem |
22 | Summary(es.UTF-8): Gestor de Banco de Datos PostgreSQL | |
23 | Summary(fr.UTF-8): Sysème de gestion de base de données PostgreSQL | |
24 | Summary(pl.UTF-8): PostgreSQL - system bazodanowy | |
25 | Summary(pt_BR.UTF-8): Gerenciador de Banco de Dados PostgreSQL | |
26 | Summary(ru.UTF-8): PostgreSQL - система управления базами данных | |
27 | Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi | |
28 | Summary(uk.UTF-8): PostgreSQL - система керування базами даних | |
29 | Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件 | |
016f481d | 30 | Name: postgresql |
f81e1376 | 31 | Version: 8.2.6 |
5f47c8ad | 32 | %define pgcluster_version 1.7.0rc7 |
f81e1376 | 33 | Release: 1 |
3b12d52f | 34 | License: BSD |
016f481d | 35 | Group: Applications/Databases |
7cf5ccdb | 36 | Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2 |
f81e1376 | 37 | # Source0-md5: 17b9049b4fcad42ee95410833c1db228 |
b752f531 | 38 | Source1: %{name}.init |
9d4c7921 | 39 | Source2: pgsql-Database-HOWTO-html.tar.gz |
b21c6987 | 40 | # Source2-md5: 5b656ddf1db41965761f85204a14398e |
b752f531 | 41 | Source3: %{name}.sysconfig |
dc307bb4 | 42 | Patch0: %{name}-conf.patch |
43 | Patch1: %{name}-absolute_dbpaths.patch | |
dc307bb4 | 44 | Patch3: %{name}-ecpg_link.patch |
45 | Patch4: %{name}-ecpg-includedir.patch | |
83a0f474 | 46 | Patch5: %{name}-pg_ctl-fix.patch |
f81e1376 | 47 | Patch6: %{name}-ac_version.patch |
5f47c8ad PG |
48 | # Sources from: http://ftp.man.poznan.pl/postgresql/projects/pgFoundry/pgcluster/ |
49 | Patch7: %{name}-pgcluster-%{pgcluster_version}.patch | |
016f481d | 50 | URL: http://www.postgresql.org/ |
368587a1 | 51 | BuildRequires: autoconf |
a9e3ed5f | 52 | BuildRequires: automake |
54cd8c94 | 53 | #BuildRequires: bison >= 1.875 not needed for releases |
b41af98e | 54 | BuildRequires: flex |
899ec251 | 55 | BuildRequires: gettext-devel |
25976790 | 56 | %{?with_kerberos5:BuildRequires: krb5-devel} |
b4e9d937 | 57 | BuildRequires: libtool |
0b02f266 | 58 | BuildRequires: libxml2-devel |
59 | BuildRequires: libxslt-devel | |
c32c47f8 | 60 | BuildRequires: ncurses-devel >= 5.0 |
e05bfd03 | 61 | BuildRequires: openssl-devel >= 0.9.7d |
0715e574 | 62 | BuildRequires: pam-devel |
c6b2c886 | 63 | %{?with_perl:BuildRequires: perl-devel} |
6006bd58 KK |
64 | %if %{with python} |
65 | BuildRequires: python >= 1:2.3 | |
66 | BuildRequires: python-devel >= 1:2.3 | |
024f308f | 67 | BuildRequires: python-modules >= 1:2.3 |
6006bd58 | 68 | %endif |
cd61d421 | 69 | BuildRequires: readline-devel >= 4.2 |
3a2e0fdd | 70 | BuildRequires: rpmbuild(macros) >= 1.268 |
16404f9a | 71 | %{?with_tcl:BuildRequires: tcl-devel >= 8.4.3} |
40a8e4da | 72 | BuildRequires: zlib-devel |
3a2e0fdd | 73 | Requires(post,preun): /sbin/chkconfig |
320d02f0 | 74 | Requires(pre): /bin/id |
3a2e0fdd | 75 | Requires(pre): /usr/bin/getgid |
320d02f0 JB |
76 | Requires(pre): /usr/sbin/groupadd |
77 | Requires(pre): /usr/sbin/useradd | |
78 | Requires(pre): /usr/sbin/usermod | |
3a2e0fdd ER |
79 | Requires: %{name}-clients = %{version}-%{release} |
80 | Requires: %{name}-libs = %{version}-%{release} | |
81 | Requires: rc-scripts | |
1e933717 | 82 | Obsoletes: postgresql-server |
38168fb1 | 83 | Obsoletes: postgresql-test |
2bfb68de | 84 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7386fb4a | 85 | |
00287bb7 | 86 | %define _pgmoduledir %{_libdir}/postgresql |
dc307bb4 | 87 | %define _pgsqldir %{_datadir}/postgresql/contrib |
48115857 | 88 | |
2477983b AM |
89 | %define _ulibdir /usr/lib |
90 | ||
b35e841d | 91 | %description |
e59a0118 | 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. | |
b35e841d | 114 | |
115 | The original name of the software at Berkeley was Postgres. When SQL | |
e59a0118 | 116 | functionality was added in 1995, its name was changed to Postgres95. |
117 | The name was changed at the end of 1996 to PostgreSQL. | |
b35e841d | 118 | |
e59a0118 | 119 | PostgreSQL runs on Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD, |
120 | and most flavours of Unix. | |
b35e841d | 121 | |
c76c631a JR |
122 | %description -l de.UTF-8 |
123 | PostgreSQL Datenbank-Managementsystem (früher als Postgres, dann als | |
b35e841d | 124 | Postgres95 bekannt). |
125 | ||
e59a0118 | 126 | PostgreSQL ist eine Verbesserung des POSTGRES-DB-Managementsystems, |
c76c631a JR |
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 | |
e59a0118 | 130 | Subset von SQL. PostgreSQL ist gratis, der gesamte Quellcode ist |
c76c631a | 131 | verfügbar. |
48115857 | 132 | |
c76c631a JR |
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. | |
48115857 | 137 | |
e59a0118 | 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. | |
b35e841d | 144 | |
c76c631a JR |
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. | |
b35e841d | 148 | |
c76c631a | 149 | PostgreSQL läuft auf Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD |
e59a0118 | 150 | und den meisten Unix-Systemen. |
b35e841d | 151 | |
c76c631a | 152 | %description -l es.UTF-8 |
55747262 | 153 | Administrador de Banco de Datos PostgreSQL (conocido anteriormente |
c76c631a JR |
154 | como Postgres, y después como Postgres95). PostgreSQL es una |
155 | continuación mejorada del Sistema Administrador de Banco de Datos | |
55747262 | 156 | POSTGRES, que era un prototipo de pesquisa para un SGBD de nueva |
c76c631a | 157 | generación. Mientras PostgreSQL mantiene el potente modelo de datos y |
55747262 | 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 | ||
c76c631a JR |
166 | %description -l fr.UTF-8 |
167 | Système de gestion de bases de données PostgreSQL (D'abord nommé | |
e59a0118 | 168 | Postgres, puis Postgres95). |
169 | ||
c76c631a JR |
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 | |
e59a0118 | 174 | Postgres par un sous ensemble etendu de commandes SQL. PosrgreSQL est |
175 | libre, et ses sources sont disponibles. | |
176 | ||
c76c631a JR |
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. | |
e59a0118 | 182 | |
c76c631a JR |
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 | |
e59a0118 | 187 | moins haut niveau, et de programmeurs travaillant sous la direction du |
c76c631a | 188 | professeur Michael Stonebraker à l'université de Berkeley Californie. |
e59a0118 | 189 | |
c76c631a JR |
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. | |
e59a0118 | 193 | |
194 | PostgreSQL tourne sur Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD, | |
195 | et la plupart des Unix. | |
b35e841d | 196 | |
c76c631a JR |
197 | %description -l pl.UTF-8 |
198 | System Zarządzania Bazą Danych PostgreSQL (dawniej znany jako | |
199 | Postgres, następnie jako Postgres95). | |
3afbcd28 | 200 | |
c76c631a JR |
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. | |
1f130e30 | 207 | |
c76c631a JR |
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. | |
1f130e30 | 212 | |
213 | Autorami PostgreSQL-a 1.01 byli Andrew Yu oraz Jolly Chen. Wielu | |
c76c631a JR |
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 | |
1f130e30 | 218 | Michaela Stonebrakera z Uniwersytetu Kalifornii w Berkeley. |
219 | ||
c76c631a JR |
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 | |
1f130e30 | 223 | PostgreSQL. |
224 | ||
c76c631a | 225 | PostgreSQL może być uruchomiony pod następującymi systemami: Solaris, |
67280bfd | 226 | SunOS, HPUX, AIX, Linux, Irix, FreeBSD i innymi systemami uniksowymi. |
b35e841d | 227 | |
c76c631a | 228 | %description -l pt_BR.UTF-8 |
55747262 | 229 | Gerenciador de Banco de Dados PostgreSQL (conhecido anteriormente como |
230 | Postgres, e depois como Postgres95). | |
231 | ||
c76c631a JR |
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 | |
55747262 | 236 | linguagem de consulta PostQuel por um subconjunto estendido da SQL. O |
c76c631a | 237 | PostgreSQL é livre e tem os fontes disponíveis. |
55747262 | 238 | |
c76c631a | 239 | O desenvolvimento do PostgreSQL está sendo executado por uma equipe de |
55747262 | 240 | desenvolvedores da Internet, todos subscritores da lista de |
c76c631a JR |
241 | desenvolvimento do PostgreSQL. O coordenador atual é Marc G. Fournier |
242 | (scrappy@postgreSQL.org). Esta equipe é agora responsável pelo | |
55747262 | 243 | desenvolvimento atual e futuro do PostgreSQL. |
244 | ||
c76c631a JR |
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 | |
9f84dc01 | 267 | California, Berkeley. |
268 | ||
c76c631a JR |
269 | Оригинальное название ПО в Berkeley было Postgres. Когда в 1995 году |
270 | была добавлена функциональность SQL, название изменилось на | |
271 | Postgres95. В конце 1996 года оно еще раз изменилось и теперь это | |
9f84dc01 | 272 | PostgreSQL. |
273 | ||
c76c631a JR |
274 | PostgreSQL работает на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD |
275 | и большинстве других разновидностей Unix. | |
9f84dc01 | 276 | |
c76c631a JR |
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 | |
e59a0118 | 281 | sorgulama dilini koyar. |
b35e841d | 282 | |
c76c631a JR |
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 | |
9f84dc01 | 304 | California, Berkeley. |
305 | ||
c76c631a JR |
306 | Оригінальна назва програми в Berkeley була Postgres. Коли в 1995 році |
307 | було додано функціональність SQL, назва змінилася на Postgres95. В | |
308 | кінці 1996 року вона ще раз змінилась і зараз це PostgreSQL. | |
9f84dc01 | 309 | |
c76c631a JR |
310 | PostgreSQL працює на Solaris, SunOS, HPUX, AIX, Linux, Irix, FreeBSD |
311 | та більшості інших різновидів Unix. | |
9f84dc01 | 312 | |
b35e841d | 313 | %package devel |
016f481d | 314 | Summary: PostgreSQL development header files and libraries |
620f9138 ER |
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 - хедери та бібліотеки програміста | |
016f481d | 323 | Group: Development/Libraries |
2bfb68de | 324 | Requires: %{name}-libs = %{version}-%{release} |
b35e841d | 325 | |
326 | %description devel | |
327 | This package contains header files and libraries required to compile | |
e59a0118 | 328 | applications that are talking directly to the PostgreSQL backend |
329 | server. | |
b35e841d | 330 | |
c76c631a JR |
331 | %description devel -l de.UTF-8 |
332 | Dieses Paket enthält die Header-Dateien und Libraries, die zum | |
e59a0118 | 333 | Kompilieren von Applikationen notwendig sind, die direkt mit dem |
b35e841d | 334 | PostgreSQL-Backend-Server kommunizieren. |
335 | ||
c76c631a JR |
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 | |
55747262 | 339 | servidor backend PostgreSQL. |
340 | ||
c76c631a JR |
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 | |
e59a0118 | 344 | avec le serveur du backend PostgreSQL. |
b35e841d | 345 | |
c76c631a JR |
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. | |
b35e841d | 349 | |
c76c631a JR |
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 | |
55747262 | 353 | backend PostgreSQL. |
354 | ||
c76c631a JR |
355 | %description devel -l ru.UTF-8 |
356 | Этот пакет содержит хедеры и библиотеки, необходимые для сборки | |
357 | приложений, непосредственно взаимодействующих с сервером PostgreSQL. | |
9f84dc01 | 358 | |
c76c631a JR |
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. | |
b35e841d | 362 | |
c76c631a JR |
363 | %description devel -l uk.UTF-8 |
364 | Цей пакет містить хедери та бібліотеки, необхідні для розробки | |
365 | програм, які безпосередньо взаємодіють з сервером PostgreSQL. | |
9f84dc01 | 366 | |
cb920eb9 | 367 | %package backend-devel |
368 | Summary: PostgreSQL backend development header files | |
620f9138 | 369 | Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu |
cb920eb9 | 370 | Group: Development/Libraries |
2bfb68de JB |
371 | Requires: %{name}-devel = %{version}-%{release} |
372 | Requires: %{name}-libs = %{version}-%{release} | |
cb920eb9 | 373 | |
374 | %description backend-devel | |
a9e3ed5f JB |
375 | This package contains header files required to compile functions that |
376 | could be loaded directly by backend | |
cb920eb9 | 377 | |
c76c631a JR |
378 | %description backend-devel -l pl.UTF-8 |
379 | Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc | |
a9e3ed5f | 380 | bezposrednio ladowane przez beckend serwera PostgreSQL. |
cb920eb9 | 381 | |
b35e841d | 382 | %package clients |
a57096f6 | 383 | Summary: Clients needed to access a PostgreSQL server |
620f9138 ER |
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 | |
016f481d | 389 | Group: Applications/Databases |
2bfb68de | 390 | Requires: %{name}-libs = %{version}-%{release} |
b35e841d | 391 | |
392 | %description clients | |
aa1db817 | 393 | This package includes only the clients needed to access an PostgreSQL |
1f130e30 | 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. | |
b35e841d | 398 | |
c76c631a | 399 | %description clients -l es.UTF-8 |
55747262 | 400 | Este paquete incluye solamente los clientes necesarios para acceder un |
c76c631a | 401 | servidor PostgreSQL. El servidor está en el paquete principal. |
55747262 | 402 | |
c76c631a JR |
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. | |
b35e841d | 407 | |
c76c631a JR |
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. | |
55747262 | 411 | |
c76c631a JR |
412 | %description clients -l ru.UTF-8 |
413 | Этот пакет включает только клиентские программы и библиотеки, | |
414 | необходимые для доступа к серверу PostgreSQL. Сервер входит в главный | |
415 | пакет. Если вам надо только работать с другим сервером PostgreSQL, это | |
416 | единственный пакет, который вам надо установить. | |
9f84dc01 | 417 | |
c76c631a JR |
418 | Теперь пакеты с библиотеками для разных языков программирования (C, |
419 | C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для | |
420 | языка C. | |
9f84dc01 | 421 | |
c76c631a JR |
422 | %description clients -l uk.UTF-8 |
423 | Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні | |
424 | для доступу до сервера PostgreSQL. Сервер міститься в головному | |
425 | пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це | |
426 | єдиний пакет, який вам треба встановити. | |
9f84dc01 | 427 | |
c76c631a JR |
428 | Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl |
429 | і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C. | |
9f84dc01 | 430 | |
5f47c8ad PG |
431 | %if %{with pgcluster} |
432 | %package lb | |
433 | Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL | |
434 | Group: Applications/Databases | |
435 | Requires: %{name}-libs = %{version}-%{release} | |
436 | Requires: pgcluster = %{pgcluster_version} | |
437 | Provides: pgcluster-lb = %{pgcluster_version} | |
438 | ||
439 | %description lb | |
440 | PGCluster is the synchronous replication system of the multi-master | |
441 | composition for PostgreSQL. | |
442 | ||
443 | PGCluster is the replication system of the query base using | |
444 | PostgreSQL. | |
445 | ||
446 | - Since a replication system is a synchronous replication, delay does | |
447 | not occur with the data duplicate between the Cluster DBs. | |
448 | - Since a server is multi-master composition, two or more the Cluster | |
449 | DBs can receive access from a user simultaneously. | |
450 | ||
451 | PGCluster consists of three kinds of servers, a load balancer, Cluster | |
452 | DB, and a replication server. | |
453 | ||
454 | %package replicate | |
455 | Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL | |
456 | Group: Applications/Databases | |
457 | Requires: %{name}-libs = %{version}-%{release} | |
458 | Requires: pgcluster = %{pgcluster_version} | |
459 | Provides: pgcluster-replicate = %{pgcluster_version} | |
460 | ||
461 | %description replicate | |
462 | PGCluster is the synchronous replication system of the multi-master | |
463 | composition for PostgreSQL. | |
464 | ||
465 | PGCluster is the replication system of the query base using | |
466 | PostgreSQL. | |
467 | ||
468 | - Since a replication system is a synchronous replication, delay does | |
469 | not occur with the data duplicate between the Cluster DBs. | |
470 | - Since a server is multi-master composition, two or more the Cluster | |
471 | DBs can receive access from a user simultaneously. | |
472 | ||
473 | PGCluster consists of three kinds of servers, a load balancer, Cluster | |
474 | DB, and a replication server. | |
475 | ||
476 | %package replicate-tools | |
477 | Summary: PGCluster - synchronous replication system of the multi-master composition for PostgreSQL | |
478 | Group: Applications/Databases | |
479 | Requires: %{name}-libs = %{version}-%{release} | |
480 | Requires: pgcluster = %{pgcluster_version} | |
481 | Provides: pgcluster-replicate = %{pgcluster_version} | |
482 | ||
483 | %description replicate-tools | |
484 | PGCluster is the synchronous replication system of the multi-master | |
485 | composition for PostgreSQL. | |
486 | ||
487 | PGCluster is the replication system of the query base using | |
488 | PostgreSQL. | |
489 | ||
490 | - Since a replication system is a synchronous replication, delay does | |
491 | not occur with the data duplicate between the Cluster DBs. | |
492 | - Since a server is multi-master composition, two or more the Cluster | |
493 | DBs can receive access from a user simultaneously. | |
494 | ||
495 | PGCluster consists of three kinds of servers, a load balancer, Cluster | |
496 | DB, and a replication server. | |
497 | %endif | |
498 | ||
b35e841d | 499 | %package doc |
016f481d | 500 | Summary: Documentation for PostgreSQL |
620f9138 | 501 | Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL |
016f481d | 502 | Group: Applications/Databases |
b35e841d | 503 | |
504 | %description doc | |
e59a0118 | 505 | This package includes documentation and HOWTO for programmer, admin |
506 | etc., in HTML format. | |
b35e841d | 507 | |
c76c631a JR |
508 | %description doc -l pl.UTF-8 |
509 | Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów, | |
510 | administratorów w formacie HTML. | |
b35e841d | 511 | |
9ea08160 | 512 | %package libs |
513 | Summary: PostgreSQL libraries | |
620f9138 ER |
514 | Summary(es.UTF-8): Biblioteca compartida del PostgreSQL |
515 | Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL | |
516 | Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL | |
517 | Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库 | |
9ea08160 | 518 | Group: Libraries |
5f47c8ad | 519 | %{?with_pgcluster:Provides: pgcluster = %{pgcluster_version}} |
9ea08160 | 520 | |
521 | %description libs | |
aa1db817 | 522 | PostgreSQL shared libraries. |
9ea08160 | 523 | |
c76c631a | 524 | %description libs -l es.UTF-8 |
55747262 | 525 | Este paquete contiene la biblioteca compartida para acceso al |
832d7cf9 | 526 | PostgreSQL. |
55747262 | 527 | |
c76c631a | 528 | %description libs -l pl.UTF-8 |
9ea08160 | 529 | Biblioteki dzielone programu PostgreSQL. |
530 | ||
c76c631a JR |
531 | %description libs -l pt_BR.UTF-8 |
532 | Este pacote contém a biblioteca compartilhada para acesso ao | |
832d7cf9 | 533 | PostgreSQL. |
55747262 | 534 | |
6564a583 | 535 | %package ecpg |
536 | Summary: Embedded SQL in C interface | |
620f9138 | 537 | Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C |
6564a583 | 538 | Group: Libraries |
2bfb68de | 539 | Requires: %{name}-libs = %{version}-%{release} |
6564a583 | 540 | |
541 | %description ecpg | |
542 | Embedded SQL in C interface. | |
543 | ||
c76c631a JR |
544 | %description ecpg -l pl.UTF-8 |
545 | Interfejs wbudowanego SQL-a w język C. | |
6564a583 | 546 | |
547 | %package ecpg-devel | |
548 | Summary: Embedded SQL in C interface files | |
620f9138 | 549 | Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C |
6564a583 | 550 | Group: Development/Libraries |
2bfb68de JB |
551 | Requires: %{name}-devel = %{version}-%{release} |
552 | Requires: %{name}-ecpg = %{version}-%{release} | |
6564a583 | 553 | |
554 | %description ecpg-devel | |
555 | Embedded SQL in C interface files. | |
556 | ||
c76c631a JR |
557 | %description ecpg-devel -l pl.UTF-8 |
558 | Pliki programistyczne interfejsu wbudowanego SQL-a w język C. | |
6564a583 | 559 | |
9ea08160 | 560 | %package static |
561 | Summary: PostgreSQL static libraries | |
620f9138 ER |
562 | Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL |
563 | Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL | |
564 | Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL | |
565 | Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL | |
566 | Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL | |
9ea08160 | 567 | Group: Development/Libraries |
2bfb68de | 568 | Requires: %{name}-devel = %{version}-%{release} |
9ea08160 | 569 | |
570 | %description static | |
571 | PostgreSQL static libraries. | |
572 | ||
c76c631a JR |
573 | %description static -l es.UTF-8 |
574 | Este paquete contiene bibliotecas estaticas requerida para compilación | |
55747262 | 575 | de aplicativos que se comunican directamente con el servidor backend |
576 | PostgreSQL. | |
577 | ||
c76c631a | 578 | %description static -l pl.UTF-8 |
9ea08160 | 579 | Biblioteki statyczne programu PostgreSQL. |
580 | ||
c76c631a JR |
581 | %description static -l pt_BR.UTF-8 |
582 | Este pacote contém as bibliotecas estáticas requeridas para compilação | |
55747262 | 583 | de aplicativos que se comunicam diretamente com o servidor backend |
584 | PostgreSQL. | |
585 | ||
c76c631a JR |
586 | %description static -l ru.UTF-8 |
587 | Это отдельный пакет со статическими библиотеками, которые больше не | |
588 | входят в %{name}-devel. | |
9f84dc01 | 589 | |
c76c631a JR |
590 | %description static -l uk.UTF-8 |
591 | Це окремий пакет зі статичними бібліотеками, які більш не входять в | |
9f84dc01 | 592 | %{name}-devel. |
593 | ||
4ddf546b | 594 | %package module-plpgsql |
595 | Summary: PL/pgSQL - PostgreSQL procedural language | |
620f9138 | 596 | Summary(pl.UTF-8): PL/pgSQL - język proceduralny bazy danych PostgreSQL |
4ddf546b | 597 | Group: Applications/Databases |
2bfb68de | 598 | Requires: %{name} = %{version}-%{release} |
4ddf546b | 599 | |
600 | %description module-plpgsql | |
a94ae93a | 601 | From PostgreSQL documentation: |
4ddf546b | 602 | |
368587a1 | 603 | Postgres supports the definition of procedural languages. In the case |
604 | of a function or trigger procedure defined in a procedural language, | |
605 | the database has no built-in knowledge about how to interpret the | |
606 | function's source text. Instead, the task is passed to a handler that | |
607 | knows the details of the language. The handler itself is a special | |
608 | programming language function compiled into a shared object and loaded | |
609 | on demand. | |
4ddf546b | 610 | |
368587a1 | 611 | To enable PL/pgSQL procedural language for your database you have to |
612 | run createlang command. | |
4ddf546b | 613 | |
c76c631a | 614 | %description module-plpgsql -l pl.UTF-8 |
a94ae93a | 615 | Z dokumentacji PostgreSQL: |
4ddf546b | 616 | |
c76c631a JR |
617 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
618 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
619 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
620 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
621 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
622 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
368587a1 | 623 | potrzeby. |
4ddf546b | 624 | |
c76c631a | 625 | Za pomocą polecenia createlang można dodać obsługę języka |
368587a1 | 626 | proceduralnego PL/pgSQL dla swojej bazy danych. |
4ddf546b | 627 | |
00287bb7 | 628 | %package module-plperl |
629 | Summary: PL/perl - PostgreSQL procedural language | |
620f9138 | 630 | Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL |
00287bb7 | 631 | Group: Applications/Databases |
2bfb68de | 632 | Requires: %{name} = %{version}-%{release} |
d330dd10 | 633 | Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') |
00287bb7 | 634 | |
635 | %description module-plperl | |
a94ae93a | 636 | From PostgreSQL documentation: |
00287bb7 | 637 | |
638 | Postgres supports the definition of procedural languages. In the case | |
639 | of a function or trigger procedure defined in a procedural language, | |
640 | the database has no built-in knowledge about how to interpret the | |
641 | function's source text. Instead, the task is passed to a handler that | |
642 | knows the details of the language. The handler itself is a special | |
643 | programming language function compiled into a shared object and loaded | |
644 | on demand. | |
645 | ||
dce5630b | 646 | To enable PL/Perl procedural language for your database you have to |
00287bb7 | 647 | run createlang command. |
648 | ||
c76c631a | 649 | %description module-plperl -l pl.UTF-8 |
a94ae93a | 650 | Z dokumentacji PostgreSQL: |
00287bb7 | 651 | |
c76c631a JR |
652 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
653 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
654 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
655 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
656 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
657 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
00287bb7 | 658 | potrzeby. |
659 | ||
c76c631a | 660 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 661 | proceduralnego PL/Perl dla swojej bazy danych. |
00287bb7 | 662 | |
663 | %package module-plpython | |
dce5630b | 664 | Summary: PL/Python - PostgreSQL procedural language |
620f9138 | 665 | Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL |
00287bb7 | 666 | Group: Applications/Databases |
2bfb68de | 667 | Requires: %{name} = %{version}-%{release} |
6a64b227 | 668 | %pyrequires_eq python |
00287bb7 | 669 | |
670 | %description module-plpython | |
a94ae93a | 671 | From PostgreSQL documentation: |
00287bb7 | 672 | |
673 | Postgres supports the definition of procedural languages. In the case | |
674 | of a function or trigger procedure defined in a procedural language, | |
675 | the database has no built-in knowledge about how to interpret the | |
676 | function's source text. Instead, the task is passed to a handler that | |
677 | knows the details of the language. The handler itself is a special | |
678 | programming language function compiled into a shared object and loaded | |
679 | on demand. | |
680 | ||
dce5630b | 681 | To enable PL/Python procedural language for your database you have to |
00287bb7 | 682 | run createlang command. |
683 | ||
c76c631a | 684 | %description module-plpython -l pl.UTF-8 |
a94ae93a | 685 | Z dokumentacji PostgreSQL: |
00287bb7 | 686 | |
c76c631a JR |
687 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
688 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
689 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
690 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
691 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
692 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
00287bb7 | 693 | potrzeby. |
694 | ||
c76c631a | 695 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 696 | proceduralnego PL/Python dla swojej bazy danych. |
00287bb7 | 697 | |
4ddf546b | 698 | %package module-pltcl |
dce5630b | 699 | Summary: PL/Tcl - PostgreSQL procedural language |
620f9138 | 700 | Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL |
4ddf546b | 701 | Group: Applications/Databases |
2bfb68de | 702 | Requires: %{name} = %{version}-%{release} |
7543e4a8 | 703 | Requires: tcl(Pgtcl) |
4ddf546b | 704 | |
705 | %description module-pltcl | |
a94ae93a | 706 | From PostgreSQL documentation: |
4ddf546b | 707 | |
368587a1 | 708 | Postgres supports the definition of procedural languages. In the case |
709 | of a function or trigger procedure defined in a procedural language, | |
710 | the database has no built-in knowledge about how to interpret the | |
711 | function's source text. Instead, the task is passed to a handler that | |
712 | knows the details of the language. The handler itself is a special | |
713 | programming language function compiled into a shared object and loaded | |
714 | on demand. | |
4ddf546b | 715 | |
dce5630b | 716 | To enable PL/Tcl procedural language for your database you have to run |
4ddf546b | 717 | createlang command. |
718 | ||
c76c631a | 719 | %description module-pltcl -l pl.UTF-8 |
a94ae93a | 720 | Z dokumentacji PostgreSQL: |
4ddf546b | 721 | |
c76c631a JR |
722 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
723 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
724 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
725 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
726 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
727 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
368587a1 | 728 | potrzeby. |
4ddf546b | 729 | |
c76c631a | 730 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 731 | proceduralnego PL/Tcl dla swojej bazy danych. |
4ddf546b | 732 | |
d8edd803 JB |
733 | %package module-dblink |
734 | Summary: dblink module for PostgreSQL | |
620f9138 | 735 | Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a |
d8edd803 JB |
736 | Group: Applications/Databases |
737 | Requires: %{name} = %{version}-%{release} | |
738 | ||
739 | %description module-dblink | |
740 | dblink module for PostgreSQL provides functions returning results from | |
741 | remote database. | |
742 | ||
c76c631a JR |
743 | %description module-dblink -l pl.UTF-8 |
744 | Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze | |
d8edd803 JB |
745 | zdalnej bazy danych. |
746 | ||
8646766c JB |
747 | %package module-lo |
748 | Summary: Large Objects module for PostgreSQL | |
620f9138 | 749 | Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a |
8646766c JB |
750 | Group: Applications/Databases |
751 | Requires: %{name} = %{version}-%{release} | |
752 | ||
753 | %description module-lo | |
754 | Large Objects module for PostgreSQL adds a new data type 'lo', some | |
755 | support functions and a trigger which handles the orphaning problem. | |
756 | ||
c76c631a JR |
757 | %description module-lo -l pl.UTF-8 |
758 | Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo', | |
759 | kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem | |
760 | osieroconych obiektów. | |
8646766c | 761 | |
5b79623d | 762 | %package module-pgcrypto |
ff04b431 | 763 | Summary: Cryptographic functions for PostgreSQL |
620f9138 | 764 | Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a |
ff04b431 | 765 | Group: Applications/Databases |
2bfb68de | 766 | Requires: %{name} = %{version}-%{release} |
ff04b431 | 767 | |
5b79623d | 768 | %description module-pgcrypto |
769 | Cryptographic functions for PostgreSQL. | |
ff04b431 | 770 | |
c76c631a | 771 | %description module-pgcrypto -l pl.UTF-8 |
5b79623d | 772 | Funkcje kryptograficzne dla PostgreSQL. |
ff04b431 | 773 | |
bc5c807d | 774 | %package module-tablefunc |
d8edd803 | 775 | Summary: crosstab functions for PostgreSQL |
620f9138 | 776 | Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a |
bc5c807d PG |
777 | Group: Applications/Databases |
778 | Requires: %{name} = %{version}-%{release} | |
779 | ||
780 | %description module-tablefunc | |
d8edd803 JB |
781 | crosstab functions for PostgreSQL. |
782 | ||
c76c631a | 783 | %description module-tablefunc -l pl.UTF-8 |
d8edd803 | 784 | Funkcje crosstab dla PostgreSQL-a. |
bc5c807d | 785 | |
ae08c8ad | 786 | %package module-tsearch2 |
787 | Summary: Full text extension for PostgreSQL | |
620f9138 | 788 | Summary(pl.UTF-8): Rozszerzenie pełnotekstowe dla PostgreSQL-a |
ae08c8ad | 789 | Group: Applications/Databases |
2bfb68de | 790 | Requires: %{name} = %{version}-%{release} |
ae08c8ad | 791 | |
792 | %description module-tsearch2 | |
550a1fa5 JB |
793 | Implementation of a new data type tsvector - a searchable data type |
794 | with indexed access: | |
795 | http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/ | |
796 | ||
c76c631a JR |
797 | %description module-tsearch2 -l pl.UTF-8 |
798 | Implementacja nowego typu danych tsvector - typu danych podlegającego | |
799 | przeszukiwaniu z dostępem poprzez indeksy: | |
550a1fa5 | 800 | http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/ |
ae08c8ad | 801 | |
b70e6cb6 AM |
802 | %package module-pg_trgm |
803 | Summary: Trigram matching for PostgreSQL | |
620f9138 | 804 | Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a |
b70e6cb6 AM |
805 | Group: Applications/Databases |
806 | Requires: %{name} = %{version}-%{release} | |
807 | ||
808 | %description module-pg_trgm | |
83a0f474 JB |
809 | This module provides functions and index classes for determining the |
810 | similarity of text based on trigram matching. | |
b70e6cb6 | 811 | |
c76c631a JR |
812 | %description module-pg_trgm -l pl.UTF-8 |
813 | Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów | |
83a0f474 | 814 | w oparciu o dopasowywanie trigramowe (trigram matching). |
b70e6cb6 | 815 | |
0b02f266 | 816 | |
817 | %package module-xml2 | |
818 | Summary: XML-handling functions for PostgreSQL | |
620f9138 | 819 | Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a |
0b02f266 | 820 | Group: Applications/Databases |
821 | Requires: %{name} = %{version}-%{release} | |
822 | ||
823 | %description module-xml2 | |
824 | Module with XML functions provides both XPath querying and XSLT | |
825 | functionality. There is also a new table function which allows the | |
826 | straightforward return of multiple XML results. | |
827 | ||
c76c631a JR |
828 | %description module-xml2 -l pl.UTF-8 |
829 | Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz | |
830 | funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na | |
831 | bezpośrednie zwracanie wielu wyników XML. | |
6a83c38f | 832 | |
b35e841d | 833 | %prep |
b7325cb2 | 834 | %setup -q |
a1028a17 | 835 | %patch0 -p1 |
dc307bb4 | 836 | %{?with_absolute_dbpaths:%patch1 -p1} |
0fed4ed9 | 837 | %patch3 -p1 |
dc307bb4 | 838 | %patch4 -p1 |
dbe6dd87 | 839 | %patch5 -p1 |
f81e1376 | 840 | %patch6 -p1 |
5f47c8ad | 841 | %{?with_pgcluster:%patch7 -p1} |
a1028a17 AM |
842 | |
843 | tar xzf doc/man*.tar.gz | |
b35e841d | 844 | |
c80000c0 JR |
845 | mkdir doc/unpacked |
846 | tar zxf doc/postgres.tar.gz -C doc/unpacked | |
847 | ||
99e19e69 | 848 | # Erase all CVS dirs |
dc307bb4 | 849 | #find contrib -type d -name CVS -exec rm -rf {} \; |
48115857 | 850 | |
b35e841d | 851 | %build |
0188dcac | 852 | %{__aclocal} -I config |
8204288a | 853 | %{__autoconf} |
99e19e69 | 854 | %configure \ |
54cd8c94 | 855 | CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS" \ |
12ff1bb8 JB |
856 | --disable-rpath \ |
857 | --enable-depend \ | |
858 | --enable-integer-datetimes \ | |
eaf24b0b | 859 | --enable-nls \ |
12ff1bb8 | 860 | --enable-thread-safety \ |
dc307bb4 | 861 | %{?with_kerberos5:--with-krb5} \ |
40a8e4da | 862 | --with-openssl \ |
12ff1bb8 JB |
863 | --with-pam \ |
864 | %{?with_perl:--with-perl} \ | |
865 | %{?with_python:--with-python} \ | |
2477983b | 866 | %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \ |
3a2e0fdd | 867 | --without-docdir |
b35e841d | 868 | |
40a8e4da | 869 | %{__make} |
d8edd803 | 870 | %{__make} -C contrib/dblink |
8646766c | 871 | %{__make} -C contrib/lo |
ac67838e | 872 | %{__make} -C contrib/pgcrypto |
bc5c807d | 873 | %{__make} -C contrib/tablefunc |
ae08c8ad | 874 | %{__make} -C contrib/tsearch2 |
b70e6cb6 | 875 | %{__make} -C contrib/pg_trgm |
0b02f266 | 876 | %{__make} -C contrib/xml2 |
12ff1bb8 JB |
877 | %{__make} -C src/tutorial \ |
878 | NO_PGXS=1 | |
b4287983 | 879 | |
f863bf87 | 880 | %ifnarch sparc sparcv9 sparc64 alpha |
ac67838e | 881 | %{?with_tests:%{__make} check} |
00287bb7 | 882 | %endif |
b35e841d | 883 | |
884 | %install | |
885 | rm -rf $RPM_BUILD_ROOT | |
42954e9c | 886 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \ |
7dac5ffa | 887 | $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \ |
ee5a78dc | 888 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
d2bf084f | 889 | $RPM_BUILD_ROOT%{_mandir} \ |
320d02f0 | 890 | $RPM_BUILD_ROOT/home/services/postgres |
4f5dceb8 | 891 | |
12ff1bb8 | 892 | install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
438eb355 | 893 | |
dc307bb4 | 894 | %{__make} install \ |
00287bb7 | 895 | DESTDIR=$RPM_BUILD_ROOT |
896 | ||
99e19e69 JB |
897 | %if %{with perl} |
898 | %{__make} install -C src/pl/plperl \ | |
899 | DESTDIR=$RPM_BUILD_ROOT | |
900 | %endif | |
00287bb7 | 901 | |
d8edd803 JB |
902 | %{__make} -C contrib/dblink install \ |
903 | DESTDIR=$RPM_BUILD_ROOT | |
904 | ||
8646766c JB |
905 | %{__make} -C contrib/lo install \ |
906 | DESTDIR=$RPM_BUILD_ROOT | |
907 | ||
ac67838e JB |
908 | %{__make} -C contrib/pgcrypto install \ |
909 | DESTDIR=$RPM_BUILD_ROOT | |
494d1b7e | 910 | |
bc5c807d PG |
911 | %{__make} -C contrib/tablefunc install \ |
912 | DESTDIR=$RPM_BUILD_ROOT | |
913 | ||
ae08c8ad | 914 | %{__make} -C contrib/tsearch2 install \ |
915 | DESTDIR=$RPM_BUILD_ROOT | |
916 | ||
b70e6cb6 AM |
917 | %{__make} -C contrib/pg_trgm install \ |
918 | DESTDIR=$RPM_BUILD_ROOT | |
919 | ||
0b02f266 | 920 | %{__make} -C contrib/xml2 install \ |
921 | DESTDIR=$RPM_BUILD_ROOT | |
922 | ||
048840cb | 923 | touch $RPM_BUILD_ROOT/var/log/pgsql |
b35e841d | 924 | |
9bf007d0 | 925 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql |
b752f531 | 926 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql |
b35e841d | 927 | |
b35e841d | 928 | install -d howto |
4b61b2c1 | 929 | tar zxf %{SOURCE2} -C howto |
b35e841d | 930 | |
be3e6567 | 931 | %py_comp $RPM_BUILD_ROOT%{py_libdir} |
932 | %py_ocomp $RPM_BUILD_ROOT%{py_libdir} | |
40a8e4da | 933 | |
fe8440d2 | 934 | # find locales |
a6765f5b | 935 | for f in libpq pg_controldata pg_dump pg_resetxlog pgscripts postgres psql initdb pg_ctl pg_config; do |
fe8440d2 | 936 | %find_lang $f |
937 | done | |
938 | # merge locales | |
939 | cat pgscripts.lang pg_resetxlog.lang postgres.lang pg_controldata.lang > main.lang | |
dc307bb4 | 940 | cat pg_dump.lang psql.lang initdb.lang pg_ctl.lang > clients.lang |
941 | ||
942 | # Remove Contrib documentation. We use macro %doc | |
943 | rm -rf $RPM_BUILD_ROOT/contrib | |
fe8440d2 | 944 | |
7543e4a8 | 945 | mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl |
946 | ||
e0ee9cb2 | 947 | install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/ |
948 | ||
a9e3ed5f JB |
949 | %clean |
950 | rm -rf $RPM_BUILD_ROOT | |
a9e3ed5f | 951 | |
275a421e | 952 | %pre |
4239f689 JB |
953 | PG_DB_CLUSTERS="" |
954 | if [ -f /etc/sysconfig/postgresql ]; then | |
955 | . /etc/sysconfig/postgresql | |
956 | if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then | |
957 | PG_DB_CLUSTERS="$POSTGRES_DATA_DIR" | |
958 | fi | |
959 | fi | |
960 | foundold=0 | |
961 | for pgdir in $PG_DB_CLUSTERS; do | |
962 | if [ -f $pgdir/PG_VERSION ]; then | |
ea38cfb0 | 963 | if [ `cat $pgdir/PG_VERSION` != '8.2' ]; then |
4239f689 JB |
964 | echo "Found database(s) in older, incompatible format in cluster $pgdir." |
965 | foundold=1 | |
966 | fi | |
967 | fi | |
968 | done | |
969 | if [ "$foundold" = "1" ]; then | |
970 | echo | |
971 | echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)" | |
972 | echo "and clean (or rename) those directories; then upgrade postgresql and" | |
973 | echo "restore all data (using pg_restore or psql)." | |
974 | echo "Remember to stop the daemon before upgrading!" | |
975 | echo | |
976 | echo "Warning for upgrade from version *before* 7.2." | |
977 | echo "Please note, that postgresql module path changed from" | |
978 | echo "/usr/lib/pgsql/module to /usr/lib/postgresql. Change the path" | |
979 | echo "in dump file before restore." | |
980 | echo | |
981 | echo "Warning for upgrade from version *before* 7.3." | |
982 | echo "Reading following webpage is encouraged:" | |
258750c1 | 983 | echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3" |
4239f689 JB |
984 | exit 1 |
985 | fi | |
4c2f9988 | 986 | |
4b61b2c1 ER |
987 | %groupadd -g 88 -r postgres |
988 | %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres | |
989 | ||
e76d3d1a | 990 | if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then |
320d02f0 | 991 | /usr/sbin/usermod -d /home/services/postgres postgres |
320d02f0 | 992 | fi |
4a025d17 | 993 | |
b35e841d | 994 | %post |
1bc01910 | 995 | /sbin/chkconfig --add postgresql |
3a2e0fdd | 996 | %service postgresql restart "postgresql server" |
c1db913e | 997 | |
1bc01910 | 998 | %preun |
999 | if [ "$1" = "0" ]; then | |
3a2e0fdd | 1000 | %service postgresql stop |
1bc01910 | 1001 | /sbin/chkconfig --del postgresql |
1002 | fi | |
016f481d | 1003 | |
a0af78da | 1004 | %post libs -p /sbin/ldconfig |
1005 | %postun libs -p /sbin/ldconfig | |
48115857 | 1006 | |
a0af78da | 1007 | %post ecpg -p /sbin/ldconfig |
1008 | %postun ecpg -p /sbin/ldconfig | |
6564a583 | 1009 | |
fe8440d2 | 1010 | %files -f main.lang |
103c268d | 1011 | %defattr(644,root,root,755) |
99e19e69 | 1012 | %doc COPYRIGHT README HISTORY doc/{FAQ*,README*,bug.template} |
bd011839 | 1013 | %attr(754,root,root) /etc/rc.d/init.d/postgresql |
63ca64a6 | 1014 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql |
b35e841d | 1015 | |
e957782b | 1016 | %attr(755,root,root) %{_bindir}/initdb |
084a7c24 | 1017 | %attr(755,root,root) %{_bindir}/ipcclean |
084a7c24 | 1018 | %attr(755,root,root) %{_bindir}/pg_controldata |
1019 | %attr(755,root,root) %{_bindir}/pg_ctl | |
084a7c24 | 1020 | %attr(755,root,root) %{_bindir}/pg_resetxlog |
e957782b | 1021 | %attr(755,root,root) %{_bindir}/postgres |
1022 | %attr(755,root,root) %{_bindir}/postmaster | |
084a7c24 | 1023 | |
1024 | %attr(755,root,root) %{_pgmoduledir}/ascii* | |
1025 | %attr(755,root,root) %{_pgmoduledir}/cyrillic* | |
1026 | %attr(755,root,root) %{_pgmoduledir}/euc* | |
1027 | %attr(755,root,root) %{_pgmoduledir}/latin* | |
1028 | %attr(755,root,root) %{_pgmoduledir}/utf* | |
7386fb4a | 1029 | |
00287bb7 | 1030 | %dir %{_pgsqldir} |
1888f1fe | 1031 | %dir %{_datadir}/postgresql |
c80000c0 JR |
1032 | %{_datadir}/postgresql/*.bki |
1033 | %{_datadir}/postgresql/*.sample | |
1034 | %{_datadir}/postgresql/*.description | |
26925000 | 1035 | %{_datadir}/postgresql/*.shdescription |
fd6c8fe0 | 1036 | %{_datadir}/postgresql/*.sql |
16404f9a | 1037 | %{_datadir}/postgresql/*.txt |
687787e7 AM |
1038 | %{_datadir}/postgresql/timezone |
1039 | %{_datadir}/postgresql/timezonesets | |
3786c16b | 1040 | |
320d02f0 | 1041 | %attr(700,postgres,postgres) /home/services/postgres |
af01ba47 | 1042 | %attr(700,postgres,postgres) %dir /var/lib/pgsql |
63ca64a6 | 1043 | %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql |
048840cb | 1044 | |
7386fb4a | 1045 | %{_mandir}/man1/initdb.1* |
084a7c24 | 1046 | %{_mandir}/man1/ipcclean.1* |
084a7c24 | 1047 | %{_mandir}/man1/pg_controldata.1* |
1048 | %{_mandir}/man1/pg_ctl.1* | |
1049 | %{_mandir}/man1/pg_resetxlog.1* | |
7386fb4a AF |
1050 | %{_mandir}/man1/postgres.1* |
1051 | %{_mandir}/man1/postmaster.1* | |
084a7c24 | 1052 | |
048840cb | 1053 | %files doc |
1054 | %defattr(644,root,root,755) | |
99e19e69 | 1055 | %doc doc/unpacked/* doc/src/FAQ howto |
438eb355 | 1056 | %{_examplesdir}/%{name}-%{version} |
5cb5ee80 | 1057 | |
fe8440d2 | 1058 | %files libs -f libpq.lang |
7386fb4a | 1059 | %defattr(644,root,root,755) |
a28e2aa1 | 1060 | %attr(755,root,root) %{_libdir}/libpq.so.*.* |
5a0bedc9 | 1061 | %attr(755,root,root) %ghost %{_libdir}/libpq.so.5 |
12ff1bb8 | 1062 | %dir %{_pgmoduledir} |
7386fb4a | 1063 | |
6564a583 | 1064 | %files ecpg |
016f481d | 1065 | %defattr(644,root,root,755) |
00287bb7 | 1066 | %attr(755,root,root) %{_bindir}/ecpg |
6564a583 | 1067 | %attr(755,root,root) %{_libdir}/libecpg.so.*.* |
5a0bedc9 | 1068 | %attr(755,root,root) %ghost %{_libdir}/libecpg.so.5 |
6564a583 | 1069 | %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.* |
5a0bedc9 | 1070 | %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.2 |
6564a583 | 1071 | %attr(755,root,root) %{_libdir}/libpgtypes.so.*.* |
5a0bedc9 | 1072 | %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.2 |
6564a583 | 1073 | %{_mandir}/man1/ecpg.1* |
1074 | ||
1075 | %files ecpg-devel | |
1076 | %defattr(644,root,root,755) | |
7386fb4a | 1077 | %attr(755,root,root) %{_libdir}/libecpg.so |
16404f9a | 1078 | %attr(755,root,root) %{_libdir}/libecpg_compat.so |
16404f9a | 1079 | %attr(755,root,root) %{_libdir}/libpgtypes.so |
687787e7 | 1080 | %{_includedir}/ecpg* |
6564a583 | 1081 | |
a6765f5b | 1082 | %files devel -f pg_config.lang |
6564a583 | 1083 | %defattr(644,root,root,755) |
1084 | %attr(755,root,root) %{_bindir}/pg_config | |
1085 | %attr(755,root,root) %{_libdir}/libpq.so | |
1086 | %dir %{_includedir}/postgresql | |
6564a583 | 1087 | %{_includedir}/libpq-fe.h |
1088 | %{_includedir}/pg_config.h | |
6ec5e7a2 | 1089 | %{_includedir}/pg_config_manual.h |
6564a583 | 1090 | %{_includedir}/pg_config_os.h |
697ce059 | 1091 | %{_includedir}/postgres_ext.h |
00287bb7 | 1092 | %dir %{_includedir}/postgresql/internal |
1093 | %{_includedir}/postgresql/internal/c.h | |
1094 | %{_includedir}/postgresql/internal/libpq-int.h | |
6ec5e7a2 | 1095 | %{_includedir}/postgresql/internal/port.h |
00287bb7 | 1096 | %{_includedir}/postgresql/internal/postgres_fe.h |
1097 | %{_includedir}/postgresql/internal/pqexpbuffer.h | |
00287bb7 | 1098 | %{_includedir}/postgresql/internal/libpq |
084a7c24 | 1099 | %{_includedir}/libpq |
2b04c0fa | 1100 | %{_mandir}/man1/pg_config.1* |
7386fb4a | 1101 | |
cb920eb9 | 1102 | %files backend-devel |
ec709611 | 1103 | %defattr(644,root,root,755) |
00287bb7 | 1104 | %{_includedir}/postgresql/server |
12ff1bb8 JB |
1105 | %dir %{_pgmoduledir}/pgxs |
1106 | %attr(755,root,root) %{_pgmoduledir}/pgxs/config | |
1107 | %{_pgmoduledir}/pgxs/src | |
cb920eb9 | 1108 | |
7386fb4a AF |
1109 | %files static |
1110 | %defattr(644,root,root,755) | |
1111 | %{_libdir}/libecpg.a | |
16404f9a | 1112 | %{_libdir}/libecpg_compat.a |
7386fb4a | 1113 | %{_libdir}/libpq.a |
16404f9a | 1114 | %{_libdir}/libpgtypes.a |
dc307bb4 | 1115 | %{_libdir}/libpgport.a |
b35e841d | 1116 | |
fe8440d2 | 1117 | %files clients -f clients.lang |
103c268d | 1118 | %defattr(644,root,root,755) |
06095b90 | 1119 | %attr(755,root,root) %{_bindir}/clusterdb |
1120 | %attr(755,root,root) %{_bindir}/createdb | |
1121 | %attr(755,root,root) %{_bindir}/createlang | |
1122 | %attr(755,root,root) %{_bindir}/createuser | |
1123 | %attr(755,root,root) %{_bindir}/dropdb | |
1124 | %attr(755,root,root) %{_bindir}/droplang | |
1125 | %attr(755,root,root) %{_bindir}/dropuser | |
e957782b | 1126 | %attr(755,root,root) %{_bindir}/pg_dump |
9bf007d0 | 1127 | %attr(755,root,root) %{_bindir}/pg_dumpall |
c80000c0 | 1128 | %attr(755,root,root) %{_bindir}/pg_restore |
e957782b | 1129 | %attr(755,root,root) %{_bindir}/psql |
af6badf5 | 1130 | %attr(755,root,root) %{_bindir}/reindexdb |
5cb5ee80 | 1131 | %attr(755,root,root) %{_bindir}/vacuumdb |
b35e841d | 1132 | |
06095b90 | 1133 | %{_mandir}/man1/clusterdb.1* |
1134 | %{_mandir}/man1/createdb.1* | |
1135 | %{_mandir}/man1/createlang.1* | |
1136 | %{_mandir}/man1/createuser.1* | |
1137 | %{_mandir}/man1/dropdb.1* | |
1138 | %{_mandir}/man1/droplang.1* | |
1139 | %{_mandir}/man1/dropuser.1* | |
7386fb4a AF |
1140 | %{_mandir}/man1/pg_dump.1* |
1141 | %{_mandir}/man1/pg_dumpall.1* | |
c80000c0 | 1142 | %{_mandir}/man1/pg_restore.1* |
7386fb4a | 1143 | %{_mandir}/man1/psql.1* |
af6badf5 | 1144 | %{_mandir}/man1/reindexdb.1* |
c80000c0 | 1145 | %{_mandir}/man1/vacuumdb.1* |
7dac5ffa | 1146 | %{_mandir}/man7/*.7* |
7386fb4a | 1147 | |
5f47c8ad PG |
1148 | %if %{with pgcluster} |
1149 | %files lb | |
1150 | %defattr(644,root,root,755) | |
1151 | %doc INSTALL_PGCLUSTER src/pgcluster/pglb/AUTHORS src/pgcluster/pglb/pglb.conf.sample | |
1152 | %attr(755,root,root) %{_bindir}/pglb | |
1153 | ||
1154 | %files replicate | |
1155 | %defattr(644,root,root,755) | |
1156 | %doc INSTALL_PGCLUSTER src/pgcluster/pgrp/AUTHORS src/pgcluster/pgrp/pgreplicate.conf.sample | |
1157 | %attr(755,root,root) %{_bindir}/pgreplicate | |
1158 | ||
1159 | %files replicate-tools | |
1160 | %defattr(644,root,root,755) | |
1161 | %doc src/pgcluster/tool/pgcbench.sh src/pgcluster/tool/README.jp src/pgcluster/tool/tpc-b_like.sql | |
1162 | %attr(755,root,root) %{_bindir}/pgcbench | |
1163 | %endif | |
1164 | ||
4ddf546b | 1165 | %files module-plpgsql |
1166 | %defattr(644,root,root,755) | |
00287bb7 | 1167 | %attr(755,root,root) %{_pgmoduledir}/plpgsql.so |
1168 | ||
c6b2c886 | 1169 | %if %{with perl} |
00287bb7 | 1170 | %files module-plperl |
1171 | %defattr(644,root,root,755) | |
1172 | %attr(755,root,root) %{_pgmoduledir}/plperl.so | |
c6b2c886 | 1173 | %endif |
00287bb7 | 1174 | |
c6b2c886 | 1175 | %if %{with python} |
00287bb7 | 1176 | %files module-plpython |
1177 | %defattr(644,root,root,755) | |
1178 | %attr(755,root,root) %{_pgmoduledir}/plpython.so | |
c6b2c886 | 1179 | %endif |
4ddf546b | 1180 | |
16404f9a | 1181 | %if %{with tcl} |
4ddf546b | 1182 | %files module-pltcl |
1183 | %defattr(644,root,root,755) | |
084a7c24 | 1184 | %attr(755,root,root) %{_bindir}/pltcl_* |
00287bb7 | 1185 | %attr(755,root,root) %{_pgmoduledir}/pltcl.so |
7543e4a8 | 1186 | %{_pgsqldir}/unknown.pltcl |
16404f9a | 1187 | %endif |
ff04b431 | 1188 | |
d8edd803 JB |
1189 | %files module-dblink |
1190 | %defattr(644,root,root,755) | |
1191 | %doc contrib/dblink/README.dblink | |
1192 | %attr(755,root,root) %{_pgmoduledir}/dblink.so | |
687787e7 | 1193 | %{_pgsqldir}/*dblink.sql |
d8edd803 | 1194 | |
8646766c JB |
1195 | %files module-lo |
1196 | %defattr(644,root,root,755) | |
1197 | %doc contrib/lo/README.lo | |
1198 | %attr(755,root,root) %{_pgmoduledir}/lo.so | |
52b2b5d9 | 1199 | %{_pgsqldir}/*lo.sql |
8646766c | 1200 | |
5b79623d | 1201 | %files module-pgcrypto |
ff04b431 | 1202 | %defattr(644,root,root,755) |
68c3bd5b | 1203 | %doc contrib/pgcrypto/README* |
5b79623d | 1204 | %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so |
687787e7 | 1205 | %{_pgsqldir}/*pgcrypto.sql |
ae08c8ad | 1206 | |
bc5c807d PG |
1207 | %files module-tablefunc |
1208 | %defattr(644,root,root,755) | |
d8edd803 | 1209 | %doc contrib/tablefunc/README.tablefunc |
bc5c807d | 1210 | %attr(755,root,root) %{_pgmoduledir}/tablefunc.so |
687787e7 | 1211 | %{_pgsqldir}/*tablefunc.sql |
bc5c807d | 1212 | |
ae08c8ad | 1213 | %files module-tsearch2 |
1214 | %defattr(644,root,root,755) | |
dc307bb4 | 1215 | %doc contrib/tsearch2/README* |
ae08c8ad | 1216 | %attr(755,root,root) %{_pgmoduledir}/tsearch2.so |
687787e7 | 1217 | %{_pgsqldir}/*tsearch2.sql |
26925000 | 1218 | %{_pgsqldir}/russian.stop.utf8 |
1219 | %{_pgsqldir}/thesaurus | |
dc307bb4 | 1220 | %{_pgsqldir}/*.stop |
b70e6cb6 AM |
1221 | |
1222 | %files module-pg_trgm | |
1223 | %defattr(644,root,root,755) | |
1224 | %doc contrib/pg_trgm/README* | |
1225 | %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so | |
687787e7 | 1226 | %{_pgsqldir}/*pg_trgm.sql |
0b02f266 | 1227 | |
1228 | %files module-xml2 | |
1229 | %defattr(644,root,root,755) | |
1230 | %doc contrib/xml2/README* | |
1231 | %attr(755,root,root) %{_pgmoduledir}/pgxml.so | |
1232 | %{_pgsqldir}/*pgxml.sql |