Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libhbalinux2
libhbalinux2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhbalinux2.spec of Package libhbalinux2
# # spec file for package libhbalinux2 (Version 1.0.8) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libhbalinux2 Version: 1.0.8 Release: 1 Summary: FC-HBAAPI implementation using scsi_transport_fc interfaces Group: System/Libraries License: LGPLv2.0+ Url: http://www.open-fcoe.org Source0: http://www.open-fcoe.org/openfc/libhbalinux-v%{version}.tar.bz2 Patch0: libhbalinux-remove-install-data-hook Patch1: libhbalinux-fix-issue-preventi BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf libHBAAPI2-devel libpciaccess0-devel Requires: libHBAAPI2 %description SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces Authors: -------- Christoper Leech <christopher.leech@intel.com> %prep %setup -q -n libhbalinux-v%{version} %patch0 -p1 %patch1 -p1 %build autoreconf --install %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' find $RPM_BUILD_ROOT -name '*.so' -exec rm -f {} ';' %post /sbin/ldconfig ORG=org.open-fcoe.libhbalinux LIB=%{_libdir}/libhbalinux.so.2 STR="$ORG $LIB" CONF=/etc/hba.conf if test -f $CONF; then ORIG=$(sed -n "s/^[[:space:]]*$ORG[[:space:]]*\(.*\)/\1/p" $CONF) if [ "$ORIG" != "$LIB" ] ; then echo $STR >> $CONF else echo "** $CONF already configured" echo "** system configuration not updated" fi; else echo "** WARNING: $CONF does not exist" echo "** system configuration not updated" fi %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README %doc COPYING %{_libdir}/*.so.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor