/[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 610943 - (hide annotations) (download)
Mon Mar 31 12:25:27 2014 UTC (10 years ago) by oden
File size: 35736 byte(s)
- added the server_audit config

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

  ViewVC Help
Powered by ViewVC 1.1.30