/[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.3 - (show annotations) (download)
Sun Mar 30 03:51:06 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: nagios-plugins-temptrax-1_0_1-0_el4_sme
Changes since 1.2: +0 -1 lines
Build all archs

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 Requires: nagios
14 AutoReq: no
15
16 %changelog
17 * Thu Oct 18 2007 Michael Weinberger <mweinber@neddix.de>
18 - Initial release
19
20 %description
21 TempTrax (E4/E16/F) is a seriell or Ethernet Device to monitor temperature.
22 see http://www.netways.de/
23 or http://www.sensatronics.com/products_temperature_model_e.html
24
25 %prep
26 %setup -q -n %{name}-%{version}
27
28 %build
29 %configure
30 %{__make} all
31
32 %install
33 %{__rm} -rf $RPM_BUILD_ROOT
34 %{__mkdir} -p $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
35 %{__install} -s src/check_temptraxe $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
36 %{__install} -s src/check_temptraxf $RPM_BUILD_ROOT/usr/lib/nagios/plugins/
37
38 find $RPM_BUILD_ROOT -depth -type f -print |\
39 sed -e "s@^$RPM_BUILD_ROOT@@g" \
40 -e "s@^/usr/lib/nagios/plugins/@%attr(0550,nagios,root) &@"\
41 >> %{name}-%{version}-filelist
42 find $RPM_BUILD_ROOT -depth -type l -print |\
43 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %pre
49
50 %post
51
52 %preun
53
54 %postun
55
56 %files -f %{name}-%{version}-filelist
57 %defattr(-,root,root)

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