Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagiosgrapher
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
nagiosgrapher.spec
@@ -67,7 +67,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: NagiosGrapher collects the output of NagiosPlugins and generates graphs. PreReq: http_daemon -Requires: nagios nagios-www perl-Calendar-Simple perl-GD perl-PerlMagick perl-URI rrdtool +Requires: nagios nagios-www perl-Calendar-Simple perl-GD perl-PerlMagick perl-URI rrdtool perl-NagiosGrapher %description The "NETWAYS Nagios Grapher" is a Graphing system which uses templates @@ -110,12 +110,12 @@ CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" \ ./configure \ --prefix=%{_prefix} \ - --libdir=%{_libdir} \ + --libdir=%{_prefix}/lib \ --exec-prefix=%{_prefix}/sbin \ --bindir=%{_prefix}/sbin \ --sbindir=%{_prefix}/lib/nagios/cgi \ --libexecdir=%{_prefix}/lib/nagios/plugins \ - --datadir=%{_prefix}/share \ + --datadir=%{_datadir} \ --sysconfdir=/etc/nagios \ --localstatedir=/var/log/nagios \ --with-layout=pld_linux \ @@ -151,12 +151,12 @@ %config(noreplace) /etc/nagios/ngraph.ncfg %config /etc/logrotate.d/nagiosgrapher %attr(775,nagios,nagios) /etc/nagios/serviceext -%{_libdir}/nagios/cgi/*.cgi -%{_libdir}/nagios/grapher/* +%{_prefix}/lib/nagios/cgi/*.cgi +%{_prefix}/lib/nagios/grapher/* %attr(755,nagios,nagios)/var/lib/nagios/rrd /usr/sbin/rcnagiosgrapher -%attr(644,root,root)/usr/share/nagios/images/*.png -%attr(644,root,root)/usr/share/nagios/images/logos/*.png +%attr(644,root,root)%{_datadir}/nagios/images/*.png +%attr(644,root,root)%{_datadir}/nagios/images/logos/*.png %files -n perl-NagiosGrapher %defattr(-,root,root)