Author: arekm                        Date: Sat Mar  5 21:39:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.0.0 beta2, include client binary (subpackage sounds good here)

---- Files affected:
SPECS:
   php-pecl-xdebug.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-xdebug.spec
diff -u SPECS/php-pecl-xdebug.spec:1.16 SPECS/php-pecl-xdebug.spec:1.17
--- SPECS/php-pecl-xdebug.spec:1.16     Sun Oct 31 22:53:11 2004
+++ SPECS/php-pecl-xdebug.spec  Sat Mar  5 22:39:16 2005
@@ -5,13 +5,15 @@
 Summary:       %{_modname} - provides functions for functions traces and 
profiling
 Summary(pl):   %{_modname} - funkcje do śledzenia i profilowania funkcji
 Name:          php-pecl-%{_modname}
-Version:       1.3.2
-Release:       1
+Version:       2.0.0
+%define        _snap   beta2
+Release:       0.%{_snap}.1
 License:       BSD style
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5: bf76f41de570da77ab6db67d2c8cbffe
+Source0:       http://pecl.php.net/get/%{_modname}-%{version}%{_snap}.tgz
+# Source0-md5: e2fc53f2a7ee87cee9aab200bb17ae73
 URL:           http://pecl.php.net/package/xdebug/
+BuildRequires: libedit-devel
 BuildRequires: libtool
 BuildRequires: php-devel
 Requires:      php-common
@@ -67,16 +69,25 @@
 %setup -q -c
 
 %build
-cd %{_modname}-%{version}
+cd %{_modname}-%{version}%{_snap}
 phpize
 %configure
 %{__make}
+cd debugclient
+install %{_datadir}/automake/config.* .
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --with-libedit
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{extensionsdir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{extensionsdir}}
 
-install %{_modname}-%{version}/modules/%{_modname}.so 
$RPM_BUILD_ROOT%{extensionsdir}
+install %{_modname}-*/debugclient/debugclient 
$RPM_BUILD_ROOT%{_bindir}/%{_modname}-debugclient
+install %{_modname}-*/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,8 +102,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/{README,NEWS,Changelog,CREDITS}
+%doc %{_modname}-*/{README,NEWS,Changelog,CREDITS}
 %attr(755,root,root) %{extensionsdir}/%{_modname}.so
+%attr(755,root,root) %{_bindir}/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -100,6 +112,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/03/05 21:39:16  arekm
+- up to 2.0.0 beta2, include client binary (subpackage sounds good here)
+
 Revision 1.16  2004/10/31 21:53:11  paladine
 - spaces->tabs
 - formatting
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-xdebug.spec?r1=1.16&r2=1.17&f=u


_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to