Author: glen Date: Fri Dec 24 21:52:40 2010 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/nagios-nagiosgraph: nagios-nagiosgraph.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/nagios-nagiosgraph/nagios-nagiosgraph.spec diff -u /dev/null packages/nagios-nagiosgraph/nagios-nagiosgraph.spec:1.1 --- /dev/null Fri Dec 24 22:52:40 2010 +++ packages/nagios-nagiosgraph/nagios-nagiosgraph.spec Fri Dec 24 22:52:35 2010 @@ -0,0 +1,79 @@ +# $Revision$, $Date$ +# TODO +# - rrd path +%include /usr/lib/rpm/macros.perl +Summary: Simple interface between Nagios and rrd data files +Name: nagios-nagiosgraph +Version: 1.4.3 +Release: 0.3 +License: Artistic +Group: Applications/WWW +Source0: http://downloads.sourceforge.net/nagiosgraph/nagiosgraph-%{version}.tar.gz +# Source0-md5: 9cd47daf1bf38e3ea3e3db6bf8fd1d74 +URL: http://nagiosgraph.sourceforge.net/ +BuildRequires: rpm-perlprov >= 4.1-13 +Requires: nagios-cgi +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sysconfdir /etc/nagios/nagiosgraph +%define cgidir %{_libdir}/nagios/cgi +%define webdir %{_datadir}/nagios + +%description +nagiosgraph parses output and performance data from Nagios plugins, +stores the data in RRD files, and creates graphs and reports from the +data. + +Graphs and reports can be embedded in Nagios. Easy to setup, highly +customizable, and few dependencies. + +%prep +%setup -q -n nagiosgraph-%{version} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{cgidir},%{webdir}} +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 +cp -a share/nagiosgraph.css $RPM_BUILD_ROOT%{webdir} +cp -a share/nagiosgraph.js $RPM_BUILD_ROOT%{webdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CHANGELOG INSTALL README TODO +%dir %{_sysconfdir} +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/access.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/datasetdb.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/groupdb.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostdb.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/labels.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/map +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagiosgraph.conf +%lang(de) %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagiosgraph_de.conf +%lang(es) %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagiosgraph_es.conf +%lang(fr) %attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nagiosgraph_fr.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ngshared.pm +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rrdopts.conf +%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/servdb.conf +%attr(755,root,root) %{cgidir}/show.cgi +%attr(755,root,root) %{cgidir}/showgraph.cgi +%attr(755,root,root) %{cgidir}/showgroup.cgi +%attr(755,root,root) %{cgidir}/showhost.cgi +%attr(755,root,root) %{cgidir}/showservice.cgi +%attr(755,root,root) %{cgidir}/testcolor.cgi +%attr(755,root,root) %{_libdir}/nagios/%{name}.pl +%{webdir}/nagiosgraph.css +%{webdir}/nagiosgraph.js + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/12/24 21:52:35 glen +- initial ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
