SPECS: megacli-sas.spec (NEW) - megacli sas

arekm arekm at pld-linux.org
Tue Jun 17 13:42:05 CEST 2008


Author: arekm                        Date: Tue Jun 17 11:42:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- megacli sas

---- Files affected:
SPECS:
   megacli-sas.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/megacli-sas.spec
diff -u /dev/null SPECS/megacli-sas.spec:1.1
--- /dev/null	Tue Jun 17 13:42:05 2008
+++ SPECS/megacli-sas.spec	Tue Jun 17 13:42:00 2008
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+Summary:	LSI Logic MegaRAID Linux MegaCLI
+Name:		megacli-sas
+Version:	1.01.39
+Release:	1
+License:	LSI
+Group:		Base
+Source0:	http://www.lsi.com/support/downloads/megaraid/miscellaneous/linux/%{version}_Linux_Cli.zip
+# Source0-md5:	89dc235b90392eef0893ef461ce06500
+URL:		http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/megaraid_sas_8480e/#Miscellaneous
+BuildRequires:	rpm-utils
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sbindir		/sbin
+
+%description
+Tool to control MegaRAID controllers:
+- MegaRAID SAS 84016E
+- MegaRAID SAS 8408E
+- MegaRAID SAS 8480E
+- MegaRAID SAS 8308ELP
+- MegaRAID SAS 8344ELP
+- MegaRAID SAS 8304ELP
+- MegaRAID SAS 8300XLP
+- MegaRAID SAS 8708EM2
+- MegaRAID SAS 8880EM2
+
+%prep
+%setup -q -c
+
+%build
+rpm2cpio *.rpm | cpio -i -d
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+%ifarch %{ix86}
+install opt/MegaRAID/MegaCli/MegaCli $RPM_BUILD_ROOT%{_sbindir}/megacli-sas
+%endif
+
+%ifarch %{x8664}
+install opt/MegaRAID/MegaCli/MegaCli64 $RPM_BUILD_ROOT%{_sbindir}/megacli-sas
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/06/17 11:42:00  arekm
+- megacli sas
+
================================================================


More information about the pld-cvs-commit mailing list