Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
libhbalinux2
libhbalinux2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhbalinux2.spec of Package libhbalinux2
# # spec file for package libhbalinux2 # # Copyright (c) 2015 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/ # Name: libhbalinux2 Version: 1.0.17 Release: 0 Summary: FC-HBAAPI implementation using scsi_transport_fc interfaces License: LGPL-2.0+ Group: System/Libraries Url: http://www.open-fcoe.org Source0: libhbalinux-%{version}.tar.xz Patch0: libhbalinux-remove-install-data-hook Patch2: hbalinux-automake.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: sed BuildRequires: autoconf BuildRequires: libHBAAPI2-devel >= 2.2.10 BuildRequires: libpciaccess0-devel BuildRequires: libtool #Requires: libHBAAPI2 %description SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces Authors: -------- Christoper Leech <christopher.leech@intel.com> %package devel Summary: FC-HBAAPI implementation using scsi_transport_fc interfaces Group: System/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Development header files for FC-HBAAPI implementation %prep %setup -q -n libhbalinux-%{version} %patch0 -p1 %patch2 -p1 %build autoreconf --install %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR="%buildroot" rm -f "%buildroot/%_libdir"/*.la %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.* %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %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