[packages/percona-server/v5.0.x: 13/202] - add sphinx storage engine support
glen
glen at pld-linux.org
Wed Oct 21 16:10:07 CEST 2015
commit a78a22c1b572f8097300778b1778c2940a3d03d0
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Mar 15 18:01:01 2007 +0000
- add sphinx storage engine support
Changed files:
mysql.spec -> 1.353.2.7
mysql.spec | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index c3c5832..4544aed 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -4,7 +4,8 @@
#
# Conditional build:
%bcond_with bdb # Berkeley DB support
-%bcond_without innodb # Without InnoDB support
+%bcond_without innodb # InnoDB storage engine support
+%bcond_with sphinx # Sphinx storage engine support
%bcond_without raid # Without raid
%bcond_without ssl # Without OpenSSL
%bcond_without tcpd # Without libwrap (tcp_wrappers) support
@@ -28,6 +29,8 @@ Group: Applications/Databases
#Source0: ftp://ftp.mysql.com/pub/mysql/src/%{name}-%{version}.tar.gz
Source0: http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.0/%{name}-%{version}.tar.gz
# Source0-md5: 26ed76facb58bdeae40c8310e337dde2
+Source100: http://www.sphinxsearch.com/downloads/sphinx-0.9.7-rc2.tar.gz
+# Source100-md5: 65daf0feb7e276fb3de0aba82cff1d3e
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.logrotate
@@ -41,7 +44,7 @@ Source11: %{name}-ndb-cpc.init
Source12: %{name}-ndb-cpc.sysconfig
Source13: %{name}-client.conf
Patch0: %{name}-libs.patch
-
+Patch1: %{name}-sphinx.patch
Patch2: %{name}-c++.patch
Patch3: %{name}-info.patch
Patch4: %{name}-sql-cxx-pic.patch
@@ -430,9 +433,12 @@ This package contains the standard MySQL NDB CPC Daemon.
Ten pakiet zawiera standardowego demona MySQL NDB CPC.
%prep
-%setup -q %{?_snap:-n %{name}-%{version}-nightly-%{_snap}}
+%setup -q %{?_snap:-n %{name}-%{version}-nightly-%{_snap}} %{?with_sphinx:-a100}
%patch0 -p1
-
+%if %{with sphinx}
+mv sphinx-*/mysqlse sql/sphinx
+%patch1 -p1
+%endif
%patch2 -p1
%patch3 -p1
%ifarch alpha
@@ -492,6 +498,7 @@ CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
--with-named-thread-libs="-lpthread" \
--with-unix-socket-path=/var/lib/mysql/mysql.sock \
--with-archive-storage-engine \
+ %{?with_sphinx:--with-sphinx-storage-engine} \
--with-vio \
--with-ndbcluster \
--without-readline \
@@ -595,6 +602,8 @@ rm $RPM_BUILD_ROOT%{_bindir}/mysql_waitpid
rm $RPM_BUILD_ROOT%{_mandir}/man1/mysql.server*
rm $RPM_BUILD_ROOT%{_mandir}/man1/safe_mysqld*
rm $RPM_BUILD_ROOT%{_mandir}/man1/mysqlman.1*
+rm $RPM_BUILD_ROOT%{_mandir}/man1/make_win_bin_dist.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/mysql_install_db.1
# in %doc
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/*.{ini,cnf}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22
More information about the pld-cvs-commit
mailing list