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