%define name perl-mytop %define realname mytop %define version 1.6 %define release %mkrel 4 Summary: A clone of top for MySQL 3.22.x to 4.x Name: %{name} Version: %{version} Release: %{release} Source: http://jeremy.zawodny.com/mysql/mytop/%{realname}-%{version}.tar.bz2 URL: http://jeremy.zawodny.com/mysql/mytop/ License: GPL Group: Databases BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildRequires: perl-Term-ReadKey Requires: perl-Term-ReadKey %description Mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL 3.22.x, 3.23.x, and 4.x server. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %install rm -rf $RPM_BUILD_ROOT # beware to use _std macros %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/mytop %{_mandir}/man1/%{realname}.* %doc README %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6-4mdv2009.0 + Revision: 257934 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6-3mdv2009.0 + Revision: 245995 - rebuild * Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.6-1mdv2008.1 + Revision: 140692 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request - fix man pages * Tue May 08 2007 Olivier Thauvin <nanardon@mandriva.org> 1.6-1mdv2008.0 + Revision: 25296 - 1.6 - Import perl-mytop * Tue Jan 31 2005 Nicolas Chipaux <chipaux@mandriva.com> 1.4-2mdk - Fix BuildRequires * Tue Jan 31 2005 Nicolas Chipaux <chipaux@mandriva.com> 1.4-1mdk - First mandrake release # end of file