/[smecontribs]/rpms/nagios-plugins-temptrax/contribs7/nagios-plugins-temptrax.spec
ViewVC logotype

Contents of /rpms/nagios-plugins-temptrax/contribs7/nagios-plugins-temptrax.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Feb 27 18:22:39 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.1: +2 -3 lines
Fix specfile

1 Summary: Nagios plugins for the Sensatronics E4/E16/F devices
2 %define name nagios-plugins-temptrax
3 Name: %{name}
4 %define version 1.0.1
5 %define release 0
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Applications/System
10 URL: http://www.nagiosexchange.org/Environmental.60.0.html?&tx_netnagext_pi1[p_view]=246&tx_netnagext_pi1[page]=20%3A10
11 Source: %{name}-%{version}.tar.gz
12 BuildRoot: /var/tmp/%{name}-buildroot/
13 BuildArch: i386
14 Requires: nagios
15 AutoReq: no
16
17 %changelog
18 * Thu Oct 18 2007 Michael Weinberger <mweinber@neddix.de>
19 - Initial release
20
21 %description
22 TempTrax (E4/E16/F) is a seriell or Ethernet Device to monitor temperature.
23 see http://www.netways.de/
24 or http://www.sensatronics.com/products_temperature_model_e.html
25
26 %prep
27 %setup -q -n %{name}-%{version}
28
29 %build
30 %configure
31 %{__make} all
32
33 %install
34 %{__rm} -rf $RPM_BUILD_ROOT
35 %{__mkdir} -p $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
36 %{__install} -s src/check_temptraxe $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
37 %{__install} -s src/check_temptraxf $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
38
39 find $RPM_BUILD_ROOT -depth -type f -print |\
40 sed -e "s@^$RPM_BUILD_ROOT@@g" \
41 -e "s@^/usr/lib/nagios/plugins/@%attr(0550,nagios,root) &@"\
42 >> %{name}-%{version}-filelist
43 find $RPM_BUILD_ROOT -depth -type l -print |\
44 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %pre
50
51 %post
52
53 %preun
54
55 %postun
56
57 %files -f %{name}-%{version}-filelist
58 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed