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