SPECS: mysqlsla.spec (NEW) - new
zbyniu
zbyniu at pld-linux.org
Sun Feb 1 23:37:35 CET 2009
Author: zbyniu Date: Sun Feb 1 22:37:35 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
mysqlsla.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/mysqlsla.spec
diff -u /dev/null SPECS/mysqlsla.spec:1.1
--- /dev/null Sun Feb 1 23:37:35 2009
+++ SPECS/mysqlsla.spec Sun Feb 1 23:37:29 2009
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+Summary: mysqlsla - MySQL slow log analyzer
+Name: mysqlsla
+Version: 2.03
+Release: 0.1
+License: GPL v2
+Group: Applications/Databases
+Source0: http://hackmysql.com/scripts/%{name}-%{version}.tar.gz
+# Source0-md5: f620bee7dfcde6a1236be95cf62daa9b
+URL: http://hackmysql.com/
+BuildRequires: rpm-perlprov >= 4.1-13
+Requires: perl-DBD-mysql
+
+%description
+mysqlsla parses, filters, analyzes and sorts MySQL slow, general,
+binary and microslow patched logs in order to create a customizable
+report of the queries and their meta-property values.
+
+%prep
+%setup -q
+
+%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/%{name}/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{perl_vendorlib}/%{name}.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/02/01 22:37:29 zbyniu
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list