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