Debian Codegraph @

packaging/rpm-fedora/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 %global with_meb 1
38 %global with_router 1
39 %endif
40
41 # Regression tests may take a long time, override the default to skip them
42 %{!?runselftest:%global runselftest 1}
43
44 %{!?product_suffix: %global product_suffix community}
45 %{!?compilation_comment_release: %global compilation_comment_release MySQL Community - GPL}
46 %{!?compilation_comment_debug: %global compilation_comment_debug MySQL Community - GPL - Debug}
47 %{!?compilation_comment_server_release: %global compilation_comment_server_release MySQL Community Server - GPL}
48 %{!?compilation_comment_server_debug: %global compilation_comment_server_debug MySQL Community Server - GPL - Debug}
49 %{!?src_base: %global src_base mysql%{?cluster:-cluster-gpl}}
50
51 %global src_dir %{src_base}-@VERSION_SRC@
52 %global license_files_server %{src_dir}/LICENSE %{src_dir}/README
53
54 %if 0%{?commercial}
55 %global license_type Commercial
56 %else
57 %global license_type GPLv2
58 %endif
59
60 %global min 8.0.11
61
62 Name: mysql%{?cluster:-cluster}-%{product_suffix}
63 Summary: A very fast and reliable SQL database server
64 Version: @MYSQL_NO_DASH_VERSION@
65 Release: 10@MYSQL_VERSION_EXTRA_DOT@%{?dist}
66 License: Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. Under %{?license_type} license as shown in the Description field.
67 Source0: https://cdn.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/%{src_dir}.tar.gz
68 Source1: @BOOST_DOWNLOAD_URL@
69 URL: http://www.mysql.com/
70 Packager: MySQL Release Engineering <[email protected]>
71 Vendor: %{mysql_vendor}
72 BuildRequires: bison >= 3.0.4
73 BuildRequires: cmake
74 BuildRequires: cyrus-sasl-devel
75 BuildRequires: elfutils
76 BuildRequires: gcc
77 BuildRequires: gcc-c++
78 BuildRequires: libaio-devel
79 BuildRequires: libcurl-devel
80 BuildRequires: libfido2-devel
81 BuildRequires: mecab-devel
82 BuildRequires: multilib-rpm-config
83 BuildRequires: ncurses-devel
84 BuildRequires: numactl-devel
85 BuildRequires: openldap-devel
86 BuildRequires: openssl-devel
87 %if 0%{?fedora} > 40
88 BuildRequires: openssl-devel-engine
89 %endif
90 BuildRequires: patchelf
91 BuildRequires: perl
92 BuildRequires: perl(Carp)
93 BuildRequires: perl(Config)
94 BuildRequires: perl(Cwd)
95 BuildRequires: perl(Data::Dumper)
96 BuildRequires: perl(English)
97 BuildRequires: perl(Errno)
98 BuildRequires: perl(Exporter)
99 BuildRequires: perl(Fcntl)
100 BuildRequires: perl(File::Basename)
101 BuildRequires: perl(File::Copy)
102 BuildRequires: perl(File::Find)
103 BuildRequires: perl(File::Path)
104 BuildRequires: perl(File::Spec)
105 BuildRequires: perl(File::Spec::Functions)
106 BuildRequires: perl(File::Temp)
107 BuildRequires: perl-generators
108 BuildRequires: perl-interpreter
109 BuildRequires: perl(Getopt::Long)
110 BuildRequires: perl(IO::File)
111 BuildRequires: perl(IO::Handle)
112 BuildRequires: perl(IO::Pipe)
113 BuildRequires: perl(IO::Select)
114 BuildRequires: perl(IO::Socket)
115 BuildRequires: perl(IO::Socket::INET)
116 BuildRequires: perl(JSON)
117 BuildRequires: perl(Memoize)
118 BuildRequires: perl(POSIX)
119 BuildRequires: perl(Sys::Hostname)
120 BuildRequires: perl(Time::HiRes)
121 BuildRequires: perl(Time::localtime)
122 BuildRequires: pkgconfig(libtirpc)
123 BuildRequires: pkgconfig(systemd)
124 BuildRequires: rpcgen
125 BuildRequires: sed
126 BuildRequires: systemd
127 BuildRequires: time
128 BuildRequires: zlib-devel
129 %if 0%{?cluster}
130 BuildRequires: /usr/bin/pathfix.py
131 %endif
132 # For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
133 %global _privatelibs libprotobuf.*|libmysqlharness\.so.*|libmysqlharness_stdx\.so.*|libmysqlharness_tls\.so.*|libmysqlrouter\.so\..*|libmysqlrouter_.*\.so\..*
134 %global _privateperl perl\\((GD|hostnames|lib::mtr|lib::v1|mtr_|My::)
135 %global __requires_exclude ^((%{_privatelibs})|(%{_privateperl}))
136 %global __provides_exclude_from ^(/usr/share/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so|%{_libdir}/mysql/private/.*|%{_libdir}/mysqlrouter/.*|%{_libdir}/mysqlrouter/private/.*)$
137
138 %description
139 The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
140 and robust SQL (Structured Query Language) database server. MySQL Server
141 is intended for mission-critical, heavy-load production systems as well
142 as for embedding into mass-deployed software. MySQL is a trademark of
143 %{mysql_vendor}
144
145 The MySQL software has Dual Licensing, which means you can use the MySQL
146 software free of charge under the GNU General Public License
147 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
148 licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
149 the GPL. See the chapter "Licensing and Support" in the manual for
150 further info.
151
152 The MySQL web site (http://www.mysql.com/) provides the latest
153 news and information about the MySQL software. Also please see the
154 documentation and the manual for more information.
155
156 %package server
157 Summary: A very fast and reliable SQL database server
158 Requires: coreutils
159 Requires: grep
160 Requires: shadow-utils
161 Recommends: mecab-ipadic
162 Recommends: mecab-ipadic-EUCJP
163 Requires: %{name}-icu-data-files = %{version}-%{release}
164 %if 0%{?commercial}
165 Obsoletes: mysql-commercial-bench < 5.7.8
166 Obsoletes: mysql-community-server < %{version}-%{release}
167 Requires: mysql-commercial-client%{?_isa} >= %{min}
168 Requires: mysql-commercial-common%{?_isa} = %{version}-%{release}
169 %else
170 Requires: mysql-community-client%{?_isa} >= %{min}
171 Requires: mysql-community-common%{?_isa} = %{version}-%{release}
172 %endif
173 Obsoletes: mysql-community-bench < 5.7.8
174 Obsoletes: mysql-community-embedded < 8.0.1
175 Obsoletes: mysql-community-embedded-devel < 8.0.1
176 Obsoletes: community-mysql-bench
177 Obsoletes: mysql-bench
178 Obsoletes: mariadb-backup
179 Obsoletes: mariadb-bench
180 Obsoletes: mariadb-connect-engine
181 Obsoletes: mariadb-connector-c-config
182 Obsoletes: mariadb-cracklib-password-check
183 Obsoletes: mariadb-gssapi-server
184 Obsoletes: mariadb-oqgraph-engine
185 Obsoletes: mariadb-rocksdb-engine
186 Obsoletes: mariadb-sphinx-engine
187 Obsoletes: mariadb-tokudb-engine
188 Obsoletes: mariadb-server
189 Obsoletes: mariadb-server-utils
190 Obsoletes: mariadb-galera-server
191 Obsoletes: mariadb-server-galera
192 Obsoletes: community-mysql-server < %{version}-%{release}
193 Obsoletes: mysql-server < %{version}-%{release}
194 Obsoletes: mysql-community-embedded-compat < 8.0.3
195 Obsoletes: mysql-community-libs-compat < 8.0.4
196 Provides: mysql-server = %{version}-%{release}
197 Provides: mysql-server%{?_isa} = %{version}-%{release}
198 Provides: mysql-compat-server = %{version}-%{release}
199 Provides: mysql-compat-server%{?_isa} = %{version}-%{release}
200 Requires(post): systemd
201 Requires(preun): systemd
202 Requires(postun): systemd
203
204 %description server
205 The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
206 and robust SQL (Structured Query Language) database server. MySQL Server
207 is intended for mission-critical, heavy-load production systems as well
208 as for embedding into mass-deployed software. MySQL is a trademark of
209 %{mysql_vendor}
210
211 The MySQL software has Dual Licensing, which means you can use the MySQL
212 software free of charge under the GNU General Public License
213 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
214 licenses from %{mysql_vendor} if you do not wish to be bound by the terms of
215 the GPL. See the chapter "Licensing and Support" in the manual for
216 further info.
217
218 The MySQL web site (http://www.mysql.com/) provides the latest news and
219 information about the MySQL software. Also please see the documentation
220 and the manual for more information.
221
222 This package includes the MySQL server binary as well as related utilities
223 to run and administer a MySQL server.
224
225 %package server-debug
226 Summary: The debug version of MySQL server
227 Requires: %{name}-server = %{version}-%{release}
228 %if 0%{?commercial}
229 Obsoletes: mysql-community-server-debug < %{version}-%{release}
230 %if 0%{?cluster}
231 Obsoletes: mysql-commercial-server-debug < %{version}-%{release}
232 Obsoletes: mysql-cluster-community-server-debug < %{version}-%{release}
233 %endif # cluster
234 %else
235 %if 0%{?cluster}
236 Obsoletes: mysql-community-server-debug < %{version}-%{release}
237 %endif # cluster
238 %endif # commercial
239 %description server-debug
240 This packages contains the special debug build of MySQL server.
241
242 %package client
243 Summary: MySQL database client applications and tools
244 Requires: %{name}-client-plugins = %{version}-%{release}
245 %if 0%{?commercial}
246 Obsoletes: mysql-community-client < %{version}-%{release}
247 Requires: mysql-commercial-libs%{?_isa} >= %{min}
248 %else
249 Requires: mysql-community-libs%{?_isa} >= %{min}
250 %endif
251 Obsoletes: mariadb
252 Obsoletes: mariadb-client-utils
253 Obsoletes: community-mysql < %{version}-%{release}
254 Obsoletes: mysql < %{version}-%{release}
255 Provides: mysql = %{version}-%{release}
256 Provides: mysql%{?_isa} = %{version}-%{release}
257
258 %description client
259 This package contains the standard MySQL clients and administration
260 tools.
261
262 %package icu-data-files
263 Summary: MySQL packaging of ICU data files
264
265 %description icu-data-files
266 This package contains ICU data files needer by MySQL regular expressions.
267
268 %package common
269 Summary: MySQL database common files for server and client libs
270 %if 0%{?commercial}
271 Obsoletes: mysql-community-common < %{version}-%{release}
272 %endif
273 Obsoletes: mariadb-config
274 Obsoletes: community-mysql-common < %{version}-%{release}
275 Obsoletes: community-mysql-errmsg < %{version}-%{release}
276 Obsoletes: mysql-errmsg < %{version}-%{release}
277 Obsoletes: mysql-common < %{version}-%{release}
278 Provides: mysql-common = %{version}-%{release}
279 Provides: mysql-common%{?_isa} = %{version}-%{release}
280
281 %description common
282 This packages contains common files needed by MySQL client library and
283 MySQL database server.
284
285 %package test
286 Summary: Test suite for the MySQL database server
287 Requires: gzip
288 Requires: lz4
289 Requires: mecab-ipadic
290 Requires: mecab-ipadic-EUCJP
291 Requires: perl(Carp)
292 Requires: perl(Config)
293 Requires: perl(Cwd)
294 Requires: perl(Data::Dumper)
295 Requires: perl(English)
296 Requires: perl(Errno)
297 Requires: perl(Exporter)
298 Requires: perl(Fcntl)
299 Requires: perl(File::Basename)
300 Requires: perl(File::Copy)
301 Requires: perl(File::Find)
302 Requires: perl(File::Path)
303 Requires: perl(File::Spec)
304 Requires: perl(File::Spec::Functions)
305 Requires: perl(File::Temp)
306 Requires: perl(Getopt::Long)
307 Requires: perl(IO::File)
308 Requires: perl(IO::Handle)
309 Requires: perl(IO::Pipe)
310 Requires: perl(IO::Select)
311 Requires: perl(IO::Socket)
312 Requires: perl(IO::Socket::INET)
313 Requires: perl(JSON)
314 Requires: perl(Memoize)
315 Requires: perl(POSIX)
316 Requires: perl(Sys::Hostname)
317 Requires: perl(Time::HiRes)
318 Requires: perl(Time::localtime)
319 Requires: procps
320 %if 0%{?cluster}
321 Requires: %{name}-data-node%{?_isa} >= %{min}
322 Requires: %{name}-management-server%{?_isa} >= %{min}
323 %endif
324 %if 0%{?commercial}
325 Requires: mysql-commercial-server%{?_isa} >= %{min}
326 Obsoletes: mysql-community-test < %{version}-%{release}
327 %else
328 Requires: mysql-community-server%{?_isa} >= %{min}
329 %endif
330 Obsoletes: mariadb-test
331 Obsoletes: community-mysql-test < %{version}-%{release}
332 Obsoletes: mysql-test < %{version}-%{release}
333 Provides: mysql-test = %{version}-%{release}
334 Provides: mysql-test%{?_isa} = %{version}-%{release}
335
336 %description test
337 This package contains the MySQL regression test suite for MySQL
338 database server.
339
340 %package devel
341 Summary: Development header files and libraries for MySQL database client applications
342 %if 0%{?commercial}
343 Obsoletes: mysql-community-devel < %{version}-%{release}
344 Requires: mysql-commercial-libs%{?_isa} >= %{min}
345 %else
346 Requires: mysql-community-libs%{?_isa} >= %{min}
347 Requires: openssl-devel
348 %endif
349 Obsoletes: mariadb-devel
350 Obsoletes: mariadb-connector-c-devel
351 Obsoletes: mariadb-embedded-devel
352 Obsoletes: community-mysql-devel < %{version}-%{release}
353 Obsoletes: mysql-devel < %{version}-%{release}
354 Provides: mysql-devel = %{version}-%{release}
355 Provides: mysql-devel%{?_isa} = %{version}-%{release}
356
357 %description devel
358 This package contains the development header files and libraries necessary
359 to develop MySQL client applications.
360
361 %package libs
362 Summary: Shared libraries for MySQL database client applications
363 Requires: %{name}-client-plugins = %{version}-%{release}
364 %if 0%{?commercial}
365 Obsoletes: mysql-community-libs < %{version}-%{release}
366 Requires: mysql-commercial-common%{?_isa} >= %{min}
367 %else
368 Requires: mysql-community-common%{?_isa} >= %{min}
369 %endif
370 Obsoletes: mysql-libs < %{version}-%{release}
371 Obsoletes: community-mysql-libs < %{version}-%{release}
372 Provides: community-mysql-libs = %{version}-%{release}
373 Provides: community-mysql-libs%{?_isa} = %{version}-%{release}
374 Provides: mysql-libs = %{version}-%{release}
375 Provides: mysql-libs%{?_isa} = %{version}-%{release}
376
377 %description libs
378 This package contains the shared libraries for MySQL client
379 applications.
380
381 %package client-plugins
382 Summary: Shared plugins for MySQL client applications
383 Group: Applications/Databases
384 Provides: mysql-client-plugins = %{version}-%{release}
385 %if 0%{?commercial}
386 Conflicts: mysql-commercial-server < 8.0.21
387 Conflicts: mysql-commercial-client < 8.0.22
388 Obsoletes: mysql-community-client-plugins < %{version}-%{release}
389 %if 0%{?cluster}
390 Obsoletes: mysql-commercial-client-plugins < %{version}-%{release}
391 %endif
392 %else
393 Conflicts: mysql-community-server < 8.0.21
394 Conflicts: mysql-community-client < 8.0.22
395 %endif
396
397 %description client-plugins
398 This package contains the client-plugins libraries used by MySQL client applications.
399
400 %if 0%{?with_router}
401 %package -n mysql-router-%{product_suffix}
402 Summary: MySQL Router
403 Requires: shadow-utils
404 Provides: mysql-router = %{version}-%{release}
405 Obsoletes: mysql-router < %{version}-%{release}
406 %if 0%{?commercial}
407 Obsoletes: mysql-router-community < %{version}-%{release}
408 %endif
409
410 %description -n mysql-router-%{product_suffix}
411 The MySQL(TM) Router software delivers a fast, multi-threaded way of
412 routing connections from MySQL Clients to MySQL Servers. MySQL is a
413 trademark of Oracle.
414
415 The MySQL software has Dual Licensing, which means you can use the
416 MySQL software free of charge under the GNU General Public License
417 (http://www.gnu.org/licenses/). You can also purchase commercial MySQL
418 licenses from Oracle and/or its affiliates if you do not wish to be
419 bound by the terms of the GPL. See the chapter "Licensing and Support"
420 in the manual for further info.
421
422 The MySQL web site (http://www.mysql.com/) provides the latest news
423 and information about the MySQL software. Also please see the
424 documentation and the manual for more information.
425
426
427 %package -n mysql-router-%{product_suffix}-devel
428 Summary: Development header files and libraries for MySQL Router
429 Provides: mysql-router-devel = %{version}-%{release}
430 Obsoletes: mysql-router-devel < %{version}-%{release}
431 %if 0%{?commercial}
432 Obsoletes: mysql-router-community-devel < %{version}-%{release}
433 Requires: mysql-router-commercial = %{version}-%{release}
434 %else
435 Requires: mysql-router-community = %{version}-%{release}
436 %endif
437 %description -n mysql-router-%{product_suffix}-devel
438 This package contains the development header files and libraries
439 necessary to develop MySQL Router applications.
440 %endif # with_router
441
442 %if 0%{?cluster}
443 %package management-server
444 Summary: MySQL Cluster Management Server Daemon
445 %description management-server
446 This package contains the MySQL Cluster Management Server Daemon,
447 which reads the cluster configuration file and distributes this
448 information to all nodes in the cluster.
449
450 %package data-node
451 Summary: MySQL Cluster Data Node Daemon
452 %description data-node
453 This package contains MySQL Cluster Data Node Daemon, it is the process
454 that is used to handle all the data in tables using the NDB Cluster
455 storage engine. It comes in two variants: ndbd and ndbmtd, the former
456 is single threaded while the latter is multi-threaded.
457
458 %package ndbclient
459 Summary: Shared libraries for MySQL NDB storage engine client applications
460 %description ndbclient
461 This package contains the shared libraries for MySQL MySQL NDB storage
462 engine client applications.
463
464 %package ndbclient-devel
465 Summary: Development files for MySQL NDB storage engine client applications
466 Requires: %{name}-devel%{?_isa} = %{version}-%{release}
467 Requires: %{name}-ndbclient%{?_isa} = %{version}-%{release}
468 %description ndbclient-devel
469 This package contains the development header files and libraries
470 necessary to develop client applications for MySQL NDB storage engine.
471
472 %if 0%{?ndb_nodejs_extras_path:1}
473 %package nodejs
474 Summary: Set of Node.js adapters for MySQL Cluster
475 %description nodejs
476 This package contains MySQL NoSQL Connector for JavaScript, a set of
477 Node.js adapters for MySQL Cluster and MySQL Server, which make it
478 possible to write JavaScript applications for Node.js using MySQL
479 data.
480 %endif
481
482 %package java
483 Summary: MySQL Cluster Connector for Java
484 %description java
485 This package contains MySQL Cluster Connector for Java, which includes
486 ClusterJ.
487
488 ClusterJ is a high level database API that is similar in style and
489 concept to object-relational mapping persistence frameworks such as
490 Hibernate and JPA.
491
492 %endif # cluster
493
494 %prep
495 %setup -q -T -a 0 -a 1 -c -n %{src_dir}
496
497 %build
498 # Fail quickly and obviously if user tries to build as root
499 %if 0%{?runselftest}
500 if [ "x$(id -u)" = "x0" ] ; then
501 echo "The MySQL regression tests may fail if run as root."
502 echo "If you really need to build the RPM as root, use"
503 echo "--define='runselftest 0' to skip the regression tests."
504 exit 1
505 fi
506 %endif
507
508 # Build debug versions of mysqld
509 mkdir debug
510 (
511 cd debug
512 # Attempt to remove any optimisation flags from the debug build
513 optflags=$(echo "%{optflags}" | sed -e 's/-O2 / /' -e 's/-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=[0-9]/ /' -e 's/%{_lto_cflags}/ /')
514 cmake ../%{src_dir} \
515 -DBUILD_CONFIG=mysql_release \
516 -DINSTALL_LAYOUT=RPM \
517 -DCMAKE_BUILD_TYPE=Debug \
518 -DMYSQL_MAINTAINER_MODE=0 \
519 -DTMPDIR=/var/tmp \
520 -DWITH_BOOST=.. \
521 -DWITH_CURL=system \
522 -DWITH_FIDO=system \
523 -DWITH_MECAB=system \
524 -DWITH_ZLIB=system \
525 -DCMAKE_C_FLAGS="$optflags" \
526 -DCMAKE_CXX_FLAGS="$optflags" \
527 -DUSE_LD_LLD=0 \
528 -DWITH_SYSTEMD=1 \
529 -DWITH_MEB=%{with_meb} \
530 -DWITH_ROUTER=%{with_router} \
531 %if 0%{?cluster:1}
532 -DWITH_NDB=1 \
533 %endif
534 %if 0%{?ndb_nodejs_path:1}
535 -DNDB_NODEJS_PATH=%{ndb_nodejs_path} \
536 %endif
537 %if 0%{?ndb_nodejs_extras_path:1}
538 -DNDB_NODEJS_EXTRAS_PATH=%{ndb_nodejs_extras_path} \
539 %endif
540 -DWITH_INNODB_MEMCACHED=1 \
541 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
542 -DMYSQLX_UNIX_ADDR="/run/mysqld/mysqlx.sock" \
543 -DWITH_NUMA=ON \
544 -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
545 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_debug}" \
546 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
547 echo BEGIN_DEBUG_CONFIG ; grep -E '^#define' include/my_config.h ; echo END_DEBUG_CONFIG
548 make %{?_smp_mflags} VERBOSE=1
549 )
550
551 # Build full release
552 mkdir release
553 (
554 cd release
555 cmake ../%{src_dir} \
556 -DBUILD_CONFIG=mysql_release \
557 -DINSTALL_LAYOUT=RPM \
558 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
559 -DTMPDIR=/var/tmp \
560 -DWITH_BOOST=.. \
561 -DWITH_CURL=system \
562 -DWITH_FIDO=system \
563 -DWITH_MECAB=system \
564 -DWITH_ZLIB=system \
565 -DCMAKE_C_FLAGS="%{optflags}" \
566 -DCMAKE_CXX_FLAGS="%{optflags}" \
567 -DUSE_LD_LLD=0 \
568 -DWITH_SYSTEMD=1 \
569 -DWITH_MEB=%{with_meb} \
570 -DWITH_ROUTER=%{with_router} \
571 %if 0%{?cluster:1}
572 -DWITH_NDB=1 \
573 %endif
574 %if 0%{?ndb_nodejs_path:1}
575 -DNDB_NODEJS_PATH=%{ndb_nodejs_path} \
576 %endif
577 %if 0%{?ndb_nodejs_extras_path:1}
578 -DNDB_NODEJS_EXTRAS_PATH=%{ndb_nodejs_extras_path} \
579 %endif
580 -DWITH_INNODB_MEMCACHED=1 \
581 -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
582 -DMYSQLX_UNIX_ADDR="/run/mysqld/mysqlx.sock" \
583 -DWITH_NUMA=ON \
584 -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
585 -DCOMPILATION_COMMENT_SERVER="%{compilation_comment_server_release}" \
586 -DMYSQL_SERVER_SUFFIX="%{?server_suffix}"
587 echo BEGIN_NORMAL_CONFIG ; grep -E '^#define' include/my_config.h ; echo END_NORMAL_CONFIG
588 make %{?_smp_mflags} VERBOSE=1
589 )
590
591 %install
592 MBD=$RPM_BUILD_DIR/%{src_dir}
593
594 # Ensure that needed directories exists
595 install -d -m 0751 %{buildroot}/var/lib/mysql
596 install -d -m 0755 %{buildroot}/run/mysqld
597 install -d -m 0750 %{buildroot}/var/lib/mysql-files
598 install -d -m 0750 %{buildroot}/var/lib/mysql-keyring
599
600 # Router directories
601 %if 0%{?with_router}
602 install -d -m 0755 %{buildroot}/var/log/mysqlrouter
603 install -d -m 0755 %{buildroot}/run/mysqlrouter
604 %endif
605
606 # Install all binaries
607 pushd $MBD/release
608 make DESTDIR=%{buildroot} install
609
610 # Install config and logrotate
611 install -D -m 0644 packaging/rpm-common/mysql.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/mysql
612 install -D -m 0644 packaging/rpm-common/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
613 install -d %{buildroot}%{_sysconfdir}/my.cnf.d
614
615 # Add libdir to linker
616 install -d -m 0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
617 echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
618
619 # Router files
620 %if 0%{?with_router}
621 install -D -p -m 0644 packaging/rpm-common/mysqlrouter.conf %{buildroot}%{_sysconfdir}/mysqlrouter/mysqlrouter.conf
622 %endif
623
624 # Back to top level
625 popd
626
627 # multiarch support
628 echo "%{_bindir}/mysql_config" > devel.list
629 if %multilib_capable ; then
630 mv %{buildroot}%{_bindir}/mysql_config %{buildroot}%{_bindir}/mysql_config-%{__isa_bits}
631 install -p -m 0755 $MBD/release/packaging/rpm-common/mysql_config.sh %{buildroot}%{_bindir}/mysql_config
632 echo "%{_bindir}/mysql_config-%{__isa_bits}" >> devel.list
633 fi
634
635 %check
636 %if 0%{?runselftest} || 0%{?with_unittests}
637 pushd release
638 make test-unit || true
639 %endif
640 %if 0%{?runselftest}
641 export MTR_BUILD_THREAD=auto
642 pushd mysql-test
643 ./mtr \
644 --mem --parallel=auto --force --retry=0 \
645 --mysqld=--binlog-format=row \
646 --suite-timeout=720 --testcase-timeout=30 \
647 --clean-vardir
648 rm -r $(readlink var) var
649 %endif
650
651 %pre server
652 /usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
653 /usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/false \
654 -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
655
656 %post server
657 [ -e /var/log/mysqld.log ] || install -m0640 -omysql -gmysql /dev/null /var/log/mysqld.log >/dev/null 2>&1 || :
658 %systemd_post mysqld.service
659 if [ $1 -eq 1 ]; then
660 /usr/bin/systemctl enable mysqld >/dev/null 2>&1 || :
661 fi
662
663 %preun server
664 %systemd_preun mysqld.service
665
666 %postun server
667 %systemd_postun_with_restart mysqld.service
668
669 %if 0%{?with_router}
670 %pre -n mysql-router-%{product_suffix}
671 /usr/sbin/groupadd -r mysqlrouter >/dev/null 2>&1 || :
672 /usr/sbin/useradd -M -N -g mysqlrouter -r -d /var/lib/mysqlrouter -s /bin/false \
673 -c "MySQL Router" mysqlrouter >/dev/null 2>&1 || :
674
675 %post -n mysql-router-%{product_suffix}
676 %systemd_post mysqlrouter.service
677
678 %preun -n mysql-router-%{product_suffix}
679 %systemd_preun mysqlrouter.service
680
681 %postun -n mysql-router-%{product_suffix}
682 %systemd_postun_with_restart mysqlrouter.service
683 %endif # with_router
684
685 %files server
686 %doc %{?license_files_server}
687 %doc %{src_dir}/Docs/INFO_SRC*
688 %doc release/Docs/INFO_BIN*
689 %attr(644, root, root) %{_mandir}/man1/innochecksum.1*
690 %attr(644, root, root) %{_mandir}/man1/ibd2sdi.1*
691 %attr(644, root, root) %{_mandir}/man1/my_print_defaults.1*
692 %attr(644, root, root) %{_mandir}/man1/myisam_ftdump.1*
693 %attr(644, root, root) %{_mandir}/man1/myisamchk.1*
694 %attr(644, root, root) %{_mandir}/man1/myisamlog.1*
695 %attr(644, root, root) %{_mandir}/man1/myisampack.1*
696 %attr(644, root, root) %{_mandir}/man8/mysqld.8*
697 %attr(644, root, root) %{_mandir}/man1/mysqldumpslow.1*
698 %attr(644, root, root) %{_mandir}/man1/mysql_secure_installation.1*
699 %attr(644, root, root) %{_mandir}/man1/mysql_upgrade.1*
700 %attr(644, root, root) %{_mandir}/man1/mysqlman.1*
701 %attr(644, root, root) %{_mandir}/man1/mysql_tzinfo_to_sql.1*
702 %attr(644, root, root) %{_mandir}/man1/perror.1*
703 %attr(644, root, root) %{_mandir}/man1/mysql_ssl_rsa_setup.1*
704 %attr(644, root, root) %{_mandir}/man1/lz4_decompress.1*
705 %attr(644, root, root) %{_mandir}/man1/zlib_decompress.1*
706
707 %config(noreplace) %{_sysconfdir}/my.cnf
708 %dir %{_sysconfdir}/my.cnf.d
709
710 %attr(755, root, root) %{_bindir}/innochecksum
711 %attr(755, root, root) %{_bindir}/ibd2sdi
712 %attr(755, root, root) %{_bindir}/my_print_defaults
713 %attr(755, root, root) %{_bindir}/myisam_ftdump
714 %attr(755, root, root) %{_bindir}/myisamchk
715 %attr(755, root, root) %{_bindir}/myisamlog
716 %attr(755, root, root) %{_bindir}/myisampack
717 %attr(755, root, root) %{_bindir}/mysql_secure_installation
718 %attr(755, root, root) %{_bindir}/mysql_ssl_rsa_setup
719 %attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql
720 %attr(755, root, root) %{_bindir}/mysql_upgrade
721 %attr(755, root, root) %{_bindir}/mysqldumpslow
722 %attr(755, root, root) %{_bindir}/perror
723 %attr(755, root, root) %{_bindir}/mysqld_pre_systemd
724 %attr(755, root, root) %{_bindir}/lz4_decompress
725 %attr(755, root, root) %{_bindir}/zlib_decompress
726 %attr(755, root, root) %{_sbindir}/mysqld
727
728 %dir %{_libdir}/mysql/private
729 %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf-lite.so.24.4.0
730 %attr(755, root, root) %{_libdir}/mysql/private/libprotobuf.so.24.4.0
731
732 %dir %{_libdir}/mysql/plugin
733 %attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
734 %attr(755, root, root) %{_libdir}/mysql/plugin/auth_socket.so
735 %attr(755, root, root) %{_libdir}/mysql/plugin/group_replication.so
736 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_syseventlog.so
737 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_json.so
738 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_filter_dragnet.so
739 %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlbackup.so
740 %attr(755, root, root) %{_libdir}/mysql/plugin/component_validate_password.so
741 %attr(755, root, root) %{_libdir}/mysql/plugin/component_audit_api_message_emit.so
742 %attr(755, root, root) %{_libdir}/mysql/plugin/component_query_attributes.so
743 %attr(755, root, root) %{_libdir}/mysql/plugin/component_reference_cache.so
744 %attr(755, root, root) %{_libdir}/mysql/plugin/connection_control.so
745 %attr(755, root, root) %{_libdir}/mysql/plugin/ddl_rewriter.so
746 %attr(755, root, root) %{_libdir}/mysql/plugin/ha_example.so
747 %attr(755, root, root) %{_libdir}/mysql/plugin/ha_mock.so
748 %attr(755, root, root) %{_libdir}/mysql/plugin/innodb_engine.so
749 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_file.so
750 %attr(755, root, root) %{_libdir}/mysql/plugin/keyring_udf.so
751 %attr(755, root, root) %{_libdir}/mysql/plugin/libmemcached.so
752 %attr(755, root, root) %{_libdir}/mysql/plugin/locking_service.so
753 %attr(755, root, root) %{_libdir}/mysql/plugin/libpluginmecab.so
754 %attr(755, root, root) %{_libdir}/mysql/plugin/mypluglib.so
755 %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_no_login.so
756 %attr(755, root, root) %{_libdir}/mysql/plugin/mysql_clone.so
757 %attr(755, root, root) %{_libdir}/mysql/plugin/rewrite_example.so
758 %attr(755, root, root) %{_libdir}/mysql/plugin/rewriter.so
759 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_master.so
760 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_slave.so
761 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_source.so
762 %attr(755, root, root) %{_libdir}/mysql/plugin/semisync_replica.so
763 %attr(755, root, root) %{_libdir}/mysql/plugin/validate_password.so
764 %attr(755, root, root) %{_libdir}/mysql/plugin/version_token.so
765 %attr(755, root, root) %{_libdir}/mysql/plugin/component_keyring_file.so
766
767 %attr(644, root, root) %{_datadir}/mysql-*/mysql-log-rotate
768 %attr(644, root, root) %{_datadir}/mysql-*/dictionary.txt
769 %attr(644, root, root) %{_datadir}/mysql-*/innodb_memcached_config.sql
770 %attr(644, root, root) %{_datadir}/mysql-*/install_rewriter.sql
771 %attr(644, root, root) %{_datadir}/mysql-*/uninstall_rewriter.sql
772 %attr(644, root, root) %{_prefix}/lib/tmpfiles.d/mysql.conf
773 %attr(644, root, root) %{_unitdir}/mysqld.service
774 %attr(644, root, root) %{_unitdir}/[email protected]
775 %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
776 %dir %attr(751, mysql, mysql) /var/lib/mysql
777 %dir %attr(755, mysql, mysql) /run/mysqld
778 %dir %attr(750, mysql, mysql) /var/lib/mysql-files
779 %dir %attr(750, mysql, mysql) /var/lib/mysql-keyring
780
781 %files server-debug
782 %doc %{?license_files_server}
783 %attr(755, root, root) %{_sbindir}/mysqld-debug
784 %dir %{_libdir}/mysql/plugin/debug
785 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/adt_null.so
786 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_socket.so
787 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/group_replication.so
788 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_syseventlog.so
789 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_json.so
790 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_filter_dragnet.so
791 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlbackup.so
792 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_validate_password.so
793 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_audit_api_message_emit.so
794 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_query_attributes.so
795 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_reference_cache.so
796 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/connection_control.so
797 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ddl_rewriter.so
798 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_example.so
799 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/ha_mock.so
800 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_file.so
801 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/keyring_udf.so
802 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/innodb_engine.so
803 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libmemcached.so
804 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/locking_service.so
805 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libpluginmecab.so
806 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mypluglib.so
807 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_clone.so
808 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/mysql_no_login.so
809 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewrite_example.so
810 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/rewriter.so
811 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_master.so
812 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_slave.so
813 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_source.so
814 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/semisync_replica.so
815 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/validate_password.so
816 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/version_token.so
817 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_keyring_file.so
818
819 %files common
820 %doc %{?license_files_server}
821 %{_datadir}/mysql-*/charsets/
822 %{_datadir}/mysql-*/messages_to_error_log.txt
823 %{_datadir}/mysql-*/messages_to_clients.txt
824 %{_datadir}/mysql-*/bulgarian/
825 %{_datadir}/mysql-*/czech/
826 %{_datadir}/mysql-*/danish/
827 %{_datadir}/mysql-*/dutch/
828 %{_datadir}/mysql-*/english/
829 %{_datadir}/mysql-*/estonian/
830 %{_datadir}/mysql-*/french/
831 %{_datadir}/mysql-*/german/
832 %{_datadir}/mysql-*/greek/
833 %{_datadir}/mysql-*/hungarian/
834 %{_datadir}/mysql-*/italian/
835 %{_datadir}/mysql-*/japanese/
836 %{_datadir}/mysql-*/korean/
837 %{_datadir}/mysql-*/norwegian-ny/
838 %{_datadir}/mysql-*/norwegian/
839 %{_datadir}/mysql-*/polish/
840 %{_datadir}/mysql-*/portuguese/
841 %{_datadir}/mysql-*/romanian/
842 %{_datadir}/mysql-*/russian/
843 %{_datadir}/mysql-*/serbian/
844 %{_datadir}/mysql-*/slovak/
845 %{_datadir}/mysql-*/spanish/
846 %{_datadir}/mysql-*/swedish/
847 %{_datadir}/mysql-*/ukrainian/
848
849 %files icu-data-files
850 %defattr(-, root, root, -)
851 %doc %{?license_files_server}
852 %dir %attr(755, root, root) %{_libdir}/mysql/private/icudt77l
853 %{_libdir}/mysql/private/icudt77l/cnvalias.icu
854 %{_libdir}/mysql/private/icudt77l/uemoji.icu
855 %{_libdir}/mysql/private/icudt77l/ulayout.icu
856 %{_libdir}/mysql/private/icudt77l/unames.icu
857 %{_libdir}/mysql/private/icudt77l/brkitr
858
859 %files client
860 %doc %{?license_files_server}
861 %attr(755, root, root) %{_bindir}/mysql
862 %attr(755, root, root) %{_bindir}/mysqladmin
863 %attr(755, root, root) %{_bindir}/mysqlbinlog
864 %attr(755, root, root) %{_bindir}/mysqlcheck
865 %attr(755, root, root) %{_bindir}/mysqldump
866 %attr(755, root, root) %{_bindir}/mysqlimport
867 %attr(755, root, root) %{_bindir}/mysqlpump
868 %attr(755, root, root) %{_bindir}/mysqlshow
869 %attr(755, root, root) %{_bindir}/mysqlslap
870 %attr(755, root, root) %{_bindir}/mysql_config_editor
871 %attr(755, root, root) %{_bindir}/mysql_migrate_keyring
872
873 %attr(644, root, root) %{_mandir}/man1/mysql.1*
874 %attr(644, root, root) %{_mandir}/man1/mysqladmin.1*
875 %attr(644, root, root) %{_mandir}/man1/mysqlbinlog.1*
876 %attr(644, root, root) %{_mandir}/man1/mysqlcheck.1*
877 %attr(644, root, root) %{_mandir}/man1/mysqldump.1*
878 %attr(644, root, root) %{_mandir}/man1/mysqlpump.1*
879 %attr(644, root, root) %{_mandir}/man1/mysqlimport.1*
880 %attr(644, root, root) %{_mandir}/man1/mysqlshow.1*
881 %attr(644, root, root) %{_mandir}/man1/mysqlslap.1*
882 %attr(644, root, root) %{_mandir}/man1/mysql_config_editor.1*
883
884 %if 0%{?cluster}
885 %attr(755, root, root) %{_bindir}/ndb_blob_tool
886 %attr(755, root, root) %{_bindir}/ndb_config
887 %attr(755, root, root) %{_bindir}/ndb_delete_all
888 %attr(755, root, root) %{_bindir}/ndb_desc
889 %attr(755, root, root) %{_bindir}/ndb_drop_index
890 %attr(755, root, root) %{_bindir}/ndb_drop_table
891 %attr(755, root, root) %{_bindir}/ndb_error_reporter
892 %attr(755, root, root) %{_bindir}/ndb_index_stat
893 %attr(755, root, root) %{_bindir}/ndb_import
894 %attr(755, root, root) %{_bindir}/ndb_mgm
895 %attr(755, root, root) %{_bindir}/ndb_move_data
896 %attr(755, root, root) %{_bindir}/ndb_perror
897 %attr(755, root, root) %{_bindir}/ndb_print_backup_file
898 %attr(755, root, root) %{_bindir}/ndb_print_file
899 %attr(755, root, root) %{_bindir}/ndb_print_frag_file
900 %attr(755, root, root) %{_bindir}/ndb_print_schema_file
901 %attr(755, root, root) %{_bindir}/ndb_print_sys_file
902 %attr(755, root, root) %{_bindir}/ndb_redo_log_reader
903 %attr(755, root, root) %{_bindir}/ndb_restore
904 %attr(755, root, root) %{_bindir}/ndb_secretsfile_reader
905 %attr(755, root, root) %{_bindir}/ndb_select_all
906 %attr(755, root, root) %{_bindir}/ndb_select_count
907 %attr(755, root, root) %{_bindir}/ndb_show_tables
908 %attr(755, root, root) %{_bindir}/ndb_size.pl
909 %attr(755, root, root) %{_bindir}/ndb_top
910 %attr(755, root, root) %{_bindir}/ndb_waiter
911 %attr(755, root, root) %{_bindir}/ndbinfo_select_all
912 %attr(755, root, root) %{_bindir}/ndbxfrm
913
914 %attr(644, root, root) %{_mandir}/man1/ndb_blob_tool.1*
915 %attr(644, root, root) %{_mandir}/man1/ndb_config.1*
916 %attr(644, root, root) %{_mandir}/man1/ndb_cpcd.1*
917 %attr(644, root, root) %{_mandir}/man1/ndb_delete_all.1*
918 %attr(644, root, root) %{_mandir}/man1/ndb_desc.1*
919 %attr(644, root, root) %{_mandir}/man1/ndb_drop_index.1*
920 %attr(644, root, root) %{_mandir}/man1/ndb_drop_table.1*
921 %attr(644, root, root) %{_mandir}/man1/ndb_error_reporter.1*
922 %attr(644, root, root) %{_mandir}/man1/ndb_import.1*
923 %attr(644, root, root) %{_mandir}/man1/ndb_index_stat.1*
924 %attr(644, root, root) %{_mandir}/man1/ndb_mgm.1*
925 %attr(644, root, root) %{_mandir}/man1/ndb_move_data.1*
926 %attr(644, root, root) %{_mandir}/man1/ndb_perror.1*
927 %attr(644, root, root) %{_mandir}/man1/ndb_print_backup_file.1*
928 %attr(644, root, root) %{_mandir}/man1/ndb_print_file.1*
929 %attr(644, root, root) %{_mandir}/man1/ndb_print_frag_file.1*
930 %attr(644, root, root) %{_mandir}/man1/ndb_print_schema_file.1*
931 %attr(644, root, root) %{_mandir}/man1/ndb_print_sys_file.1*
932 %attr(644, root, root) %{_mandir}/man1/ndb_redo_log_reader.1*
933 %attr(644, root, root) %{_mandir}/man1/ndb_restore.1*
934 %attr(644, root, root) %{_mandir}/man1/ndb_secretsfile_reader.1*
935 %attr(644, root, root) %{_mandir}/man1/ndb_select_all.1*
936 %attr(644, root, root) %{_mandir}/man1/ndb_select_count.1*
937 %attr(644, root, root) %{_mandir}/man1/ndb_show_tables.1*
938 %attr(644, root, root) %{_mandir}/man1/ndb_size.pl.1*
939 %attr(644, root, root) %{_mandir}/man1/ndb_top.1*
940 %attr(644, root, root) %{_mandir}/man1/ndb_waiter.1*
941 %attr(644, root, root) %{_mandir}/man1/ndbinfo_select_all.1*
942 %attr(644, root, root) %{_mandir}/man1/ndbxfrm.1*
943 %endif #cluster
944
945 %files -f devel.list devel
946 %doc %{?license_files_server}
947 %attr(644, root, root) %{_mandir}/man1/mysql_config.1*
948 %{_includedir}/mysql
949 %if 0%{?cluster}
950 %exclude %{_includedir}/mysql/storage
951 %endif #cluster
952 %{_datadir}/aclocal/mysql.m4
953 %{_libdir}/mysql/libmysqlclient.a
954 %{_libdir}/mysql/libmysqlservices.a
955 %{_libdir}/mysql/libmysqlclient.so
956 %{_libdir}/pkgconfig/mysqlclient.pc
957
958 %files libs
959 %doc %{?license_files_server}
960 %dir %attr(755, root, root) %{_libdir}/mysql
961 %attr(644, root, root) %{_sysconfdir}/ld.so.conf.d/mysql-%{_arch}.conf
962 %{_libdir}/mysql/libmysqlclient.so.21*
963
964 %files client-plugins
965 %defattr(-, root, root, -)
966 %doc %{?license_files_server}
967 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_ldap_sasl_client.so
968 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_fido_client.so
969 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_kerberos_client.so
970 %attr(755, root, root) %{_libdir}/mysql/plugin/authentication_oci_client.so
971
972 %files test
973 %doc %{?license_files_server}
974 %attr(-, root, root) %{_datadir}/mysql-test
975 %attr(755, root, root) %{_bindir}/comp_err
976 %attr(755, root, root) %{_bindir}/mysql_client_test
977 %attr(755, root, root) %{_bindir}/mysqld_safe
978 %attr(755, root, root) %{_bindir}/mysqltest
979 %attr(755, root, root) %{_bindir}/mysqltest_safe_process
980 %attr(755, root, root) %{_bindir}/mysqlxtest
981 %attr(755, root, root) %{_bindir}/mysql_keyring_encryption_test
982 %attr(644, root, root) %{_mandir}/man1/comp_err.1*
983
984 %attr(755, root, root) %{_libdir}/mysql/plugin/auth.so
985 %attr(755, root, root) %{_libdir}/mysql/plugin/auth_test_plugin.so
986 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component1.so
987 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component2.so
988 %attr(755, root, root) %{_libdir}/mysql/plugin/component_example_component3.so
989 %attr(755, root, root) %{_libdir}/mysql/plugin/component_log_sink_test.so
990 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_backup_lock_service.so
991 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_charset.so
992 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service_long.so
993 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_string_service.so
994 %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example.so
995 %attr(755, root, root) %{_libdir}/mysql/plugin/component_pfs_example_component_population.so
996 %attr(755, root, root) %{_libdir}/mysql/plugin/pfs_example_plugin_employee.so
997 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_notification.so
998 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_pfs_resource_group.so
999 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_registration.so
1000 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_host_application_signal.so
1001 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_current_thread_reader.so
1002 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_runtime_error.so
1003 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_system_variable_set.so
1004 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_table_access.so
1005 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_component_deinit.so
1006 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_command_services.so
1007 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_command_services.so
1008 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_3_func.so
1009 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_avg_func.so
1010 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_func.so
1011 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_int_same_func.so
1012 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_only_3_func.so
1013 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_reg_real_func.so
1014 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_3_func.so
1015 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_int_func.so
1016 %attr(755, root, root) %{_libdir}/mysql/plugin/component_udf_unreg_real_func.so
1017 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_int.so
1018 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service.so
1019 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_same.so
1020 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sys_var_service_str.so
1021 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service.so
1022 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_int.so
1023 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_reg_only.so
1024 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_str.so
1025 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_service_unreg_only.so
1026 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_system_variable_source.so
1027 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_audit_api_message.so
1028 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_udf_services.so
1029 %attr(755, root, root) %{_libdir}/mysql/plugin/conflicting_variables.so
1030 %attr(644, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
1031 %attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so
1032 %attr(755, root, root) %{_libdir}/mysql/plugin/replication_observers_example_plugin.so
1033 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_framework.so
1034 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services.so
1035 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_services_threaded.so
1036 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_detach.so
1037 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_attach.so
1038 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_in_thd.so
1039 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_session_info.so
1040 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_2_sessions.so
1041 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_all_col_types.so
1042 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_cmds_1.so
1043 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_commit.so
1044 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_complex.so
1045 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_errors.so
1046 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_lock.so
1047 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_processlist.so
1048 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_replication.so
1049 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_shutdown.so
1050 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sleep_is_connected.so
1051 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stmt.so
1052 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_sqlmode.so
1053 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_stored_procedures_functions.so
1054 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_views_triggers.so
1055 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_sql_reset_connection.so
1056 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_deinit.so
1057 %attr(755, root, root) %{_libdir}/mysql/plugin/libtest_x_sessions_init.so
1058 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_client.so
1059 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_interface.so
1060 %attr(755, root, root) %{_libdir}/mysql/plugin/qa_auth_server.so
1061 %attr(755, root, root) %{_libdir}/mysql/plugin/test_security_context.so
1062 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_plugin_registry.so
1063 %attr(755, root, root) %{_libdir}/mysql/plugin/test_services_host_application_signal.so
1064 %attr(755, root, root) %{_libdir}/mysql/plugin/test_udf_services.so
1065 %attr(755, root, root) %{_libdir}/mysql/plugin/udf_example.so
1066 %attr(755, root, root) %{_libdir}/mysql/plugin/component_mysqlx_global_reset.so
1067 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_sensitive_system_variables.so
1068 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_status_var_reader.so
1069 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_server_telemetry_traces.so
1070 %attr(755, root, root) %{_libdir}/mysql/plugin/component_test_mysql_thd_store_service.so
1071 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth.so
1072 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/auth_test_plugin.so
1073 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_ldap_sasl_client.so
1074 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_fido_client.so
1075 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_kerberos_client.so
1076 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/authentication_oci_client.so
1077 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component1.so
1078 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component2.so
1079 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_example_component3.so
1080 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_log_sink_test.so
1081 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_backup_lock_service.so
1082 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_charset.so
1083 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service_long.so
1084 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_string_service.so
1085 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example.so
1086 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_pfs_example_component_population.so
1087 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/pfs_example_plugin_employee.so
1088 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_notification.so
1089 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_pfs_resource_group.so
1090 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_registration.so
1091 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_host_application_signal.so
1092 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_current_thread_reader.so
1093 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_runtime_error.so
1094 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_system_variable_set.so
1095 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_table_access.so
1096 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_component_deinit.so
1097 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_command_services.so
1098 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_command_services.so
1099 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_3_func.so
1100 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_avg_func.so
1101 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_func.so
1102 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_int_same_func.so
1103 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_only_3_func.so
1104 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_reg_real_func.so
1105 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_3_func.so
1106 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_int_func.so
1107 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_udf_unreg_real_func.so
1108 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_int.so
1109 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service.so
1110 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_same.so
1111 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sys_var_service_str.so
1112 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service.so
1113 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_int.so
1114 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_reg_only.so
1115 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_str.so
1116 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_service_unreg_only.so
1117 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_system_variable_source.so
1118 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_audit_api_message.so
1119 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_udf_services.so
1120 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/conflicting_variables.so
1121 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libdaemon_example.so
1122 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_udf_services.so
1123 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/udf_example.so
1124 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/replication_observers_example_plugin.so
1125 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_framework.so
1126 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services.so
1127 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_services_threaded.so
1128 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_detach.so
1129 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_attach.so
1130 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_in_thd.so
1131 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_session_info.so
1132 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_2_sessions.so
1133 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_all_col_types.so
1134 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_cmds_1.so
1135 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_commit.so
1136 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_complex.so
1137 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_errors.so
1138 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_lock.so
1139 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_processlist.so
1140 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_replication.so
1141 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_shutdown.so
1142 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sleep_is_connected.so
1143 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stmt.so
1144 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_sqlmode.so
1145 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_stored_procedures_functions.so
1146 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_views_triggers.so
1147 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_sql_reset_connection.so
1148 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_deinit.so
1149 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/libtest_x_sessions_init.so
1150 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_client.so
1151 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_interface.so
1152 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/qa_auth_server.so
1153 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_security_context.so
1154 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_plugin_registry.so
1155 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/test_services_host_application_signal.so
1156 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_mysqlx_global_reset.so
1157 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_sensitive_system_variables.so
1158 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_status_var_reader.so
1159 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_server_telemetry_traces.so
1160 %attr(755, root, root) %{_libdir}/mysql/plugin/debug/component_test_mysql_thd_store_service.so
1161
1162 %if 0%{?cluster}
1163 %files management-server
1164 %doc %{?license_files_server}
1165 %attr(755, root, root) %{_sbindir}/ndb_mgmd
1166 %attr(644, root, root) %{_mandir}/man8/ndb_mgmd.8*
1167
1168 %files data-node
1169 %doc %{?license_files_server}
1170 %attr(755, root, root) %{_sbindir}/ndbd
1171 %attr(755, root, root) %{_sbindir}/ndbmtd
1172 %attr(644, root, root) %{_mandir}/man8/ndbd.8*
1173 %attr(644, root, root) %{_mandir}/man8/ndbmtd.8*
1174
1175 %files ndbclient
1176 %defattr(-, root, root, -)
1177 %doc %{?license_files_server}
1178 %attr(755, root, root) %{_libdir}/mysql/libndbclient.so.6.1.0
1179
1180 %files ndbclient-devel
1181 %doc %{?license_files_server}
1182 %attr(644, root, root) %{_libdir}/mysql/libndbclient_static.a
1183 %{_libdir}/mysql/libndbclient.so
1184 %{_includedir}/mysql/storage
1185
1186 %if 0%{?ndb_nodejs_extras_path:1}
1187 %files nodejs
1188 %defattr(-, root, root, -)
1189 %doc %{?license_files_server}
1190 %{_datadir}/mysql-*/nodejs/
1191 %endif
1192
1193 %files java
1194 %doc %{?license_files_server}
1195 %{_datadir}/mysql-*/java/
1196 %endif # cluster
1197
1198 %if 0%{?with_router}
1199 %files -n mysql-router-%{product_suffix}
1200 %doc %{src_dir}/router/README.router %{src_dir}/router/LICENSE.router
1201 %doc %{src_dir}/Docs/INFO_SRC*
1202 %doc release/Docs/INFO_BIN*
1203 %dir %{_sysconfdir}/mysqlrouter
1204 %config(noreplace) %{_sysconfdir}/mysqlrouter/mysqlrouter.conf
1205 %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysqlrouter
1206 %{_bindir}/mysqlrouter
1207 %{_bindir}/mysqlrouter_keyring
1208 %{_bindir}/mysqlrouter_passwd
1209 %{_bindir}/mysqlrouter_plugin_info
1210 %attr(644, root, root) %{_mandir}/man1/mysqlrouter.1*
1211 %attr(644, root, root) %{_mandir}/man1/mysqlrouter_passwd.1*
1212 %attr(644, root, root) %{_mandir}/man1/mysqlrouter_plugin_info.1*
1213 %{_unitdir}/mysqlrouter.service
1214 %{_tmpfilesdir}/mysqlrouter.conf
1215 %{_libdir}/mysqlrouter/private/libmysqlharness.so.*
1216 %{_libdir}/mysqlrouter/private/libmysqlharness_stdx.so.*
1217 %{_libdir}/mysqlrouter/private/libmysqlharness_tls.so.*
1218 %{_libdir}/mysqlrouter/private/libmysqlrouter.so.*
1219 %{_libdir}/mysqlrouter/private/libmysqlrouter_connection_pool.so.*
1220 %{_libdir}/mysqlrouter/private/libmysqlrouter_destination_status.so.*
1221 %{_libdir}/mysqlrouter/private/libmysqlrouter_http.so.*
1222 %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_backend.so.*
1223 %{_libdir}/mysqlrouter/private/libmysqlrouter_http_auth_realm.so.*
1224 %{_libdir}/mysqlrouter/private/libmysqlrouter_io_component.so.*
1225 %{_libdir}/mysqlrouter/private/libmysqlrouter_metadata_cache.so.*
1226 %{_libdir}/mysqlrouter/private/libmysqlrouter_mysqlxmessages.so.*
1227 %{_libdir}/mysqlrouter/private/libmysqlrouter_routing.so.*
1228 %{_libdir}/mysqlrouter/private/libprotobuf-lite.so.24.4.0
1229 %dir %{_libdir}/mysqlrouter
1230 %dir %{_libdir}/mysqlrouter/private
1231 %{_libdir}/mysqlrouter/*.so
1232 %dir %attr(755, mysqlrouter, mysqlrouter) /var/log/mysqlrouter
1233 %dir %attr(755, mysqlrouter, mysqlrouter) /run/mysqlrouter
1234 %endif # with_router
1235
1236 %changelog
1237 * Thu Oct 13 2022 Miroslav Rajcic <[email protected]> - 8.0.33-1
1238 - Added component_test_server_telemetry_traces, component_test_mysql_thd_store_service test components
1239
1240 * Mon Jun 20 2022 Murthy Sidagam <[email protected]> - 8.0.31-1
1241 - Added component_test_mysql_command_services.so test component
1242 - Added test_services_command_services.so test plugin
1243
1244 * Mon Jan 03 2022 Harin Vadodaria <[email protected]> - 8.0.29-1
1245 - Added component_test_sensitive_system_variables
1246
1247 * Tue Aug 31 2021 Harin Vadodaria <[email protected]> - 8.0.27-1
1248 - Added authentication_oci_client
1249
1250 * Mon Sep 21 2020 Murthy Sidagam <[email protected]> - 8.0.23-1
1251 - Added component_reference_cache.so component
1252
1253 * Wed Sep 09 2020 Joro Kodinov <[email protected]> - 8.0.23-1
1254 - Add a new component_query_attributes
1255
1256 * Sun Jul 12 2020 Sreedhar S <[email protected]> - 8.0.22-1
1257 - Add a new subpackage client-plugins
1258 - Added component_keyring_file component
1259 - Added mysql_migrate_keyring
1260
1261 * Mon May 11 2020 Murthy Sidagam <[email protected]> - 8.0.21-1
1262 - Added component_test_component_deinit.so test component
1263
1264 * Wed Aug 14 2019 Rahul Sisondia <[email protected]> - 8.0.19-1
1265 - Added component_test_udf_services test component
1266 - Added back support for cluster
1267
1268 * Wed Jun 26 2019 Maheedhar PV <[email protected]> - 8.0.18-1
1269 - Add component_mysqlbackup component
1270
1271 * Mon May 13 2019 Bjorn Munch <[email protected]> - 8.0.17-1
1272 - Add router man pages
1273
1274 * Mon Feb 18 2019 Bjorn Munch <[email protected]> - 8.0.16-1
1275 - Add back support for alternative with_ssl
1276
1277 * Fri Dec 14 2018 Murthy Sidagam <[email protected]> - 8.0.15-1
1278 - Added component_test_mysql_runtime_error.so test component
1279
1280 * Wed Nov 21 2018 Erlend Dahl <[email protected]> - 8.0.14-1
1281 - Add specific compilation comment for the server
1282 - Remove resolveip
1283 - Remove resolve_stack_dump
1284
1285 * Mon Aug 20 2018 Georgi Kodinov <[email protected]> - 8.0.13-1
1286 - Added test_services_host_application_signal test plugin
1287 - Added component_test_host_application_signal.so test component
1288 - Add Router
1289
1290 * Mon Mar 12 2018 Erlend Dahl <[email protected]> - 8.0.12-1
1291 - Removed milestone marker
1292 - Move mysqlx to default plugin
1293 - Add component_mysqlx_global_reset.so
1294 - Change the global milestone to 'dmr'
1295 - Add component_validate_password component
1296 - Include udf_example.so in test package
1297 - Remove obsoleted mysqltest man pages
1298 - Do not pass SSL option to 5.6 compat build, just use bundled
1299 - Add License Book, remove COPYING
1300 - No longer need to remove obsoleted mysqltest man pages
1301 - Add perl modules for test subpackage
1302 - Add router as subpackage
1303
1304 * Fri Jul 28 2017 Horst Hunger <[email protected]> - 8.0.3-0.1
1305 - Add component_test_status_var_service plugin
1306
1307 * Thu May 11 2017 Horst Hunger <[email protected]> - 8.0.2-0.1
1308 - Add UDF components
1309 - Add component_test_sys_var_service plugins
1310
1311 * Tue Sep 13 2016 Balasubramanian Kandasamy <[email protected]> - 8.0.1-0.1
1312 - Add test_services_plugin_registry.so plugin
1313 - Add connection_control.so to server subpackage
1314
1315 * Tue Jul 05 2016 Erlend Dahl <[email protected]> - 8.0.0-0.1
1316 - Change the version number to 8.0.0
1317 - Add manual page for ibd2sdi utility
1318 - Remove mysql_config from client subpackage
1319
1320 * Fri Jun 03 2016 Balasubramanian Kandasamy <[email protected]> - 5.8.0-0.1
1321 - Updated compatver to 5.6.31
1322 - Add example component to test package
1323 - Add test_udf_services.so plugin
1324 - Add keyring_udf.so plugin to server subpackage
1325 - Purge man page for mysql_install_db in preparation for its removal
1326 - Include mysql-keyring directory
1327 - Provide keyring_file.so plugin
1328
1329 * Tue Nov 24 2015 Bjorn Munch <[email protected]> - 5.7.10-1
1330 - Included man pages for lz4_decompress and zlib_decompress
1331
1332 * Thu Nov 12 2015 Bjorn Munch <[email protected]> - 5.7.10-1
1333 - Added lines to remove man pages we are not ready to include yet
1334
1335 * Mon Oct 19 2015 Bharathy Satish <[email protected]> - 5.7.10-1
1336 - Added new decompression utilities lz4_decompress and zlib_decompress binaries to
1337 client subpackage.
1338
1339 * Mon Oct 5 2015 Tor Didriksen <[email protected]>
1340 - Added mysqlx.so
1341
1342 * Sun Aug 2 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.9-1
1343 - Updated for 5.7.9
1344 - Added libtest_* plugins to test subpackage
1345 - Add mysqlpump man page
1346
1347 * Mon Jul 06 2015 Murthy Narkedimilli <[email protected]> - 5.7.8-0.2.rc
1348 - Bumped the versions of libmysqlclient.so and libmysqld.so from 20 -> 21.
1349
1350 * Thu Jun 25 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.8-0.2.rc
1351 - Add support for pkg-config
1352
1353 * Wed May 20 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.8-0.2.rc
1354 - Added libtest_framework.so, libtest_services.so, libtest_services_threaded.so plugins
1355 - Build and ship mecab plugin
1356
1357 * Tue Feb 3 2015 Balasubramanian Kandasamy <[email protected]> - 5.7.6-0.2.m16
1358 - Include boost sources
1359 - Add license info in each subpackage
1360 - Remove systemd conditional
1361 - Add support for Fedora 21
1362 - Various clean up
1363 - Soname bump, more compat packages
1364 - Updated default shell for mysql user
1365 - Added mysql_ssl_rsa_setup
1366 - Include mysql-files directory
1367 - Use native systemd support
1368
1369 * Thu Sep 18 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.6-0.2.m16
1370 - Provide replication_observers_example_plugin.so plugin
1371
1372 * Tue Sep 2 2014 Bjorn Munch <[email protected]> - 5.7.6-0.1.m16
1373 - Updated for 5.7.6
1374
1375 * Fri Aug 08 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.3.m15
1376 - Provide mysql_no_login.so plugin
1377
1378 * Wed Aug 06 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.2.m15
1379 - Provide mysql-compat-server dependencies
1380
1381 * Wed Jun 25 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.5-0.1.m15
1382 - Add bench package
1383
1384 * Thu Mar 06 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.2.m14
1385 - Add ha_example.so plugin which is now included
1386
1387 * Fri Feb 07 2014 Balasubramanian Kandasamy <[email protected]> - 5.7.4-0.1.m14
1388 - 5.7.4
1389 - Enable shared libmysqld by cmake option
1390 - Move mysqltest and test plugins to test subpackage
1391
1392 * Fri Oct 25 2013 Balasubramanian Kandasamy <[email protected]> - 5.7.3-0.1.m13
1393 - Initial 5.7 port
1394
1395 * Fri Oct 25 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.15-1
1396 - Updated to 5.6.15
1397
1398 * Wed Oct 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-3
1399 - Improved handling of plugin directory
1400
1401 * Fri Sep 27 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-2
1402 - Refresh mysql-install patch and service renaming
1403
1404 * Mon Sep 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.14-1
1405 - Updated to 5.6.14
1406
1407 * Tue Aug 27 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-4
1408 - Enhanced perl filtering
1409 - Added openssl-devel to buildreq
1410
1411 * Wed Aug 21 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-3
1412 - Updated libmysqld.so to 18.1.0
1413 - Removed mysql_embedded binary to resolve multilib conflict issue
1414
1415 * Fri Aug 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-2
1416 - Fixed Provides and Obsoletes issues in server, test packages
1417
1418 * Wed Aug 14 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.13-1
1419 - Updated to 5.6.13
1420 - Added embedded and embedded-devel sub package
1421
1422 * Mon Aug 5 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-6
1423 - Added libmysqld.so to embedded package
1424
1425 * Mon Jul 29 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-5
1426 - Updated test package dependency from client to server
1427
1428 * Tue Jul 16 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-4
1429 - Enabled libmemcached plugins
1430
1431 * Wed Jun 26 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-3
1432 - Move libs to mysql/
1433 - Basic multi arch support
1434 - Fix changelog dates
1435
1436 * Thu Jun 20 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-2
1437 - Major cleanup
1438
1439 * Tue Jun 04 2013 Balasubramanian Kandasamy <[email protected]> - 5.6.12-1
1440 - Updated to 5.6.12
1441
1442 * Mon Nov 05 2012 Joerg Bruehe <[email protected]>
1443
1444 - Allow to override the default to use the bundled yaSSL by an option like
1445 --define="with_ssl /path/to/ssl"
1446
1447 * Wed Oct 10 2012 Bjorn Munch <[email protected]>
1448
1449 - Replace old my-*.cnf config file examples with template my-default.cnf
1450
1451 * Fri Oct 05 2012 Joerg Bruehe <[email protected]>
1452
1453 - Let the installation use the new option "--random-passwords" of "mysql_install_db".
1454 (Bug# 12794345 Ensure root password)
1455 - Fix an inconsistency: "new install" vs "upgrade" are told from the (non)existence
1456 of "$mysql_datadir/mysql" (holding table "mysql.user" and other system stuff).
1457
1458 * Tue Jul 24 2012 Joerg Bruehe <[email protected]>
1459
1460 - Add a macro "runselftest":
1461 if set to 1 (default), the test suite will be run during the RPM build;
1462 this can be oveeridden via the command line by adding
1463 --define "runselftest 0"
1464 Failures of the test suite will NOT make the RPM build fail!
1465
1466 * Mon Jul 16 2012 Joerg Bruehe <[email protected]>
1467
1468 - Add the man page for the "mysql_config_editor".
1469
1470 * Mon Jun 11 2012 Joerg Bruehe <[email protected]>
1471
1472 - Make sure newly added "SPECIFIC-ULN/" directory does not disturb packaging.
1473
1474 * Wed Feb 29 2012 Brajmohan Saxena <[email protected]>
1475
1476 - Removal all traces of the readline library from mysql (BUG 13738013)
1477
1478 * Wed Sep 28 2011 Joerg Bruehe <[email protected]>
1479
1480 - Fix duplicate mentioning of "mysql_plugin" and its manual page,
1481 it is better to keep alphabetic order in the files list (merging!).
1482
1483 * Wed Sep 14 2011 Joerg Bruehe <[email protected]>
1484
1485 - Let the RPM capabilities ("obsoletes" etc) ensure that an upgrade may replace
1486 the RPMs of any configuration (of the current or the preceding release series)
1487 by the new ones. This is done by not using the implicitly generated capabilities
1488 (which include the configuration name) and relying on more generic ones which
1489 just list the function ("server", "client", ...).
1490 The implicit generation cannot be prevented, so all these capabilities must be
1491 explicitly listed in "Obsoletes:"
1492
1493 * Tue Sep 13 2011 Jonathan Perkin <[email protected]>
1494
1495 - Add support for Oracle Linux 6 and Red Hat Enterprise Linux 6. Due to
1496 changes in RPM behaviour ($RPM_BUILD_ROOT is removed prior to install)
1497 this necessitated a move of the libmygcc.a installation to the install
1498 phase, which is probably where it belonged in the first place.
1499
1500 * Tue Sep 13 2011 Joerg Bruehe <[email protected]>
1501
1502 - "make_win_bin_dist" and its manual are dropped, cmake does it different.
1503
1504 * Thu Sep 08 2011 Daniel Fischer <[email protected]>
1505
1506 - Add mysql_plugin man page.
1507
1508 * Tue Aug 30 2011 Tor Didriksen <[email protected]>
1509
1510 - Set CXX=g++ by default to add a dependency on libgcc/libstdc++.
1511 Also, remove the use of the -fno-exceptions and -fno-rtti flags.
1512 TODO: update distro_buildreq/distro_requires
1513
1514 * Tue Aug 30 2011 Joerg Bruehe <[email protected]>
1515
1516 - Add the manual page for "mysql_plugin" to the server package.
1517
1518 * Fri Aug 19 2011 Joerg Bruehe <[email protected]>
1519
1520 - Null-upmerge the fix of bug#37165: This spec file is not affected.
1521 - Replace "/var/lib/mysql" by the spec file variable "%%{mysqldatadir}".
1522
1523 * Fri Aug 12 2011 Daniel Fischer <[email protected]>
1524
1525 - Source plugin library files list from cmake-generated file.
1526
1527 * Mon Jul 25 2011 Chuck Bell <[email protected]>
1528
1529 - Added the mysql_plugin client - enables or disables plugins.
1530
1531 * Thu Jul 21 2011 Sunanda Menon <[email protected]>
1532
1533 - Fix bug#12561297: Added the MySQL embedded binary
1534
1535 * Thu Jul 07 2011 Joerg Bruehe <[email protected]>
1536
1537 - Fix bug#45415: "rpm upgrade recreates test database"
1538 Let the creation of the "test" database happen only during a new installation,
1539 not in an RPM upgrade.
1540 This affects both the "mkdir" and the call of "mysql_install_db".
1541
1542 * Wed Feb 09 2011 Joerg Bruehe <[email protected]>
1543
1544 - Fix bug#56581: If an installation deviates from the default file locations
1545 ("datadir" and "pid-file"), the mechanism to detect a running server (on upgrade)
1546 should still work, and use these locations.
1547 The problem was that the fix for bug#27072 did not check for local settings.
1548
1549 * Mon Jan 31 2011 Joerg Bruehe <[email protected]>
1550
1551 - Install the new "manifest" files: "INFO_SRC" and "INFO_BIN".
1552
1553 * Tue Nov 23 2010 Jonathan Perkin <[email protected]>
1554
1555 - EXCEPTIONS-CLIENT has been deleted, remove it from here too
1556 - Support MYSQL_BUILD_MAKE_JFLAG environment variable for passing
1557 a '-j' argument to make.
1558
1559 * Mon Nov 1 2010 Georgi Kodinov <[email protected]>
1560
1561 - Added test authentication (WL#1054) plugin binaries
1562
1563 * Wed Oct 6 2010 Georgi Kodinov <[email protected]>
1564
1565 - Added example external authentication (WL#1054) plugin binaries
1566
1567 * Wed Aug 11 2010 Joerg Bruehe <[email protected]>
1568
1569 - With a recent spec file cleanup, names have changed: A "-community" part was dropped.
1570 Reflect that in the "Obsoletes" specifications.
1571 - Add a "triggerpostun" to handle the uninstall of the "-community" server RPM.
1572 - This fixes bug#55015 "MySQL server is not restarted properly after RPM upgrade".
1573
1574 * Tue Jun 15 2010 Joerg Bruehe <[email protected]>
1575
1576 - Change the behaviour on installation and upgrade:
1577 On installation, do not autostart the server.
1578 *Iff* the server was stopped before the upgrade is started, this is taken as a
1579 sign the administrator is handling that manually, and so the new server will
1580 not be started automatically at the end of the upgrade.
1581 The start/stop scripts will still be installed, so the server will be started
1582 on the next machine boot.
1583 This is the 5.5 version of fixing bug#27072 (RPM autostarting the server).
1584
1585 * Tue Jun 1 2010 Jonathan Perkin <[email protected]>
1586
1587 - Implement SELinux checks from distribution-specific spec file.
1588
1589 * Wed May 12 2010 Jonathan Perkin <[email protected]>
1590
1591 - Large number of changes to build using CMake
1592 - Introduce distribution-specific RPMs
1593 - Drop debuginfo, build all binaries with debug/symbols
1594 - Remove __os_install_post, use native macro
1595 - Remove _unpackaged_files_terminate_build, make it an error to have
1596 unpackaged files
1597 - Remove cluster RPMs
1598
1599 * Wed Mar 24 2010 Joerg Bruehe <[email protected]>
1600
1601 - Add "--with-perfschema" to the configure options.
1602
1603 * Mon Mar 22 2010 Joerg Bruehe <[email protected]>
1604
1605 - User "usr/lib*" to allow for both "usr/lib" and "usr/lib64",
1606 mask "rmdir" return code 1.
1607 - Remove "ha_example.*" files from the list, they aren't built.
1608
1609 * Wed Mar 17 2010 Joerg Bruehe <[email protected]>
1610
1611 - Fix a wrong path name in handling the debug plugins.
1612
1613 * Wed Mar 10 2010 Joerg Bruehe <[email protected]>
1614
1615 - Take the result of the debug plugin build and put it into the optimized tree,
1616 so that it becomes part of the final installation;
1617 include the files in the packlist. Part of the fixes for bug#49022.
1618
1619 * Mon Mar 01 2010 Joerg Bruehe <[email protected]>
1620
1621 - Set "Oracle and/or its affiliates" as the vendor and copyright owner,
1622 accept upgrading from packages showing MySQL or Sun as vendor.
1623
1624 * Fri Feb 12 2010 Joerg Bruehe <[email protected]>
1625
1626 - Formatting changes:
1627 Have a consistent structure of separator lines and of indentation
1628 (8 leading blanks => tab).
1629 - Introduce the variable "src_dir".
1630 - Give the environment variables "MYSQL_BUILD_CC(CXX)" precedence
1631 over "CC" ("CXX").
1632 - Drop the old "with_static" argument analysis, this is not supported
1633 in 5.1 since ages.
1634 - Introduce variables to control the handlers individually, as well
1635 as other options.
1636 - Use the new "--with-plugin" notation for the table handlers.
1637 - Drop handling "/etc/rc.d/init.d/mysql", the switch to "/etc/init.d/mysql"
1638 was done back in 2002 already.
1639 - Make "--with-zlib-dir=bundled" the default, add an option to disable it.
1640 - Add missing manual pages to the file list.
1641 - Improve the runtime check for "libgcc.a", protect it against being tried
1642 with the Intel compiler "icc".
1643
1644 * Mon Jan 11 2010 Joerg Bruehe <[email protected]>
1645
1646 - Change RPM file naming:
1647 - Suffix like "-m2", "-rc" becomes part of version as "_m2", "_rc".
1648 - Release counts from 1, not 0.
1649
1650 * Wed Dec 23 2009 Joerg Bruehe <[email protected]>
1651
1652 - The "semisync" plugin file name has lost its introductory "lib",
1653 adapt the file lists for the subpackages.
1654 This is a part missing from the fix for bug#48351.
1655 - Remove the "fix_privilege_tables" manual, it does not exist in 5.5
1656 (and likely, the whole script will go, too).
1657
1658 * Mon Nov 16 2009 Joerg Bruehe <[email protected]>
1659
1660 - remove erroneous traces of the InnoDB plugin (that is 5.1 only).
1661
1662 * Tue Oct 06 2009 Magnus Blaudd <[email protected]>
1663
1664 - Removed mysql_fix_privilege_tables
1665
1666 * Fri Oct 02 2009 Alexander Nozdrin <[email protected]>
1667
1668 - "mysqlmanager" got removed from version 5.4, all references deleted.
1669
1670 * Fri Aug 28 2009 Joerg Bruehe <[email protected]>
1671
1672 - Merge up from 5.1 to 5.4: Remove handling for the InnoDB plugin.
1673
1674 * Thu Aug 27 2009 Joerg Bruehe <[email protected]>
1675
1676 - This version does not contain the "Instance manager", "mysqlmanager":
1677 Remove it from the spec file so that packaging succeeds.
1678
1679 * Mon Aug 24 2009 Jonathan Perkin <[email protected]>
1680
1681 - Add conditionals for bundled zlib and innodb plugin
1682
1683 * Fri Aug 21 2009 Jonathan Perkin <[email protected]>
1684
1685 - Install plugin libraries in appropriate packages.
1686 - Disable libdaemon_example and ftexample plugins.
1687
1688 * Thu Aug 20 2009 Jonathan Perkin <[email protected]>
1689
1690 - Update variable used for mysql-test suite location to match source.
1691
1692 * Fri Nov 07 2008 Joerg Bruehe <[email protected]>
1693
1694 - Correct yesterday's fix, so that it also works for the last flag,
1695 and fix a wrong quoting: un-quoted quote marks must not be escaped.
1696
1697 * Thu Nov 06 2008 Kent Boortz <[email protected]>
1698
1699 - Removed "mysql_upgrade_shell"
1700 - Removed some copy/paste between debug and normal build
1701
1702 * Thu Nov 06 2008 Joerg Bruehe <[email protected]>
1703
1704 - Modify CFLAGS and CXXFLAGS such that a debug build is not optimized.
1705 This should cover both gcc and icc flags. Fixes bug#40546.
1706
1707 * Fri Aug 29 2008 Kent Boortz <[email protected]>
1708
1709 - Removed the "Federated" storage engine option, and enabled in all
1710
1711 * Tue Aug 26 2008 Joerg Bruehe <[email protected]>
1712
1713 - Get rid of the "warning: Installed (but unpackaged) file(s) found:"
1714 Some generated files aren't needed in RPMs:
1715 - the "sql-bench/" subdirectory
1716 Some files were missing:
1717 - /usr/share/aclocal/mysql.m4 ("devel" subpackage)
1718 - Manual "mysqlbug" ("server" subpackage)
1719 - Program "innochecksum" and its manual ("server" subpackage)
1720 - Manual "mysql_find_rows" ("client" subpackage)
1721 - Script "mysql_upgrade_shell" ("client" subpackage)
1722 - Program "ndb_cpcd" and its manual ("ndb-extra" subpackage)
1723 - Manuals "ndb_mgm" + "ndb_restore" ("ndb-tools" subpackage)
1724
1725 * Mon Mar 31 2008 Kent Boortz <[email protected]>
1726
1727 - Made the "Federated" storage engine an option
1728 - Made the "Cluster" storage engine and sub packages an option
1729
1730 * Wed Mar 19 2008 Joerg Bruehe <[email protected]>
1731
1732 - Add the man pages for "ndbd" and "ndb_mgmd".
1733
1734 * Mon Feb 18 2008 Timothy Smith <[email protected]>
1735
1736 - Require a manual upgrade if the alread-installed mysql-server is
1737 from another vendor, or is of a different major version.
1738
1739 * Wed May 02 2007 Joerg Bruehe <[email protected]>
1740
1741 - "ndb_size.tmpl" is not needed any more,
1742 "man1/mysql_install_db.1" lacked the trailing '*'.
1743
1744 * Sat Apr 07 2007 Kent Boortz <[email protected]>
1745
1746 - Removed man page for "mysql_create_system_tables"
1747
1748 * Wed Mar 21 2007 Daniel Fischer <[email protected]>
1749
1750 - Add debug server.
1751
1752 * Mon Mar 19 2007 Daniel Fischer <[email protected]>
1753
1754 - Remove Max RPMs; the server RPMs contain a mysqld compiled with all
1755 features that previously only were built into Max.
1756
1757 * Fri Mar 02 2007 Joerg Bruehe <[email protected]>
1758
1759 - Add several man pages for NDB which are now created.
1760
1761 * Fri Jan 05 2007 Kent Boortz <[email protected]>
1762
1763 - Put back "libmygcc.a", found no real reason it was removed.
1764
1765 - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
1766 correct "libgcc.a" path is returned for the 32/64 bit architecture.
1767
1768 * Mon Dec 18 2006 Joerg Bruehe <[email protected]>
1769
1770 - Fix the move of "mysqlmanager" to section 8: Directory name was wrong.
1771
1772 * Thu Dec 14 2006 Joerg Bruehe <[email protected]>
1773
1774 - Include the new man pages for "my_print_defaults" and "mysql_tzinfo_to_sql"
1775 in the server RPM.
1776 - The "mysqlmanager" man page got moved from section 1 to 8.
1777
1778 * Thu Nov 30 2006 Joerg Bruehe <[email protected]>
1779
1780 - Call "make install" using "benchdir_root=%%{_datadir}",
1781 because that is affecting the regression test suite as well.
1782
1783 * Thu Nov 16 2006 Joerg Bruehe <[email protected]>
1784
1785 - Explicitly note that the "MySQL-shared" RPMs (as built by MySQL AB)
1786 replace "mysql-shared" (as distributed by SuSE) to allow easy upgrading
1787 (bug#22081).
1788
1789 * Mon Nov 13 2006 Joerg Bruehe <[email protected]>
1790
1791 - Add "--with-partition" to all server builds.
1792
1793 - Use "--report-features" in one test run per server build.
1794
1795 * Tue Aug 15 2006 Joerg Bruehe <[email protected]>
1796
1797 - The "max" server is removed from packages, effective from 5.1.12-beta.
1798 Delete all steps to build, package, or install it.
1799
1800 * Mon Jul 10 2006 Joerg Bruehe <[email protected]>
1801
1802 - Fix a typing error in the "make" target for the Perl script to run the tests.
1803
1804 * Tue Jul 04 2006 Joerg Bruehe <[email protected]>
1805
1806 - Use the Perl script to run the tests, because it will automatically check
1807 whether the server is configured with SSL.
1808
1809 * Tue Jun 27 2006 Joerg Bruehe <[email protected]>
1810
1811 - move "mysqldumpslow" from the client RPM to the server RPM (bug#20216)
1812
1813 - Revert all previous attempts to call "mysql_upgrade" during RPM upgrade,
1814 there are some more aspects which need to be solved before this is possible.
1815 For now, just ensure the binary "mysql_upgrade" is delivered and installed.
1816
1817 * Thu Jun 22 2006 Joerg Bruehe <[email protected]>
1818
1819 - Close a gap of the previous version by explicitly using
1820 a newly created temporary directory for the socket to be used
1821 in the "mysql_upgrade" operation, overriding any local setting.
1822
1823 * Tue Jun 20 2006 Joerg Bruehe <[email protected]>
1824
1825 - To run "mysql_upgrade", we need a running server;
1826 start it in isolation and skip password checks.
1827
1828 * Sat May 20 2006 Kent Boortz <[email protected]>
1829
1830 - Always compile for PIC, position independent code.
1831
1832 * Wed May 10 2006 Kent Boortz <[email protected]>
1833
1834 - Use character set "all" when compiling with Cluster, to make Cluster
1835 nodes independent on the character set directory, and the problem
1836 that two RPM sub packages both wants to install this directory.
1837
1838 * Mon May 01 2006 Kent Boortz <[email protected]>
1839
1840 - Use "./libtool --mode=execute" instead of searching for the
1841 executable in current directory and ".libs".
1842
1843 * Fri Apr 28 2006 Kent Boortz <[email protected]>
1844
1845 - Install and run "mysql_upgrade"
1846
1847 * Wed Apr 12 2006 Jim Winstead <[email protected]>
1848
1849 - Remove sql-bench, and MySQL-bench RPM (will be built as an independent
1850 project from the mysql-bench repository)
1851
1852 * Tue Apr 11 2006 Jim Winstead <[email protected]>
1853
1854 - Remove old mysqltestmanager and related programs
1855 * Sat Apr 01 2006 Kent Boortz <[email protected]>
1856
1857 - Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS
1858
1859 * Tue Mar 07 2006 Kent Boortz <[email protected]>
1860
1861 - Changed product name from "Community Edition" to "Community Server"
1862
1863 * Mon Mar 06 2006 Kent Boortz <[email protected]>
1864
1865 - Fast mutexes is now disabled by default, but should be
1866 used in Linux builds.
1867
1868 * Mon Feb 20 2006 Kent Boortz <[email protected]>
1869
1870 - Reintroduced a max build
1871 - Limited testing of 'debug' and 'max' servers
1872 - Berkeley DB only in 'max'
1873
1874 * Mon Feb 13 2006 Joerg Bruehe <[email protected]>
1875
1876 - Use "-i" on "make test-force";
1877 this is essential for later evaluation of this log file.
1878
1879 * Thu Feb 09 2006 Kent Boortz <[email protected]>
1880
1881 - Pass '-static' to libtool, link static with our own libraries, dynamic
1882 with system libraries. Link with the bundled zlib.
1883
1884 * Wed Feb 08 2006 Kristian Nielsen <[email protected]>
1885
1886 - Modified RPM spec to match new 5.1 debug+max combined community packaging.
1887
1888 * Sun Dec 18 2005 Kent Boortz <[email protected]>
1889
1890 - Added "client/mysqlslap"
1891
1892 * Mon Dec 12 2005 Rodrigo Novo <[email protected]>
1893
1894 - Added zlib to the list of (static) libraries installed
1895 - Added check against libtool wierdness (WRT: sql/mysqld || sql/.libs/mysqld)
1896 - Compile MySQL with bundled zlib
1897 - Fixed %%packager name to "MySQL Production Engineering Team"
1898
1899 * Mon Dec 05 2005 Joerg Bruehe <[email protected]>
1900
1901 - Avoid using the "bundled" zlib on "shared" builds:
1902 As it is not installed (on the build system), this gives dependency
1903 problems with "libtool" causing the build to fail.
1904 (Change was done on Nov 11, but left uncommented.)
1905
1906 * Tue Nov 22 2005 Joerg Bruehe <[email protected]>
1907
1908 - Extend the file existence check for "init.d/mysql" on un-install
1909 to also guard the call to "insserv"/"chkconfig".
1910
1911 * Thu Oct 27 2005 Lenz Grimmer <[email protected]>
1912
1913 - added more man pages
1914
1915 * Wed Oct 19 2005 Kent Boortz <[email protected]>
1916
1917 - Made yaSSL support an option (off by default)
1918
1919 * Wed Oct 19 2005 Kent Boortz <[email protected]>
1920
1921 - Enabled yaSSL support
1922
1923 * Sat Oct 15 2005 Kent Boortz <[email protected]>
1924
1925 - Give mode arguments the same way in all places
1926 - Moved copy of mysqld.a to "standard" build, but
1927 disabled it as we don't do embedded yet in 5.0
1928
1929 * Fri Oct 14 2005 Kent Boortz <[email protected]>
1930
1931 - For 5.x, always compile with --with-big-tables
1932 - Copy the config.log file to location outside
1933 the build tree
1934
1935 * Fri Oct 14 2005 Kent Boortz <[email protected]>
1936
1937 - Removed unneeded/obsolete configure options
1938 - Added archive engine to standard server
1939 - Removed the embedded server from experimental server
1940 - Changed suffix "-Max" => "-max"
1941 - Changed comment string "Max" => "Experimental"
1942
1943 * Thu Oct 13 2005 Lenz Grimmer <[email protected]>
1944
1945 - added a usermod call to assign a potential existing mysql user to the
1946 correct user group (BUG#12823)
1947 - Save the perror binary built during Max build so it supports the NDB
1948 error codes (BUG#13740)
1949 - added a separate macro "mysqld_group" to be able to define the
1950 user group of the mysql user separately, if desired.
1951
1952 * Thu Sep 29 2005 Lenz Grimmer <[email protected]>
1953
1954 - fixed the removing of the RPM_BUILD_ROOT in the %%clean section (the
1955 $RBR variable did not get expanded, thus leaving old build roots behind)
1956
1957 * Thu Aug 04 2005 Lenz Grimmer <[email protected]>
1958
1959 - Fixed the creation of the mysql user group account in the postinstall
1960 section (BUG 12348)
1961 - Fixed enabling the Archive storage engine in the Max binary
1962
1963 * Tue Aug 02 2005 Lenz Grimmer <[email protected]>
1964
1965 - Fixed the Requires: tag for the server RPM (BUG 12233)
1966
1967 * Fri Jul 15 2005 Lenz Grimmer <[email protected]>
1968
1969 - create a "mysql" user group and assign the mysql user account to that group
1970 in the server postinstall section. (BUG 10984)
1971
1972 * Tue Jun 14 2005 Lenz Grimmer <[email protected]>
1973
1974 - Do not build statically on i386 by default, only when adding either "--with
1975 static" or "--define '_with_static 1'" to the RPM build options. Static
1976 linking really only makes sense when linking against the specially patched
1977 glibc 2.2.5.
1978
1979 * Mon Jun 06 2005 Lenz Grimmer <[email protected]>
1980
1981 - added mysql_client_test to the "bench" subpackage (BUG 10676)
1982 - added the libndbclient static and shared libraries (BUG 10676)
1983
1984 * Wed Jun 01 2005 Lenz Grimmer <[email protected]>
1985
1986 - use "mysqldatadir" variable instead of hard-coding the path multiple times
1987 - use the "mysqld_user" variable on all occasions a user name is referenced
1988 - removed (incomplete) Brazilian translations
1989 - removed redundant release tags from the subpackage descriptions
1990
1991 * Wed May 25 2005 Joerg Bruehe <[email protected]>
1992
1993 - Added a "make clean" between separate calls to "BuildMySQL".
1994
1995 * Thu May 12 2005 Guilhem Bichot <[email protected]>
1996
1997 - Removed the mysql_tableinfo script made obsolete by the information schema
1998
1999 * Wed Apr 20 2005 Lenz Grimmer <[email protected]>
2000
2001 - Enabled the "blackhole" storage engine for the Max RPM
2002
2003 * Wed Apr 13 2005 Lenz Grimmer <[email protected]>
2004
2005 - removed the MySQL manual files (html/ps/texi) - they have been removed
2006 from the MySQL sources and are now available separately.
2007
2008 * Mon Apr 4 2005 Petr Chardin <[email protected]>
2009
2010 - old mysqlmanager, mysqlmanagerc and mysqlmanager-pwger renamed into
2011 mysqltestmanager, mysqltestmanager and mysqltestmanager-pwgen respectively
2012
2013 * Fri Mar 18 2005 Lenz Grimmer <[email protected]>
2014
2015 - Disabled RAID in the Max binaries once and for all (it has finally been
2016 removed from the source tree)
2017
2018 * Sun Feb 20 2005 Petr Chardin <[email protected]>
2019
2020 - Install MySQL Instance Manager together with mysqld, touch mysqlmanager
2021 password file
2022
2023 * Mon Feb 14 2005 Lenz Grimmer <[email protected]>
2024
2025 - Fixed the compilation comments and moved them into the separate build sections
2026 for Max and Standard
2027
2028 * Mon Feb 7 2005 Tomas Ulin <[email protected]>
2029
2030 - enabled the "Ndbcluster" storage engine for the max binary
2031 - added extra make install in ndb subdir after Max build to get ndb binaries
2032 - added packages for ndbcluster storage engine
2033
2034 * Fri Jan 14 2005 Lenz Grimmer <[email protected]>
2035
2036 - replaced obsoleted "BuildPrereq" with "BuildRequires" instead
2037
2038 * Thu Jan 13 2005 Lenz Grimmer <[email protected]>
2039
2040 - enabled the "Federated" storage engine for the max binary
2041
2042 * Tue Jan 04 2005 Petr Chardin <[email protected]>
2043
2044 - ISAM and merge storage engines were purged. As well as appropriate
2045 tools and manpages (isamchk and isamlog)
2046
2047 * Fri Dec 31 2004 Lenz Grimmer <[email protected]>
2048
2049 - enabled the "Archive" storage engine for the max binary
2050 - enabled the "CSV" storage engine for the max binary
2051 - enabled the "Example" storage engine for the max binary
2052
2053 * Thu Aug 26 2004 Lenz Grimmer <[email protected]>
2054
2055 - MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860)
2056
2057 * Fri Aug 20 2004 Lenz Grimmer <[email protected]>
2058
2059 - do not link statically on IA64/AMD64 as these systems do not have
2060 a patched glibc installed
2061
2062 * Tue Aug 10 2004 Lenz Grimmer <[email protected]>
2063
2064 - Added libmygcc.a to the devel subpackage (required to link applications
2065 against the the embedded server libmysqld.a) (BUG 4921)
2066
2067 * Mon Aug 09 2004 Lenz Grimmer <[email protected]>
2068
2069 - Added EXCEPTIONS-CLIENT to the "devel" package
2070
2071 * Thu Jul 29 2004 Lenz Grimmer <[email protected]>
2072
2073 - disabled OpenSSL in the Max binaries again (the RPM packages were the
2074 only exception to this anyway) (BUG 1043)
2075
2076 * Wed Jun 30 2004 Lenz Grimmer <[email protected]>
2077
2078 - fixed server postinstall (mysql_install_db was called with the wrong
2079 parameter)
2080
2081 * Thu Jun 24 2004 Lenz Grimmer <[email protected]>
2082
2083 - added mysql_tzinfo_to_sql to the server subpackage
2084 - run "make clean" instead of "make distclean"
2085
2086 * Mon Apr 05 2004 Lenz Grimmer <[email protected]>
2087
2088 - added ncurses-devel to the build prerequisites (BUG 3377)
2089
2090 * Thu Feb 12 2004 Lenz Grimmer <[email protected]>
2091
2092 - when using gcc, _always_ use CXX=gcc
2093 - replaced Copyright with License field (Copyright is obsolete)
2094
2095 * Tue Feb 03 2004 Lenz Grimmer <[email protected]>
2096
2097 - added myisam_ftdump to the Server package
2098
2099 * Tue Jan 13 2004 Lenz Grimmer <[email protected]>
2100
2101 - link the mysql client against libreadline instead of libedit (BUG 2289)
2102
2103 * Mon Dec 22 2003 Lenz Grimmer <[email protected]>
2104
2105 - marked /etc/logrotate.d/mysql as a config file (BUG 2156)
2106
2107 * Sat Dec 13 2003 Lenz Grimmer <[email protected]>
2108
2109 - fixed file permissions (BUG 1672)
2110
2111 * Thu Dec 11 2003 Lenz Grimmer <[email protected]>
2112
2113 - made testing for gcc3 a bit more robust
2114
2115 * Fri Dec 05 2003 Lenz Grimmer <[email protected]>
2116
2117 - added missing file mysql_create_system_tables to the server subpackage
2118
2119 * Fri Nov 21 2003 Lenz Grimmer <[email protected]>
2120
2121 - removed dependency on MySQL-client from the MySQL-devel subpackage
2122 as it is not really required. (BUG 1610)
2123
2124 * Fri Aug 29 2003 Lenz Grimmer <[email protected]>
2125
2126 - Fixed BUG 1162 (removed macro names from the changelog)
2127 - Really fixed BUG 998 (disable the checking for installed but
2128 unpackaged files)
2129
2130 * Tue Aug 05 2003 Lenz Grimmer <[email protected]>
2131
2132 - Fixed BUG 959 (libmysqld not being compiled properly)
2133 - Fixed BUG 998 (RPM build errors): added missing files to the
2134 distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
2135 mysql_fix_privilege_tables.1), removed "-n" from install section.
2136
2137 * Wed Jul 09 2003 Lenz Grimmer <[email protected]>
2138
2139 - removed the GIF Icon (file was not included in the sources anyway)
2140 - removed unused variable shared_lib_version
2141 - do not run automake before building the standard binary
2142 (should not be necessary)
2143 - add server suffix '-standard' to standard binary (to be in line
2144 with the binary tarball distributions)
2145 - Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir,
2146 _datadir, _includedir) throughout the spec file.
2147 - allow overriding CC and CXX (required when building with other compilers)
2148
2149 * Fri May 16 2003 Lenz Grimmer <[email protected]>
2150
2151 - re-enabled RAID again
2152
2153 * Wed Apr 30 2003 Lenz Grimmer <[email protected]>
2154
2155 - disabled MyISAM RAID (--with-raid) - it throws an assertion which
2156 needs to be investigated first.
2157
2158 * Mon Mar 10 2003 Lenz Grimmer <[email protected]>
2159
2160 - added missing file mysql_secure_installation to server subpackage
2161 (BUG 141)
2162
2163 * Tue Feb 11 2003 Lenz Grimmer <[email protected]>
2164
2165 - re-added missing pre- and post(un)install scripts to server subpackage
2166 - added config file /etc/my.cnf to the file list (just for completeness)
2167 - make sure to create the datadir with 755 permissions
2168
2169 * Mon Jan 27 2003 Lenz Grimmer <[email protected]>
2170
2171 - removed unused CC and CXX variables
2172 - CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS
2173
2174 * Fri Jan 24 2003 Lenz Grimmer <[email protected]>
2175
2176 - renamed package "MySQL" to "MySQL-server"
2177 - fixed Copyright tag
2178 - added mysql_waitpid to client subpackage (required for mysql-test-run)
2179
2180 * Wed Nov 27 2002 Lenz Grimmer <[email protected]>
2181
2182 - moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of
2183 Linux distributions now support this scheme as proposed by the LSB either
2184 directly or via a compatibility symlink)
2185 - Use new "restart" init script action instead of starting and stopping
2186 separately
2187 - Be more flexible in activating the automatic bootup - use insserv (on
2188 older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and
2189 others) to create the respective symlinks
2190
2191 * Wed Sep 25 2002 Lenz Grimmer <[email protected]>
2192
2193 - MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches
2194 (mixing 3.23 and 4.0 packages)
2195
2196 * Fri Aug 09 2002 Lenz Grimmer <[email protected]>
2197
2198 - Turn off OpenSSL in MySQL-Max for now until it works properly again
2199 - enable RAID for the Max binary instead
2200 - added compatibility link: safe_mysqld -> mysqld_safe to ease the
2201 transition from 3.23
2202
2203 * Thu Jul 18 2002 Lenz Grimmer <[email protected]>
2204
2205 - Reworked the build steps a little bit: the Max binary is supposed
2206 to include OpenSSL, which cannot be linked statically, thus trying
2207 to statically link against a special glibc is futile anyway
2208 - because of this, it is not required to make yet another build run
2209 just to compile the shared libs (saves a lot of time)
2210 - updated package description of the Max subpackage
2211 - clean up the BuildRoot directory afterwards
2212
2213 * Mon Jul 15 2002 Lenz Grimmer <[email protected]>
2214
2215 - Updated Packager information
2216 - Fixed the build options: the regular package is supposed to
2217 include InnoDB and linked statically, while the Max package
2218 should include BDB and SSL support
2219
2220 * Fri May 03 2002 Lenz Grimmer <[email protected]>
2221
2222 - Use more RPM macros (e.g. infodir, mandir) to make the spec
2223 file more portable
2224 - reorganized the installation of documentation files: let RPM
2225 take care of this
2226 - reorganized the file list: actually install man pages along
2227 with the binaries of the respective subpackage
2228 - do not include libmysqld.a in the devel subpackage as well, if we
2229 have a special "embedded" subpackage
2230 - reworked the package descriptions
2231
2232 * Mon Oct 8 2001 Monty
2233
2234 - Added embedded server as a separate RPM
2235
2236 * Fri Apr 13 2001 Monty
2237
2238 - Added mysqld-max to the distribution
2239
2240 * Tue Jan 2 2001 Monty
2241
2242 - Added mysql-test to the bench package
2243
2244 * Fri Aug 18 2000 Tim Smith <[email protected]>
2245
2246 - Added separate libmysql_r directory; now both a threaded
2247 and non-threaded library is shipped.
2248
2249 * Tue Sep 28 1999 David Axmark <[email protected]>
2250
2251 - Added the support-files/my-example.cnf to the docs directory.
2252
2253 - Removed devel dependency on base since it is about client
2254 development.
2255
2256 * Wed Sep 8 1999 David Axmark <[email protected]>
2257
2258 - Cleaned up some for 3.23.
2259
2260 * Thu Jul 1 1999 David Axmark <[email protected]>
2261
2262 - Added support for shared libraries in a separate sub
2263 package. Original fix by David Fox ([email protected])
2264
2265 - The --enable-assembler switch is now automatically disables on
2266 platforms there assembler code is unavailable. This should allow
2267 building this RPM on non i386 systems.
2268
2269 * Mon Feb 22 1999 David Axmark <[email protected]>
2270
2271 - Removed unportable cc switches from the spec file. The defaults can
2272 now be overridden with environment variables. This feature is used
2273 to compile the official RPM with optimal (but compiler version
2274 specific) switches.
2275
2276 - Removed the repetitive description parts for the sub rpms. Maybe add
2277 again if RPM gets a multiline macro capability.
2278
2279 - Added support for a pt_BR translation. Translation contributed by
2280 Jorge Godoy <[email protected]>.
2281
2282 * Wed Nov 4 1998 David Axmark <[email protected]>
2283
2284 - A lot of changes in all the rpm and install scripts. This may even
2285 be a working RPM :-)
2286
2287 * Sun Aug 16 1998 David Axmark <[email protected]>
2288
2289 - A developers changelog for MySQL is available in the source RPM. And
2290 there is a history of major user visible changed in the Reference
2291 Manual. Only RPM specific changes will be documented here.