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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Dec 6 21:08:07 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-nagios-2_0_0-1_el4_sme, HEAD
Remove version from spec

1 slords 1.1 # $Id$
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 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.3
18     Requires: nagios >= 3
19     Requires: pnp4nagios >= 0.4.10
20     BuildRequires: e-smith-devtools
21     AutoReq: no
22    
23     %changelog
24     * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1.sme
25     removed scripts frpm spec file
26     placed all nagios config file in directories
27    
28     * Sun Nov 16 2008 Michael Weinberger <mweinber@neddix.de>
29     AddType application/x-httpd-php .php for PNP
30     pre-configured nagios.cfg-smeserver
31     * Wed Nov 14 2007 Michael Weinberger <mweinber@neddix.de>
32     fixed usermod in /etc/rc.d/init.d/nagios-sme
33     * Thu Oct 1 2007 Michael Weinberger <mweinber@neddix.de>
34     - Initial release
35    
36     %description
37     Nagios integration
38    
39     %prep
40     %setup
41    
42     %build
43    
44     %install
45     rm -rf $RPM_BUILD_ROOT
46     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
47     rm -f %{name}-%{version}-filelist
48     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
49     --file /etc/nagios/nagios.cfg-smeserver 'attr(644,nagios,nagios)' \
50     --dir /etc/nagios 'attr(755,nagios,nagios)' \
51     --dir /etc/nagios/contacts 'attr(755,nagios,nagios)' \
52     --dir /etc/nagios/hosts 'attr(755,nagios,nagios)' \
53     --dir /etc/nagios/services 'attr(755,nagios,nagios)' \
54     --dir /etc/nagios/commands 'attr(755,nagios,nagios)' \
55     --dir /etc/nagios/pnp 'attr(755,nagios,nagios)' \
56     --dir /etc/nagios/servicegroups 'attr(755,nagios,nagios)' \
57     --dir /etc/nagios/hostgroups 'attr(755,nagios,nagios)' \
58     --dir /etc/nagios/templates 'attr(755,nagios,nagios)' \
59     --dir /etc/nagios/timeperiods 'attr(755,nagios,nagios)' \
60     >> %{name}-%{version}-filelist
61    
62     %clean
63     rm -rf $RPM_BUILD_ROOT
64    
65     %files -f %{name}-%{version}-filelist
66     %defattr(-,root,root)

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