%define _enable_debug_packages %{nil} %define debug_package %{nil} Summary: High Performance MySQL Tuning Script Name: mysqltuner Version: 1.2.0 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 %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(-,root,root) %{_sbindir}/%{name} %changelog * Tue Apr 12 2011 Jani Välimaa <wally@mandriva.org> 1.2.0-1mdv2011.0 + Revision: 653014 - new version 1.2.0 - drop buildroot definition - clean .spec a bit * Mon Dec 06 2010 Oden Eriksson <oeriksson@mandriva.com> 1.1.1-3mdv2011.0 + Revision: 612982 - the mass rebuild of 2010.1 packages * Wed Dec 30 2009 Frederik Himpe <fhimpe@mandriva.org> 1.1.1-2mdv2010.1 + Revision: 483949 - Really update to 1.1.1 - update to new version 1.1.1 * Mon Sep 14 2009 Thierry Vignaud <tv@mandriva.org> 1.0.0-2mdv2010.0 + Revision: 440189 - rebuild * Mon Dec 08 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0.0-1mdv2009.1 + Revision: 311854 - 1.0.0 * Thu Oct 16 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.9-1mdv2009.1 + Revision: 294285 - 0.9.9 * 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 <tv@mandriva.org> - 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