1 |
#(ie. use with rpm --rebuild): |
2 |
# |
3 |
# --with debug Compile with debugging code |
4 |
# |
5 |
# enable build with debugging code: will _not_ strip away any debugging code, |
6 |
# will _add_ -g3 to CFLAGS, will _add_ --enable-maintainer-mode to |
7 |
# configure. |
8 |
|
9 |
# "fix" underlinking: |
10 |
%define _disable_ld_no_undefined 1 |
11 |
|
12 |
%define build_debug 0 |
13 |
%define build_test 0 |
14 |
%define build_oqgraph 0 |
15 |
|
16 |
# command-line overrides: |
17 |
# rpm -ba|--rebuild --with 'xxx' |
18 |
%{?_with_debug: %{expand: %%define build_debug 1}} |
19 |
%{?_with_test: %{expand: %%define build_test 1}} |
20 |
%{?_without_test: %global build_test 0} |
21 |
%{?_with_oqgraph: %{expand: %%define build_oqgraph 1}} |
22 |
%{?_without_oqgraph: %global build_oqgraph 0} |
23 |
|
24 |
#if defined,don't extract debug info, which will speedup the built process. Not commenting does not help. It has to be deactivated. Via removing percent. |
25 |
#global __debug_install_post /bin/true |
26 |
|
27 |
%if %{build_debug} |
28 |
# disable build root strip policy |
29 |
%define __spec_install_post %{_libdir}/rpm/brp-compress || : |
30 |
|
31 |
# This gives extra debuggin and huge binaries |
32 |
%{expand:%%define optflags %{optflags} %([ ! $DEBUG ] && echo '-g3')} |
33 |
%endif |
34 |
|
35 |
%if %{build_debug} |
36 |
%define build_debug 1 |
37 |
%endif |
38 |
|
39 |
%if %{build_test} |
40 |
%define build_test 1 |
41 |
%endif |
42 |
|
43 |
%if %{build_oqgraph} |
44 |
%define build_oqgraph 1 |
45 |
%endif |
46 |
|
47 |
%define major 3 |
48 |
%define libname %mklibname mariadb %{major} |
49 |
%define develname %mklibname -d mariadb |
50 |
|
51 |
%define mariadbdmajor 19 |
52 |
%define libmariadbembedded %mklibname mariadbd %{mariadbdmajor} |
53 |
%define libmariadbembedded_devel %mklibname -d mariadb-embedded |
54 |
|
55 |
%define muser mysql |
56 |
|
57 |
# rule out some useless autodeps in the test suite |
58 |
%global __requires_exclude perl\\(th|perl\\(lib|perl\\(mtr|perl\\(My |
59 |
%global __provides_exclude perl\\(th|perl\\(lib|perl\\(mtr|perl\\(My |
60 |
|
61 |
Summary: A very fast and reliable SQL database engine |
62 |
Name: mariadb |
63 |
Version: 11.3.2 |
64 |
Release: %mkrel 1 |
65 |
Group: Databases |
66 |
License: GPLv2 with exceptions |
67 |
URL: https://mariadb.org/ |
68 |
Source0: https://downloads.mariadb.org/rest-api/mariadb/%{version}/mariadb-%{version}.tar.gz |
69 |
Source3: my.cnf |
70 |
Source4: server.cnf |
71 |
Source5: client.cnf |
72 |
Source6: mysql-clients.cnf |
73 |
Source10: mysql.tmpfiles.d |
74 |
Source11: mysqld.service |
75 |
Source12: mysqld-prepare-db-dir |
76 |
|
77 |
# Skip some tests failing on BS |
78 |
Source40: mga-skipped-tests-base.list |
79 |
|
80 |
# config files to load plugins, note these files are processed by expand, line 678 |
81 |
Source50: auth_pam.cnf |
82 |
Source51: auth_socket.cnf |
83 |
Source52: ha_archive.cnf |
84 |
Source53: ha_blackhole.cnf |
85 |
Source54: ha_connect.cnf |
86 |
Source55: ha_federatedx.cnf |
87 |
Source56: handlersocket.cnf |
88 |
Source57: ha_oqgraph.cnf |
89 |
Source58: ha_sequence.cnf |
90 |
Source59: ha_sphinx.cnf |
91 |
Source60: ha_spider.cnf |
92 |
Source61: locales.cnf |
93 |
Source62: metadata_lock_info.cnf |
94 |
Source63: query_cache_info.cnf |
95 |
Source64: query_response_time.cnf |
96 |
Source65: disks.cnf |
97 |
Source66: ha_mroonga.cnf |
98 |
Source67: sql_errlog.cnf |
99 |
Source68: feedback.cnf |
100 |
Source69: ha_innodb.cnf |
101 |
Source70: server_audit.cnf |
102 |
Source71: auth_gssapi.cnf |
103 |
|
104 |
# the following patches are rediffed from the mysql-5.5 src.rpm to mariadb-5.5 |
105 |
# fedora patches |
106 |
|
107 |
# mandriva patches |
108 |
Patch101: mariadb-5.5-logrotate.patch |
109 |
Patch106: mariadb-5.5-hotcopy.patch |
110 |
Patch107: mariadb-5.5-mysql_install_db-quiet.patch |
111 |
#remove setting ownership of system install files |
112 |
Patch108: mysql_install_db.patch |
113 |
|
114 |
Requires(post): systemd >= %{systemd_required_version} |
115 |
Requires(post): rpm-helper >= 0.24.8-1 |
116 |
Requires(preun): rpm-helper >= 0.24.8-1 |
117 |
Requires(post): %{name}-common = %{version}-%{release} |
118 |
Requires(preun): %{name}-common = %{version}-%{release} |
119 |
Requires(post): %{name}-client = %{version}-%{release} |
120 |
Requires(preun): %{name}-client = %{version}-%{release} |
121 |
Requires(postun): %{name}-common = %{version}-%{release} |
122 |
Requires(postun): %{name}-client = %{version}-%{release} |
123 |
Requires: %{name}-common = %{version}-%{release} |
124 |
Requires: %{name}-core = %{version}-%{release} |
125 |
Requires: %{name}-client = %{version}-%{release} |
126 |
Provides: mysql = %{version}-%{release} |
127 |
Conflicts: %{name}-bench < 10.4.11-2 |
128 |
Conflicts: %{name}-extra < %{version}-%{release} |
129 |
Conflicts: %{name}-feedback < %{version}-%{release} |
130 |
Conflicts: %{name}-obsolete < %{version}-%{release} |
131 |
Recommends: %{name}-extra |
132 |
BuildConflicts: edit-devel |
133 |
BuildRequires: bison |
134 |
BuildRequires: bzip2-devel |
135 |
BuildRequires: cmake |
136 |
BuildRequires: cmake(msgpack-c) |
137 |
BuildRequires: doxygen |
138 |
BuildRequires: glibc-devel |
139 |
BuildRequires: glibc-devel |
140 |
BuildRequires: icu-devel |
141 |
BuildRequires: libaio-devel |
142 |
BuildRequires: libaio-devel |
143 |
BuildRequires: libcrack-devel |
144 |
BuildRequires: liblzo-devel |
145 |
BuildRequires: libstdc++-devel |
146 |
BuildRequires: libtermcap-devel |
147 |
BuildRequires: lzma-devel |
148 |
BuildRequires: mercurial |
149 |
BuildRequires: pam-devel |
150 |
BuildRequires: pkgconfig(fmt) |
151 |
BuildRequires: pkgconfig(krb5) |
152 |
BuildRequires: pkgconfig(libarchive) |
153 |
BuildRequires: pkgconfig(libevent) |
154 |
BuildRequires: pkgconfig(liblz4) |
155 |
BuildRequires: pkgconfig(libpcre2-8) |
156 |
BuildRequires: pkgconfig(libpcre2-posix) |
157 |
BuildRequires: pkgconfig(libsystemd) |
158 |
BuildRequires: pkgconfig(libzmq) |
159 |
BuildRequires: pkgconfig(libzstd) |
160 |
BuildRequires: pkgconfig(ncurses) |
161 |
BuildRequires: pkgconfig(odbc) |
162 |
BuildRequires: pkgconfig(openssl) |
163 |
BuildRequires: pkgconfig(python3) |
164 |
BuildRequires: pkgconfig(snappy) |
165 |
BuildRequires: pkgconfig(zlib) |
166 |
BuildRequires: systemtap |
167 |
BuildRequires: systemtap-sdt-devel |
168 |
BuildRequires: texinfo |
169 |
BuildRequires: wrap-devel |
170 |
BuildRequires: xfs-devel |
171 |
# use system jemalloc libs instead of bundled ones |
172 |
BuildRequires: pkgconfig(jemalloc) |
173 |
%if %{build_oqgraph} |
174 |
# required by oqgraph v3 |
175 |
BuildRequires: boost-devel |
176 |
BuildRequires: judy-devel |
177 |
%endif |
178 |
|
179 |
%description |
180 |
The MariaDB software delivers a very fast, multi-threaded, multi-user, and |
181 |
robust SQL (Structured Query Language) database server. MariaDB Server is |
182 |
intended for mission-critical, heavy-load production systems as well as for |
183 |
embedding into mass-deployed software. |
184 |
|
185 |
The mariadb server is compiled with the following storage engines: |
186 |
|
187 |
- Aria Storage Engine |
188 |
- Archive Storage Engine |
189 |
- Blackhole Storage Engine |
190 |
- CSV Storage Engine |
191 |
- FederatedX Storage Engine (Federated replacement) |
192 |
- Heap Storage Engine |
193 |
- MyISAM Storage Engine |
194 |
- MyISAMMRG Storage Engine |
195 |
- Partition Storage Engine |
196 |
- Perfschema Storage Engine |
197 |
- Percona XtraDB Storage Engine (InnoDB replacement) |
198 |
|
199 |
A multitude of storage engines and handlers are being provided in separate sub |
200 |
packages such as: |
201 |
|
202 |
mariadb-feedback - Feedback Storage Engine |
203 |
mariadb-oqgraph - Open Query GRAPH computation engine |
204 |
mariadb-connect - CONNECT handler |
205 |
mariadb-sphinx - Sphinx Storage Engine |
206 |
mariadb-sequence - Sequence Storage Engine |
207 |
mariadb-spider - Spider Storage Engine |
208 |
mariadb-rocks - RocksDB Storage Engine |
209 |
|
210 |
The following extra storage engines are provided by the mariadb-extra package |
211 |
|
212 |
- handlersocket |
213 |
- query_cache_info |
214 |
|
215 |
The following storage engines are provided in the mariadb-obsolete package |
216 |
|
217 |
- Federated Storage Engine |
218 |
|
219 |
%package -n mysql-MariaDB |
220 |
Summary: A MySQL drop-in replacement |
221 |
Group: System/Servers |
222 |
Requires: %{name} |
223 |
|
224 |
%description -n mysql-MariaDB |
225 |
MariaDB is a complete MySQL drop-in replacement with additional fixes and |
226 |
storage engines. |
227 |
|
228 |
This package is used as a transitional virtual package, which requires |
229 |
MariaDB so that people who used to use mysql can find it nicely. |
230 |
|
231 |
%package feedback |
232 |
Summary: Feedback storage engine |
233 |
Group: System/Servers |
234 |
Requires: %{name}-common-core >= %{version}-%{release} |
235 |
Conflicts: %{name}-common-core < %{version}-%{release} |
236 |
|
237 |
%description feedback |
238 |
MariaDB feedback storage engine submits feedback about your mariadb server. |
239 |
Results can be seen on https://mariadb.org/feedback_plugin/ . |
240 |
|
241 |
%if %{build_oqgraph} |
242 |
%package oqgraph |
243 |
Summary: Open Query GRAPH computation engine |
244 |
Group: System/Servers |
245 |
Requires: %{name}-common-core >= %{version}-%{release} |
246 |
Conflicts: %{name}-common-core < %{version}-%{release} |
247 |
Conflicts: mariadb-extra < 10.0.7 |
248 |
|
249 |
%description oqgraph |
250 |
The Open Query GRAPH computation engine allows you to handle hierarchies |
251 |
(tree structures) and complex graphs (nodes having many connections in |
252 |
several directions). |
253 |
%endif |
254 |
|
255 |
%package connect |
256 |
Summary: CONNECT handler |
257 |
Group: System/Servers |
258 |
Requires: %{name}-common-core >= %{version}-%{release} |
259 |
Conflicts: %{name}-common-core < %{version}-%{release} |
260 |
|
261 |
%description connect |
262 |
The CONNECT handler enables MariaDB to access external local or remote data. |
263 |
This is done by defining tables based on different data types, in particular |
264 |
files of various format, data extracted from other products (such as Excel), |
265 |
or data retrieved from the environment (for example DIR, WMI, and MAC tables). |
266 |
|
267 |
This handler supports MariaDB virtual columns and also permits to define |
268 |
“special” columns such as ROWID and FILEID. |
269 |
|
270 |
%package sphinx |
271 |
Summary: Sphinx Storage Engine |
272 |
Group: System/Servers |
273 |
Requires: %{name}-common-core >= %{version}-%{release} |
274 |
Conflicts: %{name}-common-core < %{version}-%{release} |
275 |
Conflicts: mariadb-extra < 10.0.7 |
276 |
Recommends: sphinx >= 2.1.5 |
277 |
|
278 |
%description sphinx |
279 |
SphinxSE is a storage engine that talks to searchd (Sphinx daemon) to enable |
280 |
full text searching. |
281 |
|
282 |
%package s3-engine |
283 |
Summary: The S3 storage engine for MariaDB |
284 |
Requires: %{name}-common-core >= %{version}-%{release} |
285 |
BuildRequires: curl-devel |
286 |
|
287 |
%description s3-engine |
288 |
The S3 read only storage engine allows archiving MariaDB tables in Amazon S3, |
289 |
or any third-party public or private cloud that implements S3 API, |
290 |
but still have them accessible for reading in MariaDB. |
291 |
|
292 |
%package mroonga |
293 |
Summary: Mroonga Storage Engine |
294 |
Group: System/Servers |
295 |
Requires: %{name}-common-core >= %{version}-%{release} |
296 |
Conflicts: %{name}-common-core < %{version}-%{release} |
297 |
|
298 |
%description mroonga |
299 |
Mroonga is a storage engine for MySQL. It provides fast fulltext search feature |
300 |
to all MySQL users. Mroonga was called Groonga storage engine. |
301 |
|
302 |
%package sequence |
303 |
Summary: Sequence Storage Engine |
304 |
Group: System/Servers |
305 |
Requires: %{name}-common-core >= %{version}-%{release} |
306 |
Conflicts: %{name}-common-core < %{version}-%{release} |
307 |
|
308 |
%description sequence |
309 |
A Sequence engine allows the creation of ascending or descending sequences of |
310 |
numbers with a given starting value, ending value and increment. |
311 |
|
312 |
It creates completely virtual, ephemeral tables automatically when you need |
313 |
them. There is no way to create a Sequence table explicitly. Nor are they ever |
314 |
written to disk or create .frm files. They are read-only, transactional, and |
315 |
support XA. |
316 |
|
317 |
%package spider |
318 |
Summary: Spider Storage Engine |
319 |
Group: System/Servers |
320 |
Requires: %{name}-common-core >= %{version}-%{release} |
321 |
Conflicts: %{name}-common-core < %{version}-%{release} |
322 |
|
323 |
%description spider |
324 |
The Spider storage engine supports partitioning and xa transactions, and allows |
325 |
tables of different MariaDB instances to be handled as if they were on the same |
326 |
instance. |
327 |
|
328 |
%ifarch %arm x86_64 aarch64 |
329 |
%package rocks |
330 |
Summary: Rocks Storage Engine |
331 |
Group: System/Servers |
332 |
Requires: %{name}-common-core >= %{version}-%{release} |
333 |
Conflicts: %{name}-common-core < %{version}-%{release} |
334 |
%description rocks |
335 |
MyRocks is an open source storage engine that was originally developed by |
336 |
Facebook. |
337 |
|
338 |
MyRocks has been extended by the MariaDB engineering team to be a pluggable |
339 |
storage engine that you use in your MariaDB solutions. It works seamlessly |
340 |
with MariaDB features. This openness in the storage layer allows you to use the |
341 |
right storage engine to optimize your usage requirements, which provides |
342 |
optimum performance. Community contributions are one of MariaDB’s greatest |
343 |
advantages over other databases. Under the lead of our developer Sergey |
344 |
Petrunia, MyRocks in MariaDB is constantly being merged with upstream MyRocks |
345 |
from Facebook. |
346 |
%endif |
347 |
|
348 |
%package extra |
349 |
Summary: MariaDB extra storage engines |
350 |
Group: System/Servers |
351 |
Requires: %{name}-common-core >= %{version}-%{release} |
352 |
Conflicts: %{name}-common-core < %{version}-%{release} |
353 |
|
354 |
%description extra |
355 |
This package provides various storage engines/handlers such as: |
356 |
|
357 |
- handlersocket |
358 |
- query_cache_info |
359 |
|
360 |
%package obsolete |
361 |
Summary: MariaDB obsolete storage engines |
362 |
Group: System/Servers |
363 |
Requires: %{name}-common-core >= %{version}-%{release} |
364 |
Conflicts: %{name}-common-core < %{version}-%{release} |
365 |
Conflicts: mysql-core < 5.5.18 |
366 |
|
367 |
%description obsolete |
368 |
MariaDB obsolete storage engines. Federated are being replaced by XtraDB and |
369 |
FederatedX storage engines. These obsolete storage engines are provided in |
370 |
case you need the vanilla mysql storage engines. |
371 |
|
372 |
%package core |
373 |
Summary: Server core binary |
374 |
Group: System/Servers |
375 |
Requires: %{name}-common-core >= %{version}-%{release} |
376 |
Provides: mysql-core = %{version}-%{release} |
377 |
|
378 |
%description core |
379 |
Core mysqld server binary. For a full MariaDB database server, install |
380 |
package 'mariadb'. |
381 |
|
382 |
%package common-core |
383 |
Summary: Common files required by core binary |
384 |
Group: System/Servers |
385 |
Requires: %{name}-common >= %{version}-%{release} |
386 |
Provides: mysql-common-core = %{version}-%{release} |
387 |
|
388 |
%description common-core |
389 |
Common files minimally required by mysqld server binary. |
390 |
|
391 |
%package common |
392 |
Summary: Common files |
393 |
Group: System/Servers |
394 |
Requires(post): rpm-helper |
395 |
Requires(preun): rpm-helper |
396 |
Requires(pre): rpm-helper |
397 |
Requires(postun): rpm-helper |
398 |
Requires(post): %{name}-client >= %{version}-%{release} |
399 |
Requires(preun): %{name}-client >= %{version}-%{release} |
400 |
Requires: %{name}-client >= %{version}-%{release} |
401 |
Requires: perl(Term::ReadKey) |
402 |
Requires: perl(DBD::MariaDB) |
403 |
Provides: mysql-common = %{version}-%{release} |
404 |
|
405 |
%description common |
406 |
Common files for the MariaDB database server. |
407 |
|
408 |
%package client |
409 |
Summary: Client |
410 |
Group: Databases |
411 |
Requires(post): %{libname} >= %{version}-%{release} |
412 |
Requires(preun): %{libname} >= %{version}-%{release} |
413 |
Requires: %{libname} >= %{version}-%{release} |
414 |
Requires: %{name}-common >= %{version}-%{release} |
415 |
Provides: mysql-client = %{version}-%{release} |
416 |
|
417 |
%description client |
418 |
This package contains the standard MariaDB clients. |
419 |
|
420 |
%package bench |
421 |
Summary: Benchmarks and test system |
422 |
Group: System/Servers |
423 |
Requires(post): %{name}-client >= %{version}-%{release} |
424 |
Requires(preun): %{name}-client >= %{version}-%{release} |
425 |
Requires: %{name}-client >= %{version}-%{release} |
426 |
Recommends: %{name} >= %{version}-%{release} |
427 |
Provides: mysql-bench = %{version}-%{release} |
428 |
Conflicts: mariadb < 10.0.7 |
429 |
|
430 |
%description bench |
431 |
This package contains MariaDB benchmark scripts and data. |
432 |
|
433 |
%package pam |
434 |
Summary: PAM authentication plugin |
435 |
Group: System/Servers |
436 |
URL: https://mariadb.com/kb/en/authentication-plugin-pam/ |
437 |
Requires: %{name} |
438 |
|
439 |
%description pam |
440 |
The pam authentication plugin allows MariaDB to offload user authentication to |
441 |
the system's Pluggable Authentication Module (PAM) framework. |
442 |
|
443 |
%package -n %{libname} |
444 |
Summary: Shared libraries |
445 |
Group: System/Libraries |
446 |
Provides: %{name}-shared-libs = %{version}-%{release} |
447 |
Provides: %{name}-shared = %{version}-%{release} |
448 |
Conflicts: %{_lib}mariadb-devel < 10.2.11-9 |
449 |
Obsoletes: mariadb-connector-c < 3.3.3-2 |
450 |
|
451 |
%description -n %{libname} |
452 |
This package contains the shared libraries (*.so*) which certain languages and |
453 |
applications need to dynamically load and use MariaDB. |
454 |
|
455 |
%package -n %{develname} |
456 |
Summary: Development header files and libraries |
457 |
Group: Development/Other |
458 |
Requires: %{libname} = %{version}-%{release} |
459 |
Provides: %{name}-devel = %{version}-%{release} |
460 |
Provides: mysql-devel = %{version}-%{release} |
461 |
Obsoletes: mariadb-connector-c-devel < 3.3.3-2 |
462 |
Obsoletes: mariadb-connector-c-doc < 3.3.3-2 |
463 |
|
464 |
%description -n %{develname} |
465 |
This package contains the development header files and libraries necessary to |
466 |
develop MariaDB client applications. |
467 |
|
468 |
%package -n %{libmariadbembedded} |
469 |
Summary: MariaDB as an embeddable library |
470 |
Group: System/Libraries |
471 |
Provides: %{name}-embedded = %{version}-%{release} |
472 |
Obsoletes: %{_lib}mariadb-embedded19 < 10.2.11-9 |
473 |
Obsoletes: %{_lib}mariadb19 < 10.2.11-9 |
474 |
Conflicts: %{_lib}mariadb3 < 10.3.8-3 |
475 |
|
476 |
%description -n %{libmariadbembedded} |
477 |
MariaDB is a multi-user, multi-threaded SQL database server. This |
478 |
package contains a version of the MariaDB server that can be embedded |
479 |
into a client application instead of running as a separate process. |
480 |
|
481 |
The API is identical for the embedded MariaDB version and the client/server |
482 |
version. |
483 |
|
484 |
%package -n %{libmariadbembedded_devel} |
485 |
Summary: Development files for MySQL as an embeddable library |
486 |
Group: Development/Other |
487 |
Requires: %{libmariadbembedded} = %{version}-%{release} |
488 |
Requires: %{develname} = %{version}-%{release} |
489 |
Provides: %{name}-embedded-devel = %{version}-%{release} |
490 |
Provides: mysql-embedded-devel = %{version}-%{release} |
491 |
Conflicts: mariadb-bench < %{version}-%{release} |
492 |
Conflicts: %{_lib}mysqld19 >= 10.3.8-1 |
493 |
Conflicts: %{_lib}mariadb-devel < 10.3.8-3 |
494 |
|
495 |
%description -n %{libmariadbembedded_devel} |
496 |
MariaDB is a multi-user, multi-threaded SQL database server. This |
497 |
package contains files needed for developing and testing with |
498 |
the embedded version of the MariaDB server. |
499 |
|
500 |
The API is identical for the embedded MariaDB version and the client/server |
501 |
version. |
502 |
|
503 |
|
504 |
%prep |
505 |
%autosetup -S hg |
506 |
# no bundled pcre |
507 |
rm -rf pcre |
508 |
|
509 |
mkdir -p Mageia |
510 |
cp %{SOURCE3} Mageia/my.cnf |
511 |
cp %{SOURCE4} Mageia/ |
512 |
cp %{SOURCE5} Mageia/ |
513 |
cp %{SOURCE6} Mageia/ |
514 |
|
515 |
# remove the sql_yacc.cc file so that bison will regenerate it properly, even if it's patched |
516 |
rm -f sql/sql_yacc.cc |
517 |
|
518 |
#no macos |
519 |
rm -rf support-files/MacOSX |
520 |
|
521 |
# lib64 fix |
522 |
perl -pi -e "s|/usr/lib/|%{_libdir}/|g" Mageia/server.cnf |
523 |
|
524 |
# antiborker |
525 |
perl -pi -e "s|\@bindir\@|%{_bindir}|g" support-files/* scripts/* |
526 |
perl -pi -e "s|\@sbindir\@|%{_sbindir}|g" support-files/* scripts/* |
527 |
perl -pi -e "s|\@libexecdir\@|%{_sbindir}|g" support-files/* scripts/* |
528 |
perl -pi -e "s|\@localstatedir\@|/var/lib/mysql|g" support-files/* scripts/* |
529 |
perl -pi -e "s|^basedir=.*|basedir=%{_prefix}|g" support-files/* scripts/mysql_install_db* |
530 |
|
531 |
# workaround for upstream bug #56342 |
532 |
rm -f mysql-test/t/ssl_8k_key-master.opt |
533 |
rm -f mysql-test/t/file_contents.test |
534 |
|
535 |
# skip some tests failing on BS |
536 |
cat %{_sourcedir}/mga-skipped-tests-base.list | tee -a mysql-test/unstable-tests |
537 |
|
538 |
%build |
539 |
|
540 |
## MariaDB |
541 |
%serverbuild |
542 |
%ifarch %arm |
543 |
# workaround from https://bugzilla.redhat.com/show_bug.cgi?id=2026858 |
544 |
export CPPFLAGS="-DSTAP_SDT_ARG_CONSTRAINT=g" |
545 |
%endif |
546 |
export CFLAGS="${CFLAGS:-%{optflags}} -O3 -fno-delete-null-pointer-checks" |
547 |
export CXXFLAGS="${CXXFLAGS:-%{optflags}} -O3 -fno-delete-null-pointer-checks" |
548 |
export LDFLAGS="%{ldflags} -O3 -lz" |
549 |
export FFLAGS="${FFLAGS:-%{optflags}}" |
550 |
export LC_ALL=C |
551 |
#-DPLUGIN_INNOBASE=DYNAMIC \ |
552 |
|
553 |
%cmake \ |
554 |
-DINSTALL_SBINDIR=sbin \ |
555 |
-DMYSQL_DATADIR=/var/lib/mysql \ |
556 |
-DINSTALL_SYSCONFDIR=%{_sysconfdir} \ |
557 |
-DINSTALL_PLUGINDIR=%{_lib}/mysql/plugin \ |
558 |
-DINSTALL_MANDIR=share/man \ |
559 |
-DINSTALL_SHAREDIR=share/mysql \ |
560 |
-DINSTALL_LIBDIR=%{_lib} \ |
561 |
-DINSTALL_INCLUDEDIR=include/mysql \ |
562 |
-DINSTALL_INFODIR=share/info \ |
563 |
-DINSTALL_MYSQLDATADIR=/var/lib/mysql \ |
564 |
-DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test \ |
565 |
-DINSTALL_SQLBENCHDIR=share/mysql \ |
566 |
-DINSTALL_SUPPORTFILESDIR=share/mysql \ |
567 |
-DINSTALL_MYSQLSHAREDIR=share/mysql \ |
568 |
-DLZ4_LIBS=%{_libdir} \ |
569 |
-Wno-deprecated \ |
570 |
-DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock \ |
571 |
-DWITH_READLINE=system \ |
572 |
-DWITH_LIBEDIT=0 \ |
573 |
-DWITH_LIBWRAP=1 \ |
574 |
-DWITH_SSL=system \ |
575 |
-DWITH_ZLIB=system \ |
576 |
-DWITH_PCRE=system \ |
577 |
-DWITH_PIC=1 \ |
578 |
-DMYSQL_TCP_PORT=3306 \ |
579 |
-DEXTRA_CHARSETS=all \ |
580 |
-DENABLED_LOCAL_INFILE=1 \ |
581 |
-DENABLE_DTRACE=1 \ |
582 |
-DWITH_EMBEDDED_SERVER=1 \ |
583 |
-DMYSQL_USER=%{muser} \ |
584 |
%if %{build_debug} |
585 |
-DWITH_DEBUG=1 \ |
586 |
%else |
587 |
-DWITH_DEBUG=0 \ |
588 |
%endif |
589 |
-DFEATURE_SET="community" \ |
590 |
-DRPM=1 \ |
591 |
-DCOMPILATION_COMMENT="%{_vendor} MariaDB Server" \ |
592 |
-DPLUGIN_ARIA=STATIC \ |
593 |
-DPLUGIN_PARTITION=STATIC \ |
594 |
-DPLUGIN_PERFSCHEMA=STATIC \ |
595 |
-DPLUGIN_XTRADB=STATIC \ |
596 |
-DPLUGIN_ARCHIVE=DYNAMIC \ |
597 |
-DPLUGIN_AUDIT_NULL=DYNAMIC \ |
598 |
-DPLUGIN_AUTH_0X0100=DYNAMIC \ |
599 |
-DPLUGIN_AUTH_PAM=DYNAMIC \ |
600 |
-DPLUGIN_AUTH_SOCKET=DYNAMIC \ |
601 |
-DPLUGIN_AUTH_TEST_PLUGIN=DYNAMIC \ |
602 |
-DPLUGIN_BLACKHOLE=DYNAMIC \ |
603 |
-DPLUGIN_CASSANDRA=NO \ |
604 |
-DPLUGIN_CONNECT=DYNAMIC \ |
605 |
-DPLUGIN_S3=DYNAMIC \ |
606 |
-DPLUGIN_DEBUG_KEY_MANAGEMENT=DYNAMIC \ |
607 |
-DPLUGIN_DIALOG=DYNAMIC \ |
608 |
-DPLUGIN_DIALOG_EXAMPLES=DYNAMIC \ |
609 |
-DPLUGIN_FEDERATED=DYNAMIC \ |
610 |
-DPLUGIN_FEDERATEDX=DYNAMIC \ |
611 |
-DPLUGIN_FEEDBACK=DYNAMIC \ |
612 |
-DPLUGIN_FILE_KEY_MANAGEMENT=DYNAMIC \ |
613 |
-DPLUGIN_FTEXAMPLE=DYNAMIC \ |
614 |
-DPLUGIN_HANDLERSOCKET=DYNAMIC \ |
615 |
-DPLUGIN_LOCALES=DYNAMIC \ |
616 |
-DPLUGIN_METADATA_LOCK_INFO=DYNAMIC \ |
617 |
-DPLUGIN_MROONGA=DYNAMIC \ |
618 |
-DPLUGIN_MYSQL_CLEAR_PASSWORD=DYNAMIC \ |
619 |
%if %{build_oqgraph} |
620 |
-DPLUGIN_OQGRAPH=DYNAMIC \ |
621 |
%else |
622 |
-DPLUGIN_OQGRAPH=NO \ |
623 |
%endif |
624 |
-DPLUGIN_QA_AUTH_CLIENT=DYNAMIC \ |
625 |
-DPLUGIN_QA_AUTH_INTERFACE=DYNAMIC \ |
626 |
-DPLUGIN_QA_AUTH_SERVER=DYNAMIC \ |
627 |
-DPLUGIN_QUERY_CACHE_INFO=DYNAMIC \ |
628 |
-DPLUGIN_QUERY_RESPONSE_TIME=DYNAMIC \ |
629 |
-DPLUGIN_SEMISYNC_MASTER=DYNAMIC \ |
630 |
-DPLUGIN_SEMISYNC_SLAVE=DYNAMIC \ |
631 |
-DPLUGIN_SEQUENCE=DYNAMIC \ |
632 |
-DPLUGIN_SERVER_AUDIT=DYNAMIC \ |
633 |
-DPLUGIN_SIMPLE_PASSWORD_CHECK=DYNAMIC \ |
634 |
-DPLUGIN_SPHINX=DYNAMIC \ |
635 |
-DPLUGIN_SPIDER=DYNAMIC \ |
636 |
-DPLUGIN_SQL_ERRLOG=DYNAMIC \ |
637 |
-DPLUGIN_TEST_SQL_DISCOVERY=DYNAMIC \ |
638 |
-DPLUGIN_WSREP_INFO=DYNAMIC \ |
639 |
-DPLUGIN_DAEMON_EXAMPLE=NO \ |
640 |
-DPLUGIN_EXAMPLE=NO \ |
641 |
-DPLUGIN_EXAMPLE_KEY_MANAGEMENT=NO \ |
642 |
-DPLUGIN_TOKUDB=NO \ |
643 |
-DPYTHON_SHEBANG=%{__python3} |
644 |
|
645 |
%cmake_build |
646 |
|
647 |
%install |
648 |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
649 |
install -d %{buildroot}%{_var}/log/mysqld |
650 |
install -d %{buildroot}/var/lib/mysql/{mysql,test} |
651 |
|
652 |
%cmake_install |
653 |
|
654 |
# exclude loaddata7 from being converted |
655 |
export EXCLUDE_FROM_EOL_CONVERSION="std_data/loaddata7.dat" |
656 |
|
657 |
# install configuration files |
658 |
install -m0644 Mageia/my.cnf %{buildroot}%{_sysconfdir}/my.cnf |
659 |
install -m0644 Mageia/server.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/server.cnf |
660 |
install -m0644 Mageia/client.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf |
661 |
install -m0644 Mageia/mysql-clients.cnf %{buildroot}%{_sysconfdir}/my.cnf.d/mysql-clients.cnf |
662 |
|
663 |
# clean installed files first |
664 |
rm -rf %{buildroot}%{_unitdir} |
665 |
|
666 |
# don't use systemd way to create mysql user |
667 |
rm -rf %{buildroot}%{_sysusersdir}/sysusers.conf |
668 |
|
669 |
install -m 0644 -D %{SOURCE10} %{buildroot}%{_tmpfilesdir}/mysql.conf |
670 |
rm -rf %{buildroot}%{_tmpfilesdir}/tmpfiles.conf |
671 |
|
672 |
install -m 0644 -D %{SOURCE11} %{buildroot}%{_unitdir}/mysqld.service |
673 |
install -m 0755 %{SOURCE12} %{buildroot}%{_sbindir}/mysqld-prepare-db-dir |
674 |
|
675 |
# cleanup some config files |
676 |
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/connect.cnf \ |
677 |
%{buildroot}%{_sysconfdir}/my.cnf.d/oqgraph.cnf |
678 |
|
679 |
# magic by anssi |
680 |
pushd %{buildroot}%{_sysconfdir}/my.cnf.d |
681 |
%{expand:%(for i in {50..71}; do echo "install -m 644 %%SOURCE$i ."; done)} |
682 |
popd |
683 |
|
684 |
%if ! %{build_oqgraph} |
685 |
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/ha_oqgraph.cnf |
686 |
%endif |
687 |
|
688 |
#groonga |
689 |
rm -f %{buildroot}%{_datadir}/groonga-normalizer-mysql/lgpl-2.0.txt |
690 |
mv %{buildroot}%{_datadir}/groonga-normalizer-mysql %{buildroot}%{_datadir}/mysql |
691 |
mv %{buildroot}%{_datadir}/groonga %{buildroot}%{_datadir}/mysql |
692 |
|
693 |
# bork |
694 |
mv %{buildroot}%{_datadir}/mysql/aclocal %{buildroot}%{_datadir}/aclocal |
695 |
|
696 |
#pam |
697 |
mv %{buildroot}/%{_lib}/security %{buildroot}/%{_libdir}/ |
698 |
|
699 |
pushd %{buildroot}%{_bindir} |
700 |
ln -sf mysqlcheck mysqlrepair |
701 |
ln -sf mysqlcheck mysqlanalyze |
702 |
ln -sf mysqlcheck mysqloptimize |
703 |
popd |
704 |
|
705 |
# nuke -Wl,--as-needed from the mysql_config file |
706 |
perl -pi -e "s|^ldflags=.*|ldflags=\'-rdynamic\'|g" %{buildroot}%{_bindir}/mysql_config |
707 |
|
708 |
# cmake generates some completely wacko references to -lprobes_mysql when |
709 |
# building with dtrace support. Haven't found where to shut that off, |
710 |
# so resort to this blunt instrument. While at it, let's not reference |
711 |
# libmysqlclient_r anymore either. |
712 |
sed -e 's/-lprobes_mysql//' -e 's/-lmysqlclient_r/-lmysqlclient/' \ |
713 |
%{buildroot}%{_bindir}/mysql_config >mysql_config.tmp |
714 |
cp -f mysql_config.tmp %{buildroot}%{_bindir}/mysql_config |
715 |
chmod 755 %{buildroot}%{_bindir}/mysql_config |
716 |
install -m 0755 -d %{buildroot}/var/lib/mysql |
717 |
|
718 |
# missing header |
719 |
install -m0644 build/include/probes_mysql_dtrace.h %{buildroot}%{_includedir}/mysql/ |
720 |
|
721 |
# libmysqlclient_r is no more. Upstream tries to replace it with symlinks |
722 |
# but that really doesn't work (wrong soname in particular). We'll keep |
723 |
# just the devel libmysqlclient_r.so link, so that rebuilding without any |
724 |
# source change is enough to get rid of dependency on libmysqlclient_r. |
725 |
rm -f %{buildroot}%{_libdir}/libmysqlclient_r.so* |
726 |
ln -s libmariadb.so %{buildroot}%{_libdir}/libmysqlclient_r.so |
727 |
|
728 |
# remove static libs |
729 |
rm -f %{buildroot}%{_libdir}/libmariadbclient.a |
730 |
rm -f %{buildroot}%{_libdir}/libmysqlclient.a |
731 |
rm -f %{buildroot}%{_libdir}/libmysqlclient_r.a |
732 |
rm -f %{buildroot}%{_libdir}/libmysqld.a |
733 |
rm -f %{buildroot}%{_libdir}/libmariadb.a |
734 |
rm -f %{buildroot}%{_libdir}/libmariadbd.a |
735 |
|
736 |
# mysql-test includes one executable that doesn't belong under /usr/share, |
737 |
# so move it and provide a symlink |
738 |
mv %{buildroot}%{_datadir}/mysql/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir} |
739 |
ln -s %{_bindir}/my_safe_process %{buildroot}%{_datadir}/mysql/mysql-test/lib/My/SafeProcess/my_safe_process |
740 |
|
741 |
# mysql client statically built against a local embedded library, pretty useless |
742 |
rm -f %{buildroot}%{_bindir}/mariadb-embedded |
743 |
rm -f %{buildroot}%{_bindir}/mysql_embedded |
744 |
rm -f %{buildroot}%{_mandir}/man1/mariadb-embedded.1* |
745 |
rm -f %{buildroot}%{_mandir}/man1/mysql_embedded.1* |
746 |
|
747 |
# this command enables plugins, but needs ini file + configuration in my.cnf |
748 |
# before executing... and oh yeah, mysql must be stopped... => useless |
749 |
# however, apparently tests seem to want it, even thought they don't use it. |
750 |
#rm -f %{buildroot}%{_bindir}/mysql_plugin |
751 |
rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini |
752 |
|
753 |
# no RHEL4 selinux files for us |
754 |
rm -rf %{buildroot}%{_datadir}/mysql/SELinux |
755 |
# no solaris files for us |
756 |
rm -rf %{buildroot}%{_datadir}/mysql/solaris |
757 |
# no init script for us |
758 |
rm -f %{buildroot}%{_initrddir}/mysql |
759 |
rm -f %{buildroot}%{_initrddir}/mysqld |
760 |
|
761 |
# house cleaning |
762 |
rm -rf %{buildroot}%{_datadir}/info |
763 |
rm -f %{buildroot}%{_bindir}/client_test |
764 |
rm -f %{buildroot}%{_bindir}/maria_add_gis_sp.sql |
765 |
rm -f %{buildroot}%{_bindir}/make_win_binary_distribution |
766 |
rm -f %{buildroot}%{_bindir}/make_win_src_distribution |
767 |
rm -f %{buildroot}%{_bindir}/test-connect-t |
768 |
rm -f %{buildroot}%{_datadir}/mysql/binary-configure |
769 |
rm -f %{buildroot}%{_datadir}/mysql/config.huge.ini |
770 |
rm -f %{buildroot}%{_datadir}/mysql/config.medium.ini |
771 |
rm -f %{buildroot}%{_datadir}/mysql/config.small.ini |
772 |
rm -f %{buildroot}%{_datadir}/mysql/mysqld_multi.server |
773 |
rm -f %{buildroot}%{_datadir}/mysql/mysql-log-rotate |
774 |
rm -f %{buildroot}%{_datadir}/mysql/mysql.server |
775 |
rm -f %{buildroot}%{_datadir}/mysql/ndb-config-2-node.ini |
776 |
rm -f %{buildroot}%{_datadir}/mysql/binary-configure |
777 |
rm -f %{buildroot}%{_mandir}/man1/galera_new_cluster.1* |
778 |
rm -f %{buildroot}%{_mandir}/man1/galera_recovery.1* |
779 |
rm -f %{buildroot}%{_mandir}/man1/make_win_bin_dist.1* |
780 |
rm -f %{buildroot}%{_mandir}/man1/make_win_src_distribution.1* |
781 |
rm -f %{buildroot}%{_mandir}/man1/mariadb-service-convert.1* |
782 |
rm -rf %{buildroot}%{_mandir}/man3 |
783 |
rm -f %{buildroot}%{_datadir}/mysql/magic |
784 |
rm -f %{buildroot}%{_sbindir}/rcmysql |
785 |
rm -rf %{buildroot}%{_datadir}/mysql/policy |
786 |
rm -rf %{buildroot}%{_datadir}/mysql/systemd |
787 |
rm -rf %{buildroot}%{_datadir}/mysql/mini-benchmark |
788 |
rm -f %{buildroot}%{_bindir}/mariadb-service-convert |
789 |
rm -f %{buildroot}%{_bindir}/galera_new_cluster |
790 |
rm -f %{buildroot}%{_bindir}/galera_recovery |
791 |
rm -f %{buildroot}%{_datadir}/mysql/wsrep_notify |
792 |
rm -f %{buildroot}%{_datadir}/mysql/mysql_test_db.sql |
793 |
touch %{buildroot}%{_datadir}/mysql/mysql_test_db.sql |
794 |
cp %{SOURCE71} %{buildroot}%{_sysconfdir}/my.cnf.d/auth_gssapi.cnf |
795 |
|
796 |
#rocksdb is not available for i586 |
797 |
%ifarch %arm x86_64 aarch64 |
798 |
%else |
799 |
rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/rocksdb.cnf |
800 |
rm -f %{buildroot}%{_libdir}/mysql/plugin/ha_rocksdb.so |
801 |
rm -f %{buildroot}%{_bindir}/myrocks_hotbackup |
802 |
rm -f %{buildroot}%{_bindir}/mariadb-ldb |
803 |
rm -f %{buildroot}%{_bindir}/mysql_ldb |
804 |
rm -f %{buildroot}%{_bindir}/sst_dump |
805 |
rm -f %{buildroot}%{_mandir}/man1/mariadb-ldb.1* |
806 |
rm -f %{buildroot}%{_mandir}/man1/mysql_ldb.1* |
807 |
%endif |
808 |
|
809 |
|
810 |
# no idea how to fix this |
811 |
rm -rf %{buildroot}%{_prefix}/data |
812 |
rm -rf %{buildroot}%{_prefix}/docs |
813 |
rm -rf %{buildroot}%{_prefix}/scripts |
814 |
rm -rf %{buildroot}%{_datadir}/doc |
815 |
rm -rf %{buildroot}%{_sysconfdir}/init.d/mysql |
816 |
|
817 |
cat > README.urpmi <<EOF |
818 |
|
819 |
NOTE: MariaDB is installed without root password, it is recommended to set the |
820 |
root password with the following command as soon as possible: |
821 |
|
822 |
# mysql_secure_installation |
823 |
press enter at each question except the new root password. |
824 |
|
825 |
The initscript used to start mysql has been reverted to use the one shipped |
826 |
by MariaDB. This means the following changes: |
827 |
|
828 |
* The generation of the initial system mysql database is now done when mysql |
829 |
is started from the initscript and only if the /var/lib/mysql/mysql |
830 |
directory is empty (mysql_install_db). Previousely this was quite hidden and |
831 |
silently done at (rpm) install time. As a consequence to this change you may |
832 |
have to perform some manual tasks to upgrade the mysql system database and |
833 |
such. So, doing something like this might help you: |
834 |
|
835 |
systemctl stop mysqld.service |
836 |
TMPDIR=/var/tmp mysql_install_db |
837 |
systemctl start mysqld.service |
838 |
mysql_upgrade --skip-write-binlog |
839 |
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -D mysql |
840 |
|
841 |
EOF |
842 |
|
843 |
%check |
844 |
################################################################################ |
845 |
# run the tests |
846 |
%if %{build_test} |
847 |
# disable failing tests |
848 |
# --ssl \ |
849 |
# --big-test \ |
850 |
pushd build/mysql-test |
851 |
export LANG=C |
852 |
export LC_ALL=C |
853 |
export LANGUAGE=C |
854 |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/build/unittest/mytap:%{_builddir}/%{name}-%{version}/build/libmariadb/unittest/mytap/ |
855 |
perl ./mysql-test-run.pl \ |
856 |
--mtr-build-thread="$((${RANDOM} % 100))" \ |
857 |
--retry=0 \ |
858 |
--force \ |
859 |
--fast \ |
860 |
--skip-test-list=unstable-tests \ |
861 |
--max-test-fail=0 \ |
862 |
--skip-test=spider \ |
863 |
--testcase-timeout=60 \ |
864 |
--suite-timeout=1200 || false && cat %{_builddir}/%{name}-%{version}/build/mysql-test/var/log/warnings |
865 |
popd |
866 |
%endif |
867 |
|
868 |
%pre common |
869 |
# delete the mysql group if no mysql user is found, before adding the user |
870 |
if [ -z "`getent passwd %{muser}`" ] && ! [ -z "`getent group %{muser}`" ]; then |
871 |
%{_sbindir}/groupdel %{muser} 2> /dev/null || : |
872 |
fi |
873 |
|
874 |
%_pre_useradd %{muser} /var/lib/mysql /bin/bash |
875 |
|
876 |
%post |
877 |
%_tmpfilescreate mysql |
878 |
%_post_service mysqld |
879 |
|
880 |
%preun |
881 |
%_preun_service mysqld |
882 |
|
883 |
%postun |
884 |
%_postun_service mysqld |
885 |
|
886 |
%files |
887 |
%doc README.urpmi |
888 |
%config(noreplace) %{_sysconfdir}/logrotate.d/mariadb |
889 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_gssapi.cnf |
890 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_socket.cnf |
891 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/cracklib_password_check.cnf |
892 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/disks.cnf |
893 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset |
894 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_archive.cnf |
895 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_blackhole.cnf |
896 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_federatedx.cnf |
897 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/hashicorp_key_management.cnf |
898 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/locales.cnf |
899 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/metadata_lock_info.cnf |
900 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_bzip2.cnf |
901 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lz4.cnf |
902 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lzma.cnf |
903 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_lzo.cnf |
904 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/provider_snappy.cnf |
905 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/query_response_time.cnf |
906 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/server_audit.cnf |
907 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf |
908 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/sql_errlog.cnf |
909 |
|
910 |
%{_libdir}/mysql/plugin/auth_ed25519.so |
911 |
%{_libdir}/mysql/plugin/auth_gssapi_client.so |
912 |
%{_libdir}/mysql/plugin/auth_gssapi.so |
913 |
%{_libdir}/mysql/plugin/auth_socket.so |
914 |
%{_libdir}/mysql/plugin/caching_sha2_password.so |
915 |
%{_libdir}/mysql/plugin/cracklib_password_check.so |
916 |
%{_libdir}/mysql/plugin/debug_key_management.so |
917 |
%{_libdir}/mysql/plugin/disks.so |
918 |
%{_libdir}/mysql/plugin/file_key_management.so |
919 |
%{_libdir}/mysql/plugin/ha_archive.so |
920 |
%{_libdir}/mysql/plugin/ha_blackhole.so |
921 |
%{_libdir}/mysql/plugin/ha_federatedx.so |
922 |
%{_libdir}/mysql/plugin/hashicorp_key_management.so |
923 |
%{_libdir}/mysql/plugin/locales.so |
924 |
%{_libdir}/mysql/plugin/metadata_lock_info.so |
925 |
%{_libdir}/mysql/plugin/password_reuse_check.so |
926 |
%{_libdir}/mysql/plugin/provider_bzip2.so |
927 |
%{_libdir}/mysql/plugin/provider_lz4.so |
928 |
%{_libdir}/mysql/plugin/provider_lzma.so |
929 |
%{_libdir}/mysql/plugin/provider_lzo.so |
930 |
%{_libdir}/mysql/plugin/provider_snappy.so |
931 |
%{_libdir}/mysql/plugin/query_response_time.so |
932 |
%{_libdir}/mysql/plugin/server_audit.so |
933 |
%{_libdir}/mysql/plugin/sha256_password.so |
934 |
%{_libdir}/mysql/plugin/simple_password_check.so |
935 |
%{_libdir}/mysql/plugin/sql_errlog.so |
936 |
%{_libdir}/mysql/plugin/test_sql_service.so |
937 |
%{_libdir}/mysql/plugin/type_mysql_json.so |
938 |
%{_libdir}/mysql/plugin/type_mysql_timestamp.so |
939 |
%{_libdir}/mysql/plugin/wsrep_info.so |
940 |
%{_libdir}/mysql/plugin/zstd.so |
941 |
%{_sbindir}/mysqld-prepare-db-dir |
942 |
%{_sysusersdir}/mariadb.conf |
943 |
%{_tmpfilesdir}/mariadb.conf |
944 |
%{_tmpfilesdir}/mysql.conf |
945 |
%{_unitdir}/mysqld.service |
946 |
%{_datadir}/mysql/mariadb.logrotate |
947 |
|
948 |
%files -n mysql-MariaDB |
949 |
|
950 |
%files obsolete |
951 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_innodb.cnf |
952 |
%{_libdir}/mysql/plugin/ha_federated.so |
953 |
|
954 |
%files feedback |
955 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/feedback.cnf |
956 |
%{_libdir}/mysql/plugin/feedback.so |
957 |
|
958 |
%if %{build_oqgraph} |
959 |
%files oqgraph |
960 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_oqgraph.cnf |
961 |
%{_libdir}/mysql/plugin/ha_oqgraph.so |
962 |
%endif |
963 |
|
964 |
%files connect |
965 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_connect.cnf |
966 |
%{_libdir}/mysql/plugin/ha_connect.so |
967 |
|
968 |
%files s3-engine |
969 |
%{_bindir}/aria_s3_copy |
970 |
%{_mandir}/man1/aria_s3_copy.1* |
971 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/s3.cnf |
972 |
%{_libdir}/mysql/plugin/ha_s3.so |
973 |
|
974 |
%files sphinx |
975 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_sphinx.cnf |
976 |
%{_libdir}/mysql/plugin/ha_sphinx.so |
977 |
|
978 |
%ifarch %arm x86_64 aarch64 |
979 |
%files rocks |
980 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/rocksdb.cnf |
981 |
%{_libdir}/mysql/plugin/ha_rocksdb.so |
982 |
%{_bindir}/myrocks_hotbackup |
983 |
%{_bindir}/mariadb-ldb |
984 |
%{_bindir}/mysql_ldb |
985 |
%{_bindir}/sst_dump |
986 |
%{_mandir}/man1/mariadb-ldb.1* |
987 |
%{_mandir}/man1/mysql_ldb.1* |
988 |
%{_mandir}/man1/myrocks_hotbackup.1.* |
989 |
%endif |
990 |
|
991 |
%files mroonga |
992 |
%doc %{_datadir}/mysql/groonga/COPYING |
993 |
%doc %{_datadir}/mysql/groonga-normalizer-mysql/README.md |
994 |
%doc %{_datadir}/mysql/groonga/README.md |
995 |
%doc %{_datadir}/mysql/mroonga/AUTHORS |
996 |
%doc %{_datadir}/mysql/mroonga/COPYING |
997 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_mroonga.cnf |
998 |
%{_libdir}/mysql/plugin/ha_mroonga.so |
999 |
%{_datadir}/mysql/mroonga/install.sql |
1000 |
%{_datadir}/mysql/mroonga/uninstall.sql |
1001 |
|
1002 |
%files sequence |
1003 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_sequence.cnf |
1004 |
%{_libdir}/mysql/plugin/ha_sequence.so |
1005 |
|
1006 |
%files spider |
1007 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/ha_spider.cnf |
1008 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/spider.cnf |
1009 |
%{_libdir}/mysql/plugin/ha_spider.so |
1010 |
|
1011 |
%files extra |
1012 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/handlersocket.cnf |
1013 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/query_cache_info.cnf |
1014 |
%{_libdir}/mysql/plugin/handlersocket.so |
1015 |
# new optional functionality |
1016 |
%{_libdir}/mysql/plugin/query_cache_info.so |
1017 |
|
1018 |
%files client |
1019 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf |
1020 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf |
1021 |
%{_bindir}/mariabackup |
1022 |
%{_bindir}/mariadb |
1023 |
%{_bindir}/mariadb-access |
1024 |
%{_bindir}/mariadb-admin |
1025 |
%{_bindir}/mariadb-binlog |
1026 |
%{_bindir}/mariadb-check |
1027 |
%{_bindir}/mariadb-conv |
1028 |
%{_bindir}/mariadb-dump |
1029 |
%{_bindir}/mariadb-dumpslow |
1030 |
%{_bindir}/mariadb-find-rows |
1031 |
%{_bindir}/mariadb-import |
1032 |
%{_bindir}/mariadb-show |
1033 |
%{_bindir}/mariadb-slap |
1034 |
%{_bindir}/mariadb-waitpid |
1035 |
%{_bindir}/mbstream |
1036 |
%{_bindir}/msql2mysql |
1037 |
%{_bindir}/mysql |
1038 |
%{_bindir}/mysqlaccess |
1039 |
%{_bindir}/mysqladmin |
1040 |
%{_bindir}/mysqlanalyze |
1041 |
%{_bindir}/mysqlbinlog |
1042 |
%{_bindir}/mysqlcheck |
1043 |
%{_bindir}/mysqldump |
1044 |
%{_bindir}/mysqldumpslow |
1045 |
%{_bindir}/mysql_find_rows |
1046 |
%{_bindir}/mysqlimport |
1047 |
%{_bindir}/mysqloptimize |
1048 |
%{_bindir}/mysqlrepair |
1049 |
%{_bindir}/mysqlshow |
1050 |
%{_bindir}/mysqlslap |
1051 |
%{_bindir}/mysql_waitpid |
1052 |
%{_mandir}/man1/mariabackup.1* |
1053 |
%{_mandir}/man1/mariadb.1* |
1054 |
%{_mandir}/man1/mariadb-access.1* |
1055 |
%{_mandir}/man1/mariadb-admin.1* |
1056 |
%{_mandir}/man1/mariadb-binlog.1* |
1057 |
%{_mandir}/man1/mariadb-check.1* |
1058 |
%{_mandir}/man1/mariadb_config.1.* |
1059 |
%{_mandir}/man1/mariadb-conv.1.* |
1060 |
%{_mandir}/man1/mariadb-dump.1* |
1061 |
%{_mandir}/man1/mariadb-dumpslow.1* |
1062 |
%{_mandir}/man1/mariadb-find-rows.1* |
1063 |
%{_mandir}/man1/mariadb-import.1* |
1064 |
%{_mandir}/man1/mariadb-show.1* |
1065 |
%{_mandir}/man1/mariadb-waitpid.1* |
1066 |
%{_mandir}/man1/mbstream.1* |
1067 |
%{_mandir}/man1/msql2mysql.1* |
1068 |
%{_mandir}/man1/myisam_ftdump.1* |
1069 |
%{_mandir}/man1/mysql.1* |
1070 |
%{_mandir}/man1/mysqlaccess.1* |
1071 |
%{_mandir}/man1/mysqladmin.1* |
1072 |
%{_mandir}/man1/mysqlbinlog.1* |
1073 |
%{_mandir}/man1/mysqlcheck.1* |
1074 |
%{_mandir}/man1/mysqldump.1* |
1075 |
%{_mandir}/man1/mysqldumpslow.1* |
1076 |
%{_mandir}/man1/mysql_find_rows.1* |
1077 |
%{_mandir}/man1/mysqlimport.1* |
1078 |
%{_mandir}/man1/mysqlshow.1* |
1079 |
%{_mandir}/man1/mysql_waitpid.1* |
1080 |
%{_mandir}/man1/mytop.1.* |
1081 |
# libmysqlclient plugins |
1082 |
%{_libdir}/mysql/plugin/dialog.so |
1083 |
%{_libdir}/mysql/plugin/mysql_clear_password.so |
1084 |
%{_libdir}/mysql/plugin/client_ed25519.so |
1085 |
|
1086 |
%files bench |
1087 |
%doc build/sql-bench/README |
1088 |
%{_bindir}/my_safe_process |
1089 |
%{_bindir}/mariadb-client-test |
1090 |
%{_bindir}/mysql_client_test |
1091 |
%{_datadir}/mysql/sql-bench |
1092 |
%{_mandir}/man1/my_safe_process.1* |
1093 |
%{_mandir}/man1/mariadb-client-test.1* |
1094 |
%{_mandir}/man1/mysql_client_test.1* |
1095 |
%{_mandir}/man1/mysql-stress-test.pl.1* |
1096 |
%{_mandir}/man1/mariadb-test.1* |
1097 |
%{_mandir}/man1/mysqltest.1* |
1098 |
%{_mandir}/man1/mysql-test-run.pl.1* |
1099 |
%{_libdir}/mysql/plugin/adt_null.so |
1100 |
%{_libdir}/mysql/plugin/auth_0x0100.so |
1101 |
%{_libdir}/mysql/plugin/auth_test_plugin.so |
1102 |
%{_libdir}/mysql/plugin/dialog_examples.so |
1103 |
%{_libdir}/mysql/plugin/func_test.so |
1104 |
%{_libdir}/mysql/plugin/ha_test_sql_discovery.so |
1105 |
%{_libdir}/mysql/plugin/mypluglib.so |
1106 |
%{_libdir}/mysql/plugin/qa_auth_client.so |
1107 |
%{_libdir}/mysql/plugin/qa_auth_interface.so |
1108 |
%{_libdir}/mysql/plugin/qa_auth_server.so |
1109 |
%{_libdir}/mysql/plugin/type_test.so |
1110 |
%{_libdir}/mysql/plugin/test_versioning.so |
1111 |
%attr(-,%{muser},%{muser}) %{_datadir}/mysql/mysql-test |
1112 |
%attr(0755,%{muser},%{muser}) %dir /var/lib/mysql/test |
1113 |
|
1114 |
%files core |
1115 |
%{_sbindir}/mariadbd |
1116 |
%{_sbindir}/mysqld |
1117 |
|
1118 |
%files common-core |
1119 |
%config(noreplace) %{_sysconfdir}/my.cnf |
1120 |
%dir %{_datadir}/mysql |
1121 |
%{_datadir}/mysql/english |
1122 |
%{_datadir}/mysql/charsets |
1123 |
|
1124 |
%files common |
1125 |
%doc README.md COPYING |
1126 |
%dir %{_sysconfdir}/my.cnf.d |
1127 |
%dir %{_libdir}/mysql/plugin |
1128 |
%{_bindir}/aria_chk |
1129 |
%{_bindir}/aria_dump_log |
1130 |
%{_bindir}/aria_ftdump |
1131 |
%{_bindir}/aria_pack |
1132 |
%{_bindir}/aria_read_log |
1133 |
%{_bindir}/innochecksum |
1134 |
%{_bindir}/myisamchk |
1135 |
%{_bindir}/myisam_ftdump |
1136 |
%{_bindir}/myisamlog |
1137 |
%{_bindir}/myisampack |
1138 |
%{_bindir}/my_print_defaults |
1139 |
%{_bindir}/mariabackup |
1140 |
%{_bindir}/mariadb-backup |
1141 |
%{_bindir}/mariadb-convert-table-format |
1142 |
%{_bindir}/mysql_convert_table_format |
1143 |
%{_bindir}/mariadbd-multi |
1144 |
%{_bindir}/mysqld_multi |
1145 |
%{_bindir}/mariadbd-safe |
1146 |
%{_bindir}/mysqld_safe |
1147 |
%{_bindir}/mariadbd-safe-helper |
1148 |
%{_bindir}/mysqld_safe_helper |
1149 |
%{_bindir}/mariadb-fix-extensions |
1150 |
%{_bindir}/mysql_fix_extensions |
1151 |
%{_bindir}/mariadb-hotcopy |
1152 |
%{_bindir}/mysqlhotcopy |
1153 |
%{_bindir}/mariadb-install-db |
1154 |
%{_bindir}/mysql_install_db |
1155 |
%{_bindir}/mariadb-plugin |
1156 |
%{_bindir}/mysql_plugin |
1157 |
%{_bindir}/mariadb-secure-installation |
1158 |
%{_bindir}/mysql_secure_installation |
1159 |
%{_bindir}/mariadb-setpermission |
1160 |
%{_bindir}/mysql_setpermission |
1161 |
%{_bindir}/mariadb-test |
1162 |
%{_bindir}/mysqltest |
1163 |
%{_bindir}/mariadb-tzinfo-to-sql |
1164 |
%{_bindir}/mysql_tzinfo_to_sql |
1165 |
%{_bindir}/mariadb-upgrade |
1166 |
%{_bindir}/mysql_upgrade |
1167 |
%{_bindir}/mytop |
1168 |
%{_bindir}/perror |
1169 |
%{_bindir}/replace |
1170 |
%{_bindir}/resolveip |
1171 |
%{_bindir}/resolve_stack_dump |
1172 |
%{_bindir}/wsrep_sst_backup |
1173 |
%{_bindir}/wsrep_sst_common |
1174 |
%{_bindir}/wsrep_sst_mariabackup |
1175 |
%{_bindir}/wsrep_sst_mysqldump |
1176 |
%{_bindir}/wsrep_sst_rsync |
1177 |
%{_bindir}/wsrep_sst_rsync_wan |
1178 |
%attr(0755,%{muser},%{muser}) %dir /var/lib/mysql |
1179 |
%attr(0755,%{muser},%{muser}) %dir /var/lib/mysql/mysql |
1180 |
%attr(0755,%{muser},%{muser}) %dir %{_var}/log/mysqld |
1181 |
%{_datadir}/mysql/*.cnf |
1182 |
%{_datadir}/mysql/fill_help_tables.sql |
1183 |
%{_datadir}/mysql/mariadb_performance_tables.sql |
1184 |
%{_datadir}/mysql/mariadb_sys_schema.sql |
1185 |
%{_datadir}/mysql/mariadb_system_tables.sql |
1186 |
%{_datadir}/mysql/mariadb_system_tables_data.sql |
1187 |
%{_datadir}/mysql/mariadb_test_data_timezone.sql |
1188 |
%{_datadir}/mysql/mariadb_test_db.sql |
1189 |
%{_datadir}/mysql/mysql_test_db.sql |
1190 |
%{_datadir}/mysql/errmsg-utf8.txt |
1191 |
%{_datadir}/mysql/maria_add_gis_sp_bootstrap.sql |
1192 |
%{_datadir}/mysql/maria_add_gis_sp.sql |
1193 |
%{_datadir}/mysql/bulgarian |
1194 |
%{_datadir}/mysql/chinese |
1195 |
%{_datadir}/mysql/czech |
1196 |
%{_datadir}/mysql/danish |
1197 |
%{_datadir}/mysql/dutch |
1198 |
%{_datadir}/mysql/estonian |
1199 |
%{_datadir}/mysql/french |
1200 |
%{_datadir}/mysql/german |
1201 |
%{_datadir}/mysql/georgian |
1202 |
%{_datadir}/mysql/greek |
1203 |
%{_datadir}/mysql/hindi |
1204 |
%{_datadir}/mysql/hungarian |
1205 |
%{_datadir}/mysql/italian |
1206 |
%{_datadir}/mysql/japanese |
1207 |
%{_datadir}/mysql/korean |
1208 |
%{_datadir}/mysql/norwegian |
1209 |
%{_datadir}/mysql/norwegian-ny |
1210 |
%{_datadir}/mysql/polish |
1211 |
%{_datadir}/mysql/portuguese |
1212 |
%{_datadir}/mysql/romanian |
1213 |
%{_datadir}/mysql/russian |
1214 |
%{_datadir}/mysql/serbian |
1215 |
%{_datadir}/mysql/swahili |
1216 |
%{_datadir}/mysql/slovak |
1217 |
%{_datadir}/mysql/spanish |
1218 |
%{_datadir}/mysql/swedish |
1219 |
%{_datadir}/mysql/ukrainian |
1220 |
%{_mandir}/man1/aria_chk.1* |
1221 |
%{_mandir}/man1/aria_dump_log.1* |
1222 |
%{_mandir}/man1/aria_ftdump.1* |
1223 |
%{_mandir}/man1/aria_pack.1* |
1224 |
%{_mandir}/man1/aria_read_log.1* |
1225 |
%{_mandir}/man1/innochecksum.1* |
1226 |
%{_mandir}/man1/mariadb-backup.1* |
1227 |
%{_mandir}/man1/myisamchk.1* |
1228 |
%{_mandir}/man1/myisamlog.1* |
1229 |
%{_mandir}/man1/myisampack.1* |
1230 |
%{_mandir}/man1/my_print_defaults.1* |
1231 |
%{_mandir}/man1/mariadb-convert-table-format.1* |
1232 |
%{_mandir}/man1/mysql_convert_table_format.1* |
1233 |
%{_mandir}/man1/mariadbd-multi.1* |
1234 |
%{_mandir}/man1/mysqld_multi.1* |
1235 |
%{_mandir}/man1/mariadbd-safe.1* |
1236 |
%{_mandir}/man1/mysqld_safe.1* |
1237 |
%{_mandir}/man1/mariadbd-safe-helper.1* |
1238 |
%{_mandir}/man1/mysqld_safe_helper.1* |
1239 |
%{_mandir}/man1/mariadb-fix-extensions.1* |
1240 |
%{_mandir}/man1/mysql_fix_extensions.1* |
1241 |
%{_mandir}/man1/mariadb-hotcopy.1* |
1242 |
%{_mandir}/man1/mysqlhotcopy.1* |
1243 |
%{_mandir}/man1/mariadb-install-db.1* |
1244 |
%{_mandir}/man1/mysql_install_db.1* |
1245 |
%{_mandir}/man1/mariadb-plugin.1* |
1246 |
%{_mandir}/man1/mysql_plugin.1* |
1247 |
%{_mandir}/man1/mariadb-secure-installation.1* |
1248 |
%{_mandir}/man1/mysql_secure_installation.1* |
1249 |
%{_mandir}/man1/mysql.server.1* |
1250 |
%{_mandir}/man1/mariadb-setpermission.1* |
1251 |
%{_mandir}/man1/mysql_setpermission.1* |
1252 |
%{_mandir}/man1/mariadb-slap.1* |
1253 |
%{_mandir}/man1/mysqlslap.1* |
1254 |
%{_mandir}/man1/mariadb-tzinfo-to-sql.1* |
1255 |
%{_mandir}/man1/mysql_tzinfo_to_sql.1* |
1256 |
%{_mandir}/man1/mariadb-upgrade.1* |
1257 |
%{_mandir}/man1/mysql_upgrade.1* |
1258 |
%{_mandir}/man1/perror.1* |
1259 |
%{_mandir}/man1/replace.1* |
1260 |
%{_mandir}/man1/resolveip.1* |
1261 |
%{_mandir}/man1/resolve_stack_dump.1* |
1262 |
%{_mandir}/man8/mysqld.8* |
1263 |
%{_mandir}/man8/mariadb* |
1264 |
%{_mandir}/man1/wsrep_*.1* |
1265 |
|
1266 |
%files pam |
1267 |
%config(noreplace) %{_sysconfdir}/my.cnf.d/auth_pam.cnf |
1268 |
%config(noreplace) %{_sysconfdir}/security/user_map.conf |
1269 |
%{_libdir}/security/pam_user_map.so |
1270 |
%dir %{_libdir}/mysql/plugin/auth_pam_tool_dir/ |
1271 |
%{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool |
1272 |
%{_libdir}/mysql/plugin/auth_pam_v1.so |
1273 |
%{_libdir}/mysql/plugin/auth_pam.so |
1274 |
|
1275 |
%files -n %{libname} |
1276 |
%{_libdir}/libmariadb.so.%{major}{,.*} |
1277 |
|
1278 |
|
1279 |
%files -n %{develname} |
1280 |
%doc INSTALL-SOURCE |
1281 |
%{_bindir}/mariadb-config |
1282 |
%{_bindir}/mariadb_config |
1283 |
%{_bindir}/mysql_config |
1284 |
%{_libdir}/libmariadb.so |
1285 |
%{_libdir}/libmysqlclient_r.so |
1286 |
%{_libdir}/libmysqlclient.so |
1287 |
%{_libdir}/pkgconfig/mariadb.pc |
1288 |
%{_libdir}/pkgconfig/libmariadb.pc |
1289 |
%dir %{_includedir}/mysql |
1290 |
%dir %{_includedir}/mysql/mariadb |
1291 |
%dir %{_includedir}/mysql/mysql |
1292 |
%dir %{_includedir}/mysql/server |
1293 |
%dir %{_includedir}/mysql/server/mysql |
1294 |
%dir %{_includedir}/mysql/server/mysql/psi |
1295 |
%dir %{_includedir}/mysql/server/private |
1296 |
%dir %{_includedir}/mysql/server/private/atomic |
1297 |
%dir %{_includedir}/mysql/server/private/providers |
1298 |
%dir %{_includedir}/mysql/server/private/providers/lzo |
1299 |
%{_includedir}/mysql/*.h |
1300 |
%{_includedir}/mysql/mariadb/*.h |
1301 |
%{_includedir}/mysql/mysql/*.h |
1302 |
%{_includedir}/mysql/server/*.h |
1303 |
%{_includedir}/mysql/server/mysql/*.h |
1304 |
%{_includedir}/mysql/server/mysql/psi/*.h |
1305 |
%{_includedir}/mysql/server/private/*.h |
1306 |
%{_includedir}/mysql/server/private/atomic/*.h |
1307 |
%{_includedir}/mysql/server/private/providers/*.h |
1308 |
%{_includedir}/mysql/server/private/providers/lzo/*.h |
1309 |
%{_mandir}/man1/mysql_config.1* |
1310 |
%{_datadir}/aclocal/mysql.m4 |
1311 |
# mysqlservices library is static, because it doesn't contain any code |
1312 |
# itself, and is meant to be statically linked to all plugins. |
1313 |
%{_libdir}/libmysqlservices.a |
1314 |
|
1315 |
%files -n %{libmariadbembedded} |
1316 |
%doc COPYING |
1317 |
%{_libdir}/libmariadbd.so.%{mariadbdmajor}{,.*} |
1318 |
|
1319 |
%files -n %{libmariadbembedded_devel} |
1320 |
%{_libdir}/libmariadbd.so |
1321 |
%{_libdir}/libmysqld.so |
1322 |
%{_bindir}/mariadb-client-test-embedded |
1323 |
%{_bindir}/mysql_client_test_embedded |
1324 |
%{_bindir}/mariadb-test-embedded |
1325 |
%{_bindir}/mysqltest_embedded |
1326 |
%{_mandir}/man1/mariadb-client-test-embedded.1* |
1327 |
%{_mandir}/man1/mysql_client_test_embedded.1* |
1328 |
%{_mandir}/man1/mariadb-test-embedded.1* |
1329 |
%{_mandir}/man1/mysqltest_embedded.1* |
1330 |
|