|
|
@@ -35,9 +35,6 @@ License: LGPL
|
|
|
Version: 1.2.12
|
|
|
Release: 20051219
|
|
|
|
|
|
-# package options
|
|
|
-%option with_cgi no
|
|
|
-
|
|
|
# list of sources
|
|
|
Source0: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-%{version}.tar.gz
|
|
|
Patch0: rrdtool.patch
|
|
|
@@ -49,10 +46,6 @@ BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, make, pkgconfig, perl-openpkg >
|
|
|
PreReq: OpenPKG, openpkg >= 20040130
|
|
|
BuildPreReq: perl, png, zlib, libart, freetype
|
|
|
PreReq: perl, png, zlib, libart, freetype
|
|
|
-%if "%{with_cgi}" == "yes"
|
|
|
-BuildPreReq: cgilib, pkgconfig
|
|
|
-PreReq: cgilib
|
|
|
-%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -96,11 +89,7 @@ AutoReqProv: no
|
|
|
--disable-python \
|
|
|
--enable-local-libpng \
|
|
|
--enable-local-zlib \
|
|
|
-%if "%{with_cgi}" == "yes"
|
|
|
--enable-rrdcgi
|
|
|
-%else
|
|
|
- --disable-rrdcgi
|
|
|
-%endif
|
|
|
|
|
|
# build package
|
|
|
%{l_make} %{l_mflags}
|