/[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 589225 - (hide annotations) (download)
Tue Feb 11 10:03:43 2014 UTC (10 years, 2 months ago) by oden
File size: 35262 byte(s)
- suggest sphinx for the sphinx storage engine

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

  ViewVC Help
Powered by ViewVC 1.1.30