%define _enable_debug_packages %{nil} %define debug_package %{nil} Summary: High Performance MySQL Tuning Script Name: mysqltuner Version: 0.9.8 Release: %mkrel 1 Group: System/Servers License: GPLv3+ URL: http://rackerhacker.com/mysqltuner/ Source0: http://mysqltuner.com/mysqltuner.pl Requires: mysql BuildArch: noarch BuildRequires: dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description MySQLTuner is a high-performance MySQL tuning script written in perl that will provide you with a snapshot of a MySQL server's health. Based on the statistics gathered, specific recommendations will be provided that will increase a MySQL server's efficiency and performance. The script gives you automated MySQL tuning that is on the level of what you would receive from a MySQL DBA. This script has been derived from many of the ideas in Matthew Montgomery's MySQL tuning primer script. %prep %setup -q -c -T cp %{SOURCE0} %{name} dos2unix -U %{name} %build %install rm -rf %{buildroot} install -d %{buildroot}%{_sbindir} install -m0755 %{name} %{buildroot}%{_sbindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(0755,root,root) %attr(0755,root,root) %{_sbindir}/%{name} %changelog * Mon Aug 11 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.8-1mdv2009.0 + Revision: 270774 - 0.9.8 * Fri Jun 20 2008 Frederik Himpe <fhimpe@mandriva.org> 0.9.1-1mdv2009.0 + Revision: 227604 - New version 0.9.1 * Wed May 28 2008 Frederik Himpe <fhimpe@mandriva.org> 0.9.0-1mdv2009.0 + Revision: 212733 - New version 0.9.0 * Tue Jan 15 2008 Oden Eriksson <oeriksson@mandriva.com> 0-1.r26.1mdv2008.1 + Revision: 152758 - new version (r26) + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Nov 08 2007 Oden Eriksson <oeriksson@mandriva.com> 0-1mdv2008.1 + Revision: 106888 - import mysqltuner * Thu Nov 08 2007 Oden Eriksson <oeriksson@mandriva.com> 0-1mdv2008.1 - initial Mandriva package