SPECS: nagios-grapher.spec - up to 1.6.1RC1
wolvverine
wolvverine at pld-linux.org
Fri Oct 27 04:14:20 CEST 2006
Author: wolvverine Date: Fri Oct 27 02:14:20 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.6.1RC1
---- Files affected:
SPECS:
nagios-grapher.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/nagios-grapher.spec
diff -u SPECS/nagios-grapher.spec:1.31 SPECS/nagios-grapher.spec:1.32
--- SPECS/nagios-grapher.spec:1.31 Thu Jul 20 14:56:40 2006
+++ SPECS/nagios-grapher.spec Fri Oct 27 04:14:14 2006
@@ -1,23 +1,22 @@
# $Revision$, $Date$
# TODO
# - add file in BUILD/.../{contrib,tools}
-# - change path for rrd font
-# - bconds
-# - remove/subpackage *.c contrib files
+# - change path for rrd font in ngraph.ncfg
+# - bconds for network/pipe
# - service nagios-grapher does not support chkconfig
Summary: Plugins for Nagios to integration with RRDTool
Summary(pl): Wtyczka dla Nagiosa integrująca z RRDTool
Name: nagios-grapher
-Version: 1.6
-Release: 0.7
+Version: 1.6.1
+Release: 0.1
License: GPL
Group: Applications/System
Source0: NagiosGrapher-%{version}-rc1.tar.bz2
-# Source0-md5: fdcc43b490f5d3f66d42e4305c61fdbb
+# Source0-md5: 3bb2029ee72341fe4529d540d8b7bf9f
Patch0: %{name}-install.patch
Patch1: %{name}-install_init.patch
Patch2: %{name}-init.patch
-Patch3: %{name}-dirlayout.patch
+Patch3: %{name}-syntax_error.patch
URL: http://tinyurl.com/ad67c
BuildRequires: rpmbuild(macros) >= 1.228
Requires(post,preun): /sbin/chkconfig
@@ -59,20 +58,22 @@
- łatwy w instalacji
%prep
-%setup -q -n NagiosGrapher-%{version}-rc1
+%setup -q -c -a 0
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
+%{__autoconf}
+
%configure \
--with-web-user=http \
--with-web-group=http \
--with-nagios-user=nagios \
- --with-nagios-group=nagios \
+ --with-nagios-group=nagios-data \
--with-ng-srvext-type=MULTIPLE \
- --with-ng-loglevel=255 \
+ --with-ng-loglevel=355 \
--with-layout=PLD \
--with-ng-interface=network
@@ -86,9 +87,10 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT/etc/rc.d/init.d/nagios_grapher
+rm -f $RPM_BUILD_ROOT/etc/rc.d/init.d/nagios_grapher
+rm -f $RPM_BUILD_ROOT/usr/lib/nagios/grapher/*.c
+
install contrib/nagios_grapher.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install dot.png $RPM_BUILD_ROOT%{_datadir}/nagios/images/logos/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -126,6 +128,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2006/10/27 02:14:14 wolvverine
+- up to 1.6.1RC1
+
Revision 1.31 2006/07/20 12:56:40 wolvverine
- cleanup TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nagios-grapher.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list