]>
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} | |
17ad3dd0 | 22 | %define mver 9.4 |
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 |
8d39ea69 | 35 | Version: %{mver}.1 |
17ad3dd0 | 36 | Release: 0.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 |
8d39ea69 | 40 | # Source0-md5: 2cf30f50099ff1109d0aa517408f8eff |
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 |
17ad3dd0 | 56 | Patch6: %{name}-ossp_uuid.patch |
016f481d | 57 | URL: http://www.postgresql.org/ |
368587a1 | 58 | BuildRequires: autoconf |
a9e3ed5f | 59 | BuildRequires: automake |
c51da2b5 | 60 | # not needed for releases... but fixes something in snapshot |
61 | BuildRequires: bison >= 1.875 | |
cfcef89a | 62 | BuildRequires: docbook-dtd42-sgml |
63 | BuildRequires: docbook-dtd42-xml | |
64 | BuildRequires: docbook-style-xsl | |
60fcd7d3 | 65 | BuildRequires: flex >= 2.5.31 |
d83a09d7 | 66 | BuildRequires: gettext-tools |
3081b7c4 | 67 | BuildRequires: gnome-doc-tools |
7a6f5720 | 68 | %{?with_kerberos5:BuildRequires: heimdal-devel} |
5d47dd36 | 69 | %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.10} |
b4e9d937 | 70 | BuildRequires: libtool |
1acf1090 | 71 | BuildRequires: libxml2-devel >= 1:2.6.23 |
0b02f266 | 72 | BuildRequires: libxslt-devel |
c4156621 | 73 | BuildRequires: libxslt-progs |
c32c47f8 | 74 | BuildRequires: ncurses-devel >= 5.0 |
a1ace3a4 | 75 | %{?with_ldap:BuildRequires: openldap-devel} |
e05bfd03 | 76 | BuildRequires: openssl-devel >= 0.9.7d |
c74c603d | 77 | BuildRequires: ossp-uuid-devel |
0715e574 | 78 | BuildRequires: pam-devel |
c6b2c886 | 79 | %{?with_perl:BuildRequires: perl-devel} |
6006bd58 KK |
80 | %if %{with python} |
81 | BuildRequires: python >= 1:2.3 | |
82 | BuildRequires: python-devel >= 1:2.3 | |
024f308f | 83 | BuildRequires: python-modules >= 1:2.3 |
6006bd58 | 84 | %endif |
cd61d421 | 85 | BuildRequires: readline-devel >= 4.2 |
d183f71c | 86 | BuildRequires: rpmbuild(macros) >= 1.671 |
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: |
f2e6a39c | 114 | # dummy_seclabel, pg_test_fsync, pg_test_timing, spi, test_parser, worker_spi - examples/tests |
d24d2940 | 115 | # tsearch2 - old module for compatibility only |
17ad3dd0 | 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_archivecleanup pg_buffercache pg_freespacemap pg_prewarm 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 | 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 | |
94b00d5a JK |
340 | %package upstart |
341 | Summary: Upstart job description for PostgreSQL server | |
342 | Summary(pl.UTF-8): Opis zadania Upstart dla serwera PostgreSQL | |
343 | Group: Daemons | |
344 | Requires: %{name} = %{version}-%{release} | |
345 | Requires: upstart >= 0.6 | |
562496af | 346 | Conflicts: syslog-ng < 3.2.4-1 |
94b00d5a JK |
347 | |
348 | %description upstart | |
349 | Upstart job description for PostgreSQL. | |
350 | ||
351 | %description upstart -l pl.UTF-8 | |
352 | Opis zadania Upstart dla PostgreSQL. | |
353 | ||
b35e841d | 354 | %package devel |
016f481d | 355 | Summary: PostgreSQL development header files and libraries |
620f9138 ER |
356 | Summary(de.UTF-8): PostgreSQL-Entwicklungs-Header-Dateien und Libraries |
357 | Summary(es.UTF-8): Archivos de inclusión y bibliotecas PostgreSQL | |
358 | Summary(fr.UTF-8): En-têtes et bibliothèques de développement PostgreSQL | |
359 | Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe i biblioteki | |
360 | Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento com o PostgreSQL | |
361 | Summary(ru.UTF-8): PostgreSQL - хедеры и библиотеки разработчика | |
362 | Summary(tr.UTF-8): PostgreSQL başlık dosyaları ve kitaplıklar | |
363 | Summary(uk.UTF-8): PostgreSQL - хедери та бібліотеки програміста | |
016f481d | 364 | Group: Development/Libraries |
2bfb68de | 365 | Requires: %{name}-libs = %{version}-%{release} |
b35e841d | 366 | |
367 | %description devel | |
368 | This package contains header files and libraries required to compile | |
e59a0118 | 369 | applications that are talking directly to the PostgreSQL backend |
370 | server. | |
b35e841d | 371 | |
c76c631a JR |
372 | %description devel -l de.UTF-8 |
373 | Dieses Paket enthält die Header-Dateien und Libraries, die zum | |
e59a0118 | 374 | Kompilieren von Applikationen notwendig sind, die direkt mit dem |
b35e841d | 375 | PostgreSQL-Backend-Server kommunizieren. |
376 | ||
c76c631a JR |
377 | %description devel -l es.UTF-8 |
378 | Este paquete contiene archivos de inclusión y bibliotecas requeridas | |
379 | para compilación de aplicativos que se comunican directamente con el | |
55747262 | 380 | servidor backend PostgreSQL. |
381 | ||
c76c631a JR |
382 | %description devel -l fr.UTF-8 |
383 | Ce package contient les fichiers d'en-tête et les bibliothéques | |
384 | nécessaires pour compiler des applications ayant des échanges directs | |
e59a0118 | 385 | avec le serveur du backend PostgreSQL. |
b35e841d | 386 | |
c76c631a JR |
387 | %description devel -l pl.UTF-8 |
388 | Pakiet zawiera nagłówki oraz biblioteki wymagane do kompilacji | |
389 | aplikacji łączących się bezpośrednio z serwerem PostgreSQL. | |
b35e841d | 390 | |
c76c631a JR |
391 | %description devel -l pt_BR.UTF-8 |
392 | Este pacote contém arquivos de inclusão e bibliotecas requeridas para | |
393 | compilação de aplicativos que se comunicam diretamente com o servidor | |
55747262 | 394 | backend PostgreSQL. |
395 | ||
c76c631a JR |
396 | %description devel -l ru.UTF-8 |
397 | Этот пакет содержит хедеры и библиотеки, необходимые для сборки | |
398 | приложений, непосредственно взаимодействующих с сервером PostgreSQL. | |
9f84dc01 | 399 | |
c76c631a JR |
400 | %description devel -l tr.UTF-8 |
401 | Bu paket, PostgreSQL sunucusuyla konuşacak yazılımlar geliştirmek için | |
402 | gereken başlık dosyalarını ve kitaplıkları içerir. | |
b35e841d | 403 | |
c76c631a JR |
404 | %description devel -l uk.UTF-8 |
405 | Цей пакет містить хедери та бібліотеки, необхідні для розробки | |
406 | програм, які безпосередньо взаємодіють з сервером PostgreSQL. | |
9f84dc01 | 407 | |
cb920eb9 | 408 | %package backend-devel |
409 | Summary: PostgreSQL backend development header files | |
620f9138 | 410 | Summary(pl.UTF-8): PostgreSQL - pliki nagłówkowe dla backendu |
cb920eb9 | 411 | Group: Development/Libraries |
2bfb68de JB |
412 | Requires: %{name}-devel = %{version}-%{release} |
413 | Requires: %{name}-libs = %{version}-%{release} | |
cb920eb9 | 414 | |
415 | %description backend-devel | |
a9e3ed5f JB |
416 | This package contains header files required to compile functions that |
417 | could be loaded directly by backend | |
cb920eb9 | 418 | |
c76c631a JR |
419 | %description backend-devel -l pl.UTF-8 |
420 | Pakiet zawiera nagłówki wymagane do kompilacji funkcji ktore moga byc | |
a9e3ed5f | 421 | bezposrednio ladowane przez beckend serwera PostgreSQL. |
cb920eb9 | 422 | |
b35e841d | 423 | %package clients |
a57096f6 | 424 | Summary: Clients needed to access a PostgreSQL server |
620f9138 ER |
425 | Summary(es.UTF-8): Clientes necesarios para acceder al servidor PostgreSQL |
426 | Summary(pl.UTF-8): Klienci wymagani do dostępu do serwera PostgreSQL | |
427 | Summary(pt_BR.UTF-8): Clientes necessários para acessar o servidor PostgreSQL | |
428 | Summary(ru.UTF-8): Клиентские программы, необходимые для доступа к серверу PostgreSQL | |
429 | Summary(uk.UTF-8): Клієнтські програми, необхідні для доступу до сервера PostgreSQL | |
016f481d | 430 | Group: Applications/Databases |
2bfb68de | 431 | Requires: %{name}-libs = %{version}-%{release} |
b35e841d | 432 | |
433 | %description clients | |
aa1db817 | 434 | This package includes only the clients needed to access an PostgreSQL |
1f130e30 | 435 | server. The server is included in the main package. If all you need is |
436 | to connect to another PostgreSQL server, the this is the only package | |
437 | you need to install. Clients include several command-line utilities | |
438 | you can use to manage your databases on a remote PostgreSQL server. | |
b35e841d | 439 | |
c76c631a | 440 | %description clients -l es.UTF-8 |
55747262 | 441 | Este paquete incluye solamente los clientes necesarios para acceder un |
c76c631a | 442 | servidor PostgreSQL. El servidor está en el paquete principal. |
55747262 | 443 | |
c76c631a JR |
444 | %description clients -l pl.UTF-8 |
445 | Pakiet zawiera programy klienckie potrzebne dla dostępu do serwera | |
446 | PostgreSQL oraz narzędzia do zarządzania bazami działające z linii | |
447 | poleceń. Serwer znajduje się w głównym pakiecie. | |
b35e841d | 448 | |
c76c631a JR |
449 | %description clients -l pt_BR.UTF-8 |
450 | Este pacote inclui somente os clientes necessários para acessar um | |
451 | servidor PostgreSQL. O servidor está no pacote principal. | |
55747262 | 452 | |
c76c631a JR |
453 | %description clients -l ru.UTF-8 |
454 | Этот пакет включает только клиентские программы и библиотеки, | |
455 | необходимые для доступа к серверу PostgreSQL. Сервер входит в главный | |
456 | пакет. Если вам надо только работать с другим сервером PostgreSQL, это | |
457 | единственный пакет, который вам надо установить. | |
9f84dc01 | 458 | |
c76c631a JR |
459 | Теперь пакеты с библиотеками для разных языков программирования (C, |
460 | C++, Perl и Tcl) разделены. Этот пакет включает только библиотеки для | |
461 | языка C. | |
9f84dc01 | 462 | |
c76c631a JR |
463 | %description clients -l uk.UTF-8 |
464 | Цей пакет містить тільки клієнтські програми та бібліотеки, необхідні | |
465 | для доступу до сервера PostgreSQL. Сервер міститься в головному | |
466 | пакеті. Якщо вам потрібно працювати з іншим сервером PostgreSQL, це | |
467 | єдиний пакет, який вам треба встановити. | |
9f84dc01 | 468 | |
c76c631a JR |
469 | Тепер пакети з бібліотеками для різних мов програмування (C, C++, Perl |
470 | і Tcl) розділені. Цей пакет містить тільки бібліотеки для мови C. | |
9f84dc01 | 471 | |
b35e841d | 472 | %package doc |
016f481d | 473 | Summary: Documentation for PostgreSQL |
620f9138 | 474 | Summary(pl.UTF-8): Dodatkowa dokumantacja dla PostgreSQL |
016f481d | 475 | Group: Applications/Databases |
b35e841d | 476 | |
477 | %description doc | |
e59a0118 | 478 | This package includes documentation and HOWTO for programmer, admin |
479 | etc., in HTML format. | |
b35e841d | 480 | |
c76c631a JR |
481 | %description doc -l pl.UTF-8 |
482 | Pakiet ten zawiera dokumentację oraz HOWTO m.in. dla programistów, | |
483 | administratorów w formacie HTML. | |
b35e841d | 484 | |
9ea08160 | 485 | %package libs |
486 | Summary: PostgreSQL libraries | |
620f9138 ER |
487 | Summary(es.UTF-8): Biblioteca compartida del PostgreSQL |
488 | Summary(pl.UTF-8): Biblioteki dzielone programu PostgreSQL | |
489 | Summary(pt_BR.UTF-8): Biblioteca compartilhada do PostgreSQL | |
490 | Summary(zh_CN.UTF-8): PostgreSQL 客户所需要的共享库 | |
9ea08160 | 491 | Group: Libraries |
9ea08160 | 492 | |
493 | %description libs | |
aa1db817 | 494 | PostgreSQL shared libraries. |
9ea08160 | 495 | |
c76c631a | 496 | %description libs -l es.UTF-8 |
55747262 | 497 | Este paquete contiene la biblioteca compartida para acceso al |
832d7cf9 | 498 | PostgreSQL. |
55747262 | 499 | |
c76c631a | 500 | %description libs -l pl.UTF-8 |
9ea08160 | 501 | Biblioteki dzielone programu PostgreSQL. |
502 | ||
c76c631a JR |
503 | %description libs -l pt_BR.UTF-8 |
504 | Este pacote contém a biblioteca compartilhada para acesso ao | |
832d7cf9 | 505 | PostgreSQL. |
55747262 | 506 | |
6564a583 | 507 | %package ecpg |
508 | Summary: Embedded SQL in C interface | |
620f9138 | 509 | Summary(pl.UTF-8): Interfejs wbudowanego SQL-a w język C |
6564a583 | 510 | Group: Libraries |
2bfb68de | 511 | Requires: %{name}-libs = %{version}-%{release} |
6564a583 | 512 | |
513 | %description ecpg | |
514 | Embedded SQL in C interface. | |
515 | ||
c76c631a JR |
516 | %description ecpg -l pl.UTF-8 |
517 | Interfejs wbudowanego SQL-a w język C. | |
6564a583 | 518 | |
519 | %package ecpg-devel | |
520 | Summary: Embedded SQL in C interface files | |
620f9138 | 521 | Summary(pl.UTF-8): Pliki programistyczne interfejsu wbudowanego SQL-a w język C |
6564a583 | 522 | Group: Development/Libraries |
2bfb68de JB |
523 | Requires: %{name}-devel = %{version}-%{release} |
524 | Requires: %{name}-ecpg = %{version}-%{release} | |
6564a583 | 525 | |
526 | %description ecpg-devel | |
527 | Embedded SQL in C interface files. | |
528 | ||
c76c631a JR |
529 | %description ecpg-devel -l pl.UTF-8 |
530 | Pliki programistyczne interfejsu wbudowanego SQL-a w język C. | |
6564a583 | 531 | |
9ea08160 | 532 | %package static |
533 | Summary: PostgreSQL static libraries | |
620f9138 ER |
534 | Summary(es.UTF-8): Bibliotecas estaticas PostgreSQL |
535 | Summary(pl.UTF-8): Biblioteki statyczne programu PostgreSQL | |
536 | Summary(pt_BR.UTF-8): Bibliotecas estáticas PostgreSQL | |
537 | Summary(ru.UTF-8): Статические библиотеки для программирования с PostgreSQL | |
538 | Summary(uk.UTF-8): Статичні бібліотеки для програмування з PostgreSQL | |
9ea08160 | 539 | Group: Development/Libraries |
2bfb68de | 540 | Requires: %{name}-devel = %{version}-%{release} |
9ea08160 | 541 | |
542 | %description static | |
543 | PostgreSQL static libraries. | |
544 | ||
c76c631a JR |
545 | %description static -l es.UTF-8 |
546 | Este paquete contiene bibliotecas estaticas requerida para compilación | |
55747262 | 547 | de aplicativos que se comunican directamente con el servidor backend |
548 | PostgreSQL. | |
549 | ||
c76c631a | 550 | %description static -l pl.UTF-8 |
9ea08160 | 551 | Biblioteki statyczne programu PostgreSQL. |
552 | ||
c76c631a JR |
553 | %description static -l pt_BR.UTF-8 |
554 | Este pacote contém as bibliotecas estáticas requeridas para compilação | |
55747262 | 555 | de aplicativos que se comunicam diretamente com o servidor backend |
556 | PostgreSQL. | |
557 | ||
c76c631a JR |
558 | %description static -l ru.UTF-8 |
559 | Это отдельный пакет со статическими библиотеками, которые больше не | |
560 | входят в %{name}-devel. | |
9f84dc01 | 561 | |
c76c631a JR |
562 | %description static -l uk.UTF-8 |
563 | Це окремий пакет зі статичними бібліотеками, які більш не входять в | |
9f84dc01 | 564 | %{name}-devel. |
565 | ||
00287bb7 | 566 | %package module-plperl |
567 | Summary: PL/perl - PostgreSQL procedural language | |
620f9138 | 568 | Summary(pl.UTF-8): PL/perl - język proceduralny bazy danych PostgreSQL |
00287bb7 | 569 | Group: Applications/Databases |
2bfb68de | 570 | Requires: %{name} = %{version}-%{release} |
00287bb7 | 571 | |
572 | %description module-plperl | |
a94ae93a | 573 | From PostgreSQL documentation: |
00287bb7 | 574 | |
575 | Postgres supports the definition of procedural languages. In the case | |
576 | of a function or trigger procedure defined in a procedural language, | |
577 | the database has no built-in knowledge about how to interpret the | |
578 | function's source text. Instead, the task is passed to a handler that | |
579 | knows the details of the language. The handler itself is a special | |
580 | programming language function compiled into a shared object and loaded | |
581 | on demand. | |
582 | ||
dce5630b | 583 | To enable PL/Perl procedural language for your database you have to |
00287bb7 | 584 | run createlang command. |
585 | ||
c76c631a | 586 | %description module-plperl -l pl.UTF-8 |
a94ae93a | 587 | Z dokumentacji PostgreSQL: |
00287bb7 | 588 | |
c76c631a JR |
589 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
590 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
591 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
592 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
593 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
594 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
00287bb7 | 595 | potrzeby. |
596 | ||
c76c631a | 597 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 598 | proceduralnego PL/Perl dla swojej bazy danych. |
00287bb7 | 599 | |
600 | %package module-plpython | |
dce5630b | 601 | Summary: PL/Python - PostgreSQL procedural language |
620f9138 | 602 | Summary(pl.UTF-8): PL/Python - język proceduralny bazy danych PostgreSQL |
00287bb7 | 603 | Group: Applications/Databases |
2bfb68de | 604 | Requires: %{name} = %{version}-%{release} |
6a64b227 | 605 | %pyrequires_eq python |
00287bb7 | 606 | |
607 | %description module-plpython | |
a94ae93a | 608 | From PostgreSQL documentation: |
00287bb7 | 609 | |
610 | Postgres supports the definition of procedural languages. In the case | |
611 | of a function or trigger procedure defined in a procedural language, | |
612 | the database has no built-in knowledge about how to interpret the | |
613 | function's source text. Instead, the task is passed to a handler that | |
614 | knows the details of the language. The handler itself is a special | |
615 | programming language function compiled into a shared object and loaded | |
616 | on demand. | |
617 | ||
dce5630b | 618 | To enable PL/Python procedural language for your database you have to |
00287bb7 | 619 | run createlang command. |
620 | ||
c76c631a | 621 | %description module-plpython -l pl.UTF-8 |
a94ae93a | 622 | Z dokumentacji PostgreSQL: |
00287bb7 | 623 | |
c76c631a JR |
624 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
625 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
626 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
627 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
628 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
629 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
00287bb7 | 630 | potrzeby. |
631 | ||
c76c631a | 632 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 633 | proceduralnego PL/Python dla swojej bazy danych. |
00287bb7 | 634 | |
4ddf546b | 635 | %package module-pltcl |
dce5630b | 636 | Summary: PL/Tcl - PostgreSQL procedural language |
620f9138 | 637 | Summary(pl.UTF-8): PL/Tcl - język proceduralny bazy danych PostgreSQL |
4ddf546b | 638 | Group: Applications/Databases |
2bfb68de | 639 | Requires: %{name} = %{version}-%{release} |
7543e4a8 | 640 | Requires: tcl(Pgtcl) |
4ddf546b | 641 | |
642 | %description module-pltcl | |
a94ae93a | 643 | From PostgreSQL documentation: |
4ddf546b | 644 | |
368587a1 | 645 | Postgres supports the definition of procedural languages. In the case |
646 | of a function or trigger procedure defined in a procedural language, | |
647 | the database has no built-in knowledge about how to interpret the | |
648 | function's source text. Instead, the task is passed to a handler that | |
649 | knows the details of the language. The handler itself is a special | |
650 | programming language function compiled into a shared object and loaded | |
651 | on demand. | |
4ddf546b | 652 | |
dce5630b | 653 | To enable PL/Tcl procedural language for your database you have to run |
4ddf546b | 654 | createlang command. |
655 | ||
c76c631a | 656 | %description module-pltcl -l pl.UTF-8 |
a94ae93a | 657 | Z dokumentacji PostgreSQL: |
4ddf546b | 658 | |
c76c631a JR |
659 | Postgres ma wsparcie dla języków proceduralnych. W przypadku, kiedy |
660 | programista zdefiniuje procedurę wyzwalacza lub funkcję w języku | |
661 | proceduralnym, baza danych nie ma pojęcia jak interpretować tego typu | |
662 | funkcję. Funkcja lub procedura ta jest przekazywana do interpretera, | |
663 | który wie jak ją wykonać. Interpreter jest odpowiednią, specjalną | |
664 | funkcją, która jest skompilowana w obiekt dzielony i ładowany w razie | |
368587a1 | 665 | potrzeby. |
4ddf546b | 666 | |
c76c631a | 667 | Za pomocą polecenia createlang można dodać obsługę języka |
dce5630b | 668 | proceduralnego PL/Tcl dla swojej bazy danych. |
4ddf546b | 669 | |
d8edd803 JB |
670 | %package module-dblink |
671 | Summary: dblink module for PostgreSQL | |
620f9138 | 672 | Summary(pl.UTF-8): Moduł dblink dla PostgreSQL-a |
d8edd803 JB |
673 | Group: Applications/Databases |
674 | Requires: %{name} = %{version}-%{release} | |
675 | ||
676 | %description module-dblink | |
677 | dblink module for PostgreSQL provides functions returning results from | |
678 | remote database. | |
679 | ||
c76c631a JR |
680 | %description module-dblink -l pl.UTF-8 |
681 | Moduł dblink dla PostgreSQL-a udostępnia funkcje zwracające wyniki ze | |
d8edd803 JB |
682 | zdalnej bazy danych. |
683 | ||
8646766c JB |
684 | %package module-lo |
685 | Summary: Large Objects module for PostgreSQL | |
620f9138 | 686 | Summary(pl.UTF-8): Moduł Large Objects dla PostgreSQL-a |
8646766c JB |
687 | Group: Applications/Databases |
688 | Requires: %{name} = %{version}-%{release} | |
689 | ||
690 | %description module-lo | |
691 | Large Objects module for PostgreSQL adds a new data type 'lo', some | |
692 | support functions and a trigger which handles the orphaning problem. | |
693 | ||
c76c631a JR |
694 | %description module-lo -l pl.UTF-8 |
695 | Moduł Large Objects dla PostgreSQL-a dodaje nowy typ danych 'lo', | |
696 | kilka funkcji pomocniczych i wyzwalacz rozwiązujący problem | |
697 | osieroconych obiektów. | |
8646766c | 698 | |
60fcd7d3 JB |
699 | %package module-pg_trgm |
700 | Summary: Trigram matching for PostgreSQL | |
701 | Summary(pl.UTF-8): Dopasowanie trigramowe dla PostgreSQL-a | |
702 | Group: Applications/Databases | |
703 | Requires: %{name} = %{version}-%{release} | |
704 | ||
705 | %description module-pg_trgm | |
706 | This module provides functions and index classes for determining the | |
707 | similarity of text based on trigram matching. | |
708 | ||
709 | %description module-pg_trgm -l pl.UTF-8 | |
710 | Ten moduł dostarcza funkcje i klasy do rozpoznawania podobnych tekstów | |
711 | w oparciu o dopasowywanie trigramowe (trigram matching). | |
712 | ||
5b79623d | 713 | %package module-pgcrypto |
ff04b431 | 714 | Summary: Cryptographic functions for PostgreSQL |
620f9138 | 715 | Summary(pl.UTF-8): Funkcje kryptograficzne dla PostgreSQL-a |
ff04b431 | 716 | Group: Applications/Databases |
2bfb68de | 717 | Requires: %{name} = %{version}-%{release} |
ff04b431 | 718 | |
5b79623d | 719 | %description module-pgcrypto |
720 | Cryptographic functions for PostgreSQL. | |
ff04b431 | 721 | |
c76c631a | 722 | %description module-pgcrypto -l pl.UTF-8 |
5b79623d | 723 | Funkcje kryptograficzne dla PostgreSQL. |
ff04b431 | 724 | |
60fcd7d3 JB |
725 | %package module-sepgsql |
726 | Summary: PostgreSQL external security provider using SELinux | |
727 | Summary(pl.UTF-8): Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa | |
728 | Group: Applications/Databases | |
729 | Requires: %{name} = %{version}-%{release} | |
5d47dd36 | 730 | Requires: libselinux >= 2.1.10 |
60fcd7d3 JB |
731 | |
732 | %description module-sepgsql | |
733 | PostgreSQL external security provider using SELinux. | |
734 | ||
735 | %description module-sepgsql -l pl.UTF-8 | |
736 | Zewnętrzny moduł bezpieczeństwa PostgreSQL-a wykorzystujący SELinuksa. | |
737 | ||
bc5c807d | 738 | %package module-tablefunc |
d8edd803 | 739 | Summary: crosstab functions for PostgreSQL |
620f9138 | 740 | Summary(pl.UTF-8): Funkcje crosstab dla PostgreSQL-a |
bc5c807d PG |
741 | Group: Applications/Databases |
742 | Requires: %{name} = %{version}-%{release} | |
743 | ||
744 | %description module-tablefunc | |
d8edd803 JB |
745 | crosstab functions for PostgreSQL. |
746 | ||
c76c631a | 747 | %description module-tablefunc -l pl.UTF-8 |
d8edd803 | 748 | Funkcje crosstab dla PostgreSQL-a. |
bc5c807d | 749 | |
0b02f266 | 750 | %package module-xml2 |
751 | Summary: XML-handling functions for PostgreSQL | |
620f9138 | 752 | Summary(pl.UTF-8): Funkcje do obsługi XML-a dla PostgreSQL-a |
0b02f266 | 753 | Group: Applications/Databases |
754 | Requires: %{name} = %{version}-%{release} | |
1acf1090 | 755 | Requires: libxml2 >= 1:2.6.23 |
0b02f266 | 756 | |
757 | %description module-xml2 | |
758 | Module with XML functions provides both XPath querying and XSLT | |
759 | functionality. There is also a new table function which allows the | |
760 | straightforward return of multiple XML results. | |
761 | ||
c76c631a JR |
762 | %description module-xml2 -l pl.UTF-8 |
763 | Moduł z funkcjami XML zapewniającymi obsługę zapytań XPath oraz | |
764 | funkcjonalność XSLT. Jest także nowa funkcja tabelowa pozwalająca na | |
765 | bezpośrednie zwracanie wielu wyników XML. | |
6a83c38f | 766 | |
c51da2b5 | 767 | %package contrib |
01586e45 JB |
768 | Summary: Miscellaneous PostgreSQL contrib modules |
769 | Summary(pl.UTF-8): Różne moduły dołączone do PostgreSQL-a | |
c51da2b5 | 770 | Group: Applications/Databases |
771 | Requires: %{name} = %{version}-%{release} | |
772 | ||
773 | %description contrib | |
01586e45 JB |
774 | Miscellaneous PostgreSQL contrib modules. |
775 | ||
776 | %description contrib -l pl.UTF-8 | |
777 | Różne moduły dołączone do PostgreSQL-a. | |
c51da2b5 | 778 | |
b35e841d | 779 | %prep |
b5d14337 | 780 | %setup -q |
a1028a17 | 781 | %patch0 -p1 |
dc307bb4 | 782 | %{?with_absolute_dbpaths:%patch1 -p1} |
c51da2b5 | 783 | %patch2 -p1 |
0fed4ed9 | 784 | %patch3 -p1 |
dc307bb4 | 785 | %patch4 -p1 |
2a4e3782 | 786 | %patch5 -p1 |
17ad3dd0 | 787 | %patch6 -p1 |
a1028a17 | 788 | |
c51da2b5 | 789 | # force rebuild of bison/flex files |
790 | find src -name \*.l -o -name \*.y | xargs touch | |
791 | ||
99e19e69 | 792 | # Erase all CVS dirs |
dc307bb4 | 793 | #find contrib -type d -name CVS -exec rm -rf {} \; |
48115857 | 794 | |
b35e841d | 795 | %build |
0188dcac | 796 | %{__aclocal} -I config |
8204288a | 797 | %{__autoconf} |
99e19e69 | 798 | %configure \ |
c74c603d | 799 | CFLAGS="%{rpmcflags} -DNEED_REENTRANT_FUNCS `uuid-config --cflags`" \ |
12ff1bb8 JB |
800 | --disable-rpath \ |
801 | --enable-depend \ | |
802 | --enable-integer-datetimes \ | |
c51da2b5 | 803 | --with-system-tzdata=%{_datadir}/zoneinfo \ |
eaf24b0b | 804 | --enable-nls \ |
12ff1bb8 | 805 | --enable-thread-safety \ |
7a6f5720 | 806 | %{?with_kerberos5:--with-gssapi} \ |
4c35c6a5 | 807 | %{?with_ldap:--with-ldap} \ |
40a8e4da | 808 | --with-openssl \ |
12ff1bb8 | 809 | --with-pam \ |
55c59a48 | 810 | --with-libxml \ |
e482b477 | 811 | --with-libxslt \ |
12ff1bb8 JB |
812 | %{?with_perl:--with-perl} \ |
813 | %{?with_python:--with-python} \ | |
60fcd7d3 | 814 | %{?with_selinux:--with-selinux} \ |
2477983b | 815 | %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \ |
17ad3dd0 | 816 | --with-uuid=e2fs \ |
b35e841d | 817 | |
40a8e4da | 818 | %{__make} |
c51da2b5 | 819 | |
820 | for mod in %{contrib_modules}; do \ | |
4614112f | 821 | flags="%{rpmcflags} %{rpmcppflags} -DNEED_REENTRANT_FUNCS" |
c74c603d | 822 | if [ $mod = "xml2" ]; then flags="$flags -I/usr/include/libxml2"; fi |
823 | if [ $mod = "uuid-ossp" ]; then flags="$flags `uuid-config --cflags`"; fi | |
c7427375 | 824 | %{__make} -C contrib/$mod CFLAGS="$flags" |
c51da2b5 | 825 | done |
826 | ||
12ff1bb8 JB |
827 | %{__make} -C src/tutorial \ |
828 | NO_PGXS=1 | |
b4287983 | 829 | |
f863bf87 | 830 | %ifnarch sparc sparcv9 sparc64 alpha |
6ceb4ff1 | 831 | %{?with_tests:%{__make} -j1 check} |
00287bb7 | 832 | %endif |
b35e841d | 833 | |
834 | %install | |
835 | rm -rf $RPM_BUILD_ROOT | |
94b00d5a | 836 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig,init/%{name}}} \ |
7dac5ffa | 837 | $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \ |
ee5a78dc | 838 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
d2bf084f | 839 | $RPM_BUILD_ROOT%{_mandir} \ |
d183f71c | 840 | $RPM_BUILD_ROOT{%{systemdunitdir},/etc/systemd/system/%{name}.target.requires} \ |
320d02f0 | 841 | $RPM_BUILD_ROOT/home/services/postgres |
4f5dceb8 | 842 | |
12ff1bb8 | 843 | install src/tutorial/*.sql $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
438eb355 | 844 | |
dc307bb4 | 845 | %{__make} install \ |
00287bb7 | 846 | DESTDIR=$RPM_BUILD_ROOT |
500e26d8 AM |
847 | %{__make} -C doc/src/sgml install-man \ |
848 | DESTDIR=$RPM_BUILD_ROOT | |
00287bb7 | 849 | |
99e19e69 JB |
850 | %if %{with perl} |
851 | %{__make} install -C src/pl/plperl \ | |
852 | DESTDIR=$RPM_BUILD_ROOT | |
853 | %endif | |
00287bb7 | 854 | |
c51da2b5 | 855 | for mod in %{contrib_modules}; do \ |
856 | %{__make} -C contrib/$mod install \ | |
857 | DESTDIR=$RPM_BUILD_ROOT | |
858 | done | |
0b02f266 | 859 | |
048840cb | 860 | touch $RPM_BUILD_ROOT/var/log/pgsql |
b35e841d | 861 | |
9bf007d0 | 862 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql |
b752f531 | 863 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql |
b35e841d | 864 | |
d183f71c JK |
865 | install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}@.service |
866 | install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service | |
867 | install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target | |
868 | ||
869 | install %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf | |
870 | install %{SOURCE8} $RPM_BUILD_ROOT/etc/init/%{name}/instance.conf | |
94b00d5a | 871 | |
b35e841d | 872 | install -d howto |
4b61b2c1 | 873 | tar zxf %{SOURCE2} -C howto |
b35e841d | 874 | |
f43486f3 | 875 | %if %{with python} |
be3e6567 | 876 | %py_comp $RPM_BUILD_ROOT%{py_libdir} |
877 | %py_ocomp $RPM_BUILD_ROOT%{py_libdir} | |
f43486f3 | 878 | %endif |
40a8e4da | 879 | |
fe8440d2 | 880 | # find locales |
6ceb4ff1 | 881 | 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 | 882 | %find_lang $f-%{mver} |
fe8440d2 | 883 | done |
884 | # merge locales | |
055aa993 JR |
885 | cat pgscripts-%{mver}.lang pg_resetxlog-%{mver}.lang \ |
886 | postgres-%{mver}.lang pg_controldata-%{mver}.lang \ | |
6d8da3ba | 887 | plpgsql-%{mver}.lang \ |
6ceb4ff1 | 888 | pg_basebackup-%{mver}.lang \ |
055aa993 JR |
889 | > main-%{mver}.lang |
890 | cat pg_dump-%{mver}.lang psql-%{mver}.lang initdb-%{mver}.lang \ | |
891 | pg_ctl-%{mver}.lang > clients-%{mver}.lang | |
3a90355c | 892 | cat ecpg-%{mver}.lang ecpglib6-%{mver}.lang > ecpg.lang |
dc307bb4 | 893 | |
b86befb8 JR |
894 | %if %{with tcl} |
895 | %find_lang pltcl-%{mver} | |
896 | mv $RPM_BUILD_ROOT{%{_datadir}/postgresql,%{_pgsqldir}}/unknown.pltcl | |
897 | %endif | |
7543e4a8 | 898 | |
60fcd7d3 JB |
899 | %if %{with selinux} |
900 | mv $RPM_BUILD_ROOT{%{_datadir}/postgresql/contrib,%{_pgsqldir}}/sepgsql.sql | |
901 | %endif | |
6ceb4ff1 | 902 | |
e0ee9cb2 | 903 | install src/pl/plperl/ppport.h $RPM_BUILD_ROOT%{_includedir}/postgresql/server/ |
904 | ||
f2e6a39c JB |
905 | # unpackaged contribs |
906 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{pg_test_fsync,pg_test_timing}.1 | |
907 | ||
c74c603d | 908 | # package it...? nah, why bother. |
60fcd7d3 | 909 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/postgresql/html |
c74c603d | 910 | |
a9e3ed5f | 911 | %clean |
b5d14337 | 912 | rm -rf $RPM_BUILD_ROOT |
a9e3ed5f | 913 | |
7949db6e | 914 | %pre |
4239f689 JB |
915 | PG_DB_CLUSTERS="" |
916 | if [ -f /etc/sysconfig/postgresql ]; then | |
917 | . /etc/sysconfig/postgresql | |
918 | if [ -z "$PG_DB_CLUSTERS" -a -n "$POSTGRES_DATA_DIR" ]; then | |
919 | PG_DB_CLUSTERS="$POSTGRES_DATA_DIR" | |
920 | fi | |
921 | fi | |
922 | foundold=0 | |
923 | for pgdir in $PG_DB_CLUSTERS; do | |
924 | if [ -f $pgdir/PG_VERSION ]; then | |
72685ade | 925 | if [ $(cat $pgdir/PG_VERSION) != '9.3' ]; then |
4239f689 JB |
926 | echo "Found database(s) in older, incompatible format in cluster $pgdir." |
927 | foundold=1 | |
928 | fi | |
929 | fi | |
930 | done | |
931 | if [ "$foundold" = "1" ]; then | |
932 | echo | |
933 | echo "Dump all data from clusters mentioned above (using pg_dump or pg_dumpall)" | |
934 | echo "and clean (or rename) those directories; then upgrade postgresql and" | |
935 | echo "restore all data (using pg_restore or psql)." | |
936 | echo "Remember to stop the daemon before upgrading!" | |
937 | echo | |
d5ec79c4 AM |
938 | echo "Alternatively you can use pg_upgrade for 8.3+ online upgrade with" |
939 | echo "some restrictions: http://www.postgresql.org/docs/9.0/static/pgupgrade.html" | |
940 | echo | |
4239f689 JB |
941 | echo "Warning for upgrade from version *before* 7.2." |
942 | echo "Please note, that postgresql module path changed from" | |
7949db6e | 943 | echo "%{_libdir}/pgsql/module to %{_libdir}/postgresql. Change the path" |
4239f689 JB |
944 | echo "in dump file before restore." |
945 | echo | |
946 | echo "Warning for upgrade from version *before* 7.3." | |
947 | echo "Reading following webpage is encouraged:" | |
258750c1 | 948 | echo "http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3" |
4239f689 JB |
949 | exit 1 |
950 | fi | |
4b61b2c1 ER |
951 | %groupadd -g 88 -r postgres |
952 | %useradd -M -o -r -u 88 -d /home/services/postgres -s /bin/sh -g postgres -c "PostgreSQL Server" postgres | |
953 | ||
3c7ef761 | 954 | %triggerpostun -- %{name} < 7.2-2 |
e76d3d1a | 955 | if [ -n "`/bin/id -u postgres 2>/dev/null`" ]; then |
320d02f0 | 956 | /usr/sbin/usermod -d /home/services/postgres postgres |
320d02f0 | 957 | fi |
4a025d17 | 958 | |
b35e841d | 959 | %post |
1bc01910 | 960 | /sbin/chkconfig --add postgresql |
3a2e0fdd | 961 | %service postgresql restart "postgresql server" |
d183f71c JK |
962 | if [ "$1" -eq "1" ]; then |
963 | PG_DB_CLUSTERS="" | |
964 | [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql | |
965 | export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog | |
966 | for pgdir in $PG_DB_CLUSTERS; do | |
967 | instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')" | |
968 | /bin/systemctl --quiet enable "postgresql@$instance.service" || : | |
969 | done | |
970 | fi | |
971 | %systemd_post postgresql.service | |
c1db913e | 972 | |
1bc01910 | 973 | %preun |
974 | if [ "$1" = "0" ]; then | |
3a2e0fdd | 975 | %service postgresql stop |
1bc01910 | 976 | /sbin/chkconfig --del postgresql |
d183f71c JK |
977 | |
978 | PG_DB_CLUSTERS="" | |
979 | [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql | |
980 | export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog | |
981 | for pgdir in $PG_DB_CLUSTERS; do | |
982 | instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')" | |
983 | /bin/systemctl --quiet disable "postgresql@$instance.service" || : | |
984 | done | |
1bc01910 | 985 | fi |
d183f71c JK |
986 | %systemd_preun postgresql.service |
987 | ||
988 | %postun | |
989 | %systemd_reload | |
990 | ||
991 | %triggerpostun -- %{name} < 9.3.3-2 | |
992 | PG_DB_CLUSTERS="" | |
993 | [ -f /etc/sysconfig/postgresql ] && . /etc/sysconfig/postgresql | |
994 | for pgdir in $PG_DB_CLUSTERS; do | |
995 | instance="$(echo "$pgdir" | sed -e 's/^\///;s/-/\\x2d/g;s/@/\\x40/g;s/\//-/g')" | |
996 | /bin/systemctl --quiet enable "postgresql@$instance.service" || : | |
997 | done | |
998 | %systemd_trigger postgresql.service | |
016f481d | 999 | |
94b00d5a JK |
1000 | %post upstart |
1001 | %upstart_post postgresql | |
1002 | ||
1003 | %postun upstart | |
1004 | %upstart_postun postgresql | |
1005 | ||
a0af78da | 1006 | %post libs -p /sbin/ldconfig |
1007 | %postun libs -p /sbin/ldconfig | |
48115857 | 1008 | |
a0af78da | 1009 | %post ecpg -p /sbin/ldconfig |
1010 | %postun ecpg -p /sbin/ldconfig | |
6564a583 | 1011 | |
055aa993 | 1012 | %files -f main-%{mver}.lang |
103c268d | 1013 | %defattr(644,root,root,755) |
6ceb4ff1 | 1014 | %doc COPYRIGHT README HISTORY doc/{bug.template,KNOWN_BUGS,MISSING_FEATURES,TODO} |
bd011839 | 1015 | %attr(754,root,root) /etc/rc.d/init.d/postgresql |
63ca64a6 | 1016 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/postgresql |
d183f71c JK |
1017 | %{systemdunitdir}/%{name}.service |
1018 | %{systemdunitdir}/%{name}@.service | |
1019 | %{systemdunitdir}/%{name}.target | |
1020 | %dir /etc/systemd/system/%{name}.target.requires | |
b35e841d | 1021 | |
e957782b | 1022 | %attr(755,root,root) %{_bindir}/initdb |
6ceb4ff1 | 1023 | %attr(755,root,root) %{_bindir}/pg_basebackup |
084a7c24 | 1024 | %attr(755,root,root) %{_bindir}/pg_controldata |
1025 | %attr(755,root,root) %{_bindir}/pg_ctl | |
084a7c24 | 1026 | %attr(755,root,root) %{_bindir}/pg_resetxlog |
ecdee535 | 1027 | %attr(755,root,root) %{_bindir}/pg_receivexlog |
17ad3dd0 | 1028 | %attr(755,root,root) %{_bindir}/pg_recvlogical |
b5d14337 | 1029 | %attr(755,root,root) %{_bindir}/pg_upgrade |
e957782b | 1030 | %attr(755,root,root) %{_bindir}/postgres |
1031 | %attr(755,root,root) %{_bindir}/postmaster | |
084a7c24 | 1032 | |
d24d2940 JB |
1033 | %attr(755,root,root) %{_pgmoduledir}/ascii_and_mic.so |
1034 | %attr(755,root,root) %{_pgmoduledir}/cyrillic_and_mic.so | |
1035 | %attr(755,root,root) %{_pgmoduledir}/dict_int.so | |
1036 | %attr(755,root,root) %{_pgmoduledir}/dict_snowball.so | |
1037 | %attr(755,root,root) %{_pgmoduledir}/dict_xsyn.so | |
1038 | %attr(755,root,root) %{_pgmoduledir}/euc*.so | |
1039 | %attr(755,root,root) %{_pgmoduledir}/latin2_and_win1250.so | |
1040 | %attr(755,root,root) %{_pgmoduledir}/latin_and_mic.so | |
1041 | %attr(755,root,root) %{_pgmoduledir}/libpqwalreceiver.so | |
b5d14337 | 1042 | %attr(755,root,root) %{_pgmoduledir}/pg_upgrade_support.so |
d24d2940 JB |
1043 | %attr(755,root,root) %{_pgmoduledir}/plpgsql.so |
1044 | %attr(755,root,root) %{_pgmoduledir}/utf8_and_*.so | |
7386fb4a | 1045 | |
00287bb7 | 1046 | %dir %{_pgsqldir} |
6ceb4ff1 AM |
1047 | %{_pgsqldir}/plpgsql--*.sql |
1048 | %{_pgsqldir}/plpgsql.control | |
1049 | ||
1888f1fe | 1050 | %dir %{_datadir}/postgresql |
c80000c0 JR |
1051 | %{_datadir}/postgresql/*.bki |
1052 | %{_datadir}/postgresql/*.sample | |
1053 | %{_datadir}/postgresql/*.description | |
26925000 | 1054 | %{_datadir}/postgresql/*.shdescription |
fd6c8fe0 | 1055 | %{_datadir}/postgresql/*.sql |
16404f9a | 1056 | %{_datadir}/postgresql/*.txt |
687787e7 | 1057 | %{_datadir}/postgresql/timezonesets |
c51da2b5 | 1058 | %{_datadir}/postgresql/tsearch_data |
3786c16b | 1059 | |
587cbf9a JR |
1060 | %dir %{_datadir}/postgresql/contrib |
1061 | ||
320d02f0 | 1062 | %attr(700,postgres,postgres) /home/services/postgres |
af01ba47 | 1063 | %attr(700,postgres,postgres) %dir /var/lib/pgsql |
63ca64a6 | 1064 | %attr(640,postgres,postgres) %config(noreplace) %verify(not md5 mtime size) /var/log/pgsql |
048840cb | 1065 | |
7386fb4a | 1066 | %{_mandir}/man1/initdb.1* |
6ceb4ff1 | 1067 | %{_mandir}/man1/pg_basebackup.1* |
084a7c24 | 1068 | %{_mandir}/man1/pg_controldata.1* |
1069 | %{_mandir}/man1/pg_ctl.1* | |
1070 | %{_mandir}/man1/pg_resetxlog.1* | |
f2e6a39c | 1071 | %{_mandir}/man1/pg_receivexlog.1* |
17ad3dd0 | 1072 | %{_mandir}/man1/pg_recvlogical.1* |
7386fb4a AF |
1073 | %{_mandir}/man1/postgres.1* |
1074 | %{_mandir}/man1/postmaster.1* | |
084a7c24 | 1075 | |
19055269 | 1076 | %if "%{pld_release}" != "ti" |
94b00d5a JK |
1077 | %files upstart |
1078 | %defattr(644,root,root,755) | |
1079 | %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql.conf | |
1080 | %dir /etc/init/postgresql | |
1081 | %config(noreplace) %verify(not md5 mtime size) /etc/init/postgresql/instance.conf | |
19055269 | 1082 | %endif |
94b00d5a | 1083 | |
048840cb | 1084 | %files doc |
1085 | %defattr(644,root,root,755) | |
500e26d8 | 1086 | %doc doc/src/sgml/html howto |
438eb355 | 1087 | %{_examplesdir}/%{name}-%{version} |
5cb5ee80 | 1088 | |
055aa993 | 1089 | %files libs -f libpq5-%{mver}.lang |
7386fb4a | 1090 | %defattr(644,root,root,755) |
a28e2aa1 | 1091 | %attr(755,root,root) %{_libdir}/libpq.so.*.* |
1909f764 | 1092 | %attr(755,root,root) %ghost %{_libdir}/libpq.so.5 |
12ff1bb8 | 1093 | %dir %{_pgmoduledir} |
7386fb4a | 1094 | |
dc856210 | 1095 | %files ecpg -f ecpg.lang |
016f481d | 1096 | %defattr(644,root,root,755) |
00287bb7 | 1097 | %attr(755,root,root) %{_bindir}/ecpg |
6564a583 | 1098 | %attr(755,root,root) %{_libdir}/libecpg.so.*.* |
1909f764 | 1099 | %attr(755,root,root) %ghost %{_libdir}/libecpg.so.6 |
6564a583 | 1100 | %attr(755,root,root) %{_libdir}/libecpg_compat.so.*.* |
1909f764 | 1101 | %attr(755,root,root) %ghost %{_libdir}/libecpg_compat.so.3 |
6564a583 | 1102 | %attr(755,root,root) %{_libdir}/libpgtypes.so.*.* |
1909f764 | 1103 | %attr(755,root,root) %ghost %{_libdir}/libpgtypes.so.3 |
6564a583 | 1104 | %{_mandir}/man1/ecpg.1* |
1105 | ||
1106 | %files ecpg-devel | |
1107 | %defattr(644,root,root,755) | |
7386fb4a | 1108 | %attr(755,root,root) %{_libdir}/libecpg.so |
16404f9a | 1109 | %attr(755,root,root) %{_libdir}/libecpg_compat.so |
16404f9a | 1110 | %attr(755,root,root) %{_libdir}/libpgtypes.so |
687787e7 | 1111 | %{_includedir}/ecpg* |
5d47dd36 AM |
1112 | %{_pkgconfigdir}/libecpg.pc |
1113 | %{_pkgconfigdir}/libecpg_compat.pc | |
1114 | %{_pkgconfigdir}/libpgtypes.pc | |
6564a583 | 1115 | |
055aa993 | 1116 | %files devel -f pg_config-%{mver}.lang |
6564a583 | 1117 | %defattr(644,root,root,755) |
1118 | %attr(755,root,root) %{_bindir}/pg_config | |
1119 | %attr(755,root,root) %{_libdir}/libpq.so | |
1120 | %dir %{_includedir}/postgresql | |
ed4eae76 | 1121 | %{_includedir}/libpq-events.h |
6564a583 | 1122 | %{_includedir}/libpq-fe.h |
1123 | %{_includedir}/pg_config.h | |
5d47dd36 | 1124 | %{_includedir}/pg_config_ext.h |
6ec5e7a2 | 1125 | %{_includedir}/pg_config_manual.h |
6564a583 | 1126 | %{_includedir}/pg_config_os.h |
697ce059 | 1127 | %{_includedir}/postgres_ext.h |
00287bb7 | 1128 | %dir %{_includedir}/postgresql/internal |
1129 | %{_includedir}/postgresql/internal/c.h | |
1130 | %{_includedir}/postgresql/internal/libpq-int.h | |
6ec5e7a2 | 1131 | %{_includedir}/postgresql/internal/port.h |
00287bb7 | 1132 | %{_includedir}/postgresql/internal/postgres_fe.h |
1133 | %{_includedir}/postgresql/internal/pqexpbuffer.h | |
00287bb7 | 1134 | %{_includedir}/postgresql/internal/libpq |
084a7c24 | 1135 | %{_includedir}/libpq |
5d47dd36 | 1136 | %{_pkgconfigdir}/libpq.pc |
2b04c0fa | 1137 | %{_mandir}/man1/pg_config.1* |
7386fb4a | 1138 | |
cb920eb9 | 1139 | %files backend-devel |
ec709611 | 1140 | %defattr(644,root,root,755) |
00287bb7 | 1141 | %{_includedir}/postgresql/server |
12ff1bb8 JB |
1142 | %dir %{_pgmoduledir}/pgxs |
1143 | %attr(755,root,root) %{_pgmoduledir}/pgxs/config | |
1144 | %{_pgmoduledir}/pgxs/src | |
dd3bd164 | 1145 | %{_mandir}/man3/SPI_*.3* |
cb920eb9 | 1146 | |
7386fb4a AF |
1147 | %files static |
1148 | %defattr(644,root,root,755) | |
1149 | %{_libdir}/libecpg.a | |
16404f9a | 1150 | %{_libdir}/libecpg_compat.a |
7386fb4a | 1151 | %{_libdir}/libpq.a |
5d47dd36 | 1152 | %{_libdir}/libpgcommon.a |
16404f9a | 1153 | %{_libdir}/libpgtypes.a |
dc307bb4 | 1154 | %{_libdir}/libpgport.a |
b35e841d | 1155 | |
055aa993 | 1156 | %files clients -f clients-%{mver}.lang |
103c268d | 1157 | %defattr(644,root,root,755) |
06095b90 | 1158 | %attr(755,root,root) %{_bindir}/clusterdb |
1159 | %attr(755,root,root) %{_bindir}/createdb | |
1160 | %attr(755,root,root) %{_bindir}/createlang | |
1161 | %attr(755,root,root) %{_bindir}/createuser | |
1162 | %attr(755,root,root) %{_bindir}/dropdb | |
1163 | %attr(755,root,root) %{_bindir}/droplang | |
1164 | %attr(755,root,root) %{_bindir}/dropuser | |
e957782b | 1165 | %attr(755,root,root) %{_bindir}/pg_dump |
9bf007d0 | 1166 | %attr(755,root,root) %{_bindir}/pg_dumpall |
5d47dd36 | 1167 | %attr(755,root,root) %{_bindir}/pg_isready |
c80000c0 | 1168 | %attr(755,root,root) %{_bindir}/pg_restore |
e957782b | 1169 | %attr(755,root,root) %{_bindir}/psql |
af6badf5 | 1170 | %attr(755,root,root) %{_bindir}/reindexdb |
5cb5ee80 | 1171 | %attr(755,root,root) %{_bindir}/vacuumdb |
b35e841d | 1172 | |
06095b90 | 1173 | %{_mandir}/man1/clusterdb.1* |
1174 | %{_mandir}/man1/createdb.1* | |
1175 | %{_mandir}/man1/createlang.1* | |
1176 | %{_mandir}/man1/createuser.1* | |
1177 | %{_mandir}/man1/dropdb.1* | |
1178 | %{_mandir}/man1/droplang.1* | |
1179 | %{_mandir}/man1/dropuser.1* | |
7386fb4a AF |
1180 | %{_mandir}/man1/pg_dump.1* |
1181 | %{_mandir}/man1/pg_dumpall.1* | |
5d47dd36 | 1182 | %{_mandir}/man1/pg_isready.1* |
c80000c0 | 1183 | %{_mandir}/man1/pg_restore.1* |
b5d14337 | 1184 | %{_mandir}/man1/pg_upgrade.1.gz |
7386fb4a | 1185 | %{_mandir}/man1/psql.1* |
af6badf5 | 1186 | %{_mandir}/man1/reindexdb.1* |
c80000c0 | 1187 | %{_mandir}/man1/vacuumdb.1* |
7dac5ffa | 1188 | %{_mandir}/man7/*.7* |
7386fb4a | 1189 | |
c6b2c886 | 1190 | %if %{with perl} |
500e26d8 | 1191 | %files module-plperl -f plperl-%{mver}.lang |
00287bb7 | 1192 | %defattr(644,root,root,755) |
1193 | %attr(755,root,root) %{_pgmoduledir}/plperl.so | |
6ceb4ff1 AM |
1194 | %{_pgsqldir}/plperl--*.sql |
1195 | %{_pgsqldir}/plperl.control | |
1196 | %{_pgsqldir}/plperlu--*.sql | |
1197 | %{_pgsqldir}/plperlu.control | |
c6b2c886 | 1198 | %endif |
00287bb7 | 1199 | |
c6b2c886 | 1200 | %if %{with python} |
500e26d8 | 1201 | %files module-plpython -f plpython-%{mver}.lang |
00287bb7 | 1202 | %defattr(644,root,root,755) |
6d8da3ba | 1203 | %attr(755,root,root) %{_pgmoduledir}/plpython2.so |
6ceb4ff1 AM |
1204 | %{_pgsqldir}/plpython*--*.sql |
1205 | %{_pgsqldir}/plpython*.control | |
c6b2c886 | 1206 | %endif |
4ddf546b | 1207 | |
16404f9a | 1208 | %if %{with tcl} |
500e26d8 | 1209 | %files module-pltcl -f pltcl-%{mver}.lang |
4ddf546b | 1210 | %defattr(644,root,root,755) |
084a7c24 | 1211 | %attr(755,root,root) %{_bindir}/pltcl_* |
00287bb7 | 1212 | %attr(755,root,root) %{_pgmoduledir}/pltcl.so |
7543e4a8 | 1213 | %{_pgsqldir}/unknown.pltcl |
6ceb4ff1 AM |
1214 | %{_pgsqldir}/pltcl*--*.sql |
1215 | %{_pgsqldir}/pltcl*.control | |
16404f9a | 1216 | %endif |
ff04b431 | 1217 | |
d8edd803 JB |
1218 | %files module-dblink |
1219 | %defattr(644,root,root,755) | |
d8edd803 | 1220 | %attr(755,root,root) %{_pgmoduledir}/dblink.so |
6ceb4ff1 AM |
1221 | %{_pgsqldir}/dblink--*.sql |
1222 | %{_pgsqldir}/dblink.control | |
75373ca4 | 1223 | %{_mandir}/man3/dblink*.3* |
d8edd803 | 1224 | |
8646766c JB |
1225 | %files module-lo |
1226 | %defattr(644,root,root,755) | |
8646766c | 1227 | %attr(755,root,root) %{_pgmoduledir}/lo.so |
6ceb4ff1 AM |
1228 | %{_pgsqldir}/lo--*.sql |
1229 | %{_pgsqldir}/lo.control | |
8646766c | 1230 | |
60fcd7d3 JB |
1231 | %files module-pg_trgm |
1232 | %defattr(644,root,root,755) | |
1233 | %attr(755,root,root) %{_pgmoduledir}/pg_trgm.so | |
1234 | %{_pgsqldir}/pg_trgm--*.sql | |
1235 | %{_pgsqldir}/pg_trgm.control | |
1236 | ||
5b79623d | 1237 | %files module-pgcrypto |
ff04b431 | 1238 | %defattr(644,root,root,755) |
5b79623d | 1239 | %attr(755,root,root) %{_pgmoduledir}/pgcrypto.so |
6ceb4ff1 AM |
1240 | %{_pgsqldir}/pgcrypto--*.sql |
1241 | %{_pgsqldir}/pgcrypto.control | |
ae08c8ad | 1242 | |
2fff9ae7 | 1243 | %if %{with selinux} |
60fcd7d3 JB |
1244 | %files module-sepgsql |
1245 | %defattr(644,root,root,755) | |
1246 | %attr(755,root,root) %{_pgmoduledir}/sepgsql.so | |
1247 | %{_pgsqldir}/sepgsql.sql | |
2fff9ae7 | 1248 | %endif |
60fcd7d3 | 1249 | |
bc5c807d PG |
1250 | %files module-tablefunc |
1251 | %defattr(644,root,root,755) | |
bc5c807d | 1252 | %attr(755,root,root) %{_pgmoduledir}/tablefunc.so |
6ceb4ff1 AM |
1253 | %{_pgsqldir}/*tablefunc--*.sql |
1254 | %{_pgsqldir}/*tablefunc.control | |
bc5c807d | 1255 | |
0b02f266 | 1256 | %files module-xml2 |
1257 | %defattr(644,root,root,755) | |
0b02f266 | 1258 | %attr(755,root,root) %{_pgmoduledir}/pgxml.so |
6ceb4ff1 AM |
1259 | %{_pgsqldir}/xml2--*.sql |
1260 | %{_pgsqldir}/xml2.control | |
c51da2b5 | 1261 | |
1262 | %files contrib | |
1263 | %defattr(644,root,root,755) | |
3be975a0 | 1264 | %doc contrib/README |
3c7ef761 | 1265 | %attr(755,root,root) %{_bindir}/oid2name |
d24d2940 | 1266 | %attr(755,root,root) %{_bindir}/pg_archivecleanup |
c74c603d | 1267 | %attr(755,root,root) %{_bindir}/pg_standby |
5d47dd36 | 1268 | %attr(755,root,root) %{_bindir}/pg_xlogdump |
3c7ef761 ER |
1269 | %attr(755,root,root) %{_bindir}/pgbench |
1270 | %attr(755,root,root) %{_bindir}/vacuumlo | |
c51da2b5 | 1271 | %attr(755,root,root) %{_pgmoduledir}/_int.so |
1272 | %attr(755,root,root) %{_pgmoduledir}/adminpack.so | |
60fcd7d3 | 1273 | %attr(755,root,root) %{_pgmoduledir}/auth_delay.so |
c74c603d | 1274 | %attr(755,root,root) %{_pgmoduledir}/auto_explain.so |
1275 | %attr(755,root,root) %{_pgmoduledir}/btree_gin.so | |
c51da2b5 | 1276 | %attr(755,root,root) %{_pgmoduledir}/btree_gist.so |
1277 | %attr(755,root,root) %{_pgmoduledir}/chkpass.so | |
c74c603d | 1278 | %attr(755,root,root) %{_pgmoduledir}/citext.so |
1279 | %attr(755,root,root) %{_pgmoduledir}/cube.so | |
1280 | %attr(755,root,root) %{_pgmoduledir}/earthdistance.so | |
60fcd7d3 | 1281 | %attr(755,root,root) %{_pgmoduledir}/file_fdw.so |
7caa0fe8 | 1282 | %attr(755,root,root) %{_pgmoduledir}/fuzzystrmatch.so |
c51da2b5 | 1283 | %attr(755,root,root) %{_pgmoduledir}/hstore.so |
c51da2b5 | 1284 | %attr(755,root,root) %{_pgmoduledir}/isn.so |
1285 | %attr(755,root,root) %{_pgmoduledir}/ltree.so | |
1286 | %attr(755,root,root) %{_pgmoduledir}/pageinspect.so | |
d24d2940 | 1287 | %attr(755,root,root) %{_pgmoduledir}/passwordcheck.so |
c51da2b5 | 1288 | %attr(755,root,root) %{_pgmoduledir}/pg_buffercache.so |
1289 | %attr(755,root,root) %{_pgmoduledir}/pg_freespacemap.so | |
17ad3dd0 | 1290 | %attr(755,root,root) %{_pgmoduledir}/pg_prewarm.so |
c74c603d | 1291 | %attr(755,root,root) %{_pgmoduledir}/pg_stat_statements.so |
c51da2b5 | 1292 | %attr(755,root,root) %{_pgmoduledir}/pgrowlocks.so |
1293 | %attr(755,root,root) %{_pgmoduledir}/pgstattuple.so | |
f2e6a39c | 1294 | %attr(755,root,root) %{_pgmoduledir}/postgres_fdw.so |
c74c603d | 1295 | %attr(755,root,root) %{_pgmoduledir}/seg.so |
c51da2b5 | 1296 | %attr(755,root,root) %{_pgmoduledir}/sslinfo.so |
f2e6a39c | 1297 | %attr(755,root,root) %{_pgmoduledir}/tcn.so |
d24d2940 | 1298 | %attr(755,root,root) %{_pgmoduledir}/unaccent.so |
c74c603d | 1299 | %attr(755,root,root) %{_pgmoduledir}/uuid-ossp.so |
6ceb4ff1 AM |
1300 | %{_pgsqldir}/adminpack--*.sql |
1301 | %{_pgsqldir}/adminpack.control | |
1302 | %{_pgsqldir}/btree_gin--*.sql | |
1303 | %{_pgsqldir}/btree_gin.control | |
1304 | %{_pgsqldir}/btree_gist--*.sql | |
1305 | %{_pgsqldir}/btree_gist.control | |
1306 | %{_pgsqldir}/chkpass--*.sql | |
1307 | %{_pgsqldir}/chkpass.control | |
1308 | %{_pgsqldir}/citext--*.sql | |
1309 | %{_pgsqldir}/citext.control | |
1310 | %{_pgsqldir}/cube--*.sql | |
1311 | %{_pgsqldir}/cube.control | |
1312 | %{_pgsqldir}/dict_int--*.sql | |
1313 | %{_pgsqldir}/dict_int.control | |
1314 | %{_pgsqldir}/dict_xsyn--*.sql | |
1315 | %{_pgsqldir}/dict_xsyn.control | |
1316 | %{_pgsqldir}/earthdistance--*.sql | |
1317 | %{_pgsqldir}/earthdistance.control | |
60fcd7d3 JB |
1318 | %{_pgsqldir}/file_fdw--*.sql |
1319 | %{_pgsqldir}/file_fdw.control | |
1320 | %{_pgsqldir}/fuzzystrmatch--*.sql | |
6ceb4ff1 AM |
1321 | %{_pgsqldir}/fuzzystrmatch.control |
1322 | %{_pgsqldir}/hstore--*.sql | |
1323 | %{_pgsqldir}/hstore.control | |
1324 | %{_pgsqldir}/intarray--*.sql | |
1325 | %{_pgsqldir}/intarray.control | |
1326 | %{_pgsqldir}/intagg--*.sql | |
1327 | %{_pgsqldir}/intagg.control | |
1328 | %{_pgsqldir}/isn--*.sql | |
1329 | %{_pgsqldir}/isn.control | |
1330 | %{_pgsqldir}/ltree--*.sql | |
1331 | %{_pgsqldir}/ltree.control | |
1332 | %{_pgsqldir}/pageinspect--*.sql | |
1333 | %{_pgsqldir}/pageinspect.control | |
1334 | %{_pgsqldir}/pg_buffercache--*.sql | |
1335 | %{_pgsqldir}/pg_buffercache.control | |
1336 | %{_pgsqldir}/pg_freespacemap--*.sql | |
1337 | %{_pgsqldir}/pg_freespacemap.control | |
17ad3dd0 AZ |
1338 | %{_pgsqldir}/pg_prewarm--*.sql |
1339 | %{_pgsqldir}/pg_prewarm.control | |
6ceb4ff1 AM |
1340 | %{_pgsqldir}/pg_stat_statements--*.sql |
1341 | %{_pgsqldir}/pg_stat_statements.control | |
1342 | %{_pgsqldir}/pgrowlocks--*.sql | |
1343 | %{_pgsqldir}/pgrowlocks.control | |
1344 | %{_pgsqldir}/pgstattuple--*.sql | |
1345 | %{_pgsqldir}/pgstattuple.control | |
f2e6a39c JB |
1346 | %{_pgsqldir}/postgres_fdw--*.sql |
1347 | %{_pgsqldir}/postgres_fdw.control | |
6ceb4ff1 AM |
1348 | %{_pgsqldir}/seg--*.sql |
1349 | %{_pgsqldir}/seg.control | |
1350 | %{_pgsqldir}/sslinfo--*.sql | |
1351 | %{_pgsqldir}/sslinfo.control | |
f2e6a39c JB |
1352 | %{_pgsqldir}/tcn--*.sql |
1353 | %{_pgsqldir}/tcn.control | |
6ceb4ff1 AM |
1354 | %{_pgsqldir}/unaccent--*.sql |
1355 | %{_pgsqldir}/unaccent.control | |
1356 | %{_pgsqldir}/uuid-ossp--*.sql | |
1357 | %{_pgsqldir}/uuid-ossp.control | |
f2e6a39c JB |
1358 | %{_mandir}/man1/oid2name.1* |
1359 | %{_mandir}/man1/pg_archivecleanup.1* | |
1360 | %{_mandir}/man1/pg_standby.1* | |
5d47dd36 | 1361 | %{_mandir}/man1/pg_xlogdump.1* |
f2e6a39c JB |
1362 | %{_mandir}/man1/pgbench.1* |
1363 | %{_mandir}/man1/vacuumlo.1* |