SPECS: php-rrdtool.spec - works (not tested)
glen
glen at pld-linux.org
Wed Sep 7 02:58:29 CEST 2005
Author: glen Date: Wed Sep 7 00:58:29 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- works (not tested)
---- Files affected:
SPECS:
php-rrdtool.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/php-rrdtool.spec
diff -u SPECS/php-rrdtool.spec:1.2 SPECS/php-rrdtool.spec:1.3
--- SPECS/php-rrdtool.spec:1.2 Wed Sep 7 02:41:21 2005
+++ SPECS/php-rrdtool.spec Wed Sep 7 02:58:23 2005
@@ -1,10 +1,4 @@
# $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)
@@ -12,16 +6,18 @@
Summary(pl): Moduł PHP RRDtool
Name: php-rrdtool
Version: 1.0.50
-Release: 0.2
+Release: 1
License: GPL
Group: Applications/Databases
Source0: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.x/rrdtool-%{version}.tar.gz
# Source0-md5: c466e2e7df95fa8e318e46437da87686
+Patch0: rrdtool-php-config.patch
URL: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: cgilibc-devel
BuildRequires: php-devel >= 4:5.0
+BuildRequires: rpmbuild(macros) >= 1.230
BuildRequires: rrdtool-devel
BuildRequires: gd-devel
Requires(post,preun): php-common
@@ -33,11 +29,12 @@
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
+%description -l pl
Moduł RRDtool dla PHP.
%prep
%setup -q -n rrdtool-%{version}
+%patch0 -p0
%build
cd contrib/php4
@@ -91,6 +88,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/09/07 00:58:23 glen
+- works (not tested)
+
Revision 1.2 2005/09/07 00:41:21 glen
- longer description, added TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php-rrdtool.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list