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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 599465 by oden, Mon Feb 17 14:54:17 2014 UTC revision 599466 by oden, Tue Mar 4 11:42:12 2014 UTC
# Line 58  Line 58 
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/
# Line 105  Patch107:      mariadb-5.5-mysql_install_db-q Line 105  Patch107:      mariadb-5.5-mysql_install_db-q
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
# Line 156  BuildRequires: boost-devel Line 157  BuildRequires: boost-devel
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
# Line 462  version. Line 467  version.
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
# Line 498  sed -i 's/Source distribution/%{_vendor} Line 507  sed -i 's/Source distribution/%{_vendor}
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 \
# Line 522  export FFLAGS="${FFLAGS:-%{optflags}}" Line 532  export FFLAGS="${FFLAGS:-%{optflags}}"
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 \
# Line 543  export FFLAGS="${FFLAGS:-%{optflags}}" Line 554  export FFLAGS="${FFLAGS:-%{optflags}}"
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}

Legend:
Removed from v.599465  
changed lines
  Added in v.599466

  ViewVC Help
Powered by ViewVC 1.1.28