Summary: Tool for monitoring the threads and overall performance of MySQL Summary(pl.UTF-8): Narzędzie do monitorowania wątków i ogólnej wydajności MySQL-a Name: mytop Version: 1.6 Release: 3 License: GPL Group: Applications/Databases Source0: http://jeremy.zawodny.com/mysql/mytop/%{name}-%{version}.tar.gz # Source0-md5: 4127c3e486eb664fed60f40849372a9f Patch0: %{name}-getopt-long.patch Patch1: %{name}-global-status.patch Patch2: %{name}-queries-vs-questions.patch URL: http://jeremy.zawodny.com/mysql/mytop/ BuildRequires: perl-devel >= 1:5.6 BuildRequires: rpm-perlprov >= 4.1-13 Requires: perl-DBD-mysql Requires: perl-Term-ReadKey Requires: perl-base BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description mytop is a console-based (non-GUI) tool for monitoring the threads and overall performance of MySQL 3.22.x, 3.23.x, and 4.x servers. %description -l pl.UTF-8 mytop to terminalowe (nie graficzne) narzędzie do monitorowania wątków i ogólnej wydajności serwerów MySQL 3.22.x, 3.23.x i 4.x. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/mytop/.packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README %attr(755,root,root) %{_bindir}/mytop %{_mandir}/man1/mytop.1p*