/[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.2 - (hide annotations) (download)
Mon Mar 2 23:53:29 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-megaraidmon-0_1-0_el4_sme
Changes since 1.1: +1 -1 lines
Spec updates

1 slords 1.2 # $Id$
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     #%define fpbxversion 2.5.0
6     %define version 0.1
7     %define release 0
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     #Patch0: smeserver-megaraidmon-0.1-foo.patch
19     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20     URL: http://www.lsi.com/
21    
22     #BuildRequires: e-smith-devtools
23     BuildArch: noarch
24    
25     Requires: perl(Mail::Send)
26     Requires: perl(esmith::ConfigDB)
27     Requires: e-smith-base
28     Requires: MegaCli
29     AutoReqProv: no
30    
31    
32     %description
33     This small tool will just run a cron job which will check the state of your logical disk.
34     If the state is not Optimal, it'll send a mail to admin_raidreport (which is an alias for admin by default)
35    
36    
37     %changelog
38    
39     * Tue Nov 25 2008 daniel B. <daniel@firewall-services.com> [0.1-0]
40     - initial release
41    
42     %prep
43    
44     %setup -q -n %{name}-%{version}
45     #%patch0 -p1
46    
47     %build
48     # Build symlinks
49     #perl createlinks
50    
51    
52     %install
53     rm -rf $RPM_BUILD_ROOT
54     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
55     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
56     --file /usr/bin/megaraidmon 'attr(0755,root,root)' \
57     > %{name}-%{version}-%{release}-filelist
58    
59     %clean
60     rm -rf $RPM_BUILD_ROOT
61    
62     %files -f %{name}-%{version}-%{release}-filelist
63     %defattr(-,root,root)
64    
65     #true
66    

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