]>
Commit | Line | Data |
---|---|---|
50200f22 | 1 | # TODO: |
1a9285c0 | 2 | # - mysqldump ... (invalid usage) prints to stdout not stderr (idiotic if you want to create dump and get usage in .sql) |
c0326166 | 3 | # - http://bugs.mysql.com/bug.php?id=16470 |
9cc19375 AM |
4 | # - innodb are dynamic (= as plugins) ? |
5 | # - missing have_archive, have_merge | |
6 | # - is plugin_dir lib64 safe? | |
7 | # - Using NDB Cluster... could not find sci transporter in /{include, lib} | |
13e51307 | 8 | # - !!! Makefiles for libmysqld.so !!! |
643c5039 AG |
9 | # - segfaults on select from non-mysql user (caused by builder environment): |
10 | # https://bugs.launchpad.net/pld-linux/+bug/381904 | |
20272b1d | 11 | # (profiling disabled temporaily to workaround this) |
7342ea21 ER |
12 | # - unpackaged files: |
13 | # /usr/COPYING.AGPLv3 | |
14 | # /usr/COPYING.GPLv2 | |
15 | # /usr/PATENTS | |
16 | # /usr/README.md | |
17 | # /usr/bin/mysqlxtest | |
18 | # /usr/include/backup.h | |
d3b746a3 ER |
19 | # NOTE: |
20 | # - mysql 'root' user will be 'root' not 'mysql' with 5.7 package | |
21 | # this is to make pld consistent what the rest of the world uses. | |
6c94aa6c | 22 | # |
23 | # Conditional build: | |
aa8262f8 | 24 | %bcond_with autodeps # BR packages needed only for resolving deps |
54e670e7 | 25 | %bcond_without innodb # InnoDB storage engine support |
84fe95c7 | 26 | %bcond_without big_tables # Support tables with more than 4G rows even on 32 bit platforms |
dc311758 | 27 | %bcond_without federated # Federated storage engine support |
54e670e7 PG |
28 | %bcond_without raid # RAID support |
29 | %bcond_without ssl # OpenSSL support | |
49c2ceda | 30 | %bcond_with systemtap # systemtap/dtrace probes |
54e670e7 | 31 | %bcond_without tcpd # libwrap (tcp_wrappers) support |
ee6138a8 | 32 | %bcond_with sphinx # Sphinx storage engine support |
78c6f5a7 | 33 | %bcond_without tokudb # TokuDB |
0beb0def | 34 | # mysql needs boost 1.59.0 and doesn't support newer/older boost versions |
8ce69c5b | 35 | %bcond_with system_boost # Use system boost package |
7fbcff7e | 36 | %bcond_with tests # FIXME: don't run correctly |
08472466 | 37 | %bcond_with ndb # NDB is now a separate product, this here is broken, so disable it |
92992b51 | 38 | |
78c6f5a7 AM |
39 | # tokudb is only supported on x86_64 |
40 | %ifnarch %{x8664} | |
41 | %undefine with_tokudb | |
42 | %endif | |
43 | ||
0beb0def | 44 | %define rel 0.4 |
a1a9dfeb | 45 | %define percona_rel 16 |
c2c4112b | 46 | %include /usr/lib/rpm/macros.perl |
26c94b7a AM |
47 | Summary: Percona Server: a very fast and reliable SQL database engine |
48 | Summary(de.UTF-8): Percona Server: ist eine SQL-Datenbank | |
49 | Summary(fr.UTF-8): Percona Server: un serveur SQL rapide et fiable | |
50 | Summary(pl.UTF-8): Percona Server: bardzo szybka i niezawodna baza danych (SQL) | |
51 | Summary(pt_BR.UTF-8): Percona Server: Um servidor SQL rápido e confiável | |
52 | Summary(ru.UTF-8): Percona Server - быстрый SQL-сервер | |
53 | Summary(uk.UTF-8): Percona Server - швидкий SQL-сервер | |
54 | Summary(zh_CN.UTF-8): Percona Server数据库服务器 | |
55 | Name: percona-server | |
a1a9dfeb | 56 | Version: 5.7.18 |
cf833d8e | 57 | Release: %{percona_rel}.%{rel} |
26c94b7a | 58 | License: GPL + Percona Server FLOSS Exception |
7803433d | 59 | Group: Applications/Databases |
cbfddd83 | 60 | Source0: https://www.percona.com/downloads/Percona-Server-5.7/LATEST/source/tarball/%{name}-%{version}-%{percona_rel}.tar.gz |
a1a9dfeb AM |
61 | # Source0-md5: 01a79e52b352f771ce2025b549b98d6a |
62 | Source100: http://www.sphinxsearch.com/files/sphinx-2.2.11-release.tar.gz | |
63 | # Source100-md5: 5cac34f3d78a9d612ca4301abfcbd666 | |
0beb0def AM |
64 | %if %{without system_boost} |
65 | Source101: http://downloads.sourceforge.net/boost/boost_1_59_0.tar.bz2 | |
66 | # Source101-md5: 6aa9a5c6a4ca1016edd0ed1178e3cb87 | |
67 | %endif | |
2a30c7ca | 68 | Source1: %{name}.init |
69 | Source2: %{name}.sysconfig | |
70 | Source3: %{name}.logrotate | |
26c94b7a | 71 | Source4: mysqld.conf |
50200f22 | 72 | Source5: %{name}-clusters.conf |
d72472ee AM |
73 | Source7: %{name}-ndb.init |
74 | Source8: %{name}-ndb.sysconfig | |
75 | Source9: %{name}-ndb-mgm.init | |
76 | Source10: %{name}-ndb-mgm.sysconfig | |
77 | Source11: %{name}-ndb-cpc.init | |
78 | Source12: %{name}-ndb-cpc.sysconfig | |
7df2d935 | 79 | Source13: %{name}-client.conf |
978cdac2 | 80 | Source14: my.cnf |
26c94b7a AM |
81 | Patch0: mysql-opt.patch |
82 | Patch1: mysql-versioning.patch | |
26c94b7a | 83 | |
0beb0def AM |
84 | Patch7: lz4.patch |
85 | ||
26c94b7a AM |
86 | Patch11: mysql-upgrade.patch |
87 | Patch12: mysql-config.patch | |
26c94b7a AM |
88 | Patch18: mysql-sphinx.patch |
89 | Patch19: mysql-chain-certs.patch | |
90e4ba9d | 90 | # from fedora |
26c94b7a | 91 | Patch20: mysql-dubious-exports.patch |
1ff19b43 | 92 | |
26c94b7a | 93 | Patch24: mysql-cmake.patch |
26c94b7a | 94 | URL: https://www.percona.com/software/mysql-database/percona-server |
cf421da8 | 95 | BuildRequires: bison >= 1.875 |
0beb0def | 96 | BuildRequires: cmake >= 2.8.2 |
96b6cbc2 | 97 | BuildRequires: readline-devel >= 6.2 |
6a4d2f37 | 98 | BuildRequires: libstdc++-devel >= 5:4.0 |
9f126bbc | 99 | BuildRequires: automake |
3578ae01 | 100 | %{?with_system_boost:BuildRequires: boost-devel = 1.59.0} |
3d33ff78 | 101 | BuildRequires: libhsclient-devel |
2e5f696d | 102 | %{?with_tcpd:BuildRequires: libwrap-devel} |
0beb0def | 103 | BuildRequires: mecab-devel |
7b36dde8 | 104 | BuildRequires: ncurses-devel >= 4.2 |
2e5f696d | 105 | %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d} |
9f126bbc | 106 | BuildRequires: pam-devel |
3f8fcf96 | 107 | %{?with_autodeps:BuildRequires: perl-DBI} |
d15a6540 | 108 | BuildRequires: perl-devel >= 1:5.6.1 |
9f126bbc | 109 | BuildRequires: python-modules |
d15a6540 | 110 | BuildRequires: rpm-perlprov >= 4.1-13 |
6a4d2f37 | 111 | BuildRequires: rpmbuild(macros) >= 1.597 |
84fe95c7 | 112 | BuildRequires: sed >= 4.0 |
f42f4b0d | 113 | %{?with_systemtap:BuildRequires: systemtap-sdt-devel} |
5a225b4d | 114 | BuildRequires: zlib-devel |
7803433d ER |
115 | Requires(post,preun): /sbin/chkconfig |
116 | Requires(postun): /usr/sbin/groupdel | |
117 | Requires(postun): /usr/sbin/userdel | |
33f9bccb | 118 | Requires(pre): /bin/id |
7803433d | 119 | Requires(pre): /usr/bin/getgid |
33f9bccb | 120 | Requires(pre): /usr/sbin/groupadd |
121 | Requires(pre): /usr/sbin/useradd | |
6e6b75c9 | 122 | Requires(triggerpostun): sed >= 4.0 |
ad0a7267 | 123 | Requires: %{name}-charsets = %{version}-%{release} |
5a0031b8 | 124 | Requires: %{name}-libs = %{version}-%{release} |
2539bd3a | 125 | Requires: /usr/bin/setsid |
7803433d | 126 | Requires: rc-scripts >= 0.2.0 |
26c94b7a | 127 | Suggests: percona-server-client |
99e96521 | 128 | %{?with_tcpd:Suggests: tcp_wrappers} |
a76adf0b | 129 | Suggests: vim-syntax-mycnf |
717073d7 | 130 | Provides: MySQL-server |
c354982f | 131 | Provides: group(mysql) |
717073d7 | 132 | Provides: msqlormysql |
c354982f | 133 | Provides: user(mysql) |
5a225b4d | 134 | Obsoletes: MySQL |
135 | Obsoletes: mysql-server | |
2070f281 | 136 | Conflicts: logrotate < 3.8.0 |
c354982f | 137 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ceb5ca86 | 138 | |
8de1b4ed | 139 | %define _libexecdir %{_sbindir} |
0beb0def | 140 | %define _localstatedir /var/lib/mysql |
26c94b7a | 141 | %define _perconahome /home/services/%{name} |
e73cea44 | 142 | |
ceb5ca86 | 143 | %description |
26c94b7a AM |
144 | Percona Server is a true multi-user, multi-threaded SQL (Structured |
145 | Query Language) database server. SQL is the most popular database | |
146 | language in the world. Percona Server is a client/server | |
147 | implementation that consists of a server daemon mysqld and many | |
148 | different client programs/libraries. | |
149 | ||
150 | The main goals of Percona Server are speed, robustness and easy to | |
151 | use. Percona Server was originally developed because we at Tcx needed | |
152 | a SQL server that could handle very big databases with magnitude | |
153 | higher speed than what any database vendor could offer to us. We have | |
154 | now been using Percona Server since 1996 in a environment with more | |
155 | than 40 databases, 10,000 tables, of which more than 500 have more | |
156 | than 7 million rows. This is about 50G of mission critical data. | |
157 | ||
158 | The base upon which Percona Server is built is a set of routines that | |
159 | have been used in a highly demanding production environment for many | |
160 | years. While Percona Server is still in development, it already offers | |
161 | a rich and highly useful function set. | |
ceb5ca86 | 162 | |
a82d818e | 163 | %description -l fr.UTF-8 |
26c94b7a AM |
164 | Percona Server est un serveur de bases de donnees SQL vraiment |
165 | multi-usagers et multi-taches. Le langage SQL est le langage de bases | |
166 | de donnees le plus populaire au monde. Percona Server est une | |
167 | implementation client/serveur qui consiste en un serveur (mysqld) et | |
168 | differents programmes/bibliotheques clientes. | |
169 | ||
170 | Les objectifs principaux de Percona Server sont: vitesse, robustesse | |
171 | et facilite d'utilisation. Percona Server fut originalement developpe | |
172 | parce que nous, chez Tcx, avions besoin d'un serveur SQL qui pouvait | |
173 | gerer de tres grandes bases de donnees avec une vitesse d'un ordre de | |
174 | magnitude superieur a ce que n'importe quel vendeur pouvait nous | |
175 | offrir. Nous utilisons Percona Server depuis 1996 dans un | |
176 | environnement avec plus de 40 bases de donnees, 10000 tables, | |
177 | desquelles plus de 500 ont plus de 7 millions de lignes. Ceci | |
178 | represente environ 50G de donnees critiques. | |
179 | ||
180 | A la base de la conception de Percona Server, on retrouve une serie de | |
181 | routines qui ont ete utilisees dans un environnement de production | |
182 | pendant plusieurs annees. Meme si Percona Server est encore en | |
183 | developpement, il offre deja une riche et utile serie de fonctions. | |
3fe2f194 | 184 | |
a82d818e | 185 | %description -l pl.UTF-8 |
26c94b7a AM |
186 | Percona Server to prawdziwie wieloużytkownikowy, wielowątkowy serwer |
187 | baz danych SQL. SQL jest najpopularniejszym na świecie językiem | |
188 | używanym do baz danych. Percona Server to implementacja klient/serwer | |
189 | składająca się z demona mysqld i wielu różnych programów i bibliotek | |
190 | klienckich. | |
191 | ||
192 | Głównymi celami Percona Server-a są szybkość, potęga i łatwość | |
193 | użytkowania. Percona Server oryginalnie był tworzony, ponieważ autorzy | |
194 | w Tcx potrzebowali serwera SQL do obsługi bardzo dużych baz danych z | |
195 | szybkością o wiele większą, niż mogli zaoferować inni producenci baz | |
196 | danych. Używają go od 1996 roku w środowisku z ponad 40 bazami danych, | |
197 | 10 000 tabel, z których ponad 500 zawiera ponad 7 milionów rekordów - | |
198 | w sumie około 50GB krytycznych danych. | |
199 | ||
200 | Baza, na której oparty jest Percona Server, składa się ze zbioru | |
201 | procedur, które były używane w bardzo wymagającym środowisku | |
202 | produkcyjnym przez wiele lat. Pomimo, że Percona Server jest ciągle | |
203 | rozwijany, już oferuje bogaty i użyteczny zbiór funkcji. | |
ceb5ca86 | 204 | |
a82d818e | 205 | %description -l de.UTF-8 |
26c94b7a AM |
206 | Percona Server ist eine SQL-Datenbank. Allerdings ist sie im Gegensatz |
207 | zu Oracle, DB2 oder PostgreSQL keine relationale Datenbank. Die Daten | |
a82d818e JR |
208 | werden zwar in zweidimensionalen Tabellen gespeichert und können mit |
209 | einem Primärschlüssel versehen werden. Es ist aber keine Definition | |
210 | eines Fremdschlüssels möglich. Der Benutzer ist somit bei einer | |
26c94b7a AM |
211 | Percona Server-Datenbank völlig allein für die (referenzielle) |
212 | Integrität der Daten verantwortlich. Allein durch die Nutzung externer | |
a82d818e | 213 | Tabellenformate, wie InnoDB bzw Berkeley DB wird eine Relationalität |
26c94b7a AM |
214 | ermöglicht. Diese Projekte sind aber getrennt von Percona Server zu |
215 | betrachten. | |
1c06b825 | 216 | |
a82d818e | 217 | %description -l pt_BR.UTF-8 |
26c94b7a AM |
218 | O Percona Server é um servidor de banco de dados SQL realmente |
219 | multiusuário e multi-tarefa. A linguagem SQL é a mais popular | |
220 | linguagem para banco de dados no mundo. O Percona Server é uma | |
221 | implementação cliente/servidor que consiste de um servidor chamado | |
222 | mysqld e diversos programas/bibliotecas clientes. Os principais | |
223 | objetivos do Percona Server são: velocidade, robustez e facilidade de | |
224 | uso. O Percona Server foi originalmente desenvolvido porque nós na Tcx | |
225 | precisávamos de um servidor SQL que pudesse lidar com grandes bases de | |
226 | dados e com uma velocidade muito maior do que a que qualquer vendedor | |
227 | podia nos oferecer. Estamos usando o Percona Server desde 1996 em um | |
228 | ambiente com mais de 40 bases de dados com 10.000 tabelas, das quais | |
229 | mais de 500 têm mais de 7 milhões de linhas. Isto é o equivalente a | |
230 | aproximadamente 50G de dados críticos. A base da construção do Percona | |
231 | Server é uma série de rotinas que foram usadas em um ambiente de | |
232 | produção com alta demanda por muitos anos. Mesmo o Percona Server | |
233 | estando ainda em desenvolvimento, ele já oferece um conjunto de | |
a82d818e JR |
234 | funções muito ricas e úteis. Veja a documentação para maiores |
235 | informações. | |
236 | ||
237 | %description -l ru.UTF-8 | |
26c94b7a AM |
238 | Percona Server - это SQL (Structured Query Language) сервер базы |
239 | данных. Percona Server была написана Michael'ом (monty) Widenius'ом. | |
240 | См. файл CREDITS в дистрибутиве на предмет других участников проекта и | |
241 | прочей информации о Percona Server. | |
a82d818e JR |
242 | |
243 | %description -l uk.UTF-8 | |
26c94b7a AM |
244 | Percona Server - це SQL (Structured Query Language) сервер бази даних. |
245 | Percona Server було написано Michael'ом (monty) Widenius'ом. Див. файл | |
246 | CREDITS в дистрибутиві для інформації про інших учасників проекту та | |
247 | іншої інформації. | |
bf60a170 | 248 | |
2539bd3a | 249 | %package charsets |
26c94b7a AM |
250 | Summary: Percona Server - character sets definitions |
251 | Summary(pl.UTF-8): Percona Server - definicje kodowań znaków | |
2539bd3a JB |
252 | Group: Applications/Databases |
253 | ||
254 | %description charsets | |
255 | This package contains character sets definitions needed by both client | |
256 | and server. | |
257 | ||
a82d818e JR |
258 | %description charsets -l pl.UTF-8 |
259 | Ten pakiet zawiera definicje kodowań znaków potrzebne dla serwera i | |
2539bd3a JB |
260 | klienta. |
261 | ||
8de1b4ed | 262 | %package extras |
26c94b7a AM |
263 | Summary: Percona Server additional utilities |
264 | Summary(pl.UTF-8): Dodatkowe narzędzia do Percona Server | |
8de1b4ed | 265 | Group: Applications/Databases |
da1eef6c | 266 | Requires: %{name}-client = %{version}-%{release} |
3103a6d7 | 267 | Requires: %{name}-libs = %{version}-%{release} |
8de1b4ed | 268 | |
269 | %description extras | |
26c94b7a AM |
270 | Percona Server additional utilities except Perl scripts (they may be |
271 | found in %{name}-extras-perl package). | |
8afdedd4 | 272 | |
a82d818e | 273 | %description extras -l pl.UTF-8 |
26c94b7a AM |
274 | Dodatkowe narzędzia do Percona Server - z wyjątkiem skryptów Perla |
275 | (które są w pakiecie %{name}-extras-perl). | |
84bd803c | 276 | |
8afdedd4 | 277 | %package extras-perl |
26c94b7a AM |
278 | Summary: Percona Server additional utilities written in Perl |
279 | Summary(pl.UTF-8): Dodatkowe narzędzia do Percona Server napisane w Perlu | |
8afdedd4 | 280 | Group: Applications/Databases |
3103a6d7 | 281 | Requires: %{name}-extras = %{version}-%{release} |
26c94b7a | 282 | Requires: perl-DBD-mysql |
b8f6b666 | 283 | |
8afdedd4 | 284 | %description extras-perl |
26c94b7a | 285 | Percona Server additional utilities written in Perl. |
8de1b4ed | 286 | |
a82d818e | 287 | %description extras-perl -l pl.UTF-8 |
26c94b7a | 288 | Dodatkowe narzędzia do Percona Server napisane w Perlu. |
84bd803c | 289 | |
ceb5ca86 | 290 | %package client |
26c94b7a AM |
291 | Summary: Percona Server - Client |
292 | Summary(pl.UTF-8): Percona Server - Klient | |
293 | Summary(pt.UTF-8): Percona Server - Cliente | |
294 | Summary(ru.UTF-8): Percona Server клиент | |
295 | Summary(uk.UTF-8): Percona Server клієнт | |
ceb5ca86 | 296 | Group: Applications/Databases |
ad0a7267 | 297 | Requires: %{name}-charsets = %{version}-%{release} |
1101e5b7 | 298 | Requires: %{name}-libs = %{version}-%{release} |
96b6cbc2 | 299 | Requires: readline >= 6.2 |
c486a119 | 300 | Obsoletes: MySQL-client |
ceb5ca86 AM |
301 | |
302 | %description client | |
26c94b7a | 303 | This package contains the standard Percona Server clients. |
ceb5ca86 | 304 | |
a82d818e | 305 | %description client -l fr.UTF-8 |
26c94b7a | 306 | Ce package contient les clients Percona Server standards. |
3fe2f194 | 307 | |
a82d818e | 308 | %description client -l pl.UTF-8 |
26c94b7a | 309 | Standardowe programy klienckie Percona Server. |
ceb5ca86 | 310 | |
a82d818e | 311 | %description client -l pt_BR.UTF-8 |
26c94b7a | 312 | Este pacote contém os clientes padrão para o Percona Server. |
ceb5ca86 | 313 | |
a82d818e | 314 | %description client -l ru.UTF-8 |
26c94b7a | 315 | Этот пакет содержит только клиент Percona Server. |
bf60a170 | 316 | |
a82d818e | 317 | %description client -l uk.UTF-8 |
26c94b7a | 318 | Цей пакет містить тільки клієнта Percona Server. |
bf60a170 | 319 | |
3fe2f194 | 320 | %package libs |
26c94b7a AM |
321 | Summary: Shared libraries for Percona Server |
322 | Summary(pl.UTF-8): Biblioteki współdzielone Percona Server | |
031565bb | 323 | Group: Libraries |
5c69de9f | 324 | Obsoletes: libmysql10 |
be07ff22 | 325 | Obsoletes: mysql-doc < 4.1.12 |
ceb5ca86 | 326 | |
3fe2f194 | 327 | %description libs |
26c94b7a | 328 | Shared libraries for Percona Server. |
ceb5ca86 | 329 | |
a82d818e | 330 | %description libs -l pl.UTF-8 |
26c94b7a | 331 | Biblioteki współdzielone Percona Server. |
84bd803c | 332 | |
ceb5ca86 | 333 | %package devel |
26c94b7a AM |
334 | Summary: Percona Server - development header files and other files |
335 | Summary(pl.UTF-8): Percona Server - Pliki nagłówkowe i inne dla programistów | |
336 | Summary(pt.UTF-8): Percona Server - Medições de desempenho | |
337 | Summary(ru.UTF-8): Percona Server - хедеры и библиотеки разработчика | |
338 | Summary(uk.UTF-8): Percona Server - хедери та бібліотеки програміста | |
047122f1 | 339 | Group: Development/Libraries |
3103a6d7 | 340 | Requires: %{name}-libs = %{version}-%{release} |
26c94b7a | 341 | %{?with_ssl:Requires: openssl-devel} |
bbc0ff50 | 342 | Requires: zlib-devel |
c486a119 | 343 | Obsoletes: MySQL-devel |
5c69de9f | 344 | Obsoletes: libmysql10-devel |
2adeda85 | 345 | Obsoletes: webscalesql-devel |
ceb5ca86 AM |
346 | |
347 | %description devel | |
21dbb6ad | 348 | This package contains the development header files and other files |
26c94b7a | 349 | necessary to develop Percona Server client applications. |
ceb5ca86 | 350 | |
a82d818e | 351 | %description devel -l fr.UTF-8 |
bf60a170 | 352 | Ce package contient les fichiers entetes et les librairies de |
353 | developpement necessaires pour developper des applications clientes | |
26c94b7a | 354 | Percona Server. |
bf60a170 | 355 | |
a82d818e | 356 | %description devel -l pl.UTF-8 |
21dbb6ad | 357 | Pliki nagłówkowe i inne pliki konieczne do kompilacji aplikacji |
26c94b7a | 358 | klienckich Percona Server. |
b24ee098 | 359 | |
a82d818e JR |
360 | %description devel -l pt_BR.UTF-8 |
361 | Este pacote contém os arquivos de cabeçalho (header files) e | |
26c94b7a AM |
362 | bibliotecas necessárias para desenvolver aplicações clientes do |
363 | Percona Server. | |
b24ee098 | 364 | |
a82d818e JR |
365 | %description devel -l ru.UTF-8 |
366 | Этот пакет содержит хедеры и библиотеки разработчика, необходимые для | |
367 | разработки клиентских приложений. | |
bf60a170 | 368 | |
a82d818e JR |
369 | %description devel -l uk.UTF-8 |
370 | Цей пакет містить хедери та бібліотеки програміста, необхідні для | |
371 | розробки програм-клієнтів. | |
3fe2f194 | 372 | |
373 | %package static | |
26c94b7a AM |
374 | Summary: Percona Server static libraries |
375 | Summary(pl.UTF-8): Biblioteki statyczne Percona Server | |
376 | Summary(ru.UTF-8): Percona Server - статические библиотеки | |
377 | Summary(uk.UTF-8): Percona Server - статичні бібліотеки | |
3fe2f194 | 378 | Group: Development/Libraries |
3103a6d7 | 379 | Requires: %{name}-devel = %{version}-%{release} |
c44d1e10 | 380 | Obsoletes: MySQL-static |
3fe2f194 | 381 | |
382 | %description static | |
26c94b7a | 383 | Percona Server static libraries. |
3fe2f194 | 384 | |
a82d818e | 385 | %description static -l pl.UTF-8 |
26c94b7a | 386 | Biblioteki statyczne Percona Server. |
3fe2f194 | 387 | |
a82d818e JR |
388 | %description static -l ru.UTF-8 |
389 | Этот пакет содержит статические библиотеки разработчика, необходимые | |
390 | для разработки клиентских приложений. | |
bf60a170 | 391 | |
a82d818e JR |
392 | %description static -l uk.UTF-8 |
393 | Цей пакет містить статичні бібліотеки програміста, необхідні для | |
394 | розробки програм-клієнтів. | |
bf60a170 | 395 | |
d1e91a2d | 396 | %package bench |
26c94b7a AM |
397 | Summary: Percona Server - Benchmarks |
398 | Summary(pl.UTF-8): Percona Server - Programy testujące szybkość działania bazy | |
399 | Summary(pt.UTF-8): Percona Server - Medições de desempenho | |
400 | Summary(ru.UTF-8): Percona Server - бенчмарки | |
401 | Summary(uk.UTF-8): Percona Server - бенчмарки | |
d1e91a2d AM |
402 | Group: Applications/Databases |
403 | Requires: %{name} = %{version}-%{release} | |
404 | Requires: %{name}-client | |
405 | Requires: perl(DBD::mysql) | |
406 | Obsoletes: MySQL-bench | |
407 | ||
408 | %description bench | |
26c94b7a | 409 | This package contains Percona Server benchmark scripts and data. |
d1e91a2d | 410 | |
a82d818e | 411 | %description bench -l pl.UTF-8 |
26c94b7a | 412 | Programy testujące szybkość serwera Percona Server. |
d1e91a2d | 413 | |
a82d818e | 414 | %description bench -l pt_BR.UTF-8 |
26c94b7a AM |
415 | Este pacote contém medições de desempenho de scripts e dados do |
416 | Percona Server. | |
d1e91a2d | 417 | |
a82d818e JR |
418 | %description bench -l ru.UTF-8 |
419 | Этот пакет содержит скрипты и данные для оценки производительности | |
26c94b7a | 420 | Percona Server. |
d1e91a2d | 421 | |
a82d818e | 422 | %description bench -l uk.UTF-8 |
26c94b7a AM |
423 | Цей пакет містить скрипти та дані для оцінки продуктивності Percona |
424 | Server. | |
d1e91a2d AM |
425 | |
426 | %package doc | |
26c94b7a AM |
427 | Summary: Percona Server manual |
428 | Summary(pl.UTF-8): Podręcznik użytkownika Percona Server | |
d1e91a2d AM |
429 | Group: Applications/Databases |
430 | ||
431 | %description doc | |
432 | This package contains manual in HTML format. | |
433 | ||
a82d818e | 434 | %description doc -l pl.UTF-8 |
26c94b7a | 435 | Podręcznik Percona Server-a w formacie HTML. |
d1e91a2d | 436 | |
d72472ee | 437 | %package ndb |
26c94b7a AM |
438 | Summary: Percona Server - NDB Storage Engine Daemon |
439 | Summary(pl.UTF-8): Percona Server - demon silnika przechowywania danych NDB | |
d72472ee AM |
440 | Group: Applications/Databases |
441 | Requires: %{name}-libs = %{version}-%{release} | |
442 | ||
443 | %description ndb | |
26c94b7a AM |
444 | This package contains the standard Percona Server NDB Storage Engine |
445 | Daemon. | |
d72472ee | 446 | |
a82d818e | 447 | %description ndb -l pl.UTF-8 |
8cdaa5ca ER |
448 | Ten pakiet zawiera standardowego demona silnika przechowywania danych |
449 | NDB. | |
a4fd19f2 | 450 | |
d72472ee | 451 | %package ndb-client |
26c94b7a AM |
452 | Summary: Percona Server - NDB Clients |
453 | Summary(pl.UTF-8): Percona Server - programy klienckie NDB | |
d72472ee AM |
454 | Group: Applications/Databases |
455 | Requires: %{name}-libs = %{version}-%{release} | |
456 | ||
457 | %description ndb-client | |
26c94b7a | 458 | This package contains the standard Percona Server NDB Clients. |
d72472ee | 459 | |
a82d818e | 460 | %description ndb-client -l pl.UTF-8 |
26c94b7a | 461 | Ten pakiet zawiera standardowe programy klienckie Percona Server NDB. |
a4fd19f2 | 462 | |
d72472ee | 463 | %package ndb-mgm |
26c94b7a AM |
464 | Summary: Percona Server - NDB Management Daemon |
465 | Summary(pl.UTF-8): Percona Server - demon zarządzający NDB | |
d72472ee AM |
466 | Group: Applications/Databases |
467 | Requires: %{name}-libs = %{version}-%{release} | |
468 | ||
469 | %description ndb-mgm | |
26c94b7a AM |
470 | This package contains the standard Percona Server NDB Management |
471 | Daemon. | |
d72472ee | 472 | |
a82d818e | 473 | %description ndb-mgm -l pl.UTF-8 |
26c94b7a AM |
474 | Ten pakiet zawiera standardowego demona zarządzającego Percona Server |
475 | NDB. | |
a4fd19f2 | 476 | |
d72472ee | 477 | %package ndb-cpc |
26c94b7a AM |
478 | Summary: Percona Server - NDB CPC Daemon |
479 | Summary(pl.UTF-8): Percona Server - demon NDB CPC | |
d72472ee AM |
480 | Group: Applications/Databases |
481 | Requires: %{name}-libs = %{version}-%{release} | |
482 | ||
483 | %description ndb-cpc | |
26c94b7a | 484 | This package contains the standard Percona Server NDB CPC Daemon. |
d72472ee | 485 | |
a82d818e | 486 | %description ndb-cpc -l pl.UTF-8 |
26c94b7a | 487 | Ten pakiet zawiera standardowego demona Percona Server NDB CPC. |
a4fd19f2 | 488 | |
a09e0285 | 489 | %prep |
0beb0def | 490 | %setup -q -n %{name}-%{version}-%{percona_rel} %{?with_sphinx:-a100} %{!?with_system_boost:-a101} |
2e1318f3 | 491 | |
abe20e21 JB |
492 | %patch0 -p1 |
493 | ||
e6696823 | 494 | %if %{with sphinx} |
fa51fc20 | 495 | # http://www.sphinxsearch.com/docs/manual-0.9.9.html#sphinxse-mysql51 |
e6696823 | 496 | mv sphinx-*/mysqlse storage/sphinx |
fa51fc20 | 497 | %patch18 -p1 |
e6696823 | 498 | %endif |
c7a645af | 499 | %patch1 -p1 |
63a6ce7c | 500 | |
0beb0def AM |
501 | %patch7 -p1 |
502 | ||
fc032bd9 | 503 | %patch19 -p1 |
90e4ba9d | 504 | %patch20 -p1 |
1ff19b43 | 505 | |
96b6cbc2 | 506 | %patch24 -p1 |
1e4b76dd | 507 | |
b4e1fa2c | 508 | # to get these files rebuild |
3d33ff78 JB |
509 | [ -f sql/sql_yacc.cc ] && %{__rm} sql/sql_yacc.cc |
510 | [ -f sql/sql_yacc.h ] && %{__rm} sql/sql_yacc.h | |
b24ee098 | 511 | |
8fc77a5d | 512 | # map has more sane versioning that default "global everything" in ver.in |
8ce69c5b | 513 | #cp -p libmysql/libmysql.map libmysql/libmysql.ver.in |
8fc77a5d | 514 | |
a09e0285 | 515 | %build |
8ad2cc9f AM |
516 | install -d build |
517 | cd build | |
92992b51 ER |
518 | # NOTE that /var/lib/mysql/mysql.sock is symlink to real sock file |
519 | # (it defaults to first cluster but user may change it to whatever | |
520 | # cluster it wants) | |
234eba13 | 521 | |
abe20e21 | 522 | CPPFLAGS="%{rpmcppflags}" \ |
3d33ff78 | 523 | %cmake .. \ |
96962fb9 | 524 | -DCMAKE_BUILD_TYPE=%{!?debug:RelWithDebInfo}%{?debug:Debug} \ |
abe20e21 JB |
525 | -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \ |
526 | -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{rpmcxxflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \ | |
26c94b7a | 527 | -DCOMPILATION_COMMENT="PLD/Linux Distribution Percona Server RPM" \ |
f42f4b0d | 528 | -DCURSES_INCLUDE_PATH=/usr/include/ncurses \ |
d65cccc9 | 529 | %{?with_systemtap:-DENABLE_DTRACE=ON} \ |
f42f4b0d JB |
530 | -DFEATURE_SET="community" \ |
531 | -DINSTALL_LAYOUT=RPM \ | |
532 | -DINSTALL_LIBDIR=%{_lib} \ | |
533 | -DINSTALL_MYSQLTESTDIR_RPM="" \ | |
e4d6dd78 | 534 | -DINSTALL_PLUGINDIR=%{_lib}/%{name}/plugin \ |
f42f4b0d | 535 | -DINSTALL_SQLBENCHDIR=%{_datadir} \ |
26c94b7a AM |
536 | -DINSTALL_SUPPORTFILESDIR=share/%{name}-support \ |
537 | -DINSTALL_MYSQLSHAREDIR=share/%{name} \ | |
a1a9dfeb | 538 | -DINSTALL_SECURE_FILE_PRIVDIR="" \ |
0beb0def | 539 | -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock \ |
8ad2cc9f | 540 | %{?debug:-DWITH_DEBUG=ON} \ |
f42f4b0d | 541 | -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ |
8ad2cc9f | 542 | -DWITH_FAST_MUTEXES=ON \ |
f42f4b0d JB |
543 | -DWITH_LIBWRAP=%{?with_tcpd:ON}%{!?with_tcpd:OFF} \ |
544 | -DWITH_PAM=ON \ | |
545 | -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \ | |
546 | -DWITH_PIC=ON \ | |
a1a9dfeb | 547 | -DWITH_SCALABILITY_METRICS=ON \ |
5d4c4d6c | 548 | -DWITH_SSL=%{?with_ssl:system}%{!?with_ssl:no} \ |
dbbad511 | 549 | -DWITH_UNIT_TESTS=%{?with_tests:ON}%{!?with_tests:OFF} \ |
3578ae01 | 550 | %if %{without system_boost} |
0beb0def | 551 | %{!?with_system_boost:-DWITH_BOOST="$(pwd)/$(ls -1d ../boost_*)"} \ |
3578ae01 | 552 | %endif |
375e1de2 | 553 | -DWITH_ZLIB=system \ |
0beb0def AM |
554 | -DWITH_READLINE=system \ |
555 | -DWITH_LZ4=system \ | |
556 | -DWITH_LIBEVENT=system \ | |
557 | -DWITH_PROTOBUF=system \ | |
558 | -DWITH_MECAB=system \ | |
559 | -DTMPDIR=/var/tmp | |
8ad2cc9f AM |
560 | |
561 | %{__make} | |
b24ee098 | 562 | |
7fbcff7e AM |
563 | %{?with_tests:%{__make} test} |
564 | ||
ceb5ca86 | 565 | %install |
3fe2f194 | 566 | rm -rf $RPM_BUILD_ROOT |
26c94b7a AM |
567 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,%{name},skel} \ |
568 | $RPM_BUILD_ROOT/var/{log/{archive,}/%{name},lib/%{name}} \ | |
569 | $RPM_BUILD_ROOT%{_perconahome} \ | |
a4f004ee | 570 | $RPM_BUILD_ROOT%{_libdir} |
b24ee098 | 571 | |
8ad2cc9f AM |
572 | %{__make} -C build install \ |
573 | DESTDIR=$RPM_BUILD_ROOT | |
d451850c | 574 | |
26c94b7a AM |
575 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
576 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
577 | cp -a %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
dbf4eb6a | 578 | # This is template for configuration file which is created after 'service mysql init' |
92992b51 ER |
579 | cp -a %{SOURCE4} mysqld.conf |
580 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/clusters.conf | |
581 | touch $RPM_BUILD_ROOT/var/log/%{name}/{mysqld,query,slow}.log | |
b24ee098 | 582 | |
2e5f696d | 583 | # remove innodb directives from mysqld.conf if mysqld is configured without |
9cc19375 | 584 | %if %{without innodb} |
2e5f696d ER |
585 | cp mysqld.conf mysqld.tmp |
586 | awk 'BEGIN { RS="\n\n" } !/innodb/ { printf("%s\n\n", $0) }' < mysqld.tmp > mysqld.conf | |
587 | %endif | |
588 | ||
589 | # remove berkeley-db directives from mysqld.conf if mysqld is configured without | |
9cc19375 AM |
590 | cp mysqld.conf mysqld.tmp |
591 | awk 'BEGIN { RS="\n\n" } !/bdb/ { printf("%s\n\n", $0) }' < mysqld.tmp > mysqld.conf | |
2e5f696d | 592 | |
26c94b7a | 593 | cp -a mysqld.conf $RPM_BUILD_ROOT%{_datadir}/%{name}/mysqld.conf |
92992b51 | 594 | cp -a %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/mysql-client.conf |
49e27b83 | 595 | ln -s mysql-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/my.cnf |
978cdac2 | 596 | cp -a %{SOURCE14} $RPM_BUILD_ROOT/etc/skel/.my.cnf |
2e5f696d | 597 | |
d72472ee | 598 | # NDB |
f7fb94f7 | 599 | %if %{with ndb} |
26c94b7a AM |
600 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-ndb |
601 | cp -a %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/%{name}-ndb | |
602 | install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-ndb-mgm | |
603 | cp -a %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/%{name}-ndb-mgm | |
604 | install -p %{SOURCE11} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-ndb-cpc | |
605 | cp -a %{SOURCE12} $RPM_BUILD_ROOT/etc/sysconfig/%{name}-ndb-cpc | |
f7fb94f7 | 606 | %endif |
17dc26d2 | 607 | |
14996ad7 | 608 | sed -i -e 's,/usr//usr,%{_prefix},g' $RPM_BUILD_ROOT%{_bindir}/mysql_config |
04497307 | 609 | sed -i -e '/libs/s/$ldflags//' $RPM_BUILD_ROOT%{_bindir}/mysql_config |
c01a1c0f | 610 | sed -i -e '/libs/s/-lprobes_mysql//' $RPM_BUILD_ROOT%{_bindir}/mysql_config |
b24ee098 | 611 | |
17dc26d2 | 612 | # remove known unpackaged files |
26c94b7a | 613 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}-support |
9cc19375 | 614 | |
8b2cbaf3 | 615 | # rename not to be so generic name |
8b2cbaf3 | 616 | mv $RPM_BUILD_ROOT%{_bindir}/{,mysql_}resolve_stack_dump |
68e8a131 | 617 | mv $RPM_BUILD_ROOT%{_mandir}/man1/{,mysql_}resolve_stack_dump.1 |
17dc26d2 | 618 | |
ffd72f70 | 619 | # move to _sysconfdir |
dc141ef4 | 620 | #mv $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}/mysqlaccess.conf |
ffd72f70 | 621 | |
c0326166 | 622 | # not useful without -debug build |
21dbb6ad JB |
623 | %{!?debug:%{__rm} $RPM_BUILD_ROOT%{_bindir}/mysql_resolve_stack_dump} |
624 | %{!?debug:%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_resolve_stack_dump.1} | |
c0326166 | 625 | # generate symbols file, so one can generate backtrace using it |
26c94b7a | 626 | # mysql_resolve_stack_dump -s %{_datadir}/%{name}/mysqld.sym -n mysqld.stack. |
c0326166 | 627 | # http://dev.mysql.com/doc/refman/5.0/en/using-stack-trace.html |
26c94b7a | 628 | %{?debug:nm -n $RPM_BUILD_ROOT%{_sbindir}/mysqld > $RPM_BUILD_ROOT%{_datadir}/%{name}/mysqld.sym} |
c0326166 | 629 | |
dabd8964 | 630 | # do not clobber users $PATH |
734d6226 | 631 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysql_plugin |
dabd8964 ER |
632 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysql_upgrade |
633 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/innochecksum | |
634 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/myisamchk | |
635 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/myisamlog | |
636 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/myisampack | |
c9b1588e | 637 | #mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysql_fix_privilege_tables |
dabd8964 | 638 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/my_print_defaults |
3b961fb0 | 639 | sed -i -e 's#/usr/bin/my_print_defaults#%{_sbindir}/my_print_defaults#g' $RPM_BUILD_ROOT%{_bindir}/mysql_install_db |
dabd8964 ER |
640 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/mysqlcheck |
641 | ||
3b961fb0 | 642 | # delete - functionality in initscript / rpm |
21dbb6ad JB |
643 | # note: mysql_install_db (and thus resolveip) are needed by digikam |
644 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/mysqld_safe | |
645 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/mysqld_multi | |
646 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysqld_{multi,safe}* | |
26c94b7a AM |
647 | #rm $RPM_BUILD_ROOT%{_datadir}/%{name}/mysql-log-rotate |
648 | #rm $RPM_BUILD_ROOT%{_datadir}/%{name}/mysql.server | |
649 | #rm $RPM_BUILD_ROOT%{_datadir}/%{name}/binary-configure | |
650 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/errmsg-utf8.txt | |
dc141ef4 ER |
651 | #%{__rm} $RPM_BUILD_ROOT%{_bindir}/mysql_waitpid |
652 | #%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_waitpid.1* | |
21dbb6ad JB |
653 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql.server* |
654 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysqlman.1* | |
655 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/comp_err.1* | |
9cc19375 AM |
656 | |
657 | # we don't package those (we have no -test or -testsuite pkg) and some of them just segfault | |
21dbb6ad JB |
658 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/mysql_client_test |
659 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_client_test.1* | |
660 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql_client_test_embedded.1* | |
661 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql-stress-test.pl.1* | |
662 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/mysql-test-run.pl.1* | |
663 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/mysql-test | |
48cc4c93 JB |
664 | # libmysqld examples |
665 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/mysql{_client_test_embedded,_embedded,test_embedded} | |
17dc26d2 | 666 | |
be74eb6e | 667 | # not needed |
15319871 ER |
668 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugin/libdaemon_example.* |
669 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugin/daemon_example.ini | |
9cc19375 | 670 | |
59ef9fff ER |
671 | # not an .info file |
672 | %{__rm} $RPM_BUILD_ROOT%{_infodir}/mysql.info | |
673 | ||
f624a76e | 674 | %clean |
1d171524 | 675 | rm -rf $RPM_BUILD_ROOT |
f624a76e | 676 | |
fd32e090 | 677 | %pre |
ff5f125f | 678 | %groupadd -g 89 mysql |
b3679bde | 679 | %useradd -u 89 -d %{_perconahome} -s /bin/sh -g mysql -c "Percona Server" mysql |
fd32e090 | 680 | |
ceb5ca86 | 681 | %post |
0f4ca10a | 682 | /sbin/ldconfig |
0beb0def AM |
683 | /sbin/chkconfig --add %{name} |
684 | %service %{name} restart | |
dd6934b4 | 685 | |
d5e8c713 | 686 | %preun |
054c91be | 687 | if [ "$1" = "0" ]; then |
0beb0def AM |
688 | %service -q %{name} stop |
689 | /sbin/chkconfig --del %{name} | |
054c91be | 690 | fi |
c44d1e10 | 691 | |
ec56ce82 | 692 | %postun |
0f4ca10a | 693 | /sbin/ldconfig |
fd32e090 | 694 | if [ "$1" = "0" ]; then |
c354982f | 695 | %userremove mysql |
696 | %groupremove mysql | |
fd32e090 | 697 | fi |
b24ee098 | 698 | |
d72472ee | 699 | %post ndb |
0beb0def AM |
700 | /sbin/chkconfig --add %{name}-ndb |
701 | %service %{name}-ndb restart "%{name} NDB engine" | |
d72472ee AM |
702 | |
703 | %preun ndb | |
704 | if [ "$1" = "0" ]; then | |
0beb0def AM |
705 | %service %{name}-ndb stop |
706 | /sbin/chkconfig --del %{name}-ndb | |
d72472ee AM |
707 | fi |
708 | ||
709 | %post ndb-mgm | |
0beb0def AM |
710 | /sbin/chkconfig --add %{name}-ndb-mgm |
711 | %service %{name}-ndb-mgm restart "%{name} NDB management node" | |
d72472ee AM |
712 | |
713 | %preun ndb-mgm | |
714 | if [ "$1" = "0" ]; then | |
0beb0def AM |
715 | %service %{name}-ndb-mgm stop |
716 | /sbin/chkconfig --del %{name}-ndb-mgm | |
d72472ee AM |
717 | fi |
718 | ||
719 | %post ndb-cpc | |
0beb0def AM |
720 | /sbin/chkconfig --add %{name}-ndb-cpc |
721 | %service %{name}-ndb-cpc restart "mysql NDB CPC" | |
d72472ee AM |
722 | |
723 | %preun ndb-cpc | |
724 | if [ "$1" = "0" ]; then | |
0beb0def AM |
725 | %service %{name}-ndb-cpc stop |
726 | /sbin/chkconfig --del %{name}-ndb-cpc | |
d72472ee AM |
727 | fi |
728 | ||
3fe2f194 | 729 | %post libs -p /sbin/ldconfig |
730 | %postun libs -p /sbin/ldconfig | |
b24ee098 | 731 | |
ceb5ca86 | 732 | %files |
a09e0285 | 733 | %defattr(644,root,root,755) |
a1a9dfeb | 734 | %doc build-ps/rpm/*.cnf |
92992b51 ER |
735 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
736 | %attr(754,root,root) /etc/rc.d/init.d/%{name} | |
737 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} | |
738 | %attr(640,root,mysql) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/clusters.conf | |
a1a9dfeb | 739 | %attr(755,root,root) %{_bindir}/ps_mysqld_helper |
b1373c0b | 740 | %attr(755,root,root) %{_bindir}/ps_tokudb_admin |
dabd8964 | 741 | %attr(755,root,root) %{_sbindir}/innochecksum |
2b48022a | 742 | %attr(755,root,root) %{_sbindir}/my_print_defaults |
dabd8964 ER |
743 | %attr(755,root,root) %{_sbindir}/myisamchk |
744 | %attr(755,root,root) %{_sbindir}/myisamlog | |
745 | %attr(755,root,root) %{_sbindir}/myisampack | |
c9b1588e | 746 | #%attr(755,root,root) %{_sbindir}/mysql_fix_privilege_tables |
734d6226 | 747 | %attr(755,root,root) %{_sbindir}/mysql_plugin |
dabd8964 | 748 | %attr(755,root,root) %{_sbindir}/mysql_upgrade |
2b48022a ER |
749 | %attr(755,root,root) %{_sbindir}/mysqlcheck |
750 | %attr(755,root,root) %{_sbindir}/mysqld | |
92992b51 ER |
751 | %dir %{_libdir}/%{name} |
752 | %dir %{_libdir}/%{name}/plugin | |
753 | %attr(755,root,root) %{_libdir}/%{name}/plugin/adt_null.so | |
1ff19b43 | 754 | %attr(755,root,root) %{_libdir}/%{name}/plugin/audit_log.so |
ce5017a4 | 755 | %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_pam_compat.so |
a1a9dfeb AM |
756 | %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_pam.so |
757 | %attr(755,root,root) %{_libdir}/%{name}/plugin/auth.so | |
92992b51 ER |
758 | %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_socket.so |
759 | %attr(755,root,root) %{_libdir}/%{name}/plugin/auth_test_plugin.so | |
a1a9dfeb | 760 | %attr(755,root,root) %{_libdir}/%{name}/plugin/connection_control.so |
ce5017a4 | 761 | %attr(755,root,root) %{_libdir}/%{name}/plugin/dialog.so |
a1a9dfeb | 762 | %attr(755,root,root) %{_libdir}/%{name}/plugin/group_replication.so |
3d33faed AM |
763 | #%attr(755,root,root) %{_libdir}/%{name}/plugin/ha_archive.so |
764 | #%attr(755,root,root) %{_libdir}/%{name}/plugin/ha_blackhole.so | |
765 | #%attr(755,root,root) %{_libdir}/%{name}/plugin/ha_federated.so | |
dc141ef4 ER |
766 | #%attr(755,root,root) %{_libdir}/%{name}/plugin/handlersocket.so |
767 | %attr(755,root,root) %{_libdir}/%{name}/plugin/keyring_file.so | |
a1a9dfeb | 768 | %attr(755,root,root) %{_libdir}/%{name}/plugin/keyring_udf.so |
0beb0def | 769 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libpluginmecab.so |
1ff19b43 AM |
770 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libfnv1a_udf.so |
771 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libfnv_udf.so | |
772 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libmurmur_udf.so | |
a1a9dfeb AM |
773 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_framework.so |
774 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_services.so | |
775 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_services_threaded.so | |
776 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_session_detach.so | |
777 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_session_info.so | |
778 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_session_in_thd.so | |
779 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_2_sessions.so | |
780 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_all_col_types.so | |
781 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_cmds_1.so | |
782 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_commit.so | |
783 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_complex.so | |
784 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_errors.so | |
785 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_lock.so | |
786 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_processlist.so | |
787 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_replication.so | |
788 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_shutdown.so | |
789 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_sqlmode.so | |
790 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_stored_procedures_functions.so | |
791 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_sql_views_triggers.so | |
792 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_x_sessions_deinit.so | |
793 | %attr(755,root,root) %{_libdir}/%{name}/plugin/libtest_x_sessions_init.so | |
dc141ef4 | 794 | %attr(755,root,root) %{_libdir}/%{name}/plugin/locking_service.so |
92992b51 | 795 | %attr(755,root,root) %{_libdir}/%{name}/plugin/mypluglib.so |
abe20e21 | 796 | %attr(755,root,root) %{_libdir}/%{name}/plugin/mysql_no_login.so |
dc141ef4 | 797 | %attr(755,root,root) %{_libdir}/%{name}/plugin/mysqlx.so |
92992b51 ER |
798 | %attr(755,root,root) %{_libdir}/%{name}/plugin/qa_auth_client.so |
799 | %attr(755,root,root) %{_libdir}/%{name}/plugin/qa_auth_interface.so | |
800 | %attr(755,root,root) %{_libdir}/%{name}/plugin/qa_auth_server.so | |
5e28c202 | 801 | %attr(755,root,root) %{_libdir}/%{name}/plugin/query_response_time.so |
a1a9dfeb AM |
802 | %attr(755,root,root) %{_libdir}/%{name}/plugin/replication_observers_example_plugin.so |
803 | %attr(755,root,root) %{_libdir}/%{name}/plugin/rewrite_example.so | |
dc141ef4 | 804 | %attr(755,root,root) %{_libdir}/%{name}/plugin/rewriter.so |
a1a9dfeb | 805 | %attr(755,root,root) %{_libdir}/%{name}/plugin/scalability_metrics.so |
92992b51 ER |
806 | %attr(755,root,root) %{_libdir}/%{name}/plugin/semisync_master.so |
807 | %attr(755,root,root) %{_libdir}/%{name}/plugin/semisync_slave.so | |
a1a9dfeb AM |
808 | %attr(755,root,root) %{_libdir}/%{name}/plugin/test_security_context.so |
809 | %attr(755,root,root) %{_libdir}/%{name}/plugin/test_udf_services.so | |
f2308fd1 | 810 | %attr(755,root,root) %{_libdir}/%{name}/plugin/validate_password.so |
dc141ef4 | 811 | %attr(755,root,root) %{_libdir}/%{name}/plugin/version_token.so |
fa51fc20 | 812 | %if %{with sphinx} |
bfb02390 | 813 | %attr(755,root,root) %{_libdir}/%{name}/plugin/ha_sphinx.so |
fa51fc20 | 814 | %endif |
78c6f5a7 AM |
815 | %if %{with tokudb} |
816 | %attr(755,root,root) %{_bindir}/tokuft_logprint | |
817 | %attr(755,root,root) %{_bindir}/tokuftdump | |
818 | %attr(755,root,root) %{_libdir}/%{name}/plugin/ha_tokudb.so | |
819 | %attr(755,root,root) %{_libdir}/%{name}/plugin/tokudb_backup.so | |
73bc9b78 | 820 | %attr(755,root,root) %{_libdir}/libHotBackup.so |
78c6f5a7 | 821 | %endif |
0f4ca10a | 822 | # for plugins |
dc141ef4 | 823 | #%attr(755,root,root) %{_libdir}/libmysqlservices.so |
68e8a131 | 824 | %{_mandir}/man1/innochecksum.1* |
2b48022a | 825 | %{_mandir}/man1/my_print_defaults.1* |
84628b90 AM |
826 | %{_mandir}/man1/myisamchk.1* |
827 | %{_mandir}/man1/myisamlog.1* | |
828 | %{_mandir}/man1/myisampack.1* | |
c9b1588e | 829 | #%{_mandir}/man1/mysql_fix_privilege_tables.1* |
734d6226 | 830 | %{_mandir}/man1/mysql_plugin.1* |
d0fe1bc5 | 831 | %{_mandir}/man1/mysql_upgrade.1* |
2b48022a | 832 | %{_mandir}/man1/mysqlcheck.1* |
c3389a2d | 833 | %{_mandir}/man8/mysqld.8* |
c486a119 | 834 | |
c27588d8 ER |
835 | %if %{?debug:1}0 |
836 | %attr(755,root,root) %{_bindir}/*resolve_stack_dump | |
26c94b7a | 837 | %{_datadir}/%{name}/mysqld.sym |
c27588d8 ER |
838 | %{_mandir}/man1/*resolve_stack_dump.1* |
839 | %endif | |
840 | ||
26c94b7a | 841 | %attr(700,mysql,mysql) %{_perconahome} |
68e8a131 | 842 | # root:root is proper here for mysql.rpm while mysql:mysql is potential security hole |
26c94b7a AM |
843 | %attr(751,root,root) /var/lib/%{name} |
844 | %attr(750,mysql,mysql) %dir /var/log/%{name} | |
845 | %attr(750,mysql,mysql) %dir /var/log/archive/%{name} | |
846 | %attr(640,mysql,mysql) %ghost /var/log/%{name}/* | |
431c9391 | 847 | |
dbf4eb6a | 848 | # This is template for configuration file which is created after 'service mysql init' |
26c94b7a | 849 | %{_datadir}/%{name}/mysqld.conf |
dc141ef4 | 850 | %{_datadir}/%{name}/install_rewriter.sql |
26c94b7a | 851 | %{_datadir}/%{name}/mysql_security_commands.sql |
dc141ef4 | 852 | %{_datadir}/%{name}/mysql_sys_schema.sql |
26c94b7a | 853 | %{_datadir}/%{name}/mysql_system_tables.sql |
dc141ef4 | 854 | %{_datadir}/%{name}/mysql_system_tables_data.sql |
26c94b7a | 855 | %{_datadir}/%{name}/mysql_test_data_timezone.sql |
dc141ef4 | 856 | %{_datadir}/%{name}/uninstall_rewriter.sql |
26c94b7a AM |
857 | |
858 | %{_datadir}/%{name}/english | |
859 | %{_datadir}/%{name}/dictionary.txt | |
860 | %{_datadir}/%{name}/fill_help_tables.sql | |
861 | %{_datadir}/%{name}/innodb_memcached_config.sql | |
862 | #%{_datadir}/%{name}/mysql_fix_privilege_tables.sql | |
d22f24d7 AM |
863 | # Don't mark these with %%lang. These are used depending |
864 | # on database client settings. | |
865 | %{_datadir}/%{name}/bulgarian | |
866 | %{_datadir}/%{name}/czech | |
867 | %{_datadir}/%{name}/danish | |
868 | %{_datadir}/%{name}/german | |
869 | %{_datadir}/%{name}/greek | |
870 | %{_datadir}/%{name}/spanish | |
871 | %{_datadir}/%{name}/estonian | |
872 | %{_datadir}/%{name}/french | |
873 | %{_datadir}/%{name}/hungarian | |
874 | %{_datadir}/%{name}/italian | |
875 | %{_datadir}/%{name}/japanese | |
876 | %{_datadir}/%{name}/korean | |
877 | %{_datadir}/%{name}/dutch | |
878 | %{_datadir}/%{name}/norwegian | |
879 | %{_datadir}/%{name}/norwegian-ny | |
880 | %{_datadir}/%{name}/polish | |
881 | %{_datadir}/%{name}/portuguese | |
882 | %{_datadir}/%{name}/romanian | |
883 | %{_datadir}/%{name}/russian | |
884 | %{_datadir}/%{name}/serbian | |
885 | %{_datadir}/%{name}/slovak | |
886 | %{_datadir}/%{name}/swedish | |
887 | %{_datadir}/%{name}/ukrainian | |
b24ee098 | 888 | |
ad0a7267 JR |
889 | %files charsets |
890 | %defattr(644,root,root,755) | |
26c94b7a AM |
891 | %dir %{_datadir}/%{name} |
892 | %{_datadir}/%{name}/charsets | |
ad0a7267 | 893 | |
8de1b4ed | 894 | %files extras |
895 | %defattr(644,root,root,755) | |
dc141ef4 | 896 | #%attr(755,root,root) %{_bindir}/msql2mysql |
8b2cbaf3 | 897 | %attr(755,root,root) %{_bindir}/myisam_ftdump |
90db0fd4 | 898 | %attr(755,root,root) %{_bindir}/mysql_install_db |
8b2cbaf3 ER |
899 | %attr(755,root,root) %{_bindir}/mysql_secure_installation |
900 | %attr(755,root,root) %{_bindir}/mysql_tzinfo_to_sql | |
b94ecc67 JB |
901 | %attr(755,root,root) %{_bindir}/perror |
902 | %attr(755,root,root) %{_bindir}/replace | |
90db0fd4 | 903 | %attr(755,root,root) %{_bindir}/resolveip |
dc141ef4 | 904 | #%{_mandir}/man1/msql2mysql.1* |
9787b388 | 905 | %{_mandir}/man1/myisam_ftdump.1* |
90db0fd4 | 906 | %{_mandir}/man1/mysql_install_db.1* |
68e8a131 | 907 | %{_mandir}/man1/mysql_secure_installation.1* |
77cbc8ff | 908 | %{_mandir}/man1/mysql_tzinfo_to_sql.1* |
e474e322 | 909 | %{_mandir}/man1/perror.1* |
910 | %{_mandir}/man1/replace.1* | |
90db0fd4 | 911 | %{_mandir}/man1/resolveip.1* |
8de1b4ed | 912 | |
8afdedd4 | 913 | %files extras-perl |
914 | %defattr(644,root,root,755) | |
dc141ef4 ER |
915 | #%attr(755,root,root) %{_bindir}/mysql_convert_table_format |
916 | #%attr(755,root,root) %{_bindir}/mysql_find_rows | |
917 | #%attr(755,root,root) %{_bindir}/mysql_fix_extensions | |
918 | #%attr(755,root,root) %{_bindir}/mysql_setpermission | |
919 | #%attr(755,root,root) %{_bindir}/mysql_zap | |
920 | #%attr(755,root,root) %{_bindir}/mysqlaccess | |
2b48022a | 921 | %attr(755,root,root) %{_bindir}/mysqldumpslow |
dc141ef4 ER |
922 | #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mysqlaccess.conf |
923 | #%{_mandir}/man1/mysql_convert_table_format.1* | |
924 | #%{_mandir}/man1/mysql_find_rows.1* | |
925 | #%{_mandir}/man1/mysql_fix_extensions.1* | |
926 | #%{_mandir}/man1/mysql_setpermission.1* | |
927 | #%{_mandir}/man1/mysql_zap.1* | |
928 | #%{_mandir}/man1/mysqlaccess.1* | |
08472466 | 929 | %{_mandir}/man1/mysqldumpslow.1* |
8afdedd4 | 930 | |
ceb5ca86 | 931 | %files client |
75eb20a9 | 932 | %defattr(644,root,root,755) |
978cdac2 | 933 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/skel/.my.cnf |
dc141ef4 | 934 | %attr(755,root,root) %{_bindir}/lz4_decompress |
01dea3d5 | 935 | %attr(755,root,root) %{_bindir}/mysql |
dc141ef4 ER |
936 | %attr(755,root,root) %{_bindir}/mysql_config_editor |
937 | %attr(755,root,root) %{_bindir}/mysql_ssl_rsa_setup | |
9cc19375 AM |
938 | %attr(755,root,root) %{_bindir}/mysqladmin |
939 | %attr(755,root,root) %{_bindir}/mysqlbinlog | |
dc141ef4 | 940 | #%attr(755,root,root) %{_bindir}/mysqlbug |
01dea3d5 | 941 | %attr(755,root,root) %{_bindir}/mysqldump |
942 | %attr(755,root,root) %{_bindir}/mysqlimport | |
dc141ef4 | 943 | %attr(755,root,root) %{_bindir}/mysqlpump |
01dea3d5 | 944 | %attr(755,root,root) %{_bindir}/mysqlshow |
dc141ef4 ER |
945 | %attr(755,root,root) %{_bindir}/zlib_decompress |
946 | %{_mandir}/man1/lz4_decompress.1* | |
75eb20a9 | 947 | %{_mandir}/man1/mysql.1* |
dc141ef4 ER |
948 | %{_mandir}/man1/mysql_config_editor.1* |
949 | %{_mandir}/man1/mysql_ssl_rsa_setup.1* | |
e474e322 | 950 | %{_mandir}/man1/mysqladmin.1* |
84628b90 | 951 | %{_mandir}/man1/mysqlbinlog.1* |
dc141ef4 | 952 | #%{_mandir}/man1/mysqlbug.1* |
9cc19375 | 953 | %{_mandir}/man1/mysqldump.1* |
84628b90 | 954 | %{_mandir}/man1/mysqlimport.1* |
dc141ef4 | 955 | %{_mandir}/man1/mysqlpump.1* |
9cc19375 | 956 | %{_mandir}/man1/mysqlshow.1* |
dc141ef4 | 957 | %{_mandir}/man1/zlib_decompress.1* |
b24ee098 | 958 | |
3fe2f194 | 959 | %files libs |
75eb20a9 | 960 | %defattr(644,root,root,755) |
26c94b7a | 961 | %attr(751,root,root) %dir %{_sysconfdir}/%{name} |
92992b51 | 962 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/mysql-client.conf |
49e27b83 | 963 | %{_sysconfdir}/%{name}/my.cnf |
26c94b7a | 964 | %attr(755,root,root) %{_libdir}/libperconaserverclient.so.*.*.* |
dc141ef4 ER |
965 | %attr(755,root,root) %ghost %{_libdir}/libperconaserverclient.so.20 |
966 | #%attr(755,root,root) %{_libdir}/libperconaserverclient_r.so.*.*.* | |
967 | #%attr(755,root,root) %ghost %{_libdir}/libperconaserverclient_r.so.18 | |
08472466 | 968 | %if %{with ndb} |
3b9f87c2 | 969 | %attr(755,root,root) %{_libdir}/libndbclient.so.*.*.* |
bd1c7139 | 970 | %attr(755,root,root) %ghost %{_libdir}/libndbclient.so.3 |
08472466 | 971 | %endif |
b24ee098 | 972 | |
ceb5ca86 | 973 | %files devel |
3fe2f194 | 974 | %defattr(644,root,root,755) |
bbc0ff50 | 975 | %attr(755,root,root) %{_bindir}/mysql_config |
26c94b7a | 976 | %attr(755,root,root) %{_libdir}/libperconaserverclient.so |
dc141ef4 ER |
977 | #%attr(755,root,root) %{_libdir}/libperconaserverclient_r.so |
978 | %{_pkgconfigdir}/perconaserverclient.pc | |
08472466 | 979 | %if %{with ndb} |
3b9f87c2 | 980 | %attr(755,root,root) %{_libdir}/libndbclient.so |
08472466 | 981 | %endif |
a1a9dfeb | 982 | #%{_includedir}/backup.h |
48cc4c93 JB |
983 | # static-only so far |
984 | %{_libdir}/libmysqld.a | |
dc141ef4 | 985 | %{_libdir}/libmysqlservices.a |
3fe2f194 | 986 | %{_includedir}/mysql |
68e8a131 | 987 | %{_aclocaldir}/mysql.m4 |
84628b90 | 988 | %{_mandir}/man1/mysql_config.1* |
3fe2f194 | 989 | |
990 | %files static | |
75eb20a9 | 991 | %defattr(644,root,root,755) |
26c94b7a | 992 | %{_libdir}/libperconaserverclient.a |
dc141ef4 | 993 | #%{_libdir}/libperconaserverclient_r.a |
08472466 | 994 | %if %{with ndb} |
3b9f87c2 | 995 | %{_libdir}/libndbclient.a |
08472466 | 996 | %endif |
ceb5ca86 | 997 | |
d1e91a2d AM |
998 | %files bench |
999 | %defattr(644,root,root,755) | |
8ce69d92 | 1000 | %attr(755,root,root) %{_bindir}/mysqlslap |
d1e91a2d | 1001 | %attr(755,root,root) %{_bindir}/mysqltest |
dc141ef4 ER |
1002 | #%dir %{_datadir}/sql-bench |
1003 | #%{_datadir}/sql-bench/[CDRl]* | |
1004 | #%attr(755,root,root) %{_datadir}/sql-bench/[bcgirst]* | |
8ce69d92 | 1005 | %{_mandir}/man1/mysqlslap.1* |
ffda6e55 ER |
1006 | %{_mandir}/man1/mysqltest.1* |
1007 | %{_mandir}/man1/mysqltest_embedded.1* | |
d1e91a2d | 1008 | |
be07ff22 AM |
1009 | #%files doc |
1010 | #%defattr(644,root,root,755) | |
1011 | #%doc Docs/manual.html Docs/manual_toc.html | |
d1e91a2d | 1012 | |
08472466 | 1013 | %if %{with ndb} |
d72472ee AM |
1014 | %files ndb |
1015 | %defattr(644,root,root,755) | |
1016 | %attr(755,root,root) %{_sbindir}/ndbd | |
26c94b7a AM |
1017 | %attr(754,root,root) /etc/rc.d/init.d/%{name}-ndb |
1018 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-ndb | |
ffda6e55 | 1019 | %{_mandir}/man1/ndbd_redo_log_reader.1* |
210f47d4 | 1020 | %{_mandir}/man8/ndbd.8* |
d72472ee AM |
1021 | |
1022 | %files ndb-client | |
1023 | %defattr(644,root,root,755) | |
e56168f2 ER |
1024 | %attr(755,root,root) %{_bindir}/ndb_config |
1025 | %attr(755,root,root) %{_bindir}/ndb_delete_all | |
1026 | %attr(755,root,root) %{_bindir}/ndb_desc | |
1027 | %attr(755,root,root) %{_bindir}/ndb_drop_index | |
1028 | %attr(755,root,root) %{_bindir}/ndb_drop_table | |
1029 | %attr(755,root,root) %{_bindir}/ndb_error_reporter | |
1030 | %attr(755,root,root) %{_bindir}/ndb_mgm | |
1031 | %attr(755,root,root) %{_bindir}/ndb_print_backup_file | |
1032 | %attr(755,root,root) %{_bindir}/ndb_print_schema_file | |
1033 | %attr(755,root,root) %{_bindir}/ndb_print_sys_file | |
1034 | %attr(755,root,root) %{_bindir}/ndb_restore | |
1035 | %attr(755,root,root) %{_bindir}/ndb_select_all | |
1036 | %attr(755,root,root) %{_bindir}/ndb_select_count | |
1037 | %attr(755,root,root) %{_bindir}/ndb_show_tables | |
1038 | %attr(755,root,root) %{_bindir}/ndb_size.pl | |
1039 | %attr(755,root,root) %{_bindir}/ndb_test_platform | |
1040 | %attr(755,root,root) %{_bindir}/ndb_waiter | |
e56168f2 ER |
1041 | %{_mandir}/man1/ndb_config.1* |
1042 | %{_mandir}/man1/ndb_delete_all.1* | |
1043 | %{_mandir}/man1/ndb_desc.1* | |
68e8a131 ER |
1044 | %{_mandir}/man1/ndb_drop_index.1* |
1045 | %{_mandir}/man1/ndb_drop_table.1* | |
1046 | %{_mandir}/man1/ndb_error_reporter.1* | |
1047 | %{_mandir}/man1/ndb_mgm.1* | |
1048 | %{_mandir}/man1/ndb_print_backup_file.1* | |
1049 | %{_mandir}/man1/ndb_print_schema_file.1* | |
1050 | %{_mandir}/man1/ndb_print_sys_file.1* | |
1051 | %{_mandir}/man1/ndb_restore.1* | |
1052 | %{_mandir}/man1/ndb_select_all.1* | |
1053 | %{_mandir}/man1/ndb_select_count.1* | |
1054 | %{_mandir}/man1/ndb_show_tables.1* | |
e56168f2 | 1055 | %{_mandir}/man1/ndb_size.pl.1* |
68e8a131 | 1056 | %{_mandir}/man1/ndb_waiter.1* |
d72472ee AM |
1057 | |
1058 | %files ndb-mgm | |
1059 | %defattr(644,root,root,755) | |
1060 | %attr(755,root,root) %{_sbindir}/ndb_mgmd | |
26c94b7a AM |
1061 | %attr(754,root,root) /etc/rc.d/init.d/%{name}-ndb-mgm |
1062 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-ndb-mgm | |
210f47d4 | 1063 | %{_mandir}/man8/ndb_mgmd.8* |
d72472ee | 1064 | |
d72472ee AM |
1065 | %files ndb-cpc |
1066 | %defattr(644,root,root,755) | |
1067 | %attr(755,root,root) %{_sbindir}/ndb_cpcd | |
1068 | %attr(754,root,root) /etc/rc.d/init.d/mysql-ndb-cpc | |
26c94b7a | 1069 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-ndb-cpc |
68e8a131 | 1070 | %{_mandir}/man1/ndb_cpcd.1* |
08472466 | 1071 | %endif |