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

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

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


Revision 1.2 - (show annotations) (download)
Sun Oct 13 23:07:24 2013 UTC (11 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-nagios-2_0_0-2_el5_sme
Changes since 1.1: +15 -3 lines
* Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-2.sme
- usermod bug [SME: 5539]
- add requirements to ease isntallation : nagios-plugins nagios-plugins-setuid
-  smeserver-nagios-plugins-mysql and smeserver-nagios-backup

1 # $Id: smeserver-nagios.spec,v 1.1 2013/06/01 13:18:54 unnilennium Exp $
2 # Authority: mweinber
3 # Name: Michael Weinberger
4
5 Summary: Nagios integration
6 %define name smeserver-nagios
7 Name: %{name}
8 %define version 2.0.0
9 %define release 2
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Applications/System
14 Source: %{name}-%{version}.tar.gz
15 Patch0: smeserver-nagios-2.0.0-usermod.patch
16 BuildRoot: /var/tmp/%{name}-buildroot/
17 BuildArch: noarch
18 Requires: smeserver-release >= 8
19 Requires: nagios >= 3
20 Requires: pnp4nagios >= 0.4.10
21 Requires: nagios-plugins
22 Requires: nagios-plugins-setuid
23 Requires: smeserver-nagios-plugins-mysql
24 Requires: smeserver-nagios-backup
25 BuildRequires: e-smith-devtools
26 AutoReq: no
27
28 %changelog
29 * Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-2.sme
30 - usermod bug [SME: 5539]
31 - add requirements to ease isntallation : nagios-plugins nagios-plugins-setuid
32 - smeserver-nagios-plugins-mysql and smeserver-nagios-backup
33
34 * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
35 removed scripts frpm spec file
36 placed all nagios config file in directories
37
38 * Sun Nov 16 2008 Michael Weinberger <mweinber@neddix.de>
39 AddType application/x-httpd-php .php for PNP
40 pre-configured nagios.cfg-smeserver
41 * Wed Nov 14 2007 Michael Weinberger <mweinber@neddix.de>
42 fixed usermod in /etc/rc.d/init.d/nagios-sme
43 * Thu Oct 1 2007 Michael Weinberger <mweinber@neddix.de>
44 - Initial release
45
46 %description
47 Nagios integration
48
49 %prep
50 %setup
51 %patch0 -p1
52
53
54 %build
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
59 rm -f %{name}-%{version}-filelist
60 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
61 --file /etc/nagios/nagios.cfg-smeserver 'attr(644,nagios,nagios)' \
62 --dir /etc/nagios 'attr(755,nagios,nagios)' \
63 --dir /etc/nagios/contacts 'attr(755,nagios,nagios)' \
64 --dir /etc/nagios/hosts 'attr(755,nagios,nagios)' \
65 --dir /etc/nagios/services 'attr(755,nagios,nagios)' \
66 --dir /etc/nagios/commands 'attr(755,nagios,nagios)' \
67 --dir /etc/nagios/pnp 'attr(755,nagios,nagios)' \
68 --dir /etc/nagios/servicegroups 'attr(755,nagios,nagios)' \
69 --dir /etc/nagios/hostgroups 'attr(755,nagios,nagios)' \
70 --dir /etc/nagios/templates 'attr(755,nagios,nagios)' \
71 --dir /etc/nagios/timeperiods 'attr(755,nagios,nagios)' \
72 >> %{name}-%{version}-filelist
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}-%{version}-filelist
78 %defattr(-,root,root)

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