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