SPECS: php-pear-PHP_Debug.spec (NEW) - new
adamg
adamg at pld-linux.org
Sat May 3 13:04:07 CEST 2008
Author: adamg Date: Sat May 3 11:04:07 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-PHP_Debug.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-PHP_Debug.spec
diff -u /dev/null SPECS/php-pear-PHP_Debug.spec:1.1
--- /dev/null Sat May 3 13:04:07 2008
+++ SPECS/php-pear-PHP_Debug.spec Sat May 3 13:04:02 2008
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class PHP
+%define _subclass Debug
+%define _status stable
+%define _pearname PHP_Debug
+Summary: %{_pearname} - provides assistance in debugging PHP code
+Summary(pl.UTF-8): %{_pearname} - pomoc przy odpluskiwaniu kodu PHP
+Name: php-pear-%{_pearname}
+Version: 1.0.1
+Release: 1
+License: MIT
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: d2d55065c5aaf84013db8c594b8a6103
+URL: http://pear.php.net/package/PHP_Debug/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# exclude optional dependencies
+%define _noautoreq 'pear(Text/Highlighter.*)' 'pear(Services/W3C/HTMLValidator.*)'
+
+%description
+The basic purpose of PHP_Debug is to provide assistance in debugging
+PHP code, by "debug" i don't mean "step by step debug" but program
+trace, variables display, process time, included files, queries
+executed, watch variables... These informations are gathered through
+the script execution and therefore are displayed at the end of the
+script (in a nice floating div or a html table) so that it can be read
+and used at any moment. (especially usefull during the development
+phase of a project or in production with a secure key/ip)
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Podstawowym zadaniem PHP_Debug jest pomoc przy odpluskiwaniu kodu PHP.
+Nie chodzi tu o śledzenieu krok po kroku działania programu, ale
+wyświetlaniu wywołań programu, zmiennych, czasu działania, dołączonych
+plików, wykonanych zapytań, śledzonych zmiennych... Informacje te
+zbierane są w trakcie wywoływania skryptu, wobec czego wyświetlane sa
+po zakończeniu jego działania (w postaci warstwy div lub tabeli HTML)
+i mogą być wykorzystane w dowolnym momencie, co może być szczególnie
+przydatne na etapie projektowania lub produkcyjnym.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if 2
+%post
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+ cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
+%endif
+
+%files
+%defattr(644,root,root,755)
+%doc install.log optional-packages.txt
+%doc docs/PHP_Debug/docs docs/PHP_Debug/*.php
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/PHP/Debug
+%{php_pear_dir}/PHP/Debug.php
+%{php_pear_dir}/PHP/DebugLine.php
+%{php_pear_dir}/data/PHP_Debug
+
+%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 2008-05-03 11:04:02 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list