1 Summary: Tool for monitoring the threads and overall performance of MySQL
2 Summary(pl.UTF-8): Narzędzie do monitorowania wątków i ogólnej wydajności MySQL-a
7 Group: Applications/Databases
8 Source0: http://jeremy.zawodny.com/mysql/mytop/%{name}-%{version}.tar.gz
9 # Source0-md5: 4127c3e486eb664fed60f40849372a9f
10 Patch0: %{name}-getopt-long.patch
11 Patch1: %{name}-global-status.patch
12 Patch2: %{name}-queries-vs-questions.patch
13 URL: http://jeremy.zawodny.com/mysql/mytop/
14 BuildRequires: perl-devel >= 1:5.6
15 BuildRequires: rpm-perlprov >= 4.1-13
16 Requires: perl-DBD-mysql
17 Requires: perl-Term-ReadKey
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 mytop is a console-based (non-GUI) tool for monitoring the threads and
24 overall performance of MySQL 3.22.x, 3.23.x, and 4.x servers.
26 %description -l pl.UTF-8
27 mytop to terminalowe (nie graficzne) narzędzie do monitorowania wątków
28 i ogólnej wydajności serwerów MySQL 3.22.x, 3.23.x i 4.x.
37 %{__perl} Makefile.PL \
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
47 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
48 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/mytop/.packlist
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/mytop
57 %{_mandir}/man1/mytop.1p*