SPECS: php4-dbg.spec (NEW) - based on php-dbg.spec

glen glen at pld-linux.org
Sat Dec 30 13:26:42 CET 2006


Author: glen                         Date: Sat Dec 30 12:26:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on php-dbg.spec

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

---- Diffs:

================================================================
Index: SPECS/php4-dbg.spec
diff -u /dev/null SPECS/php4-dbg.spec:1.1
--- /dev/null	Sat Dec 30 13:26:42 2006
+++ SPECS/php4-dbg.spec	Sat Dec 30 13:26:37 2006
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# INFO: How to get working: patching, installation, using with PHPeclipse (*very* helpful):
+#	http://www.phpeclipse.de/tiki-view_forum_thread.php?forumId=3&comments_parentId=3265
+#
+Summary:	dbg - PHP debbuger - extension for PHP
+Name:		php4-dbg
+Version:	2.11.32
+Release:	0.2
+License:	The DBG License Version 3.0
+Group:		Development/Languages/PHP
+Source0:	http://dl.sourceforge.net/dbg2/dbg-%{version}-src.tar.gz
+# Source0-md5:	1ac7372bfcb4c5e13cad1248e071d70c
+Source1:	dbg.ini
+URL:		http://dd.cron.ru/dbg/
+BuildRequires:	rpmbuild(macros) >= 1.344
+BuildRequires:	php4-devel >= 3:4.0.0
+%{?requires_php_extension}
+Requires:	php4-common >= 3:4.4.0-3
+Obsoletes:	dbg
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DBG is a a full-featured php debugger, an interactive tool that helps
+you debugging php scripts. It works on a production and/or development
+WEB server and allows you debug your scripts locally or remotely, from
+an IDE or console. This package contain dbg extension for PHP.
+
+%prep
+%setup -q -n dbg-%{version}
+
+%build
+phpize
+%configure \
+	--with-dbg-profiler \
+	--enable-dbg=shared
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
+install %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/dbg.ini
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%php4_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+	%php4_webserver_restart
+fi
+
+%files
+%defattr(644,root,root,755)
+# don't remove COPYING and INSTALL
+%doc AUTHORS COPYING INSTALL
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/dbg.ini
+%attr(755,root,root) %{php_extensiondir}/dbg.so
+
+%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  2006/12/30 12:26:37  glen
+- based on php-dbg.spec
+
================================================================


More information about the pld-cvs-commit mailing list