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