Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > fc1fef6aead3087ad7c70bf918a4f0fe > files > 2

mytop-1.6-4mdv2010.0.src.rpm

%define name 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/%{name}-%{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
Obsoletes: perl-mytop

%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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
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/%{name}.*
%doc README



%changelog
* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.6-4mdv2010.0
+ Revision: 430144
- rebuild

* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6-3mdv2009.0
+ Revision: 253483
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.6-1mdv2008.1
+ Revision: 136612
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request
    - fix man pages

* Mon Apr 30 2007 Pascal Terjan <pterjan@mandriva.org> 1.6-1mdv2008.0
+ Revision: 19429
- use mkrel
- simplify the spec now that we use the real name
- From Nicolas Chipaux <chipaux@mandriva.com>
 - new version : 1.6
 - changing name to mytop
- Rename perl-mytop to mytop


* Mon Jan 31 2005 Nicolas Chipaux <chipaux@mandriva.com> 1.4-2mdk
- Fix BuildRequires

* Mon Jan 31 2005 Nicolas Chipaux <chipaux@mandriva.com> 1.4-1mdk
- First mandrake release