packages: mysql-q4m/mysql-q4m.spec - seems to build with 5.1 only, if even ...
glen
glen at pld-linux.org
Wed May 18 23:32:55 CEST 2011
Author: glen Date: Wed May 18 21:32:55 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- seems to build with 5.1 only, if even that
---- Files affected:
packages/mysql-q4m:
mysql-q4m.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/mysql-q4m/mysql-q4m.spec
diff -u packages/mysql-q4m/mysql-q4m.spec:1.1 packages/mysql-q4m/mysql-q4m.spec:1.2
--- packages/mysql-q4m/mysql-q4m.spec:1.1 Wed May 18 23:13:26 2011
+++ packages/mysql-q4m/mysql-q4m.spec Wed May 18 23:32:50 2011
@@ -1,4 +1,7 @@
# $Revision$, $Date$
+# TODO
+# - port to mysql 5.5 (mysql_priv.h missing)
+# - build out of source tree (mysql_priv.h ...)
Summary: Queue for MySQL is a message queue
Name: mysql-q4m
Version: 0.9.5
@@ -7,9 +10,15 @@
Group: Applications/Databases
Source0: http://q4m.kazuhooku.com/dist/q4m-%{version}.tar.gz
# Source0-md5: b7d9f659c0481d808c32f240b7719e1d
-Patch0: build.patch
+Source1: http://vesta.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.1/mysql-5.1.55.tar.gz
+# Source1-md5: e07e79edad557874d0870c914c9c81e1
+#Source1: http://vesta.informatik.rwth-aachen.de/mysql/Downloads/MySQL-5.5/mysql-5.5.11.tar.gz
+#Patch0: build.patch
URL: http://q4m.github.com/
-BuildRequires: mysql-devel >= 5.1
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: mysql-devel >= 5.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -19,11 +28,19 @@
several web services (see Users of Q4M).
%prep
-%setup -qn q4m-%{version}
-%patch0 -p1
+%setup -qn q4m-%{version} -a1
+#%patch0 -p1
+ln -s mysql-5.* mysql-src
%build
+export CPPFLAGS="%{rpmcppflags} -I/usr/include/mysql"
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --with-mysql=$(pwd)/mysql-src \
--enable-mmap \
--prefix=%{_prefix} \
--with-delete=pwrite \
@@ -48,5 +65,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/05/18 21:32:50 glen
+- seems to build with 5.1 only, if even that
+
Revision 1.1 2011/05/18 21:13:26 glen
- new, needs patching to build out of source tree
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-q4m/mysql-q4m.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list