SPECS: myprofi.spec (NEW) - new (written by my co-worker ;)

glen glen at pld-linux.org
Mon Jan 29 11:24:32 CET 2007


Author: glen                         Date: Mon Jan 29 10:24:32 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (written by my co-worker ;)

---- Files affected:
SPECS:
   myprofi.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/myprofi.spec
diff -u /dev/null SPECS/myprofi.spec:1.1
--- /dev/null	Mon Jan 29 11:24:32 2007
+++ SPECS/myprofi.spec	Mon Jan 29 11:24:24 2007
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+Summary:	MySQL log analyzer and profiler
+Name:		myprofi
+Version:	0.16
+Release:	1
+License:	GPL
+Group:		Applications/Databases
+Source0:	http://dl.sourceforge.net/myprofi/MyProfi_%{version}beta.zip
+# Source0-md5:	08ae769dec4a2ba513c7f0cb3ffc4ea1
+URL:		http://myprofi.sourceforge.net/
+BuildRequires:	sed >= 4.0
+Requires:	php(pcre)
+Requires:	php-common >= 4:5.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MySQL log analyzer and profiler. Extracts the most popular queries
+grouping them by their normalized form and shows the statistics for
+each group. Helps developers to recognize most frequently run queries
+to be able to optimize overall db performance.
+
+%prep
+%setup -qc
+%{__sed} -i -e '1i#!/usr/bin/php' parser.php
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install parser.php $RPM_BUILD_ROOT%{_bindir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/myprofi
+
+%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  2007/01/29 10:24:24  glen
+- new (written by my co-worker ;)
+
================================================================


More information about the pld-cvs-commit mailing list