SPECS: php-rrdtool.spec - longer description, added TODO

glen glen at pld-linux.org
Wed Sep 7 02:41:26 CEST 2005


Author: glen                         Date: Wed Sep  7 00:41:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- longer description, added TODO

---- Files affected:
SPECS:
   php-rrdtool.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/php-rrdtool.spec
diff -u SPECS/php-rrdtool.spec:1.1 SPECS/php-rrdtool.spec:1.2
--- SPECS/php-rrdtool.spec:1.1	Wed Sep  7 02:34:12 2005
+++ SPECS/php-rrdtool.spec	Wed Sep  7 02:41:21 2005
@@ -1,4 +1,10 @@
 # $Revision$, $Date$
+# TODO
+# - doesn't work:
+# $ php -r 'print rrd_graph();'
+# PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'rrdtool.so'  in Unknown on line 0
+# PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'rrdtool.so'  in Unknown on line 0
+# PHP Fatal error:  Call to undefined function rrd_graph() in Command line code on line 1
 %define		_modname	rrdtool
 %define		_sysconfdir	/etc/php
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
@@ -6,7 +12,7 @@
 Summary(pl):	Moduł PHP RRDtool
 Name:		php-rrdtool
 Version:	1.0.50
-Release:	0.1
+Release:	0.2
 License:	GPL
 Group:		Applications/Databases
 Source0:	http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-%{version}.tar.gz
@@ -24,7 +30,8 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-RRDtool module for PHP.
+This package includes a dynamic shared object (DSO) that adds RRDtool
+bindings to the PHP HTML-embedded scripting language.
 
 %description -n php-rrdtool -l pl
 Moduł RRDtool dla PHP.
@@ -34,13 +41,11 @@
 
 %build
 cd contrib/php4
-export EXTENSION_DIR="%{extensionsdir}"
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %configure \
 	--with-openssl \
-	--with-php-config=php-config \
 	--includedir="%{_includedir}/php"
 
 %{__make}
@@ -86,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/09/07 00:41:21  glen
+- longer description, added TODO
+
 Revision 1.1  2005/09/07 00:34:12  glen
 - new, based on r1.96 of rrdtool.spec and 1.0.50 rrdtool sources
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-rrdtool.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list