]> git.pld-linux.org Git - SPECS.git/blob - mytop.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / mytop.spec
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
3 Name:           mytop
4 Version:        1.6
5 Release:        3
6 License:        GPL
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
18 Requires:       perl-base
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
25
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.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
48 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/mytop/.packlist
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes README
56 %attr(755,root,root) %{_bindir}/mytop
57 %{_mandir}/man1/mytop.1p*
This page took 0.130694 seconds and 3 git commands to generate.