/[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.1 - (hide annotations) (download)
Wed Feb 27 17:53:46 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Remove version from spec

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

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