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

Annotation 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.4 - (hide annotations) (download)
Wed Apr 2 15:03:55 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.3: +4 -0 lines
Add Id, Authority, Name

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

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