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