/[packages]/cauldron/mariadb/current/SPECS/mariadb.spec
ViewVC logotype

Annotation of /cauldron/mariadb/current/SPECS/mariadb.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 645707 - (hide annotations) (download)
Sun Jul 6 13:03:40 2014 UTC (6 years, 3 months ago) by ovitters
File size: 35532 byte(s)
SILENT remove cleaning buildroot in install
1 alien 166284 #(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     %define build_debug 0
10     %define build_test 0
11    
12     # commandline overrides:
13     # rpm -ba|--rebuild --with 'xxx'
14     %{?_with_debug: %{expand: %%define build_debug 1}}
15     %{?_with_test: %{expand: %%define build_test 1}}
16     %{?_without_test: %global build_test 0}
17    
18     %if %{build_debug}
19     # disable build root strip policy
20     %define __spec_install_post %{_libdir}/rpm/brp-compress || :
21    
22     # This gives extra debuggin and huge binaries
23     %{expand:%%define optflags %{optflags} %([ ! $DEBUG ] && echo '-g3')}
24     %endif
25    
26     %if %{build_debug}
27     %define build_debug 1
28     %endif
29    
30     %if %{build_test}
31     %define build_test 1
32     %endif
33    
34     %define major 18
35 alien 182848 %define libmysqlembedded_major 0
36     %define libmysqlembedded_minor 0.1
37 alien 166284 %define libname %mklibname mariadb %{major}
38     %define libmariadbservices %mklibname mariadbservices
39 alien 182848 %define libmariadbembedded %mklibname mariadb-embedded %{major}
40 alien 166284 %define develname %mklibname -d mariadb
41     %define old_staticdevelname %mklibname -d -s mariadb
42     %define libmariadbembedded_devel %mklibname -d mariadb-embedded
43    
44 alien 183054 %define mysql_libname %mklibname mysql %{major}
45     %define mysql_develname %mklibname -d mysql
46     %define libmysqlservices %mklibname mysqlservices
47     %define libmysqlembedded %mklibname mysqld %{libmysqlembedded_major}
48     %define libmysqlembedded_devel %mklibname -d mariadb-embedded
49    
50 alien 223554 %define mirror http://ftp.osuosl.org/pub/mariadb
51 alien 166284
52 oden 583354 %define muser mysql
53 alien 474203
54 oden 583354 # rule out some useless autodeps in the test suite
55     %define _requires_exceptions perl(th\\|perl(lib\\|perl(mtr\\|perl(My
56     %define _provides_exceptions perl(th\\|perl(lib\\|perl(mtr\\|perl(My
57    
58 alien 166284 Summary: A very fast and reliable SQL database engine
59     Name: mariadb
60 oden 637582 Version: 10.0.12
61 oden 610879 Release: %mkrel 1
62 alien 166284 Group: Databases
63     License: GPLv2 with exceptions
64     URL: http://mariadb.org/
65 alien 215169 Source0: %{mirror}/%{name}-%{version}/kvm-tarbake-jaunty-x86/%{name}-%{version}.tar.gz
66 alien 166284 Source3: my.cnf
67     Source10: mysql.tmpfiles.d
68     Source11: mysqld.service
69     Source12: mysqld-prepare-db-dir
70     Source13: mysqld-wait-ready
71 oden 584442 Source50: auth_pam.cnf
72     Source51: auth_socket.cnf
73     Source52: dialog.cnf
74     Source53: ha_archive.cnf
75     Source54: ha_blackhole.cnf
76     Source55: ha_cassandra.cnf
77     Source56: ha_connect.cnf
78     Source57: ha_federatedx.cnf
79     Source58: handlersocket.cnf
80     Source59: ha_oqgraph.cnf
81     Source60: ha_sequence.cnf
82     Source61: ha_sphinx.cnf
83     Source62: ha_spider.cnf
84     Source63: locales.cnf
85     Source64: metadata_lock_info.cnf
86     Source65: mysql_clear_password.cnf
87     Source66: query_cache_info.cnf
88     Source67: query_response_time.cnf
89     Source68: semisync_master.cnf
90     Source69: semisync_slave.cnf
91     Source70: sql_errlog.cnf
92     Source71: feedback.cnf
93 oden 601829 Source72: ha_innodb.cnf
94 oden 610943 Source73: server_audit.cnf
95 oden 584442
96 alien 166284 # the following patches are rediffed from the mysql-5.5 src.rpm to mariadb-5.5
97     # fedora patches
98     Patch1: mariadb-5.5-errno.patch
99     Patch3: mariadb-5.5-install-test.patch
100    
101     # mandriva patches
102     Patch101: mariadb-5.5-logrotate.patch
103     Patch106: mariadb-5.5-hotcopy.patch
104     Patch107: mariadb-5.5-mysql_install_db-quiet.patch
105    
106 colin 404859 Requires(post): systemd >= %{systemd_required_version}
107 tmb 233779 Requires(post): rpm-helper >= 0.24.8-1
108     Requires(preun): rpm-helper >= 0.24.8-1
109 alien 193664 Requires(post): %{name}-common%{_isa} = %{version}-%{release}
110     Requires(preun): %{name}-common%{_isa} = %{version}-%{release}
111     Requires(post): %{name}-client%{_isa} = %{version}-%{release}
112     Requires(preun): %{name}-client%{_isa} = %{version}-%{release}
113     Requires(postun): %{name}-common%{_isa} = %{version}-%{release}
114     Requires(postun): %{name}-client%{_isa} = %{version}-%{release}
115     Requires: %{name}-common%{_isa} = %{version}-%{release}
116     Requires: %{name}-core%{_isa} = %{version}-%{release}
117     Requires: %{name}-client%{_isa} = %{version}-%{release}
118 alien 182848 Provides: mysql = %{version}-%{release}
119 fwang 230765 Obsoletes: mysql < %{version}-%{release}
120 alien 188299 Obsoletes: %{libmariadbservices} < 5.5.18-0.3194.20111227.1
121 fwang 230765 Obsoletes: %{libmysqlservices} < %{version}-%{release}
122 alien 230190 Conflicts: %{name}-extra%{_isa} < %{version}-%{release}
123     Conflicts: %{name}-feedback%{_isa} < %{version}-%{release}
124     Conflicts: %{name}-obsolete%{_isa} < %{version}-%{release}
125 alien 193664 Suggests: %{name}-extra%{_isa}
126 alien 166284 BuildRequires: bison
127     BuildRequires: cmake
128     BuildRequires: doxygen
129     BuildRequires: glibc-devel
130     BuildRequires: libaio-devel
131     BuildRequires: libstdc++-devel
132     BuildRequires: libtermcap-devel
133     BuildRequires: multiarch-utils >= 1.0.3
134     BuildRequires: ncurses-devel
135     BuildRequires: openssl-devel
136     BuildRequires: wrap-devel
137     BuildRequires: python
138     BuildRequires: systemtap
139     BuildRequires: tetex
140     BuildRequires: texinfo
141     BuildRequires: xfs-devel
142     BuildRequires: zlib-devel
143 alien 233249 BuildRequires: libaio-devel
144 alien 279953 BuildRequires: pam-devel
145 alien 166284 BuildConflicts: edit-devel
146 alien 474237 BuildRequires: python-devel
147     BuildRequires: icu-devel
148 alien 474507 BuildRequires: bzip2-devel
149 oden 583354 # use system jemalloc libs instead of bundled ones
150     BuildRequires: jemalloc-devel
151     # required by oqgraph v3
152     BuildRequires: boost-devel
153     BuildRequires: judy-devel
154     # required by cassandra
155     BuildRequires: thrift-devel
156 oden 599466 # external pcre, 10.0.9+
157     # https://bugs.mageia.org/show_bug.cgi?id=12665
158     BuildRequires: pcre-devel >= 8.34-2
159     BuildRequires: pcreposix-devel >= 8.34-2
160 alien 474203
161 alien 166284 %description
162     The MariaDB software delivers a very fast, multi-threaded, multi-user, and
163     robust SQL (Structured Query Language) database server. MariaDB Server is
164     intended for mission-critical, heavy-load production systems as well as for
165     embedding into mass-deployed software.
166    
167     The mariadb server is compiled with the following storage engines:
168    
169     - Aria Storage Engine
170     - Archive Storage Engine
171     - Blackhole Storage Engine
172     - CSV Storage Engine
173 alien 188246 - FederatedX Storage Engine (Federated replacement)
174 alien 166284 - Heap Storage Engine
175     - MyISAM Storage Engine
176     - MyISAMMRG Storage Engine
177     - Partition Storage Engine
178     - Perfschema Storage Engine
179 oden 583354 - Percona XtraDB Storage Engine (InnoDB replacement)
180 alien 188246
181 oden 584442 A multitude of storage engines and handlers are being provided in separate sub
182     packages such as:
183 alien 188246
184 oden 584442 mariadb-cassandra - Cassandra Storage Engine
185     mariadb-feedback - Feedback Storage Engine
186     mariadb-oqgraph - Open Query GRAPH computation engine
187     mariadb-connect - CONNECT handler
188     mariadb-sphinx - Sphinx Storage Engine
189     mariadb-sequence - Sequence Storage Engine
190     mariadb-spider - Spider Storage Engine
191 alien 166284
192 oden 584442 The following extra storage engines are provided by the mariadb-extra package
193 alien 166284
194 oden 584442 - handlersocket
195     - query_cache_info
196 alien 188246
197     The following storage engines are provided in the mariadb-obsolete package
198    
199     - Federated Storage Engine
200    
201 alien 192139 %package -n mysql-MariaDB
202 alien 192933 Summary: A MySQL drop-in replacement
203 alien 192139 Group: System/Servers
204 alien 193664 Requires: %{name}%{_isa}
205 alien 192139
206     %description -n mysql-MariaDB
207     MariaDB is a complete MySQL drop-in replacement with additional fixes and
208     storage engines.
209    
210     This package is used as a transitional virtual package, which requires
211     MariaDB so that people who used to use mysql can find it nicely.
212    
213 oden 584442 %package cassandra
214     Summary: Cassandra Storage Engine
215     Group: System/Servers
216     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
217     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
218    
219     %description cassandra
220     The Cassandra Storage Engine allows access to data in a Cassandra cluster from
221     MariaDB.
222    
223 alien 188246 %package feedback
224 oden 584442 Summary: Feedback storage engine
225 alien 188246 Group: System/Servers
226 alien 193664 Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
227 alien 230190 Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
228 alien 188246
229     %description feedback
230     MariaDB feedback storage engine submits feedback about your mariadb server.
231     Results can be seen on http://mariadb.org/feedback_plugin/ .
232    
233 oden 584442 %package oqgraph
234     Summary: Open Query GRAPH computation engine
235     Group: System/Servers
236     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
237     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
238     Conflicts: mariadb-extra < 10.0.7
239    
240     %description oqgraph
241     The Open Query GRAPH computation engine allows you to handle hierarchies
242     (tree structures) and complex graphs (nodes having many connections in
243     several directions).
244    
245     %package connect
246     Summary: CONNECT handler
247     Group: System/Servers
248     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
249     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
250    
251     %description connect
252     The CONNECT handler enables MariaDB to access external local or remote data.
253     This is done by defining tables based on different data types, in particular
254     files of various format, data extracted from other products (such as Excel),
255     or data retrieved from the environment (for example DIR, WMI, and MAC tables).
256    
257     This handler supports MariaDB virtual columns and also permits to define
258     “special” columns such as ROWID and FILEID.
259    
260     %package sphinx
261     Summary: Sphinx Storage Engine
262     Group: System/Servers
263     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
264     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
265     Conflicts: mariadb-extra < 10.0.7
266 oden 589225 Suggests: sphinx >= 2.1.5
267 oden 584442
268     %description sphinx
269     SphinxSE is a storage engine that talks to searchd (Sphinx daemon) to enable
270     full text searching.
271    
272     %package sequence
273     Summary: Sequence Storage Engine
274     Group: System/Servers
275     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
276     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
277    
278     %description sequence
279     A Sequence engine allows the creation of ascending or descending sequences of
280     numbers with a given starting value, ending value and increment.
281    
282     It creates completely virtual, ephemeral tables automatically when you need
283     them. There is no way to create a Sequence table explicitly. Nor are they ever
284     written to disk or create .frm files. They are read-only, transactional, and
285     support XA.
286    
287     %package spider
288     Summary: Spider Storage Engine
289     Group: System/Servers
290     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
291     Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
292    
293     %description spider
294     The Spider storage engine supports partitioning and xa transactions, and allows
295     tables of different MariaDB instances to be handled as if they were on the same
296     instance.
297    
298 alien 188246 %package extra
299     Summary: MariaDB extra storage engines
300     Group: System/Servers
301 alien 193664 Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
302 alien 230190 Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
303 alien 188246
304     %description extra
305 oden 584442 This package provides various storage engines/handlers such as:
306 alien 188246
307 oden 584442 - handlersocket
308     - query_cache_info
309 oden 583354
310 alien 188246 %package obsolete
311     Summary: MariaDB obsolete storage engines
312     Group: System/Servers
313 alien 193664 Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
314 alien 230190 Conflicts: %{name}-common-core%{_isa} < %{version}-%{release}
315 alien 188246 Conflicts: mysql-core < 5.5.18
316    
317     %description obsolete
318 oden 583354 MariaDB obsolete storage engines. Federated are being replaced by XtraDB and
319     FederatedX storage engines. These obsolete storage engines are provided in
320     case you need the vanilla mysql storage engines.
321 alien 188246
322 alien 166284 %package core
323     Summary: Server core binary
324     Group: System/Servers
325 alien 193664 Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
326 alien 182848 Provides: mysql-core = %{version}-%{release}
327 fwang 230765 Obsoletes: mysql-core < %{version}-%{release}
328 alien 166284
329     %description core
330     Core mysqld server binary. For a full MariaDB database server, install
331     package 'mariadb'.
332    
333     %package common-core
334     Summary: Common files required by core binary
335     Group: System/Servers
336 alien 182848 Provides: mysql-common-core = %{version}-%{release}
337 fwang 230765 Obsoletes: mysql-common-core < %{version}-%{release}
338 alien 166284
339     %description common-core
340     Common files minimally required by mysqld server binary.
341    
342     %package common
343     Summary: Common files
344     Group: System/Servers
345     Requires(post): rpm-helper
346     Requires(preun): rpm-helper
347     Requires(pre): rpm-helper
348     Requires(postun): rpm-helper
349 alien 193664 Requires(post): %{name}-client%{_isa} >= %{version}-%{release}
350     Requires(preun): %{name}-client%{_isa} >= %{version}-%{release}
351     Requires: %{name}-client%{_isa} >= %{version}-%{release}
352     Requires: %{name}-common-core%{_isa} >= %{version}-%{release}
353 alien 182848 Provides: mysql-common = %{version}-%{release}
354 fwang 230765 Obsoletes: mysql-common < %{version}-%{release}
355 alien 166284
356     %description common
357     Common files for the MariaDB database server.
358    
359     %package client
360     Summary: Client
361     Group: Databases
362 alien 193664 Requires(post): %{libname}%{_isa} >= %{version}-%{release}
363     Requires(preun): %{libname}%{_isa} >= %{version}-%{release}
364     Requires: %{libname}%{_isa} >= %{version}-%{release}
365 alien 182848 Provides: mysql-client = %{version}-%{release}
366 fwang 230765 Obsoletes: mysql-client < %{version}-%{release}
367 alien 166284
368     %description client
369     This package contains the standard MariaDB clients.
370    
371     %package bench
372     Summary: Benchmarks and test system
373     Group: System/Servers
374 alien 193664 Requires(post): %{name}-client%{_isa} >= %{version}-%{release}
375     Requires(preun): %{name}-client%{_isa} >= %{version}-%{release}
376     Requires: %{name}-client%{_isa} >= %{version}-%{release}
377 alien 394537 Suggests: %{name}%{_isa} >= %{version}-%{release}
378 alien 182848 Provides: mysql-bench = %{version}-%{release}
379 fwang 230765 Obsoletes: mysql-bench < %{version}-%{release}
380 oden 583354 Conflicts: mariadb < 10.0.7
381 alien 166284
382     %description bench
383     This package contains MariaDB benchmark scripts and data.
384    
385     %package -n %{libname}
386     Summary: Shared libraries
387     Group: System/Libraries
388     Provides: %{name}-shared-libs = %{version}-%{release}
389     Provides: %{name}-shared = %{version}-%{release}
390 alien 183054 Provides: %{mysql_libname} = %{version}-%{release}
391 fwang 230765 Obsoletes: %{mysql_libname} < %{version}-%{release}
392 alien 166284
393     %description -n %{libname}
394     This package contains the shared libraries (*.so*) which certain languages and
395     applications need to dynamically load and use MariaDB.
396    
397     %package -n %{develname}
398     Summary: Development header files and libraries
399     Group: Development/Other
400 alien 194264 Requires(post): %{libname} >= %{version}-%{release}
401     Requires(preun): %{libname} >= %{version}-%{release}
402 alien 193664 Requires(post): %{name}-common%{_isa} >= %{version}-%{release}
403     Requires(preun): %{name}-common%{_isa} >= %{version}-%{release}
404     Requires(post): %{name}-client%{_isa} >= %{version}-%{release}
405     Requires(preun): %{name}-client%{_isa} >= %{version}-%{release}
406 alien 194264 Requires: %{libname} = %{version}-%{release}
407 alien 193664 Requires: %{name}-common%{_isa} >= %{version}-%{release}
408     Requires: %{name}-client%{_isa} >= %{version}-%{release}
409 alien 166284 Provides: %{name}-devel = %{version}-%{release}
410     Provides: %{libname}-devel = %{version}-%{release}
411 fwang 230765 Obsoletes: %{libname}-devel < %{version}-%{release}
412     Obsoletes: %{old_staticdevelname} < %{version}-%{release}
413 alien 183054 Provides: %{mysql_develname} = %{version}-%{release}
414 fwang 230765 Obsoletes: %{mysql_develname} < %{version}-%{release}
415 fwang 182925 Provides: mysql-devel = %{version}-%{release}
416 alien 166284
417     %description -n %{develname}
418     This package contains the development header files and libraries necessary to
419     develop MariaDB client applications.
420    
421     %package -n %{libmariadbembedded}
422     Summary: MariaDB as an embeddable library
423     Group: System/Libraries
424     Provides: %{name}-embedded = %{version}-%{release}
425 fwang 230765 Obsoletes: %{name}-embedded < %{version}-%{release}
426 alien 183054 Provides: %{libmysqlembedded} = %{version}-%{release}
427 fwang 230765 Obsoletes: %{libmysqlembedded} < %{version}-%{release}
428 alien 166284
429     %description -n %{libmariadbembedded}
430     MariaDB is a multi-user, multi-threaded SQL database server. This
431     package contains a version of the MariaDB server that can be embedded
432     into a client application instead of running as a separate process.
433    
434     The API is identical for the embedded MariaDB version and the client/server
435     version.
436    
437     %package -n %{libmariadbembedded_devel}
438     Summary: Development files for MySQL as an embeddable library
439     Group: Development/Other
440     Provides: %{name}-embedded-devel = %{version}-%{release}
441 fwang 230765 Obsoletes: %{name}-embedded-devel < %{version}-%{release}
442 alien 194264 Requires: %{libmariadbembedded} = %{version}-%{release}
443     Requires: %{develname} = %{version}-%{release}
444 alien 183054 Provides: %{libmysqlembedded_devel} = %{version}-%{release}
445 fwang 230765 Obsoletes: %{libmysqlembedded_devel} < %{version}-%{release}
446 fwang 182925 Provides: mysql-embedded-devel = %{version}-%{release}
447 alien 166284
448     %description -n %{libmariadbembedded_devel}
449     MariaDB is a multi-user, multi-threaded SQL database server. This
450     package contains files needed for developing and testing with
451     the embedded version of the MariaDB server.
452    
453     The API is identical for the embedded MariaDB version and the client/server
454     version.
455    
456 alien 230286
457 alien 166284 %prep
458 alien 182848 %setup -q
459 alien 474203 %patch1 -p1
460     %patch3 -p1
461     %patch101 -p1
462     %patch106 -p1
463     %patch107 -p1
464 alien 166284
465 oden 599466 # no bundled pcre
466     rm -rf pcre
467    
468 alien 166284 mkdir -p Mageia
469     cp %{SOURCE3} Mageia/my.cnf
470    
471 alien 395508 # remove the sql_yacc.cc file so that bison will regenerate it properly, even if it's patched
472     rm -f sql/sql_yacc.cc
473    
474 alien 166284 # lib64 fix
475     perl -pi -e "s|/usr/lib/|%{_libdir}/|g" Mageia/my.cnf
476    
477     # antiborker
478     perl -pi -e "s|\@bindir\@|%{_bindir}|g" support-files/* scripts/*
479     perl -pi -e "s|\@sbindir\@|%{_sbindir}|g" support-files/* scripts/*
480     perl -pi -e "s|\@libexecdir\@|%{_sbindir}|g" support-files/* scripts/*
481     perl -pi -e "s|\@localstatedir\@|/var/lib/mysql|g" support-files/* scripts/*
482     perl -pi -e "s|^basedir=.*|basedir=%{_prefix}|g" support-files/* scripts/mysql_install_db*
483    
484     # this may be part of the problems with mysql-test
485     # http://bugs.mysql.com/bug.php?id=52223
486     #perl -pi -e "s|basedir/lib\b|basedir/%{_lib}\b|g" mysql-test/mysql-test-run.pl
487     #perl -pi -e "s|basedir/lib/|basedir/%{_lib}/|g" mysql-test/mysql-test-run.pl
488    
489     # workaround for upstream bug #56342
490     rm -f mysql-test/t/ssl_8k_key-master.opt
491 alien 398167 rm -f mysql-test/t/file_contents.test
492 alien 166284
493 alien 398167 # fix distribution name
494     sed -i 's/Source distribution/%{_vendor} MariaDB Server/' mysql-test/suite/percona/innodb_sys_index.result
495    
496 alien 166284 %build
497 alien 474203
498     ## MariaDB
499 alien 166284 %serverbuild
500     export CFLAGS="${CFLAGS:-%{optflags}}"
501     export CXXFLAGS="${CXXFLAGS:-%{optflags}}"
502     export FFLAGS="${FFLAGS:-%{optflags}}"
503 oden 599466 export LC_ALL=C
504 alien 166284
505     %cmake \
506     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
507     -DCMAKE_INSTALL_PREFIX=%{_prefix} \
508     -DINSTALL_SBINDIR=sbin \
509     -DMYSQL_DATADIR=/var/lib/mysql \
510     -DSYSCONFDIR=%{_sysconfdir} \
511     -DINSTALL_PLUGINDIR=%{_lib}/mysql/plugin \
512     -DINSTALL_MANDIR=share/man \
513     -DINSTALL_SHAREDIR=share/mysql \
514     -DINSTALL_LIBDIR=%{_lib} \
515     -DINSTALL_INCLUDEDIR=include/mysql \
516     -DINSTALL_INFODIR=share/info \
517     -DINSTALL_MYSQLDATADIR=/var/lib/mysql \
518     -DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test \
519     -DINSTALL_SQLBENCHDIR=share/mysql \
520     -DINSTALL_SUPPORTFILESDIR=share/mysql \
521     -DINSTALL_MYSQLSHAREDIR=share/mysql \
522     -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock \
523     -DWITH_READLINE=0 \
524     -DWITH_LIBEDIT=0 \
525     -DWITH_LIBWRAP=1 \
526     -DWITH_SSL=system \
527     -DWITH_ZLIB=system \
528 oden 599466 -DWITH_PRCE=system \
529 alien 166284 -DWITH_PIC=1 \
530     -DMYSQL_TCP_PORT=3306 \
531     -DEXTRA_CHARSETS=all \
532     -DENABLED_LOCAL_INFILE=1 \
533     -DENABLE_DTRACE=1 \
534     -DWITH_EMBEDDED_SERVER=1 \
535     -DMYSQL_USER=%{muser} \
536     %if %{build_debug}
537     -DWITH_DEBUG=1 \
538     %else
539     -DWITH_DEBUG=0 \
540     %endif
541 alien 480734 -DWITHOUT_TOKUDB_STORAGE_ENGINE=1 \
542 alien 166284 -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
543     -DWITHOUT_NDBCLUSTER_STORAGE_ENGINE=1 \
544     -DWITHOUT_DAEMON_EXAMPLE=1 \
545 alien 398167 -DWITH_PLUGIN_PBXT=0 \
546 alien 166284 -DFEATURE_SET="community" \
547 alien 434195 -DRPM=1 \
548 alien 398167 -DCOMPILATION_COMMENT="%{_vendor} MariaDB Server"
549 alien 166284
550 oden 599466 %make VERBOSE=1
551 alien 166284
552     %install
553     # don't fiddle with the initscript!
554     export DONT_GPRINTIFY=1
555    
556     %if %{build_debug}
557     export DONT_STRIP=1
558     %endif
559    
560     install -d %{buildroot}%{_sysconfdir}/sysconfig
561     install -d %{buildroot}%{_var}/log/mysqld
562     install -d %{buildroot}/var/lib/mysql/{mysql,test}
563    
564     %makeinstall_std -C build
565    
566 alien 398167 # exclude loaddata7 from being converted
567     export EXCLUDE_FROM_EOL_CONVERSION="std_data/loaddata7.dat"
568    
569 alien 166284 # install configuration files
570     install -m0644 Mageia/my.cnf %{buildroot}%{_sysconfdir}/my.cnf
571    
572 colin 321747 install -m 0644 -D %{SOURCE10} %{buildroot}%{_tmpfilesdir}/mysql.conf
573     install -m 0644 -D %{SOURCE11} %{buildroot}%{_unitdir}/mysqld.service
574     install -m 0755 %{SOURCE12} %{buildroot}%{_sbindir}/mysqld-prepare-db-dir
575     install -m 0755 %{SOURCE13} %{buildroot}%{_sbindir}/mysqld-wait-ready
576 alien 166284
577 oden 584442 # cleanup some config files
578     rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/cassandra.cnf \
579     %{buildroot}%{_sysconfdir}/my.cnf.d/connect.cnf \
580     %{buildroot}%{_sysconfdir}/my.cnf.d/oqgraph.cnf
581    
582     # magic by anssi
583     pushd %{buildroot}%{_sysconfdir}/my.cnf.d
584 oden 610943 %{expand:%(for i in {50..73}; do echo "install -m 644 %%SOURCE$i ."; done)}
585 oden 584442 popd
586    
587 alien 166284 # bork
588     mv %{buildroot}%{_datadir}/mysql/aclocal %{buildroot}%{_datadir}/aclocal
589    
590     pushd %{buildroot}%{_bindir}
591     ln -sf mysqlcheck mysqlrepair
592     ln -sf mysqlcheck mysqlanalyze
593     ln -sf mysqlcheck mysqloptimize
594     popd
595    
596     # nuke -Wl,--as-needed from the mysql_config file
597     perl -pi -e "s|^ldflags=.*|ldflags=\'-rdynamic\'|g" %{buildroot}%{_bindir}/mysql_config
598    
599     # cmake generates some completely wacko references to -lprobes_mysql when
600     # building with dtrace support. Haven't found where to shut that off,
601     # so resort to this blunt instrument. While at it, let's not reference
602     # libmysqlclient_r anymore either.
603     sed -e 's/-lprobes_mysql//' -e 's/-lmysqlclient_r/-lmysqlclient/' \
604     %{buildroot}%{_bindir}/mysql_config >mysql_config.tmp
605     cp -f mysql_config.tmp %{buildroot}%{_bindir}/mysql_config
606     chmod 755 %{buildroot}%{_bindir}/mysql_config
607     install -m 0755 -d %{buildroot}/var/lib/mysql
608    
609 alien 185578 # Remove libmysqld.a, + hardlink libmysqld.so.%{libmysqlembedded_major} so that it's provided
610 alien 166284 rm -f %{buildroot}%{_libdir}/libmysqld.a
611 alien 185578 ln %{buildroot}%{_libdir}/libmysqld.so.%{major} %{buildroot}%{_libdir}/libmysqld.so.%{libmysqlembedded_major}.%{libmysqlembedded_minor}
612 alien 182848 ln -s libmysqld.so.%{libmysqlembedded_major}.%{libmysqlembedded_minor} %{buildroot}%{_libdir}/libmysqld.so.%{libmysqlembedded_major}
613 alien 166284
614 oden 608921 # missing header
615     install -m0644 build/include/probes_mysql_dtrace.h %{buildroot}%{_includedir}/mysql/
616 oden 608987 cp -rp %{buildroot}%{_datadir}/mysql/english %{buildroot}%{_datadir}/mysql/default
617 oden 608921
618 alien 166284 # libmysqlclient_r is no more. Upstream tries to replace it with symlinks
619     # but that really doesn't work (wrong soname in particular). We'll keep
620     # just the devel libmysqlclient_r.so link, so that rebuilding without any
621     # source change is enough to get rid of dependency on libmysqlclient_r.
622     rm -f %{buildroot}%{_libdir}/libmysqlclient_r.so*
623     ln -s libmysqlclient.so %{buildroot}%{_libdir}/libmysqlclient_r.so
624    
625     # remove static libs
626     rm -f %{buildroot}%{_libdir}/libmysqlclient.a
627     rm -f %{buildroot}%{_libdir}/libmysqlclient_r.a
628    
629     # mysql-test includes one executable that doesn't belong under /usr/share,
630     # so move it and provide a symlink
631     mv %{buildroot}%{_datadir}/mysql/mysql-test/lib/My/SafeProcess/my_safe_process %{buildroot}%{_bindir}
632     ln -s %{_bindir}/my_safe_process %{buildroot}%{_datadir}/mysql/mysql-test/lib/My/SafeProcess/my_safe_process
633    
634 alien 182848 # mysql client statically built against a local embedded library, pretty useless
635     rm -f %{buildroot}%{_bindir}/mysql_embedded
636    
637 alien 230190 # this command enables plugins, but needs ini file + configuration in my.cnf
638     # before executing... and oh yeah, mysql must be stopped... => useless
639     # however, apparently tests seem to want it, even thought they don't use it.
640     #rm -f %{buildroot}%{_bindir}/mysql_plugin
641 alien 182848 rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
642    
643 alien 279279 # no RHEL4 selinux files for us
644     rm -rf %{buildroot}%{_datadir}/mysql/SELinux
645 alien 474203 # no solaris files for us
646     rm -rf %{buildroot}%{_datadir}/mysql/solaris
647 alien 434195 # no init script for us
648     rm -f %{buildroot}%{_initrddir}/mysql
649     rm -f %{buildroot}%{_initrddir}/mysqld
650 alien 279279
651 alien 166284 # house cleaning
652     rm -rf %{buildroot}%{_datadir}/info
653     rm -f %{buildroot}%{_bindir}/client_test
654     rm -f %{buildroot}%{_bindir}/make_win_binary_distribution
655     rm -f %{buildroot}%{_bindir}/make_win_src_distribution
656     rm -f %{buildroot}%{_datadir}/mysql/binary-configure
657     rm -f %{buildroot}%{_datadir}/mysql/config.huge.ini
658     rm -f %{buildroot}%{_datadir}/mysql/config.medium.ini
659     rm -f %{buildroot}%{_datadir}/mysql/config.small.ini
660     rm -f %{buildroot}%{_datadir}/mysql/mysqld_multi.server
661     rm -f %{buildroot}%{_datadir}/mysql/mysql-log-rotate
662     rm -f %{buildroot}%{_datadir}/mysql/mysql.server
663     rm -f %{buildroot}%{_datadir}/mysql/ndb-config-2-node.ini
664     rm -f %{buildroot}%{_datadir}/mysql/binary-configure
665     rm -f %{buildroot}%{_mandir}/man1/make_win_bin_dist.1*
666     rm -f %{buildroot}%{_mandir}/man1/make_win_src_distribution.1*
667     rm -f %{buildroot}%{_datadir}/mysql/magic
668    
669     # no idea how to fix this
670     rm -rf %{buildroot}%{_prefix}/data
671     rm -rf %{buildroot}%{_prefix}/docs
672     rm -rf %{buildroot}%{_prefix}/scripts
673 alien 434195 rm -rf %{buildroot}%{_datadir}/doc
674     rm -rf %{buildroot}%{_sysconfdir}/init.d/mysql
675     rm -rf %{buildroot}%{_sysconfdir}/logrotate.d/mysql
676 alien 166284
677     %multiarch_binaries %{buildroot}%{_bindir}/mysql_config
678     %multiarch_includes %{buildroot}%{_includedir}/mysql/my_config.h
679    
680     cat > README.urpmi <<EOF
681    
682     NOTE: MariaDB is installed without root password, it is recommended to set the
683 alien 192139 root password with the following command as soon as possible:
684 alien 166284
685 alien 192139 mysqladmin password
686 alien 166284
687     The initscript used to start mysql has been reverted to use the one shipped
688     by MariaDB. This means the following changes:
689    
690     * The generation of the initial system mysql database is now done when mysql
691     is started from the initscript and only if the /var/lib/mysql/mysql
692     directory is empty (mysql_install_db). Previousely this was quite hidden and
693     silently done at (rpm) install time. As a consequence to this change you may
694     have to perform some manual tasks to upgrade the mysql system database and
695     such. So, doing something like this might help you:
696    
697 alien 553511 systemctl stop mysqld.service
698 alien 166284 TMPDIR=/var/tmp mysql_install_db
699 alien 553511 mysql_upgrade --skip-write-binlog
700 alien 166284
701     The cluster functionalities (ndb) has been deactivated and will be removed in
702     future mysql versions. Oracle has a new product named mysql-cluster that
703     replaces the cluster functionalities.
704    
705     The mysql-common-core package ships with a default /etc/my.cnf file that is
706     based on the my-medium.cnf file that comes with the source code.
707     EOF
708    
709     ################################################################################
710     # run the tests
711     %if %{build_test}
712     # disable failing tests
713     pushd build/mysql-test
714     export LANG=C
715     export LC_ALL=C
716     export LANGUAGE=C
717     perl ./mysql-test-run.pl \
718     --mtr-build-thread="$((${RANDOM} % 100))" \
719     --retry=0 \
720     --ssl \
721 alien 398167 --big-test \
722     --force \
723     --max-test-fail=0 \
724 alien 166284 --testcase-timeout=60 \
725 alien 398167 --suite-timeout=1200 || false
726 alien 166284 popd
727     %endif
728    
729     %pre
730     # enable plugins
731     if [ -f %{_sysconfdir}/my.cnf ]; then
732     perl -pi -e "s|^#plugin-load|plugin-load|g" %{_sysconfdir}/my.cnf
733     perl -pi -e "s|^#federated|federated|g" %{_sysconfdir}/my.cnf
734 alien 192139 # switch to federatedx provider
735     perl -pi -e "s|;ha_federated\.so$|;ha_federatedx\.so|g" %{_sysconfdir}/my.cnf
736 alien 166284 fi
737    
738     %pre common
739     # delete the mysql group if no mysql user is found, before adding the user
740     if [ -z "`getent passwd %{muser}`" ] && ! [ -z "`getent group %{muser}`" ]; then
741     %{_sbindir}/groupdel %{muser} 2> /dev/null || :
742     fi
743    
744     %_pre_useradd %{muser} /var/lib/mysql /bin/bash
745    
746     %post
747 colin 321747 %_tmpfilescreate mysql
748 alien 166284 %_post_service mysqld
749    
750     %preun
751     %_preun_service mysqld
752    
753     %postun
754 oden 581188 %_post_service mysqld
755 alien 166284
756     %pre common-core
757     # enable plugins
758     if [ -f %{_sysconfdir}/my.cnf ]; then
759     perl -pi -e "s|^#plugin-load|plugin-load|g" %{_sysconfdir}/my.cnf
760     perl -pi -e "s|^#federated|federated|g" %{_sysconfdir}/my.cnf
761 alien 192139 # switch to federatedx provider
762     perl -pi -e "s|;ha_federated\.so$|;ha_federatedx\.so|g" %{_sysconfdir}/my.cnf
763 alien 166284 fi
764    
765     %files
766     %doc README.urpmi
767 oden 584442 # authentication plugins
768     %config(noreplace) %{_sysconfdir}/my.cnf.d/auth_pam.cnf
769     %config(noreplace) %{_sysconfdir}/my.cnf.d/auth_socket.cnf
770     %config(noreplace) %{_sysconfdir}/my.cnf.d/dialog.cnf
771     %config(noreplace) %{_sysconfdir}/my.cnf.d/mysql_clear_password.cnf
772     # replication plugins
773     %config(noreplace) %{_sysconfdir}/my.cnf.d/semisync_master.cnf
774     %config(noreplace) %{_sysconfdir}/my.cnf.d/semisync_slave.cnf
775     # storage engines
776     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_archive.cnf
777     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_blackhole.cnf
778     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_federatedx.cnf
779     # sql logging plugin
780     %config(noreplace) %{_sysconfdir}/my.cnf.d/sql_errlog.cnf
781     # new since 10.x
782     %config(noreplace) %{_sysconfdir}/my.cnf.d/locales.cnf
783     %config(noreplace) %{_sysconfdir}/my.cnf.d/metadata_lock_info.cnf
784     %config(noreplace) %{_sysconfdir}/my.cnf.d/query_response_time.cnf
785 oden 610943 %config(noreplace) %{_sysconfdir}/my.cnf.d/server_audit.cnf
786 oden 584442
787 colin 321747 %{_tmpfilesdir}/mysql.conf
788     %{_unitdir}/mysqld.service
789 alien 166284 %{_sbindir}/mysqld-prepare-db-dir
790     %{_sbindir}/mysqld-wait-ready
791     %dir %{_libdir}/mysql/plugin
792 alien 188246 # authentication plugins
793 oden 584442 %{_libdir}/mysql/plugin/auth_pam.so
794 alien 166284 %{_libdir}/mysql/plugin/auth_socket.so
795     %{_libdir}/mysql/plugin/dialog.so
796 alien 188246 %{_libdir}/mysql/plugin/mysql_clear_password.so
797     # replication plugins
798     %{_libdir}/mysql/plugin/semisync_master.so
799     %{_libdir}/mysql/plugin/semisync_slave.so
800     # storage engines
801 alien 166284 %{_libdir}/mysql/plugin/ha_archive.so
802     %{_libdir}/mysql/plugin/ha_blackhole.so
803     %{_libdir}/mysql/plugin/ha_federatedx.so
804 alien 227543 # sql logging plugin
805     %{_libdir}/mysql/plugin/sql_errlog.so
806 oden 583354 # new since 10.x
807     %{_libdir}/mysql/plugin/locales.so
808     %{_libdir}/mysql/plugin/metadata_lock_info.so
809     %{_libdir}/mysql/plugin/query_response_time.so
810 oden 610879 %{_libdir}/mysql/plugin/server_audit.so
811 alien 166284
812 alien 192691 %files -n mysql-MariaDB
813    
814 alien 188246 %files obsolete
815 oden 601829 %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_innodb.cnf
816     %{_libdir}/mysql/plugin/ha_innodb.so
817 alien 188246 %{_libdir}/mysql/plugin/ha_federated.so
818    
819 oden 584442 %files cassandra
820     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_cassandra.cnf
821     %{_libdir}/mysql/plugin/ha_cassandra.so
822    
823 alien 188246 %files feedback
824 oden 584442 %config(noreplace) %{_sysconfdir}/my.cnf.d/feedback.cnf
825 alien 188246 %{_libdir}/mysql/plugin/feedback.so
826    
827 oden 584442 %files oqgraph
828     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_oqgraph.cnf
829 alien 188246 %{_libdir}/mysql/plugin/ha_oqgraph.so
830 oden 584442
831     %files connect
832     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_connect.cnf
833     %{_libdir}/mysql/plugin/ha_connect.so
834    
835     %files sphinx
836     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_sphinx.cnf
837 alien 188246 %{_libdir}/mysql/plugin/ha_sphinx.so
838 oden 584442
839     %files sequence
840     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_sequence.cnf
841 oden 583354 %{_libdir}/mysql/plugin/ha_sequence.so
842 oden 584442
843     %files spider
844     %config(noreplace) %{_sysconfdir}/my.cnf.d/ha_spider.cnf
845 oden 583354 %{_libdir}/mysql/plugin/ha_spider.so
846     %{_datadir}/mysql/install_spider.sql
847 alien 188246
848 oden 584442 %files extra
849     %config(noreplace) %{_sysconfdir}/my.cnf.d/handlersocket.cnf
850     %config(noreplace) %{_sysconfdir}/my.cnf.d/query_cache_info.cnf
851     %{_libdir}/mysql/plugin/handlersocket.so
852     # new optional functionality
853     %{_libdir}/mysql/plugin/query_cache_info.so
854    
855 alien 166284 %files client
856 oden 583354 %config(noreplace) %{_sysconfdir}/my.cnf.d/client.cnf
857     %config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
858 alien 166284 %{_bindir}/msql2mysql
859     %{_bindir}/mysql
860     %{_bindir}/mysqlaccess
861     %{_bindir}/mysqladmin
862     %{_bindir}/mysqlanalyze
863     %{_bindir}/mysqlbinlog
864     %{_bindir}/mysqlcheck
865     %{_bindir}/mysqldump
866     %{_bindir}/mysqldumpslow
867     %{_bindir}/mysql_find_rows
868     %{_bindir}/mysqlimport
869     %{_bindir}/mysqloptimize
870     %{_bindir}/mysqlrepair
871     %{_bindir}/mysqlshow
872     %{_bindir}/mysqlslap
873     %{_bindir}/mysql_waitpid
874     %{_mandir}/man1/msql2mysql.1*
875     %{_mandir}/man1/myisam_ftdump.1*
876     %{_mandir}/man1/mysql.1*
877     %{_mandir}/man1/mysqlaccess.1*
878     %{_mandir}/man1/mysqladmin.1*
879     %{_mandir}/man1/mysqlbinlog.1*
880     %{_mandir}/man1/mysqlcheck.1*
881     %{_mandir}/man1/mysqldump.1*
882     %{_mandir}/man1/mysqldumpslow.1*
883     %{_mandir}/man1/mysql_find_rows.1*
884     %{_mandir}/man1/mysqlimport.1*
885     %{_mandir}/man1/mysqlshow.1*
886     %{_mandir}/man1/mysql_waitpid.1*
887    
888     %files bench
889     %doc build/sql-bench/README
890     %{_bindir}/my_safe_process
891     %{_bindir}/mysql_client_test
892     %{_bindir}/mysql_client_test_embedded
893     %{_bindir}/mysqltest_embedded
894     %{_datadir}/mysql/sql-bench
895     %attr(-,mysql,mysql) %{_datadir}/mysql/mysql-test
896     %{_mandir}/man1/mysql-stress-test.pl.1*
897     %{_mandir}/man1/mysql-test-run.pl.1*
898     %{_mandir}/man1/mysql_client_test.1*
899     %{_mandir}/man1/mysql_client_test_embedded.1*
900     %{_mandir}/man1/mysqltest.1*
901     %{_mandir}/man1/mysqltest_embedded.1*
902 oden 583354 %{_libdir}/mysql/plugin/adt_null.so
903     %{_libdir}/mysql/plugin/auth_0x0100.so
904     %{_libdir}/mysql/plugin/auth_test_plugin.so
905     %{_libdir}/mysql/plugin/dialog_examples.so
906     %{_libdir}/mysql/plugin/ha_test_sql_discovery.so
907     %{_libdir}/mysql/plugin/mypluglib.so
908     %{_libdir}/mysql/plugin/qa_auth_client.so
909     %{_libdir}/mysql/plugin/qa_auth_interface.so
910     %{_libdir}/mysql/plugin/qa_auth_server.so
911 alien 166284
912     %files core
913     %{_sbindir}/mysqld
914    
915     %files common-core
916 oden 583354 %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
917 alien 166284 %config(noreplace) %{_sysconfdir}/my.cnf
918     %dir %{_datadir}/mysql
919     %{_datadir}/mysql/english
920     %{_datadir}/mysql/charsets
921    
922     %files common
923     %doc README COPYING
924 oden 583354 %dir %{_sysconfdir}/my.cnf.d
925 alien 166284 %{_bindir}/aria_chk
926     %{_bindir}/aria_dump_log
927     %{_bindir}/aria_ftdump
928     %{_bindir}/aria_pack
929     %{_bindir}/aria_read_log
930     %{_bindir}/innochecksum
931     %{_bindir}/myisamchk
932     %{_bindir}/myisam_ftdump
933     %{_bindir}/myisamlog
934     %{_bindir}/myisampack
935     %{_bindir}/my_print_defaults
936     %{_bindir}/mysqlbug
937     %{_bindir}/mysql_convert_table_format
938     %{_bindir}/mysqld_multi
939     %{_bindir}/mysqld_safe
940     %{_bindir}/mysql_fix_extensions
941     %{_bindir}/mysqlhotcopy
942     %{_bindir}/mysql_install_db
943 alien 230190 %{_bindir}/mysql_plugin
944 alien 166284 %{_bindir}/mysql_secure_installation
945     %{_bindir}/mysql_setpermission
946     %{_bindir}/mysqltest
947     %{_bindir}/mysql_tzinfo_to_sql
948     %{_bindir}/mysql_upgrade
949     %{_bindir}/mysql_zap
950 alien 279279 %{_bindir}/mytop
951 alien 166284 %{_bindir}/perror
952     %{_bindir}/replace
953     %{_bindir}/resolveip
954     %{_bindir}/resolve_stack_dump
955     %attr(0755,%{muser},%{muser}) %dir /var/lib/mysql
956     %attr(0755,%{muser},%{muser}) %dir /var/lib/mysql/mysql
957     %attr(0755,%{muser},%{muser}) %dir /var/lib/mysql/test
958     %attr(0755,%{muser},%{muser}) %dir %{_var}/log/mysqld
959     %{_datadir}/mysql/*.cnf
960     %{_datadir}/mysql/fill_help_tables.sql
961 blino 428547 %{_datadir}/mysql/mysql_performance_tables.sql
962 alien 166284 %{_datadir}/mysql/mysql_system_tables.sql
963     %{_datadir}/mysql/mysql_system_tables_data.sql
964     %{_datadir}/mysql/mysql_test_data_timezone.sql
965     %{_datadir}/mysql/errmsg-utf8.txt
966     %{_datadir}/mysql/czech
967     %{_datadir}/mysql/danish
968     %{_datadir}/mysql/dutch
969     %{_datadir}/mysql/estonian
970     %{_datadir}/mysql/french
971     %{_datadir}/mysql/german
972     %{_datadir}/mysql/greek
973     %{_datadir}/mysql/hungarian
974     %{_datadir}/mysql/italian
975     %{_datadir}/mysql/japanese
976     %{_datadir}/mysql/korean
977     %{_datadir}/mysql/norwegian
978     %{_datadir}/mysql/norwegian-ny
979     %{_datadir}/mysql/polish
980     %{_datadir}/mysql/portuguese
981     %{_datadir}/mysql/romanian
982     %{_datadir}/mysql/russian
983     %{_datadir}/mysql/serbian
984     %{_datadir}/mysql/slovak
985     %{_datadir}/mysql/spanish
986     %{_datadir}/mysql/swedish
987     %{_datadir}/mysql/ukrainian
988     %{_mandir}/man1/innochecksum.1*
989     %{_mandir}/man1/myisamchk.1*
990     %{_mandir}/man1/myisamlog.1*
991     %{_mandir}/man1/myisampack.1*
992     %{_mandir}/man1/my_print_defaults.1*
993 alien 279279 %{_mandir}/man1/mysqlbug.1*
994 alien 166284 %{_mandir}/man1/mysql_convert_table_format.1*
995     %{_mandir}/man1/mysqld_multi.1*
996     %{_mandir}/man1/mysqld_safe.1*
997     %{_mandir}/man1/mysql_fix_extensions.1*
998     %{_mandir}/man1/mysqlhotcopy.1*
999     %{_mandir}/man1/mysql_install_db.1*
1000 alien 474203 %{_mandir}/man1/mysql_plugin.1*
1001 alien 166284 %{_mandir}/man1/mysql_secure_installation.1*
1002     %{_mandir}/man1/mysql.server.1*
1003     %{_mandir}/man1/mysql_setpermission.1*
1004     %{_mandir}/man1/mysqlslap.1*
1005     %{_mandir}/man1/mysql_tzinfo_to_sql.1*
1006     %{_mandir}/man1/mysql_upgrade.1*
1007     %{_mandir}/man1/mysql_zap.1*
1008     %{_mandir}/man1/perror.1*
1009     %{_mandir}/man1/replace.1*
1010     %{_mandir}/man1/resolveip.1*
1011     %{_mandir}/man1/resolve_stack_dump.1*
1012     %{_mandir}/man8/mysqld.8*
1013    
1014     %files -n %{libname}
1015     %{_libdir}/libmysqlclient.so.%{major}*
1016    
1017     %files -n %{develname}
1018     %doc INSTALL-SOURCE
1019     %multiarch %{multiarch_bindir}/mysql_config
1020     %{_bindir}/mysql_config
1021     %{_libdir}/libmysqlclient_r.so
1022     %{_libdir}/libmysqlclient.so
1023     %dir %{_includedir}/mysql
1024     %dir %{_includedir}/mysql/psi
1025     %{_includedir}/mysql/*.h
1026 fwang 259273 %{_includedir}/mysql/private/*.h
1027 alien 279279 %{_includedir}/mysql/private/atomic/*.h
1028 alien 166284 %{_includedir}/mysql/psi/*.h
1029     %multiarch %{multiarch_includedir}/mysql/my_config.h
1030     %{_mandir}/man1/mysql_config.1*
1031     %{_datadir}/aclocal/mysql.m4
1032 alien 188299 # mysqlservices library is static, because it doesn't contain any code
1033     # itself, and is meant to be statically linked to all plugins.
1034     %{_libdir}/libmysqlservices.a
1035 alien 166284
1036     %files -n %{libmariadbembedded}
1037     %doc README COPYING
1038 oden 608986 %{_datadir}/mysql/default
1039 alien 182848 %{_libdir}/libmysqld.so.%{major}
1040     %{_libdir}/libmysqld.so.%{libmysqlembedded_major}*
1041 alien 166284
1042     %files -n %{libmariadbembedded_devel}
1043     %{_libdir}/libmysqld.so
1044     %{_bindir}/mysql_client_test_embedded
1045     %{_bindir}/mysqltest_embedded
1046     %{_mandir}/man1/mysql_client_test_embedded.1*
1047     %{_mandir}/man1/mysqltest_embedded.1*

  ViewVC Help
Powered by ViewVC 1.1.28