58 |
Summary: A very fast and reliable SQL database engine |
Summary: A very fast and reliable SQL database engine |
59 |
Name: mariadb |
Name: mariadb |
60 |
Version: 10.0.8 |
Version: 10.0.8 |
61 |
Release: %mkrel 0.0 |
Release: %mkrel 0.1 |
62 |
Group: Databases |
Group: Databases |
63 |
License: GPLv2 with exceptions |
License: GPLv2 with exceptions |
64 |
URL: http://mariadb.org/ |
URL: http://mariadb.org/ |
105 |
|
|
106 |
# mageia patches |
# mageia patches |
107 |
Patch121: mariadb-10.0.7-mysqlbug_67018.diff |
Patch121: mariadb-10.0.7-mysqlbug_67018.diff |
108 |
|
Patch122: mariadb-10.0.8-external_pcre.diff |
109 |
|
|
110 |
Requires(post): systemd >= %{systemd_required_version} |
Requires(post): systemd >= %{systemd_required_version} |
111 |
Requires(post): rpm-helper >= 0.24.8-1 |
Requires(post): rpm-helper >= 0.24.8-1 |
157 |
BuildRequires: judy-devel |
BuildRequires: judy-devel |
158 |
# required by cassandra |
# required by cassandra |
159 |
BuildRequires: thrift-devel |
BuildRequires: thrift-devel |
160 |
|
# external pcre, 10.0.9+ |
161 |
|
# https://bugs.mageia.org/show_bug.cgi?id=12665 |
162 |
|
BuildRequires: pcre-devel >= 8.34-2 |
163 |
|
BuildRequires: pcreposix-devel >= 8.34-2 |
164 |
|
|
165 |
%description |
%description |
166 |
The MariaDB software delivers a very fast, multi-threaded, multi-user, and |
The MariaDB software delivers a very fast, multi-threaded, multi-user, and |
467 |
%patch106 -p1 |
%patch106 -p1 |
468 |
%patch107 -p1 |
%patch107 -p1 |
469 |
%patch121 -p1 |
%patch121 -p1 |
470 |
|
%patch122 -p1 |
471 |
|
|
472 |
|
# no bundled pcre |
473 |
|
rm -rf pcre |
474 |
|
|
475 |
mkdir -p Mageia |
mkdir -p Mageia |
476 |
cp %{SOURCE3} Mageia/my.cnf |
cp %{SOURCE3} Mageia/my.cnf |
507 |
export CFLAGS="${CFLAGS:-%{optflags}}" |
export CFLAGS="${CFLAGS:-%{optflags}}" |
508 |
export CXXFLAGS="${CXXFLAGS:-%{optflags}}" |
export CXXFLAGS="${CXXFLAGS:-%{optflags}}" |
509 |
export FFLAGS="${FFLAGS:-%{optflags}}" |
export FFLAGS="${FFLAGS:-%{optflags}}" |
510 |
|
export LC_ALL=C |
511 |
|
|
512 |
%cmake \ |
%cmake \ |
513 |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
532 |
-DWITH_LIBWRAP=1 \ |
-DWITH_LIBWRAP=1 \ |
533 |
-DWITH_SSL=system \ |
-DWITH_SSL=system \ |
534 |
-DWITH_ZLIB=system \ |
-DWITH_ZLIB=system \ |
535 |
|
-DWITH_PRCE=system \ |
536 |
-DWITH_PIC=1 \ |
-DWITH_PIC=1 \ |
537 |
-DMYSQL_TCP_PORT=3306 \ |
-DMYSQL_TCP_PORT=3306 \ |
538 |
-DEXTRA_CHARSETS=all \ |
-DEXTRA_CHARSETS=all \ |
554 |
-DRPM=1 \ |
-DRPM=1 \ |
555 |
-DCOMPILATION_COMMENT="%{_vendor} MariaDB Server" |
-DCOMPILATION_COMMENT="%{_vendor} MariaDB Server" |
556 |
|
|
557 |
%make |
%make VERBOSE=1 |
558 |
|
|
559 |
%install |
%install |
560 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |