1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-atlas

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
mysql-proxy.spec.in 1.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Qihoo360 Отправлено 28.06.2013 12:14 4f5d4c0
#
# Simple RPM spec file for mysql-proxy
# written by Lenz Grimmer <lenz@mysql.com>
#
%define prefix /usr
Summary: A Proxy for the MySQL Client/Server protocol
Name: mysql-proxy
Version: @VERSION@
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}/

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-atlas.git
git@api.gitlife.ru:oschina-mirror/mirrors-atlas.git
oschina-mirror
mirrors-atlas
mirrors-atlas
master