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

Contents of /rpms/smeserver-nagios-nsca/contribs8/smeserver-nagios-nsca.spec

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


Revision 1.1 - (show annotations) (download)
Sat Jun 1 13:25:13 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-nagios-nsca-2_0_0-1_el5_sme
Initial import

1 # $Id: smeserver-nagios-nsca.spec,v 1.6 2010/12/06 20:54:12 slords Exp $
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 Summary: Nagios nsca integration
6 %define name smeserver-nagios-nsca
7 Name: %{name}
8 %define version 2.0.0
9 %define release 1
10 Version: %{version}
11 Release: %{release}%{?dist}
12 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 BuildRequires: e-smith-devtools
20 AutoReq: no
21
22 %changelog
23 * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
24 removed script from specfile
25
26 * 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 %setup
39
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