/[smecontribs]/rpms/smeserver-nagios-nsca/contribs7/smeserver-nagios-nsca.spec
ViewVC logotype

Annotation of /rpms/smeserver-nagios-nsca/contribs7/smeserver-nagios-nsca.spec

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


Revision 1.6 - (hide annotations) (download)
Mon Dec 6 20:54:12 2010 UTC (13 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-nagios-nsca-2_0_0-1_el4_sme, HEAD
Changes since 1.5: +7 -26 lines
* Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
  removed script from specfile

1 slords 1.6 # $Id: smeserver-nagios-nsca.spec,v 1.5 2008/11/25 16:20:27 slords Exp $
2 slords 1.3 # Authority: mweinber
3     # Name: Michael Weinberger
4    
5 slords 1.1 Summary: Nagios nsca integration
6     %define name smeserver-nagios-nsca
7     Name: %{name}
8 slords 1.6 %define version 2.0.0
9     %define release 1
10 slords 1.1 Version: %{version}
11 slords 1.2 Release: %{release}%{?dist}
12 slords 1.1 License: GPL
13     Group: Applications/System
14     Source: %{name}-%{version}.tar.gz
15     BuildRoot: /var/tmp/%{name}-buildroot/
16     BuildArch: noarch
17     Requires: smeserver-release >= 7.1.3
18     Requires: nagios-nsca >= 2.6
19 slords 1.2 BuildRequires: e-smith-devtools
20 slords 1.1 AutoReq: no
21    
22     %changelog
23 slords 1.6 * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
24     removed script from specfile
25    
26 slords 1.1 * Thu Oct 1 2007 Michael Weinberger <mweinber@neddix.de>
27     - Initial release
28    
29     %description
30     Nagios nsca integration
31    
32     Setting the TCP wrapper allowed hosts:
33     config setprop nsca HostsAllow "127.0.0.1 10.203.104.0/255.255.252.0 172.22.32.0/255.255.240.0"
34     expand-template /etc/hosts.allow
35    
36    
37     %prep
38 slords 1.6 %setup
39 slords 1.1
40     %build
41    
42     %install
43     rm -rf $RPM_BUILD_ROOT
44     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
45     rm -f %{name}-%{version}-filelist
46     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
47     >> %{name}-%{version}-filelist
48     find $RPM_BUILD_ROOT -depth -type l -print |\
49     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
50    
51     %clean
52     rm -rf $RPM_BUILD_ROOT
53    
54     %files -f %{name}-%{version}-filelist
55     %defattr(-,root,root)

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