Debian Codegraph @

packaging/rpm-oel/mysql.spec.in

raw
1 # Copyright (c) 2000, 2026, Oracle and/or its affiliates.
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License, version 2.0,
5 # as published by the Free Software Foundation.
6 #
7 # This program is designed to work with certain software (including
8 # but not limited to OpenSSL) that is licensed under separate terms,
9 # as designated in a particular file or component or in included license
10 # documentation. The authors of MySQL hereby grant you an additional
11 # permission to link the program and your derivative works with the
12 # separately licensed software that they have either included with
13 # the program or referenced in the documentation.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License, version 2.0, for more details.
19 #
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23
24 # NOTE: "vendor" is used in upgrade/downgrade check, so you can't
25 # change these, has to be exactly as is.
26
27 %global mysql_vendor Oracle and/or its affiliates
28 %global mysqldatadir /var/lib/mysql
29
30 # Pass --define 'with_cluster 1' to build with cluster support
31 %{?with_cluster: %global cluster 1}
32
33 %if 0%{?cluster}
34 %global with_meb 0
35 %global with_router 0
36 %else
37 %if 0%{?commercial}
38 %global with_meb 1
39 %else
40 %global with_meb 0
41 %endif
42 %global with_router 1
43 %endif
44
45 # PGO option, not for OEL6
46 %if 0%{?rhel} >= 7
47 %{?with_pgo: %global pgo 1}
48 %endif # rhel >= 7
49
50 # Pass path to mecab lib
51 %{?with_mecab: %global mecab_option -DWITH_MECAB=%{with_mecab}}
52 %{?with_mecab: %global mecab 1}
53
54 # Pass path to the AWS SDK install
55 %{?with_aws_sdk: %global aws_sdk_option -DWITH_KEYRING_AWS=1 -DWITH_AWS_SDK=%{with_aws_sdk}}
56 %{?with_aws_sdk: %global aws_sdk 1}
57
58 %global ssl_default 1
59
60 # Pass alternative ssl setting if provided. Can be used for newer OpenSSL.
61 %{?with_ssl: %global ssl_option -DWITH_SSL=%{with_ssl}}
62 %{?with_ssl: %global ssl_bundled 1}
63
64 # Use OpenSSL 1.1
65 %{?with_openssl11: %global ssl_option -DWITH_SSL=openssl11}
66 %{?with_openssl11: %global ssl_default 0}
67
68 # Regression tests may take a long time, override the default to skip them
69 %{!?runselftest:%global runselftest 0}
70
71 %{!?with_systemd: %global systemd 0}
72 %{?el7: %global systemd 1}
73 %{?el8: %global systemd 1}
74 %{?el9: %global systemd 1}
75
76 %if 0%{?rhel} >= 8
77 %global add_fido_plugins 1
78 %else
79 %global add_fido_plugins 0
80 %endif # rhel8 or above
81
82 # Two workarounds on el6 and el7
83 %if 0%{?rhel} == 6 || 0%{?rhel} == 7
84 # - Avoid compiling Python 3 code with Python 2
85 %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
86 # - Ship debuginfo for community
87 %if 0%{?commercial}
88 %else
89 %global with_debuginfo 1
90 %endif # commercial
91 %endif # rhel6|7
92
93 %{?el8: %global with_debuginfo 1}
94 %{?el9: %global with_debuginfo 1}
95 %{!?with_debuginfo: %global without_debuginfo 1}
96
97 %ifarch aarch64
98 %{?el7:%global __strip /opt/rh/devtoolset-10/root/usr/bin/strip}
99 %else
100 %{?el7:%global __strip /opt/rh/devtoolset-11/root/usr/bin/strip}
101 %endif
102 %{?el8:%global __strip /opt/rh/gcc-toolset-12/root/usr/bin/strip}
103 %{?el9:%global __strip /opt/rh/gcc-toolset-12/root/usr/bin/strip}
104 %{?el8:%global __brp_strip_static_archive %{nil}}
105 %{?el9:%global __brp_strip_static_archive %{nil}}
106
107 %{!?product_suffix: %global product_suffix community}
108 %{!?feature_set: %global feature_set community}
109 %{!?compilation_comment_release: %global compilation_comment_release MySQL Community - GPL}
110 %{!?compilation_comment_debug: %global compilation_comment_debug MySQL Community - GPL - Debug}
111 %{!?compilation_comment_server_release: %global compilation_comment_server_release MySQL Community Server - GPL}
112 %{!?compilation_comment_server_debug: %global compilation_comment_server_debug MySQL Community Server - GPL - Debug}
113 %{!?src_base: %global src_base mysql%{?cluster:-cluster-gpl}}
114
115 %if 0%{?rhel} == 6
116 %global compatver 5.1.73
117 %global compatlib 16
118 %global compatsrc https://cdn.mysql.com/Downloads/MySQL-5.1/mysql-%{compatver}.tar.gz
119 %endif
120
121 %if 0%{?rhel} == 7
122 %global compatver 5.6.51
123 %global compatlib 18
124 %global compatsrc https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-%{compatver}.tar.gz
125 %endif
126
127 %global cmake3 cmake%{?el6:3}%{?el7:3}
128
129 # multiarch
130 %global multiarchs ppc %{power64} %{ix86} x86_64 %{sparc}
131
132 %global src_dir %{src_base}-@VERSION_SRC@
133
134 %if 0%{?without_debuginfo}
135 %global _enable_debug_package 0
136 %global debug_package %{nil}
137 %global __os_install_post /usr/lib/rpm/brp-compress %{nil}
138 %endif
139
140 %global license_files_server %{src_dir}/LICENSE %{src_dir}/README
141
142 %if 0%{?commercial}
143 %global license_type Commercial
144 %else
145 %global license_type GPLv2
146 %endif
147
148 %global min 8.0.11
149
150 Name: mysql%{?cluster:-cluster}-%{product_suffix}
151 Summary: A very fast and reliable SQL database server
152 Group: Applications/Databases
153 Version: @MYSQL_NO_DASH_VERSION@
154 Release: 1@MYSQL_VERSION_EXTRA_DOT@%{?commercial:.1}%{?dist}
155 License: Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. Under %{?license_type} license as shown in the Description field.
156 Source0: https://cdn.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/%{src_dir}.tar.gz
157 URL: http://www.mysql.com/
158 Packager: MySQL Release Engineering <[email protected]>
159 Vendor: %{mysql_vendor}
160 %if 0%{?compatlib}
161 Source7: %{compatsrc}
162 %endif
163 Source10: @BOOST_DOWNLOAD_URL@
164 Source90: filter-provides.sh
165 Source91: filter-requires.sh
166 %if 0%{?rhel} >= 8
167 BuildRequires: cmake >= 3.11.2
168 BuildRequires: libtirpc-devel
169 BuildRequires: rpcgen
170 %else
171 BuildRequires: cmake3 >= 3.11.2
172 %endif
173 %{?el6:BuildRequires: devtoolset-8-gcc}
174 %{?el6:BuildRequires: devtoolset-8-gcc-c++}
175 %{?el6:BuildRequires: devtoolset-8-binutils}
176 %ifarch aarch64
177 %{?el7:BuildRequires: devtoolset-10-gcc}
178 %{?el7:BuildRequires: devtoolset-10-gcc-c++}
179 %{?el7:BuildRequires: devtoolset-10-binutils}
180 %{?el7:BuildRequires: devtoolset-10-dwz}
181 %else
182 %{?el7:BuildRequires: devtoolset-11-gcc}
183 %{?el7:BuildRequires: devtoolset-11-gcc-c++}
184 %{?el7:BuildRequires: devtoolset-11-binutils}
185 %{?el7:BuildRequires: devtoolset-11-dwz}
186 %endif
187 %{?el8:BuildRequires: gcc-toolset-12-annobin-annocheck}
188 %{?el8:BuildRequires: gcc-toolset-12-annobin-plugin-gcc}
189 %{?el8:BuildRequires: gcc-toolset-12-binutils}
190 %{?el8:BuildRequires: gcc-toolset-12-dwz}
191 %{?el8:BuildRequires: gcc-toolset-12-gcc-c++}
192 %{?el8:BuildRequires: gcc-toolset-12-gcc}
193 %{?el9:BuildRequires: gcc-toolset-12-annobin-annocheck}
194 %{?el9:BuildRequires: gcc-toolset-12-annobin-plugin-gcc}
195 %{?el9:BuildRequires: gcc-toolset-12-binutils}
196 %{?el9:BuildRequires: gcc-toolset-12-dwz}
197 %{?el9:BuildRequires: gcc-toolset-12-gcc-c++}
198 %{?el9:BuildRequires: gcc-toolset-12-gcc}
199 BuildRequires: bison >= 3.0.4
200 BuildRequires: elfutils
201 BuildRequires: patchelf
202 BuildRequires: perl
203 %{?el7:BuildRequires: perl(Env)}
204 %{?el8:BuildRequires: perl(Env)}
205 %{?el9:BuildRequires: perl(Env)}
206 BuildRequires: perl(Carp)
207 BuildRequires: perl(Config)
208 BuildRequires: perl(Cwd)
209 BuildRequires: perl(Data::Dumper)
210 BuildRequires: perl(English)
211 BuildRequires: perl(Errno)
212 BuildRequires: perl(Exporter)
213 BuildRequires: perl(Fcntl)
214 BuildRequires: perl(File::Basename)
215 BuildRequires: perl(File::Copy)
216 BuildRequires: perl(File::Find)
217 BuildRequires: perl(File::Path)
218 BuildRequires: perl(File::Spec)
219 BuildRequires: perl(File::Spec::Functions)
220 BuildRequires: perl(File::Temp)
221 BuildRequires: perl(Getopt::Long)
222 BuildRequires: perl(IO::File)
223 BuildRequires: perl(IO::Handle)
224 BuildRequires: perl(IO::Pipe)
225 BuildRequires: perl(IO::Select)
226 BuildRequires: perl(IO::Socket)
227 BuildRequires: perl(IO::Socket::INET)
228 BuildRequires: perl(JSON)
229 BuildRequires: perl(Memoize)
230 BuildRequires: perl(POSIX)
231 BuildRequires: perl(Sys::Hostname)
232 BuildRequires: perl(Time::HiRes)
233 BuildRequires: perl(Time::localtime)
234 BuildRequires: time
235 BuildRequires: libaio-devel
236 %if 0%{?commercial}
237 BuildRequires: cyrus-sasl-gssapi
238 BuildRequires: cyrus-sasl-scram
239 %endif
240 BuildRequires: libcurl-devel
241 BuildRequires: krb5-devel
242 BuildRequires: ncurses-devel
243 BuildRequires: numactl-devel
244 BuildRequires: openssl-devel
245 BuildRequires: zlib-devel
246 %if 0%{?with_openssl11}
247 BuildRequires: openssl11-devel
248 %endif
249 %if 0%{?systemd}
250 BuildRequires: systemd
251 BuildRequires: pkgconfig(systemd)
252 %endif
253 BuildRequires: cyrus-sasl-devel
254 BuildRequires: openldap-devel
255 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
256
257 %if 0%{?rhel} > 6
258 # For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
259 %global _privatelibs libprotobuf.*|libmysqlharness\.so.*|libmysqlharness_stdx\.so.*|libmysqlharness_tls\.so.*|libmysqlrouter\.so\..*|libmysqlrouter_.*\.so\..*%{?ssl_bundled:|libssl\.so\..*|libcrypto\.so\..*}|libfido2.*
260 %global _privateperl perl\\((GD|hostnames|lib::mtr|lib::v1|mtr_|My::)
261 %global __requires_exclude ^((%{_privatelibs})|(%{_privateperl}))
262 %global __provides_exclude_from ^(/usr/share/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so|%{_libdir}/mysql/private/.*|%{_libdir}/mysqlrouter/.*|%{_libdir}/mysqlrouter/private/.*)$
263 %else
264 # https://fedoraproject.org/wiki/EPEL:Packaging#Generic_Filtering_on_EPEL6
265 %global __perl_provides %{SOURCE90}
266 %global __perl_requires %{SOURCE91}
267 %endif
268
269 %description
270 The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
271 and robust SQL (Structured Query Language) database server. MySQL Server
272 is intended for mission-critical, heavy-load production systems as well
273 as for embedding into mass-deployed software. MySQL is a trademark of
274 %{mysql_vendor}
275
276 The MySQL software has Dual Licensing, which means you can use the MySQL
277 software free of charge under the GNU General Public License
278 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
279 licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
280 the GPL. See the chapter "Licensing and Support" in the manual for
281 further info.
282
283 The MySQL web site (http://www.mysql.com/) provides the latest
284 news and information about the MySQL software. Also please see the
285 documentation and the manual for more information.
286
287 %package server
288 Summary: A very fast and reliable SQL database server
289 Group: Applications/Databases
290 Requires: coreutils
291 Requires: grep
292 Requires: procps
293 Requires: shadow-utils
294 Requires: net-tools
295 Requires: %{name}-client%{?_isa} >= %{min}
296 Requires: %{name}-common%{?_isa} = %{version}-%{release}
297 Requires: %{name}-icu-data-files = %{version}-%{release}
298 %if 0%{?commercial}
299 Obsoletes: mysql-commercial-bench < 5.7.8
300 Obsoletes: mysql-commercial-embedded < 8.0.1
301 Obsoletes: mysql-commercial-embedded-devel < 8.0.1
302 Provides: MySQL-server-advanced%{?_isa} = %{version}-%{release}
303 Obsoletes: MySQL-server-advanced < %{version}-%{release}
304 Obsoletes: MySQL-embedded-advanced < %{version}-%{release}
305 Obsoletes: mysql-community-server < %{version}-%{release}
306 %if 0%{?without_debuginfo}
307 Obsoletes: mysql-community-server-debug < %{version}-%{release}
308 %endif
309 %if 0%{?cluster}
310 Provides: MySQL-Cluster-server-advanced%{?_isa} = %{version}-%{release}
311 Obsoletes: MySQL-Cluster-server-advanced < %{version}-%{release}
312 Obsoletes: MySQL-Cluster-embedded-advanced < %{version}-%{release}
313 Obsoletes: mysql-commercial-server < %{version}-%{release}
314 Obsoletes: mysql-cluster-community-server < %{version}-%{release}
315 %if 0%{?without_debuginfo}
316 Obsoletes: mysql-cluster-community-server-debug < %{version}-%{release}
317 %endif
318 Obsoletes: mysql-cluster-commercial-embedded < 8.0.1
319 Obsoletes: mysql-cluster-commercial-embedded-devel < 8.0.1
320 %endif
321 %endif
322 %if 0%{?cluster}
323 Provides: MySQL-Cluster-server-gpl%{?_isa} = %{version}-%{release}
324 Obsoletes: MySQL-Cluster-server-gpl < %{version}-%{release}
325 Obsoletes: mysql-cluster-community-embedded < 8.0.1
326 Obsoletes: mysql-cluster-community-embedded-devel < 8.0.1
327 Obsoletes: MySQL-Cluster-embedded-gpl < %{version}-%{release}
328 %endif
329 Provides: MySQL-server%{?_isa} = %{version}-%{release}
330 Obsoletes: MySQL-server < %{version}-%{release}
331 Obsoletes: mysql-community-bench < 5.7.8
332 Obsoletes: mysql-community-embedded < 8.0.1
333 Obsoletes: mysql-community-embedded-devel < 8.0.1
334 Obsoletes: mysql-embedded-devel < 8.0.1
335 Obsoletes: community-mysql-bench
336 Obsoletes: mysql-bench
337 Obsoletes: mysql-server < %{version}-%{release}
338 Obsoletes: mariadb-connector-c-config
339 Obsoletes: mariadb-backup
340 Obsoletes: mariadb-bench
341 Obsoletes: mariadb-server
342 Obsoletes: mariadb-server-galera
343 Obsoletes: mariadb-server-utils
344 Obsoletes: mariadb-galera-server
345 Obsoletes: mariadb-gssapi-server
346 Obsoletes: mariadb-oqgraph-engine
347 Provides: mysql-server = %{version}-%{release}
348 Provides: mysql-server%{?_isa} = %{version}-%{release}
349 Provides: mysql-compat-server = %{version}-%{release}
350 Provides: mysql-compat-server%{?_isa} = %{version}-%{release}
351 %if 0%{?systemd}
352 Requires(post): systemd
353 Requires(preun): systemd
354 Requires(postun): systemd
355 %else
356 Requires(post): /sbin/chkconfig
357 Requires(preun): /sbin/chkconfig
358 Requires(preun): /sbin/service
359 %endif
360
361 %description server
362 The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
363 and robust SQL (Structured Query Language) database server. MySQL Server
364 is intended for mission-critical, heavy-load production systems as well
365 as for embedding into mass-deployed software. MySQL is a trademark of
366 %{mysql_vendor}
367
368 The MySQL software has Dual Licensing, which means you can use the MySQL
369 software free of charge under the GNU General Public License
370 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
371 licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
372 the GPL. See the chapter "Licensing and Support" in the manual for
373 further info.
374
375 The MySQL web site (http://www.mysql.com/) provides the latest news and
376 information about the MySQL software. Also please see the documentation
377 and the manual for more information.
378
379 This package includes the MySQL server binary as well as related utilities
380 to run and administer a MySQL server.
381
382 %if 0%{?with_debuginfo}
383 %package server-debug
384 Summary: The debug version of MySQL server
385 Requires: %{name}-server = %{version}-%{release}
386 %if 0%{?commercial}
387 Obsoletes: mysql-community-server-debug < %{version}-%{release}
388 %if 0%{?cluster}
389 Obsoletes: mysql-commercial-server-debug < %{version}-%{release}
390 Obsoletes: mysql-cluster-community-server-debug < %{version}-%{release}
391 %endif # cluster
392 %else
393 %if 0%{?cluster}
394 Obsoletes: mysql-community-server-debug < %{version}-%{release}
395 %endif # cluster
396 %endif # commercial
397
398 %description server-debug
399 This packages contains the special debug build of MySQL server.
400 %endif # with_debuginfo
401
402 %package client
403 Summary: MySQL database client applications and tools
404 Group: Applications/Databases
405 Requires: %{name}-libs%{?_isa} >= %{min}
406 Requires: %{name}-client-plugins = %{version}-%{release}
407 %if 0%{?commercial}
408 Provides: MySQL-client-advanced%{?_isa} = %{version}-%{release}
409 Obsoletes: MySQL-client-advanced < %{version}-%{release}
410 Obsoletes: mysql-community-client < %{version}-%{release}
411 %if 0%{?cluster}
412 Provides: MySQL-Cluster-client-advanced%{?_isa} = %{version}-%{release}
413 Obsoletes: MySQL-Cluster-client-advanced < %{version}-%{release}
414 Obsoletes: mysql-commercial-client < %{version}-%{release}
415 Obsoletes: mysql-cluster-community-client < %{version}-%{release}
416 %endif
417 %endif
418 %if 0%{?cluster}
419 Provides: MySQL-Cluster-client-gpl%{?_isa} = %{version}-%{release}
420 Obsoletes: MySQL-Cluster-client-gpl < %{version}-%{release}
421 %endif
422 Provides: MySQL-client%{?_isa} = %{version}-%{release}
423 Obsoletes: MySQL-client < %{version}-%{release}
424 Obsoletes: mariadb
425 Obsoletes: mysql < %{version}-%{release}
426 Provides: mysql = %{version}-%{release}
427 Provides: mysql%{?_isa} = %{version}-%{release}
428
429 %description client
430 This package contains the standard MySQL clients and administration
431 tools.
432
433 %package icu-data-files
434 Summary: MySQL packaging of ICU data files
435
436 %description icu-data-files
437 This package contains ICU data files needer by MySQL regular expressions.
438
439 %package common
440 Summary: MySQL database common files for server and client libs
441 Group: Applications/Databases
442 %if 0%{?commercial}
443 Obsoletes: mysql-community-common < %{version}-%{release}
444 %if 0%{?cluster}
445 Obsoletes: mysql-commercial-common < %{version}-%{release}
446 Obsoletes: mysql-cluster-community-common < %{version}-%{release}
447 %endif
448 %endif
449 Provides: mysql-common = %{version}-%{release}
450 Provides: mysql-common%{?_isa} = %{version}-%{release}
451
452 %description common
453 This packages contains common files needed by MySQL client library and
454 MySQL database server.
455
456 %package test
457 Summary: Test suite for the MySQL database server
458 Group: Applications/Databases
459 Requires: %{name}-server%{?_isa} >= %{min}
460 Requires: perl(Carp)
461 Requires: perl(Config)
462 Requires: perl(Cwd)
463 Requires: perl(Data::Dumper)
464 Requires: perl(English)
465 Requires: perl(Errno)
466 Requires: perl(Exporter)
467 Requires: perl(Fcntl)
468 Requires: perl(File::Basename)
469 Requires: perl(File::Copy)
470 Requires: perl(File::Find)
471 Requires: perl(File::Path)
472 Requires: perl(File::Spec)
473 Requires: perl(File::Spec::Functions)
474 Requires: perl(File::Temp)
475 Requires: perl(Getopt::Long)
476 Requires: perl(IO::File)
477 Requires: perl(IO::Handle)
478 Requires: perl(IO::Pipe)
479 Requires: perl(IO::Select)
480 Requires: perl(IO::Socket)
481 Requires: perl(IO::Socket::INET)
482 Requires: perl(JSON)
483 Requires: perl(Memoize)
484 Requires: perl(POSIX)
485 Requires: perl(Sys::Hostname)
486 Requires: perl(Time::HiRes)
487 Requires: perl(Time::localtime)
488 %if 0%{?cluster}
489 Requires: %{name}-data-node%{?_isa} >= %{min}
490 Requires: %{name}-management-server%{?_isa} >= %{min}
491 %endif
492 %if 0%{?commercial}
493 Provides: MySQL-test-advanced%{?_isa} = %{version}-%{release}
494 Obsoletes: MySQL-test-advanced < %{version}-%{release}
495 Obsoletes: mysql-community-test < %{version}-%{release}
496 %if 0%{?cluster}
497 Provides: MySQL-Cluster-test-advanced%{?_isa} = %{version}-%{release}
498 Obsoletes: MySQL-Cluster-test-advanced < %{version}-%{release}
499 Obsoletes: mysql-commercial-test < %{version}-%{release}
500 Obsoletes: mysql-cluster-community-test < %{version}-%{release}
501 %endif
502 %endif
503 %if 0%{?cluster}
504 Provides: MySQL-Cluster-test-gpl%{?_isa} = %{version}-%{release}
505 Obsoletes: MySQL-Cluster-test-gpl < %{version}-%{release}
506 %endif
507 Provides: MySQL-test%{?_isa} = %{version}-%{release}
508 Obsoletes: MySQL-test < %{version}-%{release}
509 Obsoletes: mysql-test < %{version}-%{release}
510 Obsoletes: mariadb-test
511 Provides: mysql-test = %{version}-%{release}
512 Provides: mysql-test%{?_isa} = %{version}-%{release}
513
514 %description test
515 This package contains the MySQL regression test suite for MySQL
516 database server.
517
518 %package devel
519 Summary: Development header files and libraries for MySQL database client applications
520 Group: Applications/Databases
521 Requires: %{name}-libs%{?_isa} >= %{min}
522 %if 0%{?commercial}
523 Provides: MySQL-devel-advanced%{?_isa} = %{version}-%{release}
524 Obsoletes: MySQL-devel-advanced < %{version}-%{release}
525 Obsoletes: mysql-community-devel < %{version}-%{release}
526 %if 0%{?cluster}
527 Provides: MySQL-Cluster-devel-advanced%{?_isa} = %{version}-%{release}
528 Obsoletes: MySQL-Cluster-devel-advanced < %{version}-%{release}
529 Obsoletes: mysql-commercial-devel < %{version}-%{release}
530 Obsoletes: mysql-cluster-community-devel < %{version}-%{release}
531 %endif
532 %endif
533 %if 0%{?cluster}
534 Provides: MySQL-Cluster-devel-gpl%{?_isa} = %{version}-%{release}
535 Obsoletes: MySQL-Cluster-devel-gpl < %{version}-%{release}
536 %endif
537 Provides: MySQL-devel = %{version}-%{release}
538 Obsoletes: MySQL-devel < %{version}-%{release}
539 Obsoletes: mysql-devel < %{version}-%{release}
540 %{?el8:Obsoletes: mariadb-embedded-devel}
541 %{?el9:Obsoletes: mariadb-embedded-devel}
542 Obsoletes: mariadb-devel
543 Obsoletes: mariadb-connector-c-devel
544 Obsoletes: mysql-connector-c-devel < 6.2
545 Provides: mysql-devel = %{version}-%{release}
546 Provides: mysql-devel%{?_isa} = %{version}-%{release}
547
548 %description devel
549 This package contains the development header files and libraries necessary
550 to develop MySQL client applications.
551
552 %package libs
553 Summary: Shared libraries for MySQL database client applications
554 Group: Applications/Databases
555 Requires: %{name}-common%{?_isa} >= %{min}
556 Requires: %{name}-client-plugins >= %{version}-%{release}
557 %if 0%{?commercial}
558 Provides: MySQL-shared-advanced%{?_isa} = %{version}-%{release}
559 Obsoletes: MySQL-shared-advanced < %{version}-%{release}
560 Obsoletes: mysql-community-libs < %{version}-%{release}
561 %if 0%{?cluster}
562 Provides: MySQL-Cluster-shared-advanced%{?_isa} = %{version}-%{release}
563 Obsoletes: MySQL-Cluster-shared-advanced < %{version}-%{release}
564 Obsoletes: MySQL-shared-advanced < %{version}-%{release}
565 Obsoletes: mysql-cluster-community-libs < %{version}-%{release}
566 %endif
567 %endif
568 %if 0%{?cluster}
569 Provides: MySQL-Cluster-shared-gpl%{?_isa} = %{version}-%{release}
570 Obsoletes: MySQL-Cluster-shared-gpl < %{version}-%{release}
571 %endif
572 Provides: MySQL-shared%{?_isa} = %{version}-%{release}
573 Obsoletes: MySQL-shared < %{version}-%{release}
574 Obsoletes: mysql-libs < %{version}-%{release}
575 Obsoletes: mariadb-libs
576 Obsoletes: mysql-connector-c-shared < 6.2
577 Provides: mysql-libs = %{version}-%{release}
578 Provides: mysql-libs%{?_isa} = %{version}-%{release}
579
580 %description libs
581 This package contains the shared libraries for MySQL client
582 applications.
583
584 %package client-plugins
585 Summary: Shared plugins for MySQL client applications
586 Group: Applications/Databases
587 Provides: mysql-client-plugins = %{version}-%{release}
588 %if 0%{?commercial}
589 Conflicts: mysql-commercial-server < 8.0.21
590 Conflicts: mysql-commercial-client < 8.0.22
591 Obsoletes: mysql-community-client-plugins < %{version}-%{release}
592 %if 0%{?cluster}
593 Obsoletes: mysql-commercial-client-plugins < %{version}-%{release}
594 Conflicts: mysql-cluster-commercial-server < 8.0.21
595 Conflicts: mysql-cluster-commercial-client < 8.0.22
596 Obsoletes: mysql-community-client-plugins < %{version}-%{release}
597 Obsoletes: mysql-commercial-client-plugins < %{version}-%{release}
598 %endif
599 %else
600 Conflicts: mysql-community-server < 8.0.21
601 Conflicts: mysql-community-client < 8.0.22
602 %if 0%{?cluster}
603 Conflicts: mysql-cluster-community-server < 8.0.21
604 Conflicts: mysql-cluster-community-client < 8.0.22
605 Obsoletes: mysql-community-client-plugins < %{version}-%{release}
606 %endif
607 %endif
608
609 %description client-plugins
610 This package contains the client-plugins libraries used by MySQL client applications.
611
612
613 %if 0%{?compatlib}
614 %package libs-compat
615 Summary: Shared compat libraries for MySQL %{compatver} database client applications
616 Group: Applications/Databases
617 Obsoletes: mysql-libs-compat < %{version}-%{release}
618 Provides: mysql-libs-compat = %{version}-%{release}
619 Provides: mysql-libs-compat%{?_isa} = %{version}-%{release}
620 Requires: %{name}-libs%{?_isa} >= %{min}
621 %if 0%{?commercial}
622 Provides: MySQL-shared-compat-advanced%{?_isa} = %{version}-%{release}
623 Obsoletes: MySQL-shared-compat-advanced < %{version}-%{release}
624 Obsoletes: mysql-community-libs-compat < %{version}-%{release}
625 %if 0%{?cluster}
626 Provides: MySQL-Cluster-shared-compat-advanced%{?_isa} = %{version}-%{release}
627 Obsoletes: MySQL-Cluster-shared-compat-advanced < %{version}-%{release}
628 Obsoletes: mysql-commercial-libs-compat < %{version}-%{release}
629 Obsoletes: mysql-cluster-community-libs-compat < %{version}-%{release}
630 %endif
631 %endif
632 %if 0%{?cluster}
633 Provides: MySQL-Cluster-shared-compat-gpl%{?_isa} = %{version}-%{release}
634 Obsoletes: MySQL-Cluster-shared-compat-gpl < %{version}-%{release}
635 %endif
636 Provides: MySQL-shared-compat%{?_isa} = %{version}-%{release}
637 Obsoletes: MySQL-shared-compat < %{version}-%{release}
638 Obsoletes: mysql-libs < %{version}-%{release}
639 Obsoletes: mariadb-libs
640
641 %description libs-compat
642 This package contains the shared compat libraries for MySQL %{compatver} client
643 applications.
644 %endif
645
646 %if 0%{?rhel} == 7
647 %package embedded-compat
648 Summary: MySQL embedded compat library
649 Group: Applications/Databases
650 Requires: %{name}-common%{?_isa} >= %{min}
651 %if 0%{?commercial}
652 Obsoletes: mysql-community-embedded-compat < %{version}-%{release}
653 %if 0%{?cluster}
654 Obsoletes: mysql-commercial-embedded-compat < %{version}-%{release}
655 Obsoletes: mysql-cluster-community-embedded-compat < %{version}-%{release}
656 %endif
657 %endif
658 Obsoletes: MySQL-embedded < %{version}-%{release}
659 Obsoletes: mysql-embedded < %{version}-%{release}
660 Obsoletes: mysql-embedded-devel < %{version}-%{release}
661 Obsoletes: mariadb-embedded
662 Obsoletes: mariadb-embedded-devel
663
664 %description embedded-compat
665 This package contains the MySQL server as an embedded library with
666 compatibility for applications using version %{compatlib} of the library.
667 %endif
668
669 %if 0%{?with_router}
670 %package -n mysql-router-%{product_suffix}
671 Summary: MySQL Router
672 Group: Applications/Databases
673 Provides: mysql-router = %{version}-%{release}
674 Obsoletes: mysql-router < %{version}-%{release}
675 %{?el7:Requires: openssl-libs >= 1.0.2j}
676 %if 0%{?commercial}
677 Obsoletes: mysql-router-community < %{version}-%{release}
678 %endif
679 %description -n mysql-router-%{product_suffix}
680 The MySQL(TM) Router software delivers a fast, multi-threaded way of
681 routing connections from MySQL Clients to MySQL Servers. MySQL is a
682 trademark of Oracle.
683
684 The MySQL software has Dual Licensing, which means you can use the
685 MySQL software free of charge under the GNU General Public License
686 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
687 licenses from Oracle and/or its affiliates if you do not wish to be
688 bound by the terms of the GPL. See the chapter "Licensing and Support"
689 in the manual for further info.
690
691 The MySQL web site (http://www.mysql.com/) provides the latest news
692 and information about the MySQL software. Also please see the
693 documentation and the manual for more information.
694
695 %package -n mysql-router-%{product_suffix}-devel
696 Summary: Development header files and libraries for MySQL Router
697 Group: Applications/Databases
698 Provides: mysql-router-devel = %{version}-%{release}
699 Obsoletes: mysql-router-devel < %{version}-%{release}
700 %if 0%{?commercial}
701 Obsoletes: mysql-router-community-devel < %{version}-%{release}
702 Requires: mysql-router-commercial = %{version}-%{release}
703 %else
704 Requires: mysql-router-community = %{version}-%{release}
705 %endif
706 %description -n mysql-router-%{product_suffix}-devel
707 This package contains the development header files and libraries
708 necessary to develop MySQL Router applications.
709 %endif # with_router
710
711 %if 0%{?cluster}
712 %package management-server
713 Summary: MySQL Cluster Management Server Daemon
714 Group: Applications/Databases
715 %description management-server
716 This package contains the MySQL Cluster Management Server Daemon,
717 which reads the cluster configuration file and distributes this
718 information to all nodes in the cluster.
719
720 %package data-node
721 Summary: MySQL Cluster Data Node Daemon
722 Group: Applications/Databases
723 %description data-node
724 This package contains MySQL Cluster Data Node Daemon, it is the process
725 that is used to handle all the data in tables using the NDB Cluster
726 storage engine. It comes in two variants: ndbd and ndbmtd, the former
727 is single threaded while the latter is multi-threaded.
728
729 %package ndbclient
730 Summary: Shared libraries for MySQL NDB storage engine client applications
731 Group: Applications/Databases
732 %description ndbclient
733 This package contains the shared libraries for MySQL MySQL NDB storage
734 engine client applications.
735
736 %package ndbclient-devel
737 Summary: Development files for MySQL NDB storage engine client applications
738 Group: Applications/Databases
739 Requires: %{name}-devel%{?_isa} = %{version}-%{release}
740 Requires: %{name}-ndbclient%{?_isa} = %{version}-%{release}
741 %description ndbclient-devel
742 This package contains the development header files and libraries
743 necessary to develop client applications for MySQL NDB storage engine.
744
745 %if 0%{?ndb_nodejs_extras_path:1}
746 %package nodejs
747 Summary: Set of Node.js adapters for MySQL Cluster
748 Group: Applications/Databases
749 %description nodejs
750 This package contains MySQL NoSQL Connector for JavaScript, a set of
751 Node.js adapters for MySQL Cluster and MySQL Server, which make it
752 possible to write JavaScript applications for Node.js using MySQL
753 data.
754 %endif
755
756 %package java
757 Summary: MySQL Cluster Connector for Java
758 Group: Applications/Databases
759 %description java
760 This package contains MySQL Cluster Connector for Java, which includes
761 ClusterJ.
762
763 ClusterJ is a high level database API that is similar in style and
764 concept to object-relational mapping persistence frameworks such as
765 Hibernate and JPA.
766
767 %endif # cluster
768
769 %if 0%{?with_meb}
770 %package backup
771 Summary: MySQL Enterprise Backup
772 Group: Applications/Databases
773 Provides: meb = %{version}-%{release}
774 Provides: meb%{?_isa} = %{version}-%{release}
775 Obsoletes: meb < %{version}-%{release}
776 %description backup
777 Implementing proper database backup and disaster recovery plans to
778 protect against accidental loss of data, database corruption,
779 hardware/operating system crashes orany natural disasters has become
780 one of the most important responsibilities of the Database
781 Administrator (DBAs).
782
783 MySQL Enterprise Backup provides DBAs with a high-performance, online
784 "hot" backup solution with data compression technology to ensure your
785 data is protected in case of downtime or an outage. MySQL is a
786 trademark of %{mysql_vendor}
787 %endif # with_meb
788
789 %prep
790 %if 0%{?compatlib}
791 %setup -q -T -a 0 -a 7 -a 10 -c -n %{src_dir}
792 %else
793 %setup -q -T -a 0 -a 10 -c -n %{src_dir}
794 %endif # 0%{?compatlib}
795 mkdir -p %{src_dir}/mysql-@MYSQL_BASE_VERSION@
796 cp -p %{license_files_server} %{src_dir}/mysql-@MYSQL_BASE_VERSION@
797
798 %build
799 # Fail quickly and obviously if user tries to build as root
800 %if 0%{?runselftest}
801 if [ "x$(id -u)" = "x0" ] ; then
802 echo "The MySQL regression tests may fail if run as root."
803 echo "If you really need to build the RPM as root, use"
804 echo "--define='runselftest 0' to skip the regression tests."
805 exit 1
806 fi
807 %endif
808
809 # Build compat libs
810 %if 0%{?compatlib}
811 %if 0%{?rhel} < 7
812 (
813 export CFLAGS="%{optflags} -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv"
814 export CXXFLAGS="$CFLAGS %{?el6:-felide-constructors} -fno-rtti -fno-exceptions"
815 pushd mysql-%{compatver}
816 %configure \
817 --with-readline \
818 --without-debug \
819 --enable-shared \
820 --localstatedir=/var/lib/mysql \
821 --with-unix-socket-path=/var/lib/mysql/mysql.sock \
822 --with-mysqld-user="mysql" \
823 --with-extra-charsets=all \
824 --enable-local-infile \
825 --enable-largefile \
826 --enable-thread-safe-client \
827 --with-ssl=%{_prefix} \
828 --with-embedded-server \
829 --with-big-tables \
830 --with-pic \
831 --with-plugin-innobase \
832 --with-plugin-innodb_plugin \
833 --with-plugin-partition \
834 --disable-dependency-tracking
835 make %{?_smp_mflags}
836 popd
837 )
838 %else # 0%{?rhel} < 7
839 (
840 pushd mysql-%{compatver}
841 mkdir build && pushd build
842 %{cmake3} .. \
843 -DBUILD_CONFIG=mysql_release \
844 -DINSTALL_LAYOUT=RPM \
845 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
846 -DCMAKE_C_FLAGS="%{optflags}" \
847 -DCMAKE_CXX_FLAGS="%{optflags}" \
848 -DWITH_INNODB_MEMCACHED=0 \
849 -DINSTALL_LIBDIR="%{_lib}/mysql" \
850 -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
851 -DINSTALL_SQLBENCHDIR=share \
852 -DWITH_SYMVER16=1 \
853 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
854 -DFEATURE_SET="%{feature_set}" \
855 -DWITH_EMBEDDED_SERVER=1 \
856 -DWITH_EMBEDDED_SHARED_LIBRARY=1 \
857 -DWITH_SSL=system \
858 -DWITH_ZLIB=system \
859 -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
860 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_release}" \
861 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
862 echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/my_config.h ; echo END_NORMAL_CONFIG
863 make %{?_smp_mflags} VERBOSE=1
864 popd && popd
865 )
866 %endif # 0%{?rhel} < 7
867 %endif # 0%{?compatlib}
868
869 # Build debug versions of mysqld
870 mkdir debug
871 (
872 cd debug
873 # Attempt to remove any optimisation flags from the debug build
874 optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-D_FORTIFY_SOURCE=2/ /' -e 's/%{_lto_cflags}/ /')
875 %{cmake3} ../%{src_dir} \
876 -DBUILD_CONFIG=mysql_release \
877 -DINSTALL_LAYOUT=RPM \
878 -DCMAKE_BUILD_TYPE=Debug \
879 -DWITH_BOOST=.. \
880 -DCMAKE_C_FLAGS="$optflags" \
881 -DCMAKE_CXX_FLAGS="$optflags" \
882 -DUSE_LD_LLD=0 \
883 %if 0%{?ssl_default}
884 -DWITH_AUTHENTICATION_CLIENT_PLUGINS=1 \
885 %else
886 -DWITH_AUTHENTICATION_CLIENT_PLUGINS=0 \
887 -DWITH_AUTHENTICATION_FIDO=0 \
888 -DWITH_AUTHENTICATION_KERBEROS=0 \
889 -DWITH_AUTHENTICATION_LDAP=0 \
890 -DWITH_AUTHENTICATION_OCI=0 \
891 -DWITH_COMPONENT_KEYRING_OCI=0 \
892 -DWITH_CURL=0 \
893 -DWITH_KEYRING_HASHICORP=0 \
894 -DWITH_KEYRING_OCI=0 \
895 %endif # ssl_default
896 -DWITH_CURL=system \
897 %if 0%{?systemd}
898 -DWITH_SYSTEMD=1 \
899 %endif
900 -DWITH_ROUTER=%{with_router} \
901 %if 0%{?cluster}
902 -DWITH_NDB=1 \
903 %endif
904 %if 0%{?ndb_nodejs_path:1}
905 -DNDB_NODEJS_PATH=%{ndb_nodejs_path} \
906 %endif
907 %if 0%{?ndb_nodejs_extras_path:1}
908 -DNDB_NODEJS_EXTRAS_PATH=%{ndb_nodejs_extras_path} \
909 %endif
910 %if 0%{?commercial}
911 -DWITH_MEB=%{with_meb} \
912 %{?aws_sdk_option} \
913 %endif
914 %{?ssl_option} \
915 -DWITH_INNODB_MEMCACHED=1 \
916 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
917 -DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
918 -DWITH_NUMA=1 \
919 %{?mecab_option} \
920 -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
921 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_debug}" \
922 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
923 echo BEGIN_DEBUG_CONFIG ; egrep '^#define' include/my_config.h ; echo END_DEBUG_CONFIG
924 make %{?_smp_mflags} VERBOSE=1
925 )
926
927 # Build full release
928 mkdir release
929 (
930 cd release
931 %{cmake3} ../%{src_dir} \
932 %{?pgo:-DFPROFILE_GENERATE=1} \
933 -DBUILD_CONFIG=mysql_release \
934 -DINSTALL_LAYOUT=RPM \
935 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
936 -DWITH_BOOST=.. \
937 -DCMAKE_C_FLAGS="%{optflags}" \
938 -DCMAKE_CXX_FLAGS="%{optflags}" \
939 -DUSE_LD_LLD=0 \
940 %if 0%{?ssl_default}
941 -DWITH_AUTHENTICATION_CLIENT_PLUGINS=1 \
942 %else
943 -DWITH_AUTHENTICATION_CLIENT_PLUGINS=0 \
944 -DWITH_AUTHENTICATION_FIDO=0 \
945 -DWITH_AUTHENTICATION_KERBEROS=0 \
946 -DWITH_AUTHENTICATION_LDAP=0 \
947 -DWITH_AUTHENTICATION_OCI=0 \
948 -DWITH_COMPONENT_KEYRING_OCI=0 \
949 -DWITH_CURL=0 \
950 -DWITH_KEYRING_HASHICORP=0 \
951 -DWITH_KEYRING_OCI=0 \
952 %endif # ssl_default
953 -DWITH_CURL=system \
954 %if 0%{?systemd}
955 -DWITH_SYSTEMD=1 \
956 %endif
957 -DWITH_ROUTER=%{with_router} \
958 %if 0%{?cluster}
959 -DWITH_NDB=1 \
960 %endif
961 %if 0%{?ndb_nodejs_path:1}
962 -DNDB_NODEJS_PATH=%{ndb_nodejs_path} \
963 %endif
964 %if 0%{?ndb_nodejs_extras_path:1}
965 -DNDB_NODEJS_EXTRAS_PATH=%{ndb_nodejs_extras_path} \
966 %endif
967 %if 0%{?commercial}
968 -DWITH_MEB=%{with_meb} \
969 %{?aws_sdk_option} \
970 %endif
971 %{?ssl_option} \
972 -DWITH_INNODB_MEMCACHED=1 \
973 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
974 -DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
975 -DWITH_NUMA=1 \
976 %{?mecab_option} \
977 -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
978 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_release}" \
979 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
980 echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/my_config.h ; echo END_NORMAL_CONFIG
981 make %{?_smp_mflags} VERBOSE=1
982 )
983
984 %if 0%{?pgo}
985 (
986 # Run some MTR load to generate profile data
987 pushd release
988 make run-profile-suite
989 rm -r $(readlink mysql-test/var)
990 popd
991
992 # Build again with profile data present
993 rm -rf release
994 mkdir release && pushd release
995 cmake3 ../%{src_dir} \
996 -DFPROFILE_USE=1 \
997 -DBUILD_CONFIG=mysql_release \
998 -DINSTALL_LAYOUT=RPM \
999 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
1000 -DWITH_BOOST=.. \
1001 -DCMAKE_C_FLAGS="%{optflags}" \
1002 -DCMAKE_CXX_FLAGS="%{optflags}" \
1003 -DUSE_LD_LLD=0 \
1004 %if 0%{?ssl_default}
1005 %else
1006 -DWITH_AUTHENTICATION_CLIENT_PLUGINS=0 \
1007 -DWITH_AUTHENTICATION_FIDO=0 \
1008 -DWITH_AUTHENTICATION_KERBEROS=0 \
1009 -DWITH_AUTHENTICATION_LDAP=0 \
1010 -DWITH_AUTHENTICATION_OCI=0 \
1011 -DWITH_COMPONENT_KEYRING_OCI=0 \
1012 -DWITH_CURL=0 \
1013 -DWITH_KEYRING_HASHICORP=0 \
1014 -DWITH_KEYRING_OCI=0 \
1015 %endif # ssl_default
1016 -DWITH_CURL=system \
1017 %if 0%{?systemd}
1018 -DWITH_SYSTEMD=1 \
1019 %endif
1020 -DWITH_ROUTER=%{with_router} \
1021 %if 0%{?cluster}
1022 -DWITH_NDB=1 \
1023 %endif
1024 %if 0%{?ndb_nodejs_path:1}
1025 -DNDB_NODEJS_PATH=%{ndb_nodejs_path} \
1026 %endif
1027 %if 0%{?ndb_nodejs_extras_path:1}
1028 -DNDB_NODEJS_EXTRAS_PATH=%{ndb_nodejs_extras_path} \
1029 %endif
1030 %if 0%{?commercial}
1031 -DWITH_MEB=%{with_meb} \
1032 %{?aws_sdk_option} \
1033 %endif
1034 %{?ssl_option} \
1035 -DWITH_INNODB_MEMCACHED=1 \
1036 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
1037 -DMYSQLX_UNIX_ADDR="/var/run/mysqld/mysqlx.sock" \
1038 -DWITH_NUMA=1 \
1039 %{?mecab_option} \
1040 -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
1041 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_release}" \
1042 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
1043 make %{?_smp_mflags} VERBOSE=1
1044 )
1045 %endif # pgo
1046
1047 %install
1048 # /usr/bin/strip is too old on el6
1049 %if 0%{?rhel} == 6
1050 export STRIP=/opt/rh/devtoolset-8/root/usr/bin/strip
1051 %endif
1052
1053 %if 0%{?compatlib}
1054 # Install compat libs
1055 dirs="libmysql libmysql_r"
1056 %{?el7:dirs="build/libmysql build/libmysqld build/sql/share"}
1057 for dir in $dirs ; do
1058 pushd mysql-%{compatver}/$dir
1059 make DESTDIR=%{buildroot} install
1060 popd
1061 done
1062 rm -f %{buildroot}%{_libdir}/mysql/libmysqlclient{,_r}.{a,la,so}
1063 %{?el7:rm -f %{buildroot}%{_libdir}/mysql/libmysqld.{a,la,so}}
1064 %endif # 0%{?compatlib}
1065
1066 MBD=$RPM_BUILD_DIR/%{src_dir}
1067
1068 # Ensure that needed directories exists
1069 install -d -m 0751 %{buildroot}/var/lib/mysql
1070 install -d -m 0755 %{buildroot}/var/run/mysqld
1071 install -d -m 0750 %{buildroot}/var/lib/mysql-files
1072 install -d -m 0750 %{buildroot}/var/lib/mysql-keyring
1073
1074 %if 0%{?with_router}
1075 # Router directories
1076 install -d -m 0755 %{buildroot}/var/log/mysqlrouter
1077 install -d -m 0755 %{buildroot}/var/run/mysqlrouter
1078 %endif
1079
1080 # Install all binaries
1081 cd $MBD/release
1082 make DESTDIR=%{buildroot} install
1083
1084 # Install config and logrotate
1085 install -D -m 0644 packaging/rpm-common/mysql.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
1086 install -D -m 0644 packaging/rpm-common/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
1087 install -d %{buildroot}%{_sysconfdir}/my.cnf.d
1088 %if 0%{?systemd}
1089 %else
1090 install -D -m 0755 packaging/rpm-oel/mysql.init %{buildroot}%{_sysconfdir}/init.d/mysqld
1091 %endif # systemd
1092
1093 # Add libdir to linker
1094 install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
1095 echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
1096
1097 # multiarch support
1098 %ifarch %{multiarchs}
1099 mv %{buildroot}/%{_bindir}/mysql_config %{buildroot}/%{_bindir}/mysql_config-%{__isa_bits}
1100 install -p -m 0755 packaging/rpm-common/mysql_config.sh %{buildroot}/%{_bindir}/mysql_config
1101 %endif
1102
1103 %if 0%{?with_router}
1104 %if 0%{?systemd}
1105 %else
1106 install -D -p -m 0755 packaging/rpm-common/mysqlrouter.init %{buildroot}%{_sysconfdir}/init.d/mysqlrouter
1107 %endif # systemd
1108 install -D -p -m 0644 packaging/rpm-common/mysqlrouter.conf %{buildroot}%{_sysconfdir}/mysqlrouter/mysqlrouter.conf
1109 %endif # with_router
1110
1111 %check
1112 %if 0%{?runselftest} || 0%{?with_unittests}
1113 pushd release
1114 make test-unit || true
1115 %endif
1116 %if 0%{?runselftest}
1117 export MTR_BUILD_THREAD=auto
1118 pushd mysql-test
1119 ./mtr \
1120 --mem --parallel=auto --force --retry=0 \
1121 --mysqld=--binlog-format=row \
1122 --suite-timeout=720 --testcase-timeout=30 \
1123 --clean-vardir
1124 rm -r $(readlink var) var
1125 %endif # runselftest
1126
1127 %pre server
1128 /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
1129 /usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/false \
1130 -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
1131
1132 %post server
1133 [ -e /var/log/mysqld.log ] || install -m0640 -omysql -gmysql /dev/null /var/log/mysqld.log >/dev/null 2>&1 || :
1134 %if 0%{?systemd}
1135 %systemd_post mysqld.service
1136 if [ $1 -eq 1 ]; then
1137 /usr/bin/systemctl enable mysqld >/dev/null 2>&1 || :
1138 fi
1139 %else
1140 /sbin/chkconfig --add mysqld
1141 %endif # systemd
1142
1143 %preun server
1144 %if 0%{?systemd}
1145 %systemd_preun mysqld.service
1146 %else
1147 if [ "$1" = 0 ]; then
1148 /sbin/service mysqld stop >/dev/null 2>&1 || :
1149 /sbin/chkconfig --del mysqld
1150 fi
1151 %endif
1152
1153 %postun server
1154 %if 0%{?systemd}
1155 %systemd_postun_with_restart mysqld.service
1156 %else
1157 if [ $1 -ge 1 ]; then
1158 /sbin/service mysqld condrestart >/dev/null 2>&1 || :
1159 fi
1160 %endif
1161
1162 %post libs -p /sbin/ldconfig
1163
1164 %postun libs -p /sbin/ldconfig
1165
1166 %if 0%{?compatlib}
1167 %post libs-compat -p /sbin/ldconfig
1168
1169 %postun libs-compat -p /sbin/ldconfig
1170 %endif
1171
1172 %{?el7:%postun embedded-compat -p /sbin/ldconfig}
1173
1174 %if 0%{?with_router}
1175 %pre -n mysql-router-%{product_suffix}
1176 /usr/sbin/groupadd -r mysqlrouter >/dev/null 2>&1 || :
1177 /usr/sbin/useradd -M -N -g mysqlrouter -r -d /var/lib/mysqlrouter -s /bin/false \
1178 -c "MySQL Router" mysqlrouter >/dev/null 2>&1 || :
1179
1180 %post -n mysql-router-%{product_suffix}
1181 /sbin/ldconfig
1182 %if 0%{?systemd}
1183 %systemd_post mysqlrouter.service
1184 %else
1185 /sbin/chkconfig --add mysqlrouter
1186 %endif # systemd
1187
1188 %preun -n mysql-router-%{product_suffix}
1189 %if 0%{?systemd}
1190 %systemd_preun mysqlrouter.service
1191 %else
1192 if [ "$1" = 0 ]; then
1193 /sbin/service mysqlrouter stop >/dev/null 2>&1 || :
1194 /sbin/chkconfig --del mysqlrouter
1195 fi
1196 %endif # systemd
1197
1198 %postun -n mysql-router-%{product_suffix}
1199 /sbin/ldconfig
1200 %if 0%{?systemd}
1201 %systemd_postun_with_restart mysqlrouter.service
1202 %else
1203 if [ $1 -ge 1 ]; then
1204 /sbin/service mysqlrouter condrestart >/dev/null 2>&1 || :
1205 fi
1206 %endif # systemd
1207 %endif # with_router
1208
1209 %files server
1210 %defattr(-, root, root, -)
1211 %doc %{?license_files_server}
1212 %doc %{src_dir}/Docs/INFO_SRC*
1213 %doc release/Docs/INFO_BIN*
1214 %attr(644, root, root) %{_mandir}/man1/innochecksum.1*
1215 %attr(644, root, root) %{_mandir}/man1/ibd2sdi.1*
1216 %attr(644, root, root) %{_mandir}/man1/my_print_defaults.1*
1217 %attr(644, root, root) %{_mandir}/man1/myisam_ftdump.1*
1218 %attr(644, root, root) %{_mandir}/man1/myisamchk.1*
1219 %attr(644, root, root) %{_mandir}/man1/myisamlog.1*
1220 %attr(644, root, root) %{_mandir}/man1/myisampack.1*
1221 %attr(644, root, root) %{_mandir}/man8/mysqld.8*
1222 %if 0%{?systemd}
1223 %else
1224 %attr(644, root, root) %{_mandir}/man1/mysqld_multi.1*
1225 %attr(644, root, root) %{_mandir}/man1/mysqld_safe.1*
1226 %exclude %attr(644, root, root) %{_mandir}/man1/mysql.server.1*
1227 %endif # systemd
1228 %attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1*
1229 %attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1*
1230 %attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1*
1231 %attr(644, root, root) %{_mandir}/man1/mysqlman.1*
1232 %attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
1233 %attr(644, root, root) %{_mandir}/man1/perror.1*
1234 %attr(644, root, root) %{_mandir}/man1/mysql_ssl_rsa_setup.1*
1235 %attr(644, root, root) %{_mandir}/man1/lz4_decompress.1*
1236 %attr(644, root, root) %{_mandir}/man1/zlib_decompress.1*
1237
1238 %config(noreplace) %{_sysconfdir}/my.cnf
1239 %dir %{_sysconfdir}/my.cnf.d
1240
1241 %attr(755, root, root) %{_bindir}/innochecksum
1242 %attr(755, root, root) %{_bindir}/ibd2sdi
1243 %attr(755, root, root) %{_bindir}/my_print_defaults
1244 %attr(755, root, root) %{_bindir}/myisam_ftdump
1245 %attr(755, root, root) %{_bindir}/myisamchk
1246 %attr(755, root, root) %{_bindir}/myisamlog
1247 %attr(755, root, root) %{_bindir}/myisampack
1248 %attr(755, root, root) %{_bindir}/mysql_secure_installation
1249 %attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
1250 %attr(755, root, root) %{_bindir}/mysql_upgrade
1251 %attr(755, root, root) %{_bindir}/mysqldumpslow
1252 %attr(755, root, root) %{_bindir}/perror
1253 %attr(755, root, root) %{_bindir}/mysql_ssl_rsa_setup
1254 %attr(755, root, root) %{_bindir}/lz4_decompress
1255 %attr(755, root, root) %{_bindir}/zlib_decompress
1256 %if 0%{?systemd}
1257 %attr(755, root, root) %{_bindir}/mysqld_pre_systemd
1258 %else
1259 %attr(755, root, root) %{_bindir}/mysqld_multi
1260 %attr(755, root, root) %{_bindir}/mysqld_safe
1261 %exclude %{_datadir}/mysql-*/mysql.server
1262 %exclude %{_datadir}/mysql-*/mysqld_multi.server
1263 %endif # systemd
1264 %attr(755, root, root) %{_sbindir}/mysqld
1265
1266 %dir %{_libdir}/mysql/private
1267
1268 %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf-lite.so.24.4.0
1269 %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf.so.24.4.0
1270
1271 %dir %{_libdir}/mysql/plugin
1272 %attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
1273 %attr(755, root, root) %{_libdir}/mysql/plugin/auth_socket.so
1274 %attr(755, root, root) %{_libdir}/mysql/plugin/group_replication.so
1275 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_syseventlog.so
1276 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_json.so
1277 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_filter_dragnet.so
1278 %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlbackup.so
1279 %attr(755, root, root) %{_libdir}/mysql/plugin/component_validate_password.so
1280 %attr(755, root, root) %{_libdir}/mysql/plugin/component_audit_api_message_emit.so
1281 %attr(755, root, root) %{_libdir}/mysql/plugin/component_query_attributes.so
1282 %attr(755, root, root) %{_libdir}/mysql/plugin/component_reference_cache.so
1283 %attr(755, root, root) %{_libdir}/mysql/plugin/connection_control.so
1284 %attr(755, root, root) %{_libdir}/mysql/plugin/ddl_rewriter.so
1285 %attr(755, root, root) %{_libdir}/mysql/plugin/ha_example.so
1286 %attr(755, root, root) %{_libdir}/mysql/plugin/ha_mock.so
1287 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_file.so
1288 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_udf.so
1289 %attr(755, root, root) %{_libdir}/mysql/plugin/innodb_engine.so
1290 %attr(755, root, root) %{_libdir}/mysql/plugin/libmemcached.so
1291 %attr(755, root, root) %{_libdir}/mysql/plugin/locking_service.so
1292 %attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
1293 %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_clone.so
1294 %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_no_login.so
1295 %attr(755, root, root) %{_libdir}/mysql/plugin/rewrite_example.so
1296 %attr(755, root, root) %{_libdir}/mysql/plugin/rewriter.so
1297 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so
1298 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so
1299 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_source.so
1300 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_replica.so
1301 %attr(755, root, root) %{_libdir}/mysql/plugin/validate_password.so
1302 %attr(755, root, root) %{_libdir}/mysql/plugin/version_token.so
1303 %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_file.so
1304
1305 %if 0%{?mecab}
1306 %{_libdir}/mysql/mecab
1307 %attr(755, root, root) %{_libdir}/mysql/plugin/libpluginmecab.so
1308 %endif # mecab
1309
1310 %if 0%{?commercial}
1311 %attr(755, root, root) %{_libdir}/mysql/plugin/audit_log.so
1312 %attr(644, root, root) %{_datadir}/mysql-*/audit_log_filter_linux_install.sql
1313 %attr(644, root, root) %{_datadir}/mysql-*/audit_log_filter_uninstall.sql
1314 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_pam.so
1315 %if 0%{?ssl_default}
1316 %if 0%{?add_fido_plugins}
1317 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_fido.so
1318 %endif # add_fido_plugins
1319 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_kerberos.so
1320 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl.so
1321 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_simple.so
1322 %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_oci.so
1323 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_hashicorp.so
1324 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_oci.so
1325 %endif # ssl_default
1326 %attr(755, root, root) %{_libdir}/mysql/plugin/data_masking.so
1327 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_okv.so
1328 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_encrypted_file.so
1329 %attr(755, root, root) %{_libdir}/mysql/plugin/thread_pool.so
1330 %attr(755, root, root) %{_libdir}/mysql/plugin/openssl_udf.so
1331 %attr(755, root, root) %{_libdir}/mysql/plugin/firewall.so
1332 %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_encrypted_file.so
1333 %attr(755, root, root) %{_libdir}/mysql/plugin/component_enterprise_encryption.so
1334 %attr(755, root, root) %{_libdir}/mysql/plugin/component_masking.so
1335 %attr(755, root, root) %{_libdir}/mysql/plugin/component_masking_functions.so
1336 %attr(755, root, root) %{_libdir}/mysql/plugin/component_scheduler.so
1337 %attr(644, root, root) %{_datadir}/mysql-*/linux_install_firewall.sql
1338 %attr(644, root, root) %{_datadir}/mysql-*/firewall_profile_migration.sql
1339 %attr(644, root, root) %{_datadir}/mysql-*/masking_functions_install.sql
1340 %attr(644, root, root) %{_datadir}/mysql-*/masking_functions_uninstall.sql
1341 %if 0%{?aws_sdk}
1342 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_aws.so
1343 %endif # aws_sdk
1344 %endif # commercial
1345
1346 %attr(644, root, root) %{_datadir}/mysql-*/mysql-log-rotate
1347 %attr(644, root, root) %{_datadir}/mysql-*/dictionary.txt
1348 %attr(644, root, root) %{_datadir}/mysql-*/innodb_memcached_config.sql
1349 %attr(644, root, root) %{_datadir}/mysql-*/install_rewriter.sql
1350 %attr(644, root, root) %{_datadir}/mysql-*/uninstall_rewriter.sql
1351 %if 0%{?systemd}
1352 %attr(644, root, root) %{_unitdir}/mysqld.service
1353 %attr(644, root, root) %{_unitdir}/[email protected]
1354 %attr(644, root, root) %{_prefix}/lib/tmpfiles.d/mysql.conf
1355 %else
1356 %attr(755, root, root) %{_sysconfdir}/init.d/mysqld
1357 %endif # systemd
1358 %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
1359 %dir %attr(751, mysql, mysql) /var/lib/mysql
1360 %dir %attr(755, mysql, mysql) /var/run/mysqld
1361 %dir %attr(750, mysql, mysql) /var/lib/mysql-files
1362 %dir %attr(750, mysql, mysql) /var/lib/mysql-keyring
1363
1364 %if 0%{?with_debuginfo}
1365 %files server-debug
1366 %doc %{?license_files_server}
1367 %endif # with_debuginfo
1368 %attr(755, root, root) %{_sbindir}/mysqld-debug
1369 %dir %{_libdir}/mysql/plugin/debug
1370 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
1371 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
1372 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/group_replication.so
1373 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_syseventlog.so
1374 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_json.so
1375 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_filter_dragnet.so
1376 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlbackup.so
1377 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_validate_password.so
1378 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_audit_api_message_emit.so
1379 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_query_attributes.so
1380 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_reference_cache.so
1381 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so
1382 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ddl_rewriter.so
1383 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_example.so
1384 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_mock.so
1385 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_file.so
1386 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_udf.so
1387 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/innodb_engine.so
1388 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmemcached.so
1389 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/locking_service.so
1390 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so
1391 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_clone.so
1392 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_no_login.so
1393 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewrite_example.so
1394 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewriter.so
1395 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so
1396 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so
1397 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_source.so
1398 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_replica.so
1399 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/validate_password.so
1400 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/version_token.so
1401 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_file.so
1402
1403 %if 0%{?mecab}
1404 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libpluginmecab.so
1405 %endif # mecab
1406
1407 %if 0%{?commercial}
1408 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/audit_log.so
1409 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_pam.so
1410 %if 0%{?ssl_default}
1411 %if 0%{?add_fido_plugins}
1412 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_fido.so
1413 %endif # add_fido_plugins
1414 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos.so
1415 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl.so
1416 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_simple.so
1417 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_oci.so
1418 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_hashicorp.so
1419 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_oci.so
1420 %endif # ssl_default
1421 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/data_masking.so
1422 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_okv.so
1423 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_encrypted_file.so
1424
1425 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/thread_pool.so
1426 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/openssl_udf.so
1427 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/firewall.so
1428 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_encrypted_file.so
1429 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_enterprise_encryption.so
1430 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_masking.so
1431 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_masking_functions.so
1432 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_scheduler.so
1433 %if 0%{?aws_sdk}
1434 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_aws.so
1435 %endif # aws_sdk
1436 %endif # commercial
1437
1438 %files common
1439 %defattr(-, root, root, -)
1440 %doc %{?license_files_server}
1441 %{_datadir}/mysql-*/charsets/
1442 %{_datadir}/mysql-*/messages_to_error_log.txt
1443 %{_datadir}/mysql-*/messages_to_clients.txt
1444 %{_datadir}/mysql-*/bulgarian/
1445 %{_datadir}/mysql-*/czech/
1446 %{_datadir}/mysql-*/danish/
1447 %{_datadir}/mysql-*/dutch/
1448 %{_datadir}/mysql-*/english/
1449 %{_datadir}/mysql-*/estonian/
1450 %{_datadir}/mysql-*/french/
1451 %{_datadir}/mysql-*/german/
1452 %{_datadir}/mysql-*/greek/
1453 %{_datadir}/mysql-*/hungarian/
1454 %{_datadir}/mysql-*/italian/
1455 %{_datadir}/mysql-*/japanese/
1456 %{_datadir}/mysql-*/korean/
1457 %{_datadir}/mysql-*/norwegian-ny/
1458 %{_datadir}/mysql-*/norwegian/
1459 %{_datadir}/mysql-*/polish/
1460 %{_datadir}/mysql-*/portuguese/
1461 %{_datadir}/mysql-*/romanian/
1462 %{_datadir}/mysql-*/russian/
1463 %{_datadir}/mysql-*/serbian/
1464 %{_datadir}/mysql-*/slovak/
1465 %{_datadir}/mysql-*/spanish/
1466 %{_datadir}/mysql-*/swedish/
1467 %{_datadir}/mysql-*/ukrainian/
1468
1469 %files icu-data-files
1470 %defattr(-, root, root, -)
1471 %doc %{?license_files_server}
1472 %dir %attr(755, root, root) %{_libdir}/mysql/private/icudt77l
1473 %{_libdir}/mysql/private/icudt77l/cnvalias.icu
1474 %{_libdir}/mysql/private/icudt77l/uemoji.icu
1475 %{_libdir}/mysql/private/icudt77l/ulayout.icu
1476 %{_libdir}/mysql/private/icudt77l/unames.icu
1477 %{_libdir}/mysql/private/icudt77l/brkitr
1478
1479 %files client
1480 %defattr(-, root, root, -)
1481 %doc %{?license_files_server}
1482 %attr(755, root, root) %{_bindir}/mysql
1483 %attr(755, root, root) %{_bindir}/mysqladmin
1484 %attr(755, root, root) %{_bindir}/mysqlbinlog
1485 %attr(755, root, root) %{_bindir}/mysqlcheck
1486 %attr(755, root, root) %{_bindir}/mysqldump
1487 %attr(755, root, root) %{_bindir}/mysqlimport
1488 %attr(755, root, root) %{_bindir}/mysqlpump
1489 %attr(755, root, root) %{_bindir}/mysqlshow
1490 %attr(755, root, root) %{_bindir}/mysqlslap
1491 %attr(755, root, root) %{_bindir}/mysql_config_editor
1492 %attr(755, root, root) %{_bindir}/mysql_migrate_keyring
1493
1494 %attr(644, root, root) %{_mandir}/man1/mysql.1*
1495 %attr(644, root, root) %{_mandir}/man1/mysqladmin.1*
1496 %attr(644, root, root) %{_mandir}/man1/mysqlbinlog.1*
1497 %attr(644, root, root) %{_mandir}/man1/mysqlcheck.1*
1498 %attr(644, root, root) %{_mandir}/man1/mysqldump.1*
1499 %attr(644, root, root) %{_mandir}/man1/mysqlpump.1*
1500 %attr(644, root, root) %{_mandir}/man1/mysqlimport.1*
1501 %attr(644, root, root) %{_mandir}/man1/mysqlshow.1*
1502 %attr(644, root, root) %{_mandir}/man1/mysqlslap.1*
1503 %attr(644, root, root) %{_mandir}/man1/mysql_config_editor.1*
1504
1505
1506 %if 0%{?cluster}
1507 %attr(755, root, root) %{_bindir}/ndb_blob_tool
1508 %attr(755, root, root) %{_bindir}/ndb_config
1509 %attr(755, root, root) %{_bindir}/ndb_delete_all
1510 %attr(755, root, root) %{_bindir}/ndb_desc
1511 %attr(755, root, root) %{_bindir}/ndb_drop_index
1512 %attr(755, root, root) %{_bindir}/ndb_drop_table
1513 %attr(755, root, root) %{_bindir}/ndb_error_reporter
1514 %attr(755, root, root) %{_bindir}/ndb_index_stat
1515 %attr(755, root, root) %{_bindir}/ndb_import
1516 %attr(755, root, root) %{_bindir}/ndb_mgm
1517 %attr(755, root, root) %{_bindir}/ndb_move_data
1518 %attr(755, root, root) %{_bindir}/ndb_perror
1519 %attr(755, root, root) %{_bindir}/ndb_print_backup_file
1520 %attr(755, root, root) %{_bindir}/ndb_print_file
1521 %attr(755, root, root) %{_bindir}/ndb_print_frag_file
1522 %attr(755, root, root) %{_bindir}/ndb_print_schema_file
1523 %attr(755, root, root) %{_bindir}/ndb_print_sys_file
1524 %attr(755, root, root) %{_bindir}/ndb_redo_log_reader
1525 %attr(755, root, root) %{_bindir}/ndb_restore
1526 %attr(755, root, root) %{_bindir}/ndb_secretsfile_reader
1527 %attr(755, root, root) %{_bindir}/ndb_select_all
1528 %attr(755, root, root) %{_bindir}/ndb_select_count
1529 %attr(755, root, root) %{_bindir}/ndb_show_tables
1530 %attr(755, root, root) %{_bindir}/ndb_size.pl
1531 %attr(755, root, root) %{_bindir}/ndb_top
1532 %attr(755, root, root) %{_bindir}/ndb_waiter
1533 %attr(755, root, root) %{_bindir}/ndbinfo_select_all
1534 %attr(755, root, root) %{_bindir}/ndbxfrm
1535
1536 %attr(644, root, root) %{_mandir}/man1/ndb_blob_tool.1*
1537 %attr(644, root, root) %{_mandir}/man1/ndb_config.1*
1538 %attr(644, root, root) %{_mandir}/man1/ndb_cpcd.1*
1539 %attr(644, root, root) %{_mandir}/man1/ndb_delete_all.1*
1540 %attr(644, root, root) %{_mandir}/man1/ndb_desc.1*
1541 %attr(644, root, root) %{_mandir}/man1/ndb_drop_index.1*
1542 %attr(644, root, root) %{_mandir}/man1/ndb_drop_table.1*
1543 %attr(644, root, root) %{_mandir}/man1/ndb_error_reporter.1*
1544 %attr(644, root, root) %{_mandir}/man1/ndb_import.1*
1545 %attr(644, root, root) %{_mandir}/man1/ndb_index_stat.1*
1546 %attr(644, root, root) %{_mandir}/man1/ndb_mgm.1*
1547 %attr(644, root, root) %{_mandir}/man1/ndb_move_data.1*
1548 %attr(644, root, root) %{_mandir}/man1/ndb_perror.1*
1549 %attr(644, root, root) %{_mandir}/man1/ndb_print_backup_file.1*
1550 %attr(644, root, root) %{_mandir}/man1/ndb_print_file.1*
1551 %attr(644, root, root) %{_mandir}/man1/ndb_print_frag_file.1*
1552 %attr(644, root, root) %{_mandir}/man1/ndb_print_schema_file.1*
1553 %attr(644, root, root) %{_mandir}/man1/ndb_print_sys_file.1*
1554 %attr(644, root, root) %{_mandir}/man1/ndb_redo_log_reader.1*
1555 %attr(644, root, root) %{_mandir}/man1/ndb_restore.1*
1556 %attr(644, root, root) %{_mandir}/man1/ndb_secretsfile_reader.1*
1557 %attr(644, root, root) %{_mandir}/man1/ndb_select_all.1*
1558 %attr(644, root, root) %{_mandir}/man1/ndb_select_count.1*
1559 %attr(644, root, root) %{_mandir}/man1/ndb_show_tables.1*
1560 %attr(644, root, root) %{_mandir}/man1/ndb_size.pl.1*
1561 %attr(644, root, root) %{_mandir}/man1/ndb_top.1*
1562 %attr(644, root, root) %{_mandir}/man1/ndb_waiter.1*
1563 %attr(644, root, root) %{_mandir}/man1/ndbinfo_select_all.1*
1564 %attr(644, root, root) %{_mandir}/man1/ndbxfrm.1*
1565 %endif #cluster
1566
1567 %files devel
1568 %defattr(-, root, root, -)
1569 %doc %{?license_files_server}
1570 %attr(644, root, root) %{_mandir}/man1/mysql_config.1*
1571 %attr(755, root, root) %{_bindir}/mysql_config
1572 %ifarch %{multiarchs}
1573 %attr(755, root, root) %{_bindir}/mysql_config-%{__isa_bits}
1574 %endif
1575 %{_includedir}/mysql
1576 %if 0%{?cluster}
1577 %exclude %{_includedir}/mysql/storage
1578 %endif #cluster
1579 %{_datadir}/aclocal/mysql.m4
1580 %{_libdir}/mysql/libmysqlclient.a
1581 %{_libdir}/mysql/libmysqlservices.a
1582 %{_libdir}/mysql/libmysqlclient.so
1583 %{_libdir}/pkgconfig/mysqlclient.pc
1584
1585 %files libs
1586 %defattr(-, root, root, -)
1587 %doc %{src_dir}/mysql-@MYSQL_BASE_VERSION@
1588 %dir %attr(755, root, root) %{_libdir}/mysql
1589 %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
1590 %{_libdir}/mysql/libmysqlclient.so.21*
1591 %if 0%{?ssl_bundled}
1592 %attr(755, root, root) %{_libdir}/mysql/private/libssl.so
1593 %attr(755, root, root) %{_libdir}/mysql/private/libssl.so.1.1
1594 %attr(755, root, root) %{_libdir}/mysql/private/libcrypto.so
1595 %attr(755, root, root) %{_libdir}/mysql/private/libcrypto.so.1.1
1596 %endif # ssl_bundled
1597
1598 %files client-plugins
1599 %defattr(-, root, root, -)
1600 %doc %{?license_files_server}
1601 %if 0%{?ssl_default}
1602 %if 0%{?add_fido_plugins}
1603 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_fido_client.so
1604 %attr(755, root, root) %{_libdir}/mysql/private/libfido2.so.1
1605 %attr(755, root, root) %{_libdir}/mysql/private/libfido2.so.1.15.0
1606 %endif # add_fido_plugins
1607 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_kerberos_client.so
1608 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl_client.so
1609 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_oci_client.so
1610 %endif # ssl_default
1611
1612 %if 0%{?compatlib}
1613 %files libs-compat
1614 %defattr(-, root, root, -)
1615 %doc %{?license_files_server}
1616 %dir %attr(755, root, root) %{_libdir}/mysql
1617 %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
1618 %{_libdir}/mysql/libmysqlclient.so.%{compatlib}
1619 %{_libdir}/mysql/libmysqlclient.so.%{compatlib}.*.0
1620 %{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}
1621 %{_libdir}/mysql/libmysqlclient_r.so.%{compatlib}.*.0
1622 %endif
1623
1624 %files test
1625 %defattr(-, root, root, -)
1626 %doc %{?license_files_server}
1627 %attr(-, root, root) %{_datadir}/mysql-test
1628 %if 0%{?ssl_bundled}
1629 %attr(755, root, root) %{_bindir}/my_openssl
1630 %endif # ssl_bundled
1631 %attr(755, root, root) %{_bindir}/comp_err
1632 %attr(755, root, root) %{_bindir}/mysql_client_test
1633 %attr(755, root, root) %{_bindir}/mysql_keyring_encryption_test
1634 %if 0%{?systemd}
1635 %attr(755, root, root) %{_bindir}/mysqld_safe
1636 %endif
1637 %attr(755, root, root) %{_bindir}/mysqltest
1638 %attr(755, root, root) %{_bindir}/mysqltest_safe_process
1639 %attr(755, root, root) %{_bindir}/mysqlxtest
1640 %attr(644, root, root) %{_mandir}/man1/comp_err.1*
1641
1642 %attr(755, root, root) %{_libdir}/mysql/plugin/auth.so
1643 %attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so
1644 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component1.so
1645 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component2.so
1646 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component3.so
1647 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_test.so
1648 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_backup_lock_service.so
1649 %if 0%{?commercial}
1650 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_page_track_component.so
1651 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_global_priv_registration.so
1652 %endif
1653 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_charset.so
1654 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_long.so
1655 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service.so
1656 %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example.so
1657 %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example_component_population.so
1658 %attr(755, root, root) %{_libdir}/mysql/plugin/pfs_example_plugin_employee.so
1659 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_notification.so
1660 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_resource_group.so
1661 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_registration.so
1662 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_host_application_signal.so
1663 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_current_thread_reader.so
1664 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_runtime_error.so
1665 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_system_variable_set.so
1666 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_table_access.so
1667 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_component_deinit.so
1668 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_command_services.so
1669 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_command_services.so
1670 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_3_func.so
1671 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_avg_func.so
1672 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_func.so
1673 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_same_func.so
1674 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_only_3_func.so
1675 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_real_func.so
1676 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_3_func.so
1677 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_int_func.so
1678 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_real_func.so
1679 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_int.so
1680 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service.so
1681 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_same.so
1682 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_str.so
1683 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service.so
1684 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_int.so
1685 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_reg_only.so
1686 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_str.so
1687 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_unreg_only.so
1688 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_system_variable_source.so
1689 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_audit_api_message.so
1690 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_services.so
1691 %attr(755, root, root) %{_libdir}/mysql/plugin/conflicting_variables.so
1692 %attr(644, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
1693 %attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so
1694 %attr(755, root, root) %{_libdir}/mysql/plugin/replication_observers_example_plugin.so
1695 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_framework.so
1696 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services.so
1697 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services_threaded.so
1698 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_detach.so
1699 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_attach.so
1700 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_in_thd.so
1701 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_info.so
1702 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_2_sessions.so
1703 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_all_col_types.so
1704 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_cmds_1.so
1705 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_commit.so
1706 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_complex.so
1707 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_errors.so
1708 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_lock.so
1709 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_processlist.so
1710 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_replication.so
1711 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_shutdown.so
1712 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sleep_is_connected.so
1713 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stmt.so
1714 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sqlmode.so
1715 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stored_procedures_functions.so
1716 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_views_triggers.so
1717 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_reset_connection.so
1718 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_deinit.so
1719 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_init.so
1720 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so
1721 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so
1722 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so
1723 %attr(755, root, root) %{_libdir}/mysql/plugin/test_security_context.so
1724 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_plugin_registry.so
1725 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_host_application_signal.so
1726 %attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_services.so
1727 %attr(755, root, root) %{_libdir}/mysql/plugin/udf_example.so
1728 %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlx_global_reset.so
1729 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sensitive_system_variables.so
1730 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_reader.so
1731 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_server_telemetry_traces.so
1732 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_thd_store_service.so
1733 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so
1734 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so
1735 %if 0%{?ssl_default}
1736 %if 0%{?add_fido_plugins}
1737 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_fido_client.so
1738 %endif # add_fido_plugins
1739 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos_client.so
1740 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl_client.so
1741 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_oci_client.so
1742 %endif # ssl_default
1743 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component1.so
1744 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component2.so
1745 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component3.so
1746 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_test.so
1747 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_backup_lock_service.so
1748 %if 0%{?commercial}
1749 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_page_track_component.so
1750 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_global_priv_registration.so
1751 %endif
1752 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_charset.so
1753 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_long.so
1754 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service.so
1755 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example.so
1756 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example_component_population.so
1757 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/pfs_example_plugin_employee.so
1758 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_notification.so
1759 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_resource_group.so
1760 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_registration.so
1761 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_host_application_signal.so
1762 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_current_thread_reader.so
1763 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_runtime_error.so
1764 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_system_variable_set.so
1765 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_table_access.so
1766 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_component_deinit.so
1767 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_command_services.so
1768 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_command_services.so
1769 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_3_func.so
1770 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_avg_func.so
1771 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_func.so
1772 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_same_func.so
1773 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_only_3_func.so
1774 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_real_func.so
1775 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_3_func.so
1776 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_int_func.so
1777 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_real_func.so
1778 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_int.so
1779 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service.so
1780 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_same.so
1781 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_str.so
1782 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service.so
1783 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_int.so
1784 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_reg_only.so
1785 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_str.so
1786 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_unreg_only.so
1787 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_system_variable_source.so
1788 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_audit_api_message.so
1789 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_services.so
1790 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/conflicting_variables.so
1791 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so
1792 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/replication_observers_example_plugin.so
1793 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_framework.so
1794 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services.so
1795 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services_threaded.so
1796 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_detach.so
1797 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_attach.so
1798 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_in_thd.so
1799 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_info.so
1800 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_2_sessions.so
1801 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_all_col_types.so
1802 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_cmds_1.so
1803 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_commit.so
1804 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_complex.so
1805 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_errors.so
1806 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_lock.so
1807 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_processlist.so
1808 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_replication.so
1809 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_shutdown.so
1810 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sleep_is_connected.so
1811 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stmt.so
1812 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sqlmode.so
1813 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stored_procedures_functions.so
1814 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_views_triggers.so
1815 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_reset_connection.so
1816 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_deinit.so
1817 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_init.so
1818 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so
1819 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so
1820 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so
1821 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_security_context.so
1822 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_plugin_registry.so
1823 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_host_application_signal.so
1824 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_services.so
1825 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so
1826 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlx_global_reset.so
1827 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sensitive_system_variables.so
1828 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_reader.so
1829 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_server_telemetry_traces.so
1830 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_thd_store_service.so
1831
1832 %if 0%{?rhel} == 7
1833 %files embedded-compat
1834 %defattr(-, root, root, -)
1835 %doc %{?license_files_server}
1836 %dir %attr(755, root, root) %{_libdir}/mysql
1837 %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
1838 %attr(755, root, root) %{_libdir}/mysql/libmysqld.so.18*
1839 %{_datadir}/mysql/charsets/
1840 %{_datadir}/mysql/errmsg-utf8.txt
1841 %{_datadir}/mysql/bulgarian/
1842 %{_datadir}/mysql/czech/
1843 %{_datadir}/mysql/danish/
1844 %{_datadir}/mysql/dutch/
1845 %{_datadir}/mysql/english/
1846 %{_datadir}/mysql/estonian/
1847 %{_datadir}/mysql/french/
1848 %{_datadir}/mysql/german/
1849 %{_datadir}/mysql/greek/
1850 %{_datadir}/mysql/hungarian/
1851 %{_datadir}/mysql/italian/
1852 %{_datadir}/mysql/japanese/
1853 %{_datadir}/mysql/korean/
1854 %{_datadir}/mysql/norwegian-ny/
1855 %{_datadir}/mysql/norwegian/
1856 %{_datadir}/mysql/polish/
1857 %{_datadir}/mysql/portuguese/
1858 %{_datadir}/mysql/romanian/
1859 %{_datadir}/mysql/russian/
1860 %{_datadir}/mysql/serbian/
1861 %{_datadir}/mysql/slovak/
1862 %{_datadir}/mysql/spanish/
1863 %{_datadir}/mysql/swedish/
1864 %{_datadir}/mysql/ukrainian/
1865 %exclude %{_datadir}/mysql/dictionary.txt
1866 %endif
1867
1868 %if 0%{?cluster}
1869 %files management-server
1870 %defattr(-, root, root, -)
1871 %doc %{?license_files_server}
1872 %attr(755, root, root) %{_sbindir}/ndb_mgmd
1873 %attr(644, root, root) %{_mandir}/man8/ndb_mgmd.8*
1874
1875 %files data-node
1876 %defattr(-, root, root, -)
1877 %doc %{?license_files_server}
1878 %attr(755, root, root) %{_sbindir}/ndbd
1879 %attr(755, root, root) %{_sbindir}/ndbmtd
1880 %attr(644, root, root) %{_mandir}/man8/ndbd.8*
1881 %attr(644, root, root) %{_mandir}/man8/ndbmtd.8*
1882
1883 %files ndbclient
1884 %defattr(-, root, root, -)
1885 %doc %{?license_files_server}
1886 %attr(755, root, root) %{_libdir}/mysql/libndbclient.so.6.1.0
1887
1888 %files ndbclient-devel
1889 %defattr(-, root, root, -)
1890 %doc %{?license_files_server}
1891 %attr(644, root, root) %{_libdir}/mysql/libndbclient_static.a
1892 %{_libdir}/mysql/libndbclient.so
1893 %{_includedir}/mysql/storage
1894
1895 %if 0%{?ndb_nodejs_extras_path:1}
1896 %files nodejs
1897 %defattr(-, root, root, -)
1898 %doc %{?license_files_server}
1899 %{_datadir}/mysql-*/nodejs/
1900 %endif
1901
1902 %files java
1903 %defattr(-, root, root, -)
1904 %doc %{?license_files_server}
1905 %{_datadir}/mysql-*/java/
1906 %endif # cluster
1907
1908 %if 0%{?with_meb}
1909 %files backup
1910 %defattr(-, root, root, -)
1911 %doc %{src_dir}/packaging/meb/LICENSE.meb
1912 %doc %{src_dir}/packaging/meb/README.meb
1913 %doc %{src_dir}/Docs/INFO_SRC*
1914 %doc release/Docs/INFO_BIN*
1915 %attr(755, root, root) %{_bindir}/mysqlbackup
1916 %endif # with_meb
1917
1918 %if 0%{?with_router}
1919 %files -n mysql-router-%{product_suffix}
1920 %defattr(-, root, root, -)
1921 %doc %{src_dir}/router/README.router %{src_dir}/router/LICENSE.router
1922 %doc %{src_dir}/Docs/INFO_SRC*
1923 %doc release/Docs/INFO_BIN*
1924 %dir %{_sysconfdir}/mysqlrouter
1925 %config(noreplace) %{_sysconfdir}/mysqlrouter/mysqlrouter.conf
1926 %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysqlrouter
1927 %{_bindir}/mysqlrouter
1928 %{_bindir}/mysqlrouter_keyring
1929 %{_bindir}/mysqlrouter_passwd
1930 %{_bindir}/mysqlrouter_plugin_info
1931 %attr(644, root, root) %{_mandir}/man1/mysqlrouter.1*
1932 %attr(644, root, root) %{_mandir}/man1/mysqlrouter_passwd.1*
1933 %attr(644, root, root) %{_mandir}/man1/mysqlrouter_plugin_info.1*
1934 %if 0%{?systemd}
1935 %{_unitdir}/mysqlrouter.service
1936 %{_tmpfilesdir}/mysqlrouter.conf
1937 %else
1938 %{_sysconfdir}/init.d/mysqlrouter
1939 %endif
1940 %{_libdir}/mysqlrouter/private/libmysqlharness.so.*
1941 %{_libdir}/mysqlrouter/private/libmysqlharness_stdx.so.*
1942 %{_libdir}/mysqlrouter/private/libmysqlharness_tls.so.*
1943 %{_libdir}/mysqlrouter/private/libmysqlrouter.so.*
1944 %{_libdir}/mysqlrouter/private/libmysqlrouter_connection_pool.so.*
1945 %{_libdir}/mysqlrouter/private/libmysqlrouter_destination_status.so.*
1946 %{_libdir}/mysqlrouter/private/libmysqlrouter_http.so.*
1947 %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_backend.so.*
1948 %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_realm.so.*
1949 %{_libdir}/mysqlrouter/private/libmysqlrouter_io_component.so.*
1950 %{_libdir}/mysqlrouter/private/libmysqlrouter_metadata_cache.so.*
1951 %{_libdir}/mysqlrouter/private/libmysqlrouter_mysqlxmessages.so.*
1952 %{_libdir}/mysqlrouter/private/libmysqlrouter_routing.so.*
1953 %{_libdir}/mysqlrouter/private/libprotobuf-lite.so.24.4.0
1954 %dir %{_libdir}/mysqlrouter
1955 %dir %{_libdir}/mysqlrouter/private
1956 %{_libdir}/mysqlrouter/*.so
1957 %dir %attr(755, mysqlrouter, mysqlrouter) /var/log/mysqlrouter
1958 %dir %attr(755, mysqlrouter, mysqlrouter) /var/run/mysqlrouter
1959 %endif # with_router
1960
1961 %changelog
1962 * Thu Oct 13 2022 Miroslav Rajcic <[email protected]> - 8.0.33-1
1963 - Added component_test_server_telemetry_traces, component_test_mysql_thd_store_service
1964
1965 * Tue Oct 11 2022 Michal Jankowski <[email protected]> - 8.0.33-1
1966 - Added component_masking.so component
1967 - Added component_masking_functions.so component
1968
1969 * Tue Jun 28 2022 Samar Pratap Singh <[email protected]> - 8.0.31-1
1970 - Added component_keyring_oci
1971
1972 * Mon Jun 20 2022 Murthy Sidagam <[email protected]> - 8.0.31-1
1973 - Added component_test_mysql_command_services.so test component
1974 - Added test_services_command_services.so test plugin
1975
1976 * Wed Feb 02 2022 Harin Vadodaria <[email protected]> - 8.0.30-1
1977 - Added component_enterprise_encryption
1978
1979 * Mon Jan 03 2022 Harin Vadodaria <[email protected]> - 8.0.29-1
1980 - Added component_test_sensitive_system_variables
1981
1982 * Tue Aug 31 2021 Harin Vadodaria <[email protected]> - 8.0.27-1
1983 - Added authentication_oci_client
1984
1985 * Mon Sep 21 2020 Murthy Sidagam <[email protected]> - 8.0.23-1
1986 - Added component_reference_cache.so component
1987
1988 * Wed Sep 09 2020 Joro Kodinov <[email protected]> - 8.0.23-1
1989 - Add a new component_query_attributes
1990
1991 * Sun Jul 12 2020 Sreedhar S <[email protected]> - 8.0.22-1
1992 - Add a new subpackage client-plugins
1993 - Added component_keyring_file component
1994 - Added component_keyring_encrypted_file component
1995 - Added mysql_migrate_keyring
1996
1997 * Tue Feb 04 2020 Bjorn Munch <[email protected]> - 8.0.20-1
1998 - Again add back support for alternative with_ssl, now with bundled openssl
1999
2000 * Wed Aug 14 2019 Rahul Sisondia <[email protected]> - 8.0.19-1
2001 - Added component_test_udf_services test component
2002
2003 * Fri Jun 28 2019 Ivan Svaljek <[email protected]> - 8.0.18-1
2004 - Add keyring_hashicorp.so plugin
2005 - Add component_mysqlbackup component
2006
2007 * Mon May 13 2019 Bjorn Munch <[email protected]> - 8.0.17-1
2008 - Add router man pages
2009 - Bundle mecab as usual on el8
2010 - Ship debuginfo and separate server-debug package on el8
2011 - Some clean up
2012
2013 * Mon Feb 18 2019 Terje Rosten <[email protected]> - 8.0.16-1
2014 - Initial el8 packaging
2015 - Add back support for alternative with_ssl
2016
2017 * Fri Dec 14 2018 Murthy Sidagam <[email protected]> - 8.0.15-1
2018 - Added component_test_mysql_runtime_error.so test component
2019
2020 * Wed Nov 21 2018 Erlend Dahl <[email protected]> - 8.0.14-1
2021 - Add specific compilation comment for the server
2022 - Remove resolveip
2023 - Remove resolve_stack_dump
2024
2025 * Mon Aug 20 2018 Georgi Kodinov <[email protected]> - 8.0.13-1
2026 - Added test_services_host_application_signal test plugin
2027 - Adapt to numbered share directory for NDB files
2028 - Add Router
2029
2030 * Mon Mar 12 2018 Erlend Dahl <[email protected]> - 8.0.12-1
2031 - Move mysqlx to default plugin
2032 - Add component_mysqlx_global_reset.so
2033 - Change the global milestone to 'dmr'
2034 - Add meb as sub package
2035 - Remove obsoleted mysqltest man pages
2036 - Independently choose SSL for the 5.6 compat lib, depending on commercial
2037 - Include udf_example.so in test package
2038 - Add component_validate_password component
2039 - Add License Book, remove COPYING
2040 - No longer need to remove obsoleted mysqltest man pages
2041 - Add perl modules for test subpackage
2042 - Add router as subpackage
2043
2044 * Fri Jul 28 2017 Horst Hunger <[email protected]> - 8.0.3-0.1
2045 - Add component_test_status_var_service plugin
2046
2047 * Fri May 26 2017 Harin Vadodaria <[email protected]> - 8.0.2-0.1
2048 - Add keyring_aws plugin and UDF components
2049 - Add component_test_sys_var_service plugins
2050
2051 * Tue Sep 13 2016 Balasubramanian Kandasamy <[email protected]> - 8.0.1-0.1
2052 - Add test_services_plugin_registry.so plugin
2053 - Add connection_control.so to server subpackage
2054
2055 * Tue Jul 05 2016 Erlend Dahl <[email protected]> - 8.0.0-0.1
2056 - Change the version number to 8.0.0
2057 - Add manual page for ibd2sdi utility
2058 - Adapt MySQL server 5.7 packaging to MySQL Cluster 7.5
2059 - Remove mysql_config from client subpackage
2060
2061 * Fri Jun 03 2016 Balasubramanian Kandasamy <[email protected]> - 5.8.0-0.1
2062 - Updated compatver to 5.6.31
2063 - Add example component to test package
2064 - Add test_udf_services.so plugin
2065 - Add keyring_udf.so plugin to server subpackage
2066 - Add keyring_okv.so plugin to commercial server subpackage
2067 - Purge man page for mysql_install_db in preparation for its removal
2068 - Include mysql-keyring directory
2069 - Provide keyring_file.so plugin
2070
2071 * Tue Nov 24 2015 Bjorn Munch <[email protected]> - 5.7.10-1
2072 - Included man pages for lz4_decompress and zlib_decompress
2073
2074 * Thu Nov 12 2015 Bjorn Munch <[email protected]> - 5.7.10-1
2075 - Added lines to remove man pages we are not ready to include yet
2076 - Added lz4_decompress and zlib_decompress binaries to client subpackage
2077 - Drop support for el5, use scl to build on el6
2078
2079 * Mon Oct 19 2015 Bharathy Satish <[email protected]> - 5.7.10-1
2080 - Added new decompression utilities lz4_decompress and zlib_decompress binaries to
2081 client subpackage.
2082
2083 * Mon Oct 5 2015 Tor Didriksen <[email protected]>
2084 - Added mysqlx.so
2085
2086 * Tue Sep 29 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.9-1
2087 - Updated for 5.7.9
2088 - Added libtest_* plugins to test subpackage
2089 - Add mysqlpump man page
2090 - Obsolete mysql-connector-c-shared dependencies
2091
2092 * Mon Jul 06 2015 Murthy Narkedimilli <[email protected]> - 5.7.8-0.2.rc
2093 - Bumped the version of libmysqlclient.so and libmysqld.so from 20 -> 21.
2094
2095 * Thu Jun 25 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.8-0.2.rc
2096 - Add support for pkg-config
2097
2098 * Wed May 20 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.8-0.2.rc
2099 - Added libtest_framework.so, libtest_services.so, libtest_services_threaded.so plugins
2100 - Build and ship mecab plugin
2101
2102 * Tue Feb 3 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.6-0.2.m16
2103 - Include boost sources
2104 - Fix cmake buildrequires
2105 - Fix build on el5 with gcc44
2106 - Add license info in each subpackage
2107 - Soname bump, more compat packages
2108 - Updated default shell for mysql user
2109 - Added mysql_ssl_rsa_setup
2110 - Include mysql-files directory
2111
2112 * Thu Sep 18 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.6-0.2.m16
2113 - Provide replication_observers_example_plugin.so plugin
2114
2115 * Tue Sep 2 2014 Bjorn Munch <[email protected]> - 5.7.6-0.1.m16
2116 - Updated for 5.7.6
2117
2118 * Fri Aug 08 2014 Erlend Dahl <[email protected]> - 5.7.5-0.6.m15
2119 - Provide mysql_no_login.so plugin
2120
2121 * Wed Aug 06 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.5.m15
2122 - Provide mysql-compat-server dependencies
2123
2124 * Wed Jul 09 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.4.m15
2125 - Remove perl(GD) and dtrace dependencies
2126
2127 * Thu Jun 26 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.3.m15
2128 - Resolve embedded-devel conflict issue
2129
2130 * Wed Jun 25 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.2.m15
2131 - Add bench package
2132 - Enable dtrace
2133
2134 * Thu Apr 24 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.1.m15
2135 - Updated for 5.7.5
2136
2137 * Mon Apr 07 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.5.m14
2138 - Fix Cflags for el7
2139
2140 * Mon Mar 31 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.4.m14
2141 - Support for enterprise packages
2142 - Upgrade from MySQL-* packages
2143
2144 * Wed Mar 12 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.3.m14
2145 - Resolve conflict with mysql-libs-compat
2146
2147 * Thu Mar 06 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.2.m14
2148 - Resolve conflict issues during upgrade
2149 - Add ha_example.so plugin which is now included
2150
2151 * Fri Feb 07 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.1.m14
2152 - 5.7.4
2153 - Enable shared libmysqld by cmake option
2154 - Move mysqltest and test plugins to test subpackage
2155
2156 * Mon Nov 18 2013 Balasubramanian Kandasamy <[email protected]> - 5.7.3-0.3.m13
2157 - Fixed isa_bits error
2158
2159 * Fri Oct 25 2013 Balasubramanian Kandasamy <[email protected]> - 5.7.3-0.1.m13
2160 - Initial 5.7 port
2161
2162 * Fri Oct 25 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.15-1
2163 - Fixed uln advanced rpm libyassl.a error
2164 - Updated to 5.6.15
2165
2166 * Wed Oct 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-3
2167 - Fixed mysql_install_db usage
2168 - Improved handling of plugin directory
2169
2170 * Fri Sep 27 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-2
2171 - Refresh mysql-install patch and service renaming
2172
2173 * Mon Sep 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-1
2174 - Updated to 5.6.14
2175
2176 * Wed Sep 04 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-5
2177 - Support upgrade from 5.5 ULN packages to 5.6
2178
2179 * Tue Aug 27 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-4
2180 - Enhanced perl filtering
2181 - Added openssl-devel to buildreq
2182
2183 * Wed Aug 21 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-3
2184 - Removed mysql_embedded binary to resolve multilib conflict issue
2185
2186 * Fri Aug 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-2
2187 - Fixed Provides and Obsoletes issues in server, test packages
2188
2189 * Wed Aug 14 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-1
2190 - Updated to 5.6.13
2191
2192 * Mon Aug 05 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-9
2193 - Added files list to embedded packages
2194
2195 * Thu Aug 01 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-8
2196 - Updated libmysqld.a with libmysqld.so in embedded package
2197
2198 * Mon Jul 29 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-7
2199 - Updated test package dependency from client to server
2200
2201 * Wed Jul 24 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-6
2202 - Added libs-compat dependency under libs package to resolve server
2203 installation conflicts issue.
2204
2205 * Wed Jul 17 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-5
2206 - Removed libmysqlclient.so.16 from libs package
2207
2208 * Fri Jul 05 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-4
2209 - Adjusted to work on OEL6
2210
2211 * Wed Jun 26 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-3
2212 - Move libs to mysql/
2213 - Basic multi arch support
2214 - Fix changelog dates
2215
2216 * Thu Jun 20 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-2
2217 - Major cleanup
2218
2219 * Tue Jun 04 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-1
2220 - Updated to 5.6.12
2221
2222 * Mon Nov 05 2012 Joerg Bruehe <[email protected]>
2223
2224 - Allow to override the default to use the bundled yaSSL by an option like
2225 --define="with_ssl /path/to/ssl"
2226
2227 * Wed Oct 10 2012 Bjorn Munch <[email protected]>
2228
2229 - Replace old my-*.cnf config file examples with template my-default.cnf
2230
2231 * Fri Oct 05 2012 Joerg Bruehe <[email protected]>
2232
2233 - Let the installation use the new option "--random-passwords" of "mysql_install_db".
2234 (Bug# 12794345 Ensure root password)
2235 - Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
2236 of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).
2237
2238 * Tue Jul 24 2012 Joerg Bruehe <[email protected]>
2239
2240 - Add a macro "runselftest":
2241 if set to 1 (default), the test suite will be run during the RPM build;
2242 this can be oveeridden via the command line by adding
2243 --define "runselftest 0"
2244 Failures of the test suite will NOT make the RPM build fail!
2245
2246 * Mon Jul 16 2012 Joerg Bruehe <[email protected]>
2247
2248 - Add the man page for the "mysql_config_editor".
2249
2250 * Mon Jun 11 2012 Joerg Bruehe <[email protected]>
2251
2252 - Make sure newly added "SPECIFIC-ULN/" directory does not disturb packaging.
2253
2254 * Wed Feb 29 2012 Brajmohan Saxena <[email protected]>
2255
2256 - Removal all traces of the readline library from mysql (BUG 13738013)
2257
2258 * Wed Sep 28 2011 Joerg Bruehe <[email protected]>
2259
2260 - Fix duplicate mentioning of "mysql_plugin" and its manual page,
2261 it is better to keep alphabetic order in the files list (merging!).
2262
2263 * Wed Sep 14 2011 Joerg Bruehe <[email protected]>
2264
2265 - Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
2266 the RPMs of any configuration (of the current or the preceding release series)
2267 by the new ones. This is done by not using the implicitly generated capabilities
2268 (which include the configuration name) and relying on more generic ones which
2269 just list the function ("server", "client", ...).
2270 The implicit generation cannot be prevented, so all these capabilities must be
2271 explicitly listed in "Obsoletes:"
2272
2273 * Tue Sep 13 2011 Jonathan Perkin <[email protected]>
2274
2275 - Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6. Due to
2276 changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
2277 this necessitated a move of the libmygcc.a installation to the install
2278 phase, which is probably where it belonged in the first place.
2279
2280 * Tue Sep 13 2011 Joerg Bruehe <[email protected]>
2281
2282 - "make_win_bin_dist" and its manual are dropped, cmake does it different.
2283
2284 * Thu Sep 08 2011 Daniel Fischer <[email protected]>
2285
2286 - Add mysql_plugin man page.
2287
2288 * Tue Aug 30 2011 Tor Didriksen <[email protected]>
2289
2290 - Set CXX=g++ by default to add a dependency on libgcc/libstdc++.
2291 Also, remove the use of the -fno-exceptions and -fno-rtti flags.
2292 TODO: update distro_buildreq/distro_requires
2293
2294 * Tue Aug 30 2011 Joerg Bruehe <[email protected]>
2295
2296 - Add the manual page for "mysql_plugin" to the server package.
2297
2298 * Fri Aug 19 2011 Joerg Bruehe <[email protected]>
2299
2300 - Null-upmerge the fix of bug#37165: This spec file is not affected.
2301 - Replace "/var/lib/mysql" by the spec file variable "%%{mysqldatadir}".
2302
2303 * Fri Aug 12 2011 Daniel Fischer <[email protected]>
2304
2305 - Source plugin library files list from cmake-generated file.
2306
2307 * Mon Jul 25 2011 Chuck Bell <[email protected]>
2308
2309 - Added the mysql_plugin client - enables or disables plugins.
2310
2311 * Thu Jul 21 2011 Sunanda Menon <[email protected]>
2312
2313 - Fix bug#12561297: Added the MySQL embedded binary
2314
2315 * Thu Jul 07 2011 Joerg Bruehe <[email protected]>
2316
2317 - Fix bug#45415: "rpm upgrade recreates test database"
2318 Let the creation of the "test" database happen only during a new installation,
2319 not in an RPM upgrade.
2320 This affects both the "mkdir" and the call of "mysql_install_db".
2321
2322 * Wed Feb 09 2011 Joerg Bruehe <[email protected]>
2323
2324 - Fix bug#56581: If an installation deviates from the default file locations
2325 ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade)
2326 should still work, and use these locations.
2327 The problem was that the fix for bug#27072 did not check for local settings.
2328
2329 * Mon Jan 31 2011 Joerg Bruehe <[email protected]>
2330
2331 - Install the new "manifest" files: "INFO_SRC" and "INFO_BIN".
2332
2333 * Tue Nov 23 2010 Jonathan Perkin <[email protected]>
2334
2335 - EXCEPTIONS-CLIENT has been deleted, remove it from here too
2336 - Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
2337 a '-j' argument to make.
2338
2339 * Mon Nov 1 2010 Georgi Kodinov <[email protected]>
2340
2341 - Added test authentication (WL#1054) plugin binaries
2342
2343 * Wed Oct 6 2010 Georgi Kodinov <[email protected]>
2344
2345 - Added example external authentication (WL#1054) plugin binaries
2346
2347 * Wed Aug 11 2010 Joerg Bruehe <[email protected]>
2348
2349 - With a recent spec file cleanup, names have changed: A "-community" part was dropped.
2350 Reflect that in the "Obsoletes" specifications.
2351 - Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
2352 - This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".
2353
2354 * Tue Jun 15 2010 Joerg Bruehe <[email protected]>
2355
2356 - Change the behaviour on installation and upgrade:
2357 On installation, do not autostart the server.
2358 *Iff* the server was stopped before the upgrade is started, this is taken as a
2359 sign the administrator is handling that manually, and so the new server will
2360 not be started automatically at the end of the upgrade.
2361 The start/stop scripts will still be installed, so the server will be started
2362 on the next machine boot.
2363 This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).
2364
2365 * Tue Jun 1 2010 Jonathan Perkin <[email protected]>
2366
2367 - Implement SELinux checks from distribution-specific spec file.
2368
2369 * Wed May 12 2010 Jonathan Perkin <[email protected]>
2370
2371 - Large number of changes to build using CMake
2372 - Introduce distribution-specific RPMs
2373 - Drop debuginfo, build all binaries with debug/symbols
2374 - Remove __os_install_post, use native macro
2375 - Remove _unpackaged_files_terminate_build, make it an error to have
2376 unpackaged files
2377 - Remove cluster RPMs
2378
2379 * Wed Mar 24 2010 Joerg Bruehe <[email protected]>
2380
2381 - Add "--with-perfschema" to the configure options.
2382
2383 * Mon Mar 22 2010 Joerg Bruehe <[email protected]>
2384
2385 - User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
2386 mask "rmdir" return code 1.
2387 - Remove "ha_example.*" files from the list, they aren't built.
2388
2389 * Wed Mar 17 2010 Joerg Bruehe <[email protected]>
2390
2391 - Fix a wrong path name in handling the debug plugins.
2392
2393 * Wed Mar 10 2010 Joerg Bruehe <[email protected]>
2394
2395 - Take the result of the debug plugin build and put it into the optimized tree,
2396 so that it becomes part of the final installation;
2397 include the files in the packlist. Part of the fixes for bug#49022.
2398
2399 * Mon Mar 01 2010 Joerg Bruehe <[email protected]>
2400
2401 - Set "Oracle and/or its affiliates" as the vendor and copyright owner,
2402 accept upgrading from packages showing MySQL or Sun as vendor.
2403
2404 * Fri Feb 12 2010 Joerg Bruehe <[email protected]>
2405
2406 - Formatting changes:
2407 Have a consistent structure of separator lines and of indentation
2408 (8 leading blanks => tab).
2409 - Introduce the variable "src_dir".
2410 - Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
2411 over "CC" ("CXX").
2412 - Drop the old "with_static" argument analysis, this is not supported
2413 in 5.1 since ages.
2414 - Introduce variables to control the handlers individually, as well
2415 as other options.
2416 - Use the new "--with-plugin" notation for the table handlers.
2417 - Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
2418 was done back in 2002 already.
2419 - Make "--with-zlib-dir=bundled" the default, add an option to disable it.
2420 - Add missing manual pages to the file list.
2421 - Improve the runtime check for "libgcc.a", protect it against being tried
2422 with the Intel compiler "icc".
2423
2424 * Mon Jan 11 2010 Joerg Bruehe <[email protected]>
2425
2426 - Change RPM file naming:
2427 - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
2428 - Release counts from 1, not 0.
2429
2430 * Wed Dec 23 2009 Joerg Bruehe <[email protected]>
2431
2432 - The "semisync" plugin file name has lost its introductory "lib",
2433 adapt the file lists for the subpackages.
2434 This is a part missing from the fix for bug#48351.
2435 - Remove the "fix_privilege_tables" manual, it does not exist in 5.5
2436 (and likely, the whole script will go, too).
2437
2438 * Mon Nov 16 2009 Joerg Bruehe <[email protected]>
2439
2440 - remove erroneous traces of the InnoDB plugin (that is 5.1 only).
2441
2442 * Tue Oct 06 2009 Magnus Blaudd <[email protected]>
2443
2444 - Removed mysql_fix_privilege_tables
2445
2446 * Fri Oct 02 2009 Alexander Nozdrin <[email protected]>
2447
2448 - "mysqlmanager" got removed from version 5.4, all references deleted.
2449
2450 * Fri Aug 28 2009 Joerg Bruehe <[email protected]>
2451
2452 - Merge up from 5.1 to 5.4: Remove handling for the InnoDB plugin.
2453
2454 * Thu Aug 27 2009 Joerg Bruehe <[email protected]>
2455
2456 - This version does not contain the "Instance manager", "mysqlmanager":
2457 Remove it from the spec file so that packaging succeeds.
2458
2459 * Mon Aug 24 2009 Jonathan Perkin <[email protected]>
2460
2461 - Add conditionals for bundled zlib and innodb plugin
2462
2463 * Fri Aug 21 2009 Jonathan Perkin <[email protected]>
2464
2465 - Install plugin libraries in appropriate packages.
2466 - Disable libdaemon_example and ftexample plugins.
2467
2468 * Thu Aug 20 2009 Jonathan Perkin <[email protected]>
2469
2470 - Update variable used for mysql-test suite location to match source.
2471
2472 * Fri Nov 07 2008 Joerg Bruehe <[email protected]>
2473
2474 - Correct yesterday's fix, so that it also works for the last flag,
2475 and fix a wrong quoting: un-quoted quote marks must not be escaped.
2476
2477 * Thu Nov 06 2008 Kent Boortz <[email protected]>
2478
2479 - Removed "mysql_upgrade_shell"
2480 - Removed some copy/paste between debug and normal build
2481
2482 * Thu Nov 06 2008 Joerg Bruehe <[email protected]>
2483
2484 - Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
2485 This should cover both gcc and icc flags. Fixes bug#40546.
2486
2487 * Fri Aug 29 2008 Kent Boortz <[email protected]>
2488
2489 - Removed the "Federated" storage engine option, and enabled in all
2490
2491 * Tue Aug 26 2008 Joerg Bruehe <[email protected]>
2492
2493 - Get rid of the "warning: Installed (but unpackaged) file(s) found:"
2494 Some generated files aren't needed in RPMs:
2495 - the "sql-bench/" subdirectory
2496 Some files were missing:
2497 - /usr/share/aclocal/mysql.m4 ("devel" subpackage)
2498 - Manual "mysqlbug" ("server" subpackage)
2499 - Program "innochecksum" and its manual ("server" subpackage)
2500 - Manual "mysql_find_rows" ("client" subpackage)
2501 - Script "mysql_upgrade_shell" ("client" subpackage)
2502 - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
2503 - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)
2504
2505 * Mon Mar 31 2008 Kent Boortz <[email protected]>
2506
2507 - Made the "Federated" storage engine an option
2508 - Made the "Cluster" storage engine and sub packages an option
2509
2510 * Wed Mar 19 2008 Joerg Bruehe <[email protected]>
2511
2512 - Add the man pages for "ndbd" and "ndb_mgmd".
2513
2514 * Mon Feb 18 2008 Timothy Smith <[email protected]>
2515
2516 - Require a manual upgrade if the alread-installed mysql-server is
2517 from another vendor, or is of a different major version.
2518
2519 * Wed May 02 2007 Joerg Bruehe <[email protected]>
2520
2521 - "ndb_size.tmpl" is not needed any more,
2522 "man1/mysql_install_db.1" lacked the trailing '*'.
2523
2524 * Sat Apr 07 2007 Kent Boortz <[email protected]>
2525
2526 - Removed man page for "mysql_create_system_tables"
2527
2528 * Wed Mar 21 2007 Daniel Fischer <[email protected]>
2529
2530 - Add debug server.
2531
2532 * Mon Mar 19 2007 Daniel Fischer <[email protected]>
2533
2534 - Remove Max RPMs; the server RPMs contain a mysqld compiled with all
2535 features that previously only were built into Max.
2536
2537 * Fri Mar 02 2007 Joerg Bruehe <[email protected]>
2538
2539 - Add several man pages for NDB which are now created.
2540
2541 * Fri Jan 05 2007 Kent Boortz <[email protected]>
2542
2543 - Put back "libmygcc.a", found no real reason it was removed.
2544
2545 - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
2546 correct "libgcc.a" path is returned for the 32/64 bit architecture.
2547
2548 * Mon Dec 18 2006 Joerg Bruehe <[email protected]>
2549
2550 - Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
2551
2552 * Thu Dec 14 2006 Joerg Bruehe <[email protected]>
2553
2554 - Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
2555 in the server RPM.
2556 - The "mysqlmanager" man page got moved from section 1 to 8.
2557
2558 * Thu Nov 30 2006 Joerg Bruehe <[email protected]>
2559
2560 - Call "make install" using "benchdir_root=%%{_datadir}",
2561 because that is affecting the regression test suite as well.
2562
2563 * Thu Nov 16 2006 Joerg Bruehe <[email protected]>
2564
2565 - Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
2566 replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
2567 (bug#22081).
2568
2569 * Mon Nov 13 2006 Joerg Bruehe <[email protected]>
2570
2571 - Add "--with-partition" t 2006 Joerg Bruehe <[email protected]>
2572
2573 - Use the Perl script to run the tests, because it will automatically check
2574 whether the server is configured with SSL.
2575
2576 * Tue Jun 27 2006 Joerg Bruehe <[email protected]>
2577
2578 - move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
2579
2580 - Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
2581 there are some more aspects which need to be solved before this is possible.
2582 For now, just ensure the binary "mysql_upgrade" is delivered and installysql.com>
2583
2584 - To run "mysql_upgrade", we need a running server;
2585 start it in isolation and skip password checks.
2586
2587 * Sat May 20 2006 Kent Boortz <[email protected]>
2588
2589 - Always compile for PIC, position independent code.
2590
2591 * Wed May 10 2006 Kent Boortz <[email protected]>
2592
2593 - Use character set "all" when compiling with Cluster, to make Cluster
2594 nodes independent on the character set directory, and the problem
2595 that two RPM sub packages both wants to install this directory.
2596
2597 * Mon May 01 2006 Kent Boortz <[email protected]>
2598
2599 - Use "./libtool --mode=execute" instead of searching for the
2600 executable in current directory and ".libs".
2601
2602 * Fri Apr 28 2006 Kent Boortz <[email protected]>
2603
2604 - Install and run "mysql_upgrade"
2605
2606 * Wed Apr 12 2006 Jim Winstead <[email protected]>
2607
2608 - Remove sql-bench, and MySQL-bench RPM (will be built as an independent
2609 project from the mysql-bench repository)
2610
2611 * Tue Apr 11 2006 Jim Winstead <[email protected]>
2612
2613 - Remove old mysqltestmanager and related programs
2614 * Sat Apr 01 2006 Kent Boortz <[email protected]>
2615
2616 - Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
2617
2618 * Tue Mar 07 2006 Kent Boortz <[email protected]>
2619
2620 - Changed product name from "Community Edition" to "Community Server"
2621
2622 * Mon Mar 06 2006 Kent Boortz <[email protected]>
2623
2624 - Fast mutexes is now disabled by default, but should be
2625 used in Linux builds.
2626
2627 * Mon Feb 20 2006 Kent Boortz <[email protected]>
2628
2629 - Reintroduced a max build
2630 - Limited testing of 'debug' and 'max' servers
2631 - Berkeley DB only in 'max'
2632
2633 * Mon Feb 13 2006 Joerg Bruehe <[email protected]>
2634
2635 - Use "-i" on "make test-force";
2636 this is essential for later evaluation of this log file.
2637
2638 * Thu Feb 09 2006 Kent Boortz <[email protected]>
2639
2640 - Pass '-static' to libtool, link static with our own libraries, dynamic
2641 with system libraries. Link with the bundled zlib.
2642
2643 * Wed Feb 08 2006 Kristian Nielsen <[email protected]>
2644
2645 - Modified RPM spec to match new 5.1 debug+max combined community packaging.
2646
2647 * Sun Dec 18 2005 Kent Boortz <[email protected]>
2648
2649 - Added "client/mysqlslap"
2650
2651 * Mon Dec 12 2005 Rodrigo Novo <[email protected]>
2652
2653 - Added zlib to the list of (static) libraries installed
2654 - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
2655 - Compile MySQL with bundled zlib
2656 - Fixed %%packager name to "MySQL Production Engineering Team"
2657
2658 * Mon Dec 05 2005 Joerg Bruehe <[email protected]>
2659
2660 - Avoid using the "bundled" zlib on "shared" builds:
2661 As it is not installed (on the build system), this gives dependency
2662 problems with "libtool" causing the build to fail.
2663 (Change was done on Nov 11, but left uncommented.)
2664
2665 * Tue Nov 22 2005 Joerg Bruehe <[email protected]>
2666
2667 - Extend the file existence check for "init.d/mysql" on un-install
2668 to also guard the call to "insserv"/"chkconfig".
2669
2670 * Thu Oct 27 2005 Lenz Grimmer <[email protected]>
2671
2672 - added more man pages
2673
2674 * Wed Oct 19 2005 Kent Boortz <[email protected]>
2675
2676 - Made yaSSL support an option (off by default)
2677
2678 * Wed Oct 19 2005 Kent Boortz <[email protected]>
2679
2680 - Enabled yaSSL support
2681
2682 * Sat Oct 15 2005 Kent Boortz <[email protected]>
2683
2684 - Give mode arguments the same way in all places
2685 [email protected]>
2686
2687 - fixed the removing of the RPM_BUILD_ROOT in the %%clean section (the
2688 $RBR variable did not get expanded, thus leaving old build roots behind)
2689
2690 * Thu Aug 04 2005 Lenz Grimmer <[email protected]>
2691
2692 - Fixed the creation of the mysql user group account in the postinstall
2693 section (BUG 12348)
2694 - Fixed enabling the Archive storage engine in the Max binary
2695
2696 * Tue Aug 02 2005 Lenz Grimmer <[email protected]>
2697
2698 - Fixed the Requires: tag for the server RPM (BUG 12233)
2699
2700 * Fri Jul 15 2005 Lenz Grimmer <[email protected]>
2701
2702 - create a "mysql" user group and assign the mysql user account to that group
2703 in the server postinstall section. (BUG 10984)
2704
2705 * Tue Jun 14 2005 Lenz Grimmer <[email protected]>
2706
2707 - Do not build statically on i386 by default, only when adding either "--with
2708 static" or "--define '_with_static 1'" to the RPM build options. Static
2709 linking really only makes sense when linking against the specially patched
2710 glibc 2.2.5.
2711
2712 * Mon Jun 06 2005 Lenz Grimmer <[email protected]>
2713
2714 - added mysql_client_test to the "bench" subpackage (BUG 10676)
2715 - added the libndbclient static and shared libraries (BUG 10676)
2716
2717 * Wed Jun 01 2005 Lenz Grimmer <[email protected]>
2718
2719 - use "mysqldatadir" variable instead of hard-coding the path multiple times
2720 - use the "mysqld_user" variable on all occasions a user name is referenced
2721 - removed (incomplete) Brazilian translations
2722 - removed redundant release tags from the subpackage descriptions
2723
2724 * Wed May 25 2005 Joerg Bruehe <[email protected]>
2725
2726 - Added a "make clean" between separate calls to "BuildMySQL".
2727
2728 * Thu May 12 2005 Guilhem Bichot <[email protected]>
2729
2730 - Removed the mysql_tableinfo script made obsolete by the information schema
2731
2732 * Wed Apr 20 2005 Lenz Grimmer <[email protected]>
2733
2734 - Enabled the "blackhole" storage engine for the Max RPM
2735
2736 * Wed Apr 13 2005 Lenz Grimmer <[email protected]>
2737
2738 - removed the MySQL manual files (html/ps/texi) - they have been removed
2739 from the MySQL sources and are now available separately.
2740
2741 * Mon Apr 4 2005 Petr Chardin <[email protected]>
2742
2743 - old mysqlmanager, mysq* Mon Feb 7 2005 Tomas Ulin <[email protected]>
2744
2745 - enabled the "Ndbcluster" storage engine for the max binary
2746 - added extra make install in ndb subdir after Max build to get ndb binaries
2747 - added packages for ndbcluster storage engine
2748
2749 * Fri Jan 14 2005 Lenz Grimmer <[email protected]>
2750
2751 - replaced obsoleted "BuildPrereq" with "BuildRequires" instead
2752
2753 * Thu Jan 13 2005 Lenz Grimmer <[email protected]>
2754
2755 - enabled the "Federated" storage engine for the max binary
2756
2757 * Tue Jan 04 2005 Petr Chardin <[email protected]>
2758
2759 - ISAM and merge storage engines were purged. As well as appropriate
2760 tools and manpages (isamchk and isamlog)
2761
2762 * Fri Dec 31 2004 Lenz Grimmer <[email protected]>
2763
2764 - enabled the "Archive" storage engine for the max binary
2765 - enabled the "CSV" storage engine for the max binary
2766 - enabled the "Example" storage engine for the max binary
2767
2768 * Thu Aug 26 2004 Lenz Grimmer <[email protected]>
2769
2770 - MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
2771
2772 * Fri Aug 20 2004 Lenz Grimmer <[email protected]>
2773
2774 - do not link statically on IA64/AMD64 as these systems do not have
2775 a patched glibc installed
2776
2777 * Tue Aug 10 2004 Lenz Grimmer <[email protected]>
2778
2779 - Added libmygcc.a to the devel subpackage (required to link applications
2780 against the the embedded server libmysqld.a) (BUG 4921)
2781
2782 * Mon Aug 09 2004 Lenz Grimmer <[email protected]>
2783
2784 - Added EXCEPTIONS-CLIENT to the "devel" package
2785
2786 * Thu Jul 29 2004 Lenz Grimmer <[email protected]>
2787
2788 - disabled OpenSSL in the Max binaries again (the RPM packages were the
2789 only exception to this anyway) (BUG 1043)
2790
2791 * Wed Jun 30 2004 Lenz Grimmer <[email protected]>
2792
2793 - fixed server postinstall (mysql_install_db was called with the wrong
2794 parameter)
2795
2796 * Thu Jun 24 2004 Lenz Grimmer <[email protected]>
2797
2798 - added mysql_tzinfo_to_sql to the server subpackage
2799 - run "make clean" instead of "make distclean"
2800
2801 * Mon Apr 05 2004 Lenz Grimmer <[email protected]>
2802
2803 - added ncurses-devel to the build prerequisites (BUG 3377)
2804
2805 * Thu Feb 12 2004 Lenz Grimmer <[email protected]>
2806
2807 - when using gcc, _always_ use CXX=gcc
2808 - replaced Copyright with License field (Copyright is obsolete)
2809
2810 * Tue Feb 03 2004 Lenz Grimmer <[email protected]>
2811
2812 - added myisam_ftdump to the Server package
2813
2814 * Tue Jan 13 2004 Lenz Grimmer <[email protected]>
2815
2816 - link the mysql client against libreadline instead of libedit (BUG 2289)
2817
2818 * Mon Dec 22 2003 Lenz Grimmer <[email protected]>
2819
2820 - marked /etc/logrotate.d/mysql as a config file (BUG 2156)
2821
2822 * Sat Dec 13 2003 Lenz Grimmer <[email protected]>
2823
2824 - fixed file permissions (BUG 1672)
2825
2826 * Thu Dec 11 2003 Lenz Grimmer <[email protected]>
2827
2828 - made testing for gcc3 a bit more robust
2829
2830 * Fri Dec 05 2003 Lenz Grimmer <[email protected]>
2831
2832 - added missing file mysql_create_system_tables to the server subpackage
2833
2834 * Fri Nov 21 2003 Lenz Grimmer <[email protected]>
2835
2836 - removed dependency on MySQL-client from the MySQL-devel subpackage
2837 as it is not really required. (BUG 1610)
2838
2839 * Fri Aug 29 2003 Lenz Grimmer <[email protected]>
2840
2841 - Fixed BUG 1162 (removed macro names from the changelog)
2842 - Really fixed BUG 998 (disable the checking for installed but
2843 unpackaged files)
2844
2845 * Tue Aug 05 2003 Lenz Grimmer <[email protected]>
2846
2847 - Fixed BUG 959 (libmysqld not being compiled properly)
2848 - Fixed BUG 998 (RPM build errors): added missing files to the
2849 distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
2850 mysql_fix_privilege_tables.1), removed "-n" from install section.
2851
2852 * Wed Jul 09 2003 Lenz Grimmer <[email protected]>
2853
2854 - removed the GIF Icon (file was not included in the sources anyway)
2855 - removed unused variable shared_lib_version
2856 - do not run automake before building the standard binary
2857 (should not be necessary)
2858 - add server suffix '-standard' to standard binary (to be in line
2859 with the binary tarball distributions)
2860 - Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
2861 _datadir, _includedir) throughout the spec file.
2862 - allow overriding CC and CXX (required when building with other compilers)
2863
2864 * Fri May 16 2003 Lenz Grimmer <[email protected]>
2865
2866 - re-enabled RAID again
2867
2868 * Wed Apr 30 2003 Lenz Grimmer <[email protected]>
2869
2870 - disabled MyISAM RAID (--with-raid)- it throws an assertion which
2871 needs to be investigated first.
2872
2873 * Mon Mar 10 2003 Lenz Grimmer <[email protected]>
2874
2875 - added missing file mysql_secure_installation to server subpackage
2876 (BUG 141)
2877
2878 * Tue Feb 11 2003 Lenz Grimmer <[email protected]>
2879
2880 - re-added missing pre- and post(un)install scripts to server subpackage
2881 - added config file /etc/my.cnf to the file list (just for completeness)
2882 - make sure to create the datadir with 755 permissions
2883
2884 * Mon Jan 27 2003 Lenz Grimmer <[email protected]>
2885
2886 - removed unusedql.com>
2887
2888 - Reworked the build steps a little bit: the Max binary is supposed
2889 to include OpenSSL, which cannot be linked statically, thus trying
2890 to statically link against a special glibc is futile anyway
2891 - because of this, it is not required to make yet another build run
2892 just to compile the shared libs (saves a lot of time)
2893 - updated package description of the Max subpackage
2894 - clean up the BuildRoot directory afterwards
2895
2896 * Mon Jul 15 2002 Lenz Grimmer <[email protected]>
2897
2898 - Updated Packager information
2899 - Fixed the build options: the regular package is supposed to
2900 include InnoDB and linked statically, while the Max package
2901 should include BDB and SSL support
2902
2903 * Fri May 03 2002 Lenz Grimmer <[email protected]>
2904
2905 - Use more RPM macros (e.g. infodir, mandir) to make the spec
2906 file more portable
2907 - reorganized the installation of documentation files: let RPM
2908 take care of this
2909 - reorganized the file list: actually install man pages along
2910 with the binaries of the respective subpackage
2911 - do not include libmysqld.a in the devel subpackage as well, if we
2912 have a special "embedded" subpackage
2913 - reworked the package descriptions
2914
2915 * Mon Oct 8 2001 Monty
2916
2917 - Added embedded server as a separate RPM
2918
2919 * Fri Apr 13 2001 Monty
2920
2921 - Added mysqld-max to the distribution
2922
2923 * Tue Jan 2 2001 Monty
2924
2925 - Added mysql-test to the bench package
2926
2927 * Fri Aug 18 2000 Tim Smith <[email protected]>
2928
2929 - Added separate libmysql_r directory; now both a threaded
2930 and non-threaded library is shipped.
2931
2932 * Tue Sep 28 1999 David Axmark <[email protected]>
2933
2934 - Added the support-files/my-example.cnf to the docs directory.
2935
2936 - Removed devel dependency on base since it is about client
2937 development.
2938
2939 * Wed Sep 8 1999 David Axmark <[email protected]>
2940
2941 - Cleaned up some for 3.23.
2942
2943 * Thu Jul 1 1999 David Axmark <[email protected]>
2944
2945 - Added support for shared libraries in a separate sub
2946 package. Original fix by David Fox ([email protected])
2947
2948 - The --enable-assembler switch is now automatically disables on
2949 platforms there assembler code is unavailable. This should allow
2950 building this RPM on non i386 systems.
2951
2952 * Mon Feb 22 1999 David Axmark <[email protected]>
2953
2954 - Removed unportable cc switches from the spec file. The defaults can
2955 now be overridden with environment variables. This feature is used
2956 to compile the official RPM with optimal (but compiler version
2957 specific) switches.
2958
2959 - Removed the repetitive description parts for the sub rpms. Maybe add
2960 again if RPM gets a multiline macro capability.
2961
2962 - Added support for a pt_BR translation. Translation contributed by
2963 Jorge Godoy <[email protected]>.
2964
2965 * Wed Nov 4 1998 David Axmark <[email protected]>
2966
2967 - A lot of changes in all the rpm and install scripts. This may even
2968 be a working RPM :-)
2969
2970 * Sun Aug 16 1998 David Axmark <[email protected]>
2971
2972 - A developers changelog for MySQL is available in the source RPM. And
2973 there is a history of major user visible changed in the Reference
2974 Manual. Only RPM specific changes will be documented here.