Author: glen Date: Wed Nov 26 22:24:03 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - based from mandriva src.rpm
---- Files affected: SPECS: mysqltuner.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/mysqltuner.spec diff -u /dev/null SPECS/mysqltuner.spec:1.1 --- /dev/null Wed Nov 26 23:24:03 2008 +++ SPECS/mysqltuner.spec Wed Nov 26 23:23:57 2008 @@ -0,0 +1,49 @@ +# $Revision$, $Date$ +Summary: High Performance MySQL Tuning Script +Name: mysqltuner +Version: 0.9.9 +Release: 0.1 +License: GPL v3+ +Group: Daemons +URL: http://rackerhacker.com/mysqltuner/ +Source0: http://mysqltuner.com/%{name}.pl +# Source0-md5: 097ceed8577ff4dbed134970fd8781e4 +Requires: mysql-clients +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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 +%{__sed} -e 's,\r$,,;/^use diagnostics/d' %{SOURCE0} > %{name} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sbindir} +install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_sbindir}/%{name} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/11/26 22:23:57 glen +- based from mandriva src.rpm ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
