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