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