/[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.6 - (show annotations) (download)
Wed Oct 16 02:25:58 2013 UTC (11 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-nagios-2_0_0-6_el5_sme, HEAD
Changes since 1.5: +8 -2 lines
Error occurred while calculating annotation data.
* Tue Oct 15 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-6.sme
- libexec nagios path [SME: 7908]
- another time for [SME: 5539](one line missing in patch)

1 # $Id: smeserver-nagios.spec,v 1.5 2013/10/14 03:53:56 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 6
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 Patch1: smeserver-nagios-2.0.0-dbinit.patch
17 Patch2: smeserver-nagios-2.0.0-pnpalias.patch
18 Patch3: smeserver-nagios-2.0.0-pnppath.patch
19 BuildRoot: /var/tmp/%{name}-buildroot/
20 BuildArch: noarch
21 Requires: smeserver-release >= 8
22 Requires: nagios >= 3
23 Requires: pnp4nagios >= 0.4.10
24 Requires: nagios-plugins
25 Requires: nagios-plugins-setuid
26 Requires: smeserver-nagios-plugins-mysql
27 Requires: smeserver-nagios-backup
28 BuildRequires: e-smith-devtools
29 AutoReq: no
30
31 %changelog
32 * Tue Oct 15 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-6.sme
33 - libexec nagios path [SME: 7908]
34 - another time for [SME: 5539](one line missing in patch)
35
36 * Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-5.sme
37 - pnp4nagio web path [SME: 7905]
38
39 * Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-4.sme
40 - usermod bug [SME: 5539]
41 - add requirements to ease isntallation : nagios-plugins nagios-plugins-setuid
42 - smeserver-nagios-plugins-mysql and smeserver-nagios-backup
43 - inserted config db default
44 - added users to accounts defaults
45 - corrected /etc/nagios/nagios.cfg-smeserver
46 - /var/run/nagios
47
48 * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
49 removed scripts frpm spec file
50 placed all nagios config file in directories
51
52 * Sun Nov 16 2008 Michael Weinberger <mweinber@neddix.de>
53 AddType application/x-httpd-php .php for PNP
54 pre-configured nagios.cfg-smeserver
55 * Wed Nov 14 2007 Michael Weinberger <mweinber@neddix.de>
56 fixed usermod in /etc/rc.d/init.d/nagios-sme
57 * Thu Oct 1 2007 Michael Weinberger <mweinber@neddix.de>
58 - Initial release
59
60 %description
61 Nagios integration
62
63 %prep
64 %setup
65 %patch0 -p1
66 %patch1 -p1
67 %patch2 -p1
68 %patch3 -p1
69
70 %build
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
75 rm -f %{name}-%{version}-filelist
76 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
77 --file /etc/nagios/nagios.cfg-smeserver 'attr(644,nagios,nagios)' \
78 --dir /etc/nagios 'attr(755,nagios,nagios)' \
79 --dir /etc/nagios/contacts 'attr(755,nagios,nagios)' \
80 --dir /etc/nagios/hosts 'attr(755,nagios,nagios)' \
81 --dir /etc/nagios/services 'attr(755,nagios,nagios)' \
82 --dir /etc/nagios/commands 'attr(755,nagios,nagios)' \
83 --dir /etc/nagios/pnp 'attr(755,nagios,nagios)' \
84 --dir /etc/nagios/servicegroups 'attr(755,nagios,nagios)' \
85 --dir /etc/nagios/hostgroups 'attr(755,nagios,nagios)' \
86 --dir /etc/nagios/templates 'attr(755,nagios,nagios)' \
87 --dir /etc/nagios/timeperiods 'attr(755,nagios,nagios)' \
88 >> %{name}-%{version}-filelist
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files -f %{name}-%{version}-filelist
94 %defattr(-,root,root)

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