packages: nagios-nagiosgraph/nagios-nagiosgraph.spec - add rrddir, summary ...

glen glen at pld-linux.org
Fri Dec 24 23:01:45 CET 2010


Author: glen                         Date: Fri Dec 24 22:01:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add rrddir, summary from Makefile.PL

---- Files affected:
packages/nagios-nagiosgraph:
   nagios-nagiosgraph.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-nagiosgraph/nagios-nagiosgraph.spec
diff -u packages/nagios-nagiosgraph/nagios-nagiosgraph.spec:1.1 packages/nagios-nagiosgraph/nagios-nagiosgraph.spec:1.2
--- packages/nagios-nagiosgraph/nagios-nagiosgraph.spec:1.1	Fri Dec 24 22:52:35 2010
+++ packages/nagios-nagiosgraph/nagios-nagiosgraph.spec	Fri Dec 24 23:01:36 2010
@@ -1,11 +1,9 @@
 # $Revision$, $Date$
-# TODO
-# - rrd path
 %include	/usr/lib/rpm/macros.perl
-Summary:	Simple interface between Nagios and rrd data files
+Summary:	Nagios performance data storage and graphing
 Name:		nagios-nagiosgraph
 Version:	1.4.3
-Release:	0.3
+Release:	0.4
 License:	Artistic
 Group:		Applications/WWW
 Source0:	http://downloads.sourceforge.net/nagiosgraph/nagiosgraph-%{version}.tar.gz
@@ -18,6 +16,8 @@
 %define		_sysconfdir	/etc/nagios/nagiosgraph
 %define		cgidir		%{_libdir}/nagios/cgi
 %define		webdir		%{_datadir}/nagios
+%define		vardir		/var/lib/nagios/nagiosgraph
+%define		rrddir		%{vardir}/rrd
 
 %description
 nagiosgraph parses output and performance data from Nagios plugins,
@@ -32,7 +32,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{cgidir},%{webdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{cgidir},%{webdir},%{rrddir}}
 cp -a etc/* $RPM_BUILD_ROOT%{_sysconfdir}
 install -p lib/insert.pl $RPM_BUILD_ROOT%{_libdir}/nagios/%{name}.pl
 install -p cgi/*.cgi $RPM_BUILD_ROOT%{_libdir}/nagios/cgi
@@ -69,11 +69,17 @@
 %{webdir}/nagiosgraph.css
 %{webdir}/nagiosgraph.js
 
+%dir %attr(775,root,nagios) %{vardir}
+%dir %attr(775,root,nagios) %{rrddir}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/12/24 22:01:36  glen
+- add rrddir, summary from Makefile.PL
+
 Revision 1.1  2010/12/24 21:52:35  glen
 - initial
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-nagiosgraph/nagios-nagiosgraph.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list