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

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

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


Revision 1.4 - (hide annotations) (download)
Tue May 4 07:40:23 2010 UTC (14 years 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 vip-ire 1.4 # $Id: smeserver-megaraidmon.spec,v 1.3 2009/03/03 18:39:13 vip-ire Exp $
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     #%define fpbxversion 2.5.0
6     %define version 0.1
7 vip-ire 1.4 %define release 2
8 slords 1.1 %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 vip-ire 1.4
19     Patch0: smeserver-megaraidmon-0.1-disable_megacli_log.patch
20    
21 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22     URL: http://www.lsi.com/
23    
24 vip-ire 1.3 BuildRequires: e-smith-devtools
25 slords 1.1 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 vip-ire 1.4 * Tue May 04 2010 Daniel B. <daniel@firewall-services.com> 0.1-2.sme
41     - disable MegaCli log
42    
43 vip-ire 1.3 * Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [0.1-1]
44     - Add e-smith-devtools as a dependencie
45 slords 1.1
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 vip-ire 1.4 %patch0 -p1
53 slords 1.1
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