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

Contents of /rpms/smeserver-megaraidmon/contribs7/smeserver-megaraidmon.spec

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


Revision 1.4 - (show annotations) (download)
Tue May 4 07:40:23 2010 UTC (14 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-megaraidmon-0_1-2_el4_sme, HEAD
Changes since 1.3: +9 -4 lines
* Tue May 04 2010 Daniel B. <daniel@firewall-services.com> 0.1-2.sme
- disable MegaCli log

1 # $Id: smeserver-megaraidmon.spec,v 1.3 2009/03/03 18:39:13 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 #%define fpbxversion 2.5.0
6 %define version 0.1
7 %define release 2
8 %define name smeserver-megaraidmon
9
10
11 Summary: A small tool to monitor MegaRAID based RAID Controler
12 Name: %{name}
13 Version: %{version}
14 Release: %{release}%{?dist}
15 License: GPL
16 Group: System/Servers
17 Source: %{name}-%{version}.tar.gz
18
19 Patch0: smeserver-megaraidmon-0.1-disable_megacli_log.patch
20
21 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22 URL: http://www.lsi.com/
23
24 BuildRequires: e-smith-devtools
25 BuildArch: noarch
26
27 Requires: perl(Mail::Send)
28 Requires: perl(esmith::ConfigDB)
29 Requires: e-smith-base
30 Requires: MegaCli
31 AutoReqProv: no
32
33
34 %description
35 This small tool will just run a cron job which will check the state of your logical disk.
36 If the state is not Optimal, it'll send a mail to admin_raidreport (which is an alias for admin by default)
37
38
39 %changelog
40 * Tue May 04 2010 Daniel B. <daniel@firewall-services.com> 0.1-2.sme
41 - disable MegaCli log
42
43 * Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [0.1-1]
44 - Add e-smith-devtools as a dependencie
45
46 * Tue Nov 25 2008 daniel B. <daniel@firewall-services.com> [0.1-0]
47 - initial release
48
49 %prep
50
51 %setup -q -n %{name}-%{version}
52 %patch0 -p1
53
54 %build
55 # Build symlinks
56 #perl createlinks
57
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
62 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
63 --file /usr/bin/megaraidmon 'attr(0755,root,root)' \
64 > %{name}-%{version}-%{release}-filelist
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}-%{version}-%{release}-filelist
70 %defattr(-,root,root)
71
72 #true
73

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