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