forked from ovido/check_temper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nagios-plugins-temper.spec
45 lines (31 loc) · 915 Bytes
/
nagios-plugins-temper.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Name: nagios-plugins-temper
Version: 1.3
Release: 1%{?dist}
Summary: TEMPer temperature plugin for Icinga/Nagios
Group: Applications/System
License: GPLv2
URL: https://labs.ovido.at/monitoring
Source0: check_temper-%{version}.tar.gz
BuildRoot: %{_tmppath}/check_temper-%{version}-%{release}-root
�scription
This plugin for Icinga/Nagios is used to monitor temperature and humidity
with TEMPer humi thermometers.
%prep
%setup -q -n check_temper-%{version}
%build
%configure --prefix=%{_libdir}/nagios/plugins \
--with-nagios-user=nagios \
--with-nagios-group=nagios
make all
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL_OPTS=""
%clean
rm -rf $RPM_BUILD_ROOT
%files
�fattr(0755,nagios,nagios)
%{_libdir}/nagios/plugins/check_temper
%doc README INSTALL NEWS ChangeLog COPYING
%changelog
* Wed Mar 27 2013 Rene Koch <[email protected]> 1.3-1
- Initial build.