packages: fibreutils/fibreutils.spec - package libqlsdm.so (hpacucli finds ...
glen
glen at pld-linux.org
Fri Nov 19 18:42:56 CET 2010
Author: glen Date: Fri Nov 19 17:42:56 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- package libqlsdm.so (hpacucli finds my MSA1500 CS now)
---- Files affected:
packages/fibreutils:
fibreutils.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/fibreutils/fibreutils.spec
diff -u packages/fibreutils/fibreutils.spec:1.2 packages/fibreutils/fibreutils.spec:1.3
--- packages/fibreutils/fibreutils.spec:1.2 Fri Nov 19 17:56:02 2010
+++ packages/fibreutils/fibreutils.spec Fri Nov 19 18:42:51 2010
@@ -37,8 +37,9 @@
%ifarch ia64
ARCH=ia64
%endif
-S=%{name}-%{version}-%{release}.$ARCH.rpm
+# fibreutils
+S=%{name}-%{version}-%{release}.$ARCH.rpm
install -d fibreutils
cd fibreutils
rpm2cpio ../$S | cpio -dimu
@@ -51,11 +52,31 @@
s#/opt/hp/hp_fibreutils/scsi_info#%{_sbindir}/scsi_info#g
' hp_fibreutils/ls*
+# libs (for hpacucli at least)
+install -d libs
+cd libs
+rpm2cpio ../hp-fc-enablement-*.noarch.rpm | cpio -dimu
+cd ..
+mv libs/opt/hp/hp-fc-enablement/*-libs libs
+
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}}
+# fibreutils
install -p hp_fibreutils/* $RPM_BUILD_ROOT%{_sbindir}
+# qlogic libs
+%ifarch %{ix86}
+ARCH=ia32
+%endif
+%ifarch %{x8664}
+ARCH=x86_64
+%endif
+%ifarch ia64
+ARCH=ia64
+%endif
+install -p libs/qlogic-libs/libqlsdm-$ARCH.so $RPM_BUILD_ROOT%{_libdir}/libqlsdm.so
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -66,6 +87,7 @@
%attr(755,root,root) %{_sbindir}/lssd
%attr(755,root,root) %{_sbindir}/lssg
%attr(755,root,root) %{_sbindir}/scsi_info
+%attr(755,root,root) %{_libdir}/libqlsdm.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -73,6 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/11/19 17:42:51 glen
+- package libqlsdm.so (hpacucli finds my MSA1500 CS now)
+
Revision 1.2 2010/11/19 16:56:02 glen
- fix md5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/fibreutils/fibreutils.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list