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