]> git.pld-linux.org Git - packages/php-rrdtool.git/commitdiff
- longer description, added TODO
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 7 Sep 2005 00:41:21 +0000 (00:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-rrdtool.spec -> 1.2

php-rrdtool.spec

index 4210adf0462d33a3022f86855565701eb056f453..1b63f104e7c5d9d38a258623a73f4a7d702e40cb 100644 (file)
@@ -1,3 +1,9 @@
+# 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)
@@ -5,7 +11,7 @@ Summary:       RRDtool PHP module
 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
@@ -23,7 +29,8 @@ Requires:     %{_sysconfdir}/conf.d
 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.
@@ -33,13 +40,11 @@ Modu
 
 %build
 cd contrib/php4
-export EXTENSION_DIR="%{extensionsdir}"
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %configure \
        --with-openssl \
-       --with-php-config=php-config \
        --includedir="%{_includedir}/php"
 
 %{__make}
This page took 0.036133 seconds and 4 git commands to generate.