mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-21 07:47:08 +00:00
47 lines
1.3 KiB
Smarty
47 lines
1.3 KiB
Smarty
Summary: High Performance MySQL Tuning Script
|
|
Name: mysqltuner
|
|
Version: %VERSION%
|
|
Release: 1
|
|
License: GPL v3+
|
|
Group: Applications
|
|
Source0: https://github.com/build/MySQLTuner-perl/build/%{name}-%{version}.tgz
|
|
URL: https://github.com/major/MySQLTuner-perl
|
|
Requires: mysql-client
|
|
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
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
install -d $RPM_BUILD_ROOT%{_sbindir}
|
|
install -p %{name}.pl $RPM_BUILD_ROOT%{_sbindir}/%{name}
|
|
install -d $RPM_BUILD_ROOT%{_datarootdir}/%{name}
|
|
install -p LICENSE $RPM_BUILD_ROOT%{_sbindir}/%{name}
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(644,root,root,755)
|
|
%doc LICENSE
|
|
%attr(755,root,root) %{_sbindir}/%{name}
|
|
|
|
%changelog
|
|
* Thu Jun 18 2015 Jean-Marie RENOUARD <jmrenouard@gmail.com> %VERSION%-1
|
|
- Initial RPM release
|
|
|