2
# Simple RPM spec file for mysql-proxy
3
# written by Lenz Grimmer <lenz@mysql.com>
7
Summary: A Proxy for the MySQL Client/Server protocol
12
Group: Applications/Networking
13
Source: %{name}-%{version}.tar.gz
14
URL: http://forge.mysql.com/wiki/MySQL_Proxy
15
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
16
BuildRequires: mysql-devel glib2-devel libevent
17
%if 0%{?suse_version} > 1010
21
BuildRequires: lua-devel >= 5.1
25
MySQL Proxy is a simple program that sits between your client and MySQL
26
server(s) that can monitor, analyze or transform their communication. Its
27
flexibility allows for unlimited uses; common ones include: load balancing;
28
failover; query analysis; query filtering and modification; and many more.
44
# we package them later in the documentation. no reason to have them here
45
%{__rm} -v %{buildroot}%{_datadir}/*.lua
46
# we dont need to package the Makefile stuff
47
%{__rm} -v examples/Makefile*
50
%{__rm} -rfv %{buildroot}
54
%doc AUTHORS COPYING INSTALL NEWS README README.TESTS