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

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

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


Revision 1.4 - (hide annotations) (download)
Mon Oct 14 00:02:12 2013 UTC (11 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-nagios-2_0_0-4_el5_sme
Changes since 1.3: +4 -3 lines
* Sun Oct 13 2013 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-4.sme
- usermod bug [SME: 5539]
- add requirements to ease isntallation : nagios-plugins nagios-plugins-setuid
-  smeserver-nagios-plugins-mysql and smeserver-nagios-backup
- inserted config db default
- added users to accounts defaults
- corrected /etc/nagios/nagios.cfg-smeserver
- /var/run/nagios

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

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