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