Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-lm_sensors
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 10
[-]
[+]
Changed
check_lm_sensors.spec
@@ -1,7 +1,8 @@ %define version 3.1.1 %define release 1 %define name nagios-plugins-lm_sensors -%define _prefix /usr/lib/nagios/plugins/ +%define _naglib /usr/lib/nagios +%define _plugindir %{_naglib}/plugins/ %define _pname check_lm_sensors Summary: A Nagios plugin to monitor sensors values @@ -33,7 +34,7 @@ chmod -x AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION %install -%__install -D -m 0755 %{_pname} %{buildroot}%{_prefix}/%{_pname} +%__install -D -m 0755 %{_pname} %{buildroot}%{_plugindir}/%{_pname} pod2man %{_pname}.pod > %{buildroot}%{_mandir}/man3/%{_pname}.3 %clean @@ -42,8 +43,10 @@ %files %defattr(-, root, root) %doc AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION -%attr(0755, root, root) %{_prefix}/%{_pname} +%attr(0755, root, root) %{_plugindir}/%{_pname} %attr(0655, root, root) %{_mandir}/man3/%{_pname}.3* +%dir %{_naglib} +%dir %{_plugindir} %changelog * Fri Oct 17 2008 Carsten Schoene <cs@linux-administrator.com>