Author: glen Date: Sat Dec 30 12:23:26 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - install php.ini and restart webserver
---- Files affected: SPECS: php-dbg.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/php-dbg.spec diff -u SPECS/php-dbg.spec:1.1 SPECS/php-dbg.spec:1.2 --- SPECS/php-dbg.spec:1.1 Sat Dec 30 13:19:40 2006 +++ SPECS/php-dbg.spec Sat Dec 30 13:23:20 2006 @@ -3,14 +3,10 @@ # 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 # -# TODO: -# - install dbg.ini (Source1) in /etc/php/conf.d/, restart apache2 -# - do sth with php4 -# - cleaning Summary: dbg - PHP debbuger - extension for PHP Name: php-dbg Version: 2.11.32 -Release: 0.1 +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 @@ -49,13 +45,25 @@ %{__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 +%php_webserver_restart + +%postun +if [ "$1" = 0 ]; then + %php_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"`) @@ -64,6 +72,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2006/12/30 12:23:20 glen +- install php.ini and restart webserver + Revision 1.1 2006/12/30 12:19:40 glen - based on dbg.spec ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/php-dbg.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
