Name: mysqlreport Version: 3.5 Release: 1%{?dist} Summary: A friendly report of important MySQL status values Group: Development/Libraries License: GPLv2+ URL: http://hackmysql.com/mysqlreport Source0: http://hackmysql.com/scripts/mysqlreport-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not automagically picked up Requires: perl(Term::ReadKey) %description mysqlreport makes a friendly report of important MySQL status values. It transforms the values from SHOW STATUS into an easy-to-read report that provides an in-depth understanding of how well MySQL is running, and is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS. %prep %setup -q %build # no-op %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} cp -p mysqlreport %{buildroot}%{_bindir} %check # no tests %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING *.html %{_bindir}/mysqlreport %changelog * Tue Dec 02 2008 Chris Weyl 3.5-1 - initial packaging