mysql sohu 镜像_mysql-proxy.spec

#

# Simple RPM spec file for mysql-proxy

# written by Lenz Grimmer

#

%define prefix /usr

Summary: A Proxy for the MySQL Client/Server protocol

Name: mysql-proxy

Version: 0.8.1.7

Release: 0

License: GPL

Group: Applications/Networking

Source: %{name}-%{version}.tar.gz

URL: http://forge.mysql.com/wiki/MySQL_Proxy

Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: mysql-devel glib2-devel libevent

%if 0%{?suse_version} > 1010

%define with_lua 1

%endif

%if 0%{?with_lua}

BuildRequires: lua-devel >= 5.1

%endif

%description

MySQL Proxy is a simple program that sits between your client and MySQL

server(s) that can monitor, analyze or transform their communication. Its

flexibility allows for unlimited uses; common ones include: load balancing;

failover; query analysis; query filtering and modification; and many more.

%prep

%setup

%build

%configure \

%if 0%{?with_lua}

--with-lua

%else

--without-lua

%endif

%{__make}

%install

%makeinstall

# we package them later in the documentation. no reason to have them here

%{__rm} -v %{buildroot}%{_datadir}/*.lua

# we dont need to package the Makefile stuff

%{__rm} -v examples/Makefile*

%clean

%{__rm} -rfv %{buildroot}

%files

%defattr(-,root,root)

%doc AUTHORS COPYING INSTALL NEWS README README.TESTS

%doc examples/

%{_bindir}/%{name}

%{_datadir}/%{name}/

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值