332c86
Name:           libhbaapi
332c86
Version:        2.2.9
332c86
Release:        6%{?dist}
332c86
Summary:        SNIA HBAAPI library
332c86
Group:          System Environment/Libraries
332c86
License:        SNIA
332c86
URL:            http://open-fcoe.org/
332c86
# This source was cloned from upstream git (libHBAAPI)
332c86
Source:         %{name}-%{version}.tar.gz
332c86
Patch0:         libhbaapi-2.2.9-dl-linking.patch
332c86
Patch1:         libhbaapi-2.2.9-portspeed.patch
332c86
BuildRequires:  automake libtool
332c86
332c86
%description
332c86
The SNIA HBA API library. C-level project to manage
332c86
Fibre Channel Host Bus Adapters.
332c86
332c86
%package        devel
332c86
Summary:        Development files for %{name}
332c86
Group:          Development/Libraries
332c86
Requires:       %{name}%{?_isa} = %{version}-%{release}
332c86
Requires:       pkgconfig
332c86
332c86
%description    devel
332c86
The %{name}-devel package contains libraries and header files for
332c86
developing applications that use %{name}.
332c86
332c86
%prep
332c86
%setup
332c86
%patch0 -p1 -b .ld-linking
332c86
%patch1 -p1 -b .portspeed
332c86
332c86
%build
332c86
./bootstrap.sh
332c86
%configure --disable-static
332c86
make %{?_smp_mflags}
332c86
332c86
%install
332c86
make install DESTDIR=%{buildroot}
332c86
find %{buildroot} -name '*.la' -exec rm -f {} ';'
332c86
332c86
%post -p /sbin/ldconfig
332c86
332c86
%postun -p /sbin/ldconfig
332c86
332c86
%files
332c86
%doc COPYING
332c86
%config(noreplace) %{_sysconfdir}/hba.conf
332c86
%{_libdir}/*.so.*
332c86
332c86
%files devel
332c86
%{_includedir}/*
332c86
%{_libdir}/*.so
332c86
%{_libdir}/pkgconfig/*.pc
332c86
332c86
%changelog
332c86
* Fri Oct 03 2014 Chris Leech <cleech@redhat.com> - 2.2.9-6
332c86
- 1087092 sync with upstream, adds new portspeed definitions
332c86
332c86
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.2.9-5
332c86
- Mass rebuild 2014-01-24
332c86
332c86
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2.9-4
332c86
- Mass rebuild 2013-12-27
332c86
332c86
* Wed Jul 31 2013 Petr Šabata <contyk@redhat.com> - 2.2.9-3
332c86
- Make the devel subpackage arch-dependent
332c86
332c86
* Thu Jul 11 2013 Petr Šabata <contyk@redhat.com> - 2.2.9-2
332c86
- Link against libdl
332c86
332c86
* Tue Jun 04 2013 Petr Šabata <contyk@redhat.com> - 2.2.9-1
332c86
- 2.2.9 bump
332c86
332c86
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-2
332c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
332c86
332c86
* Thu Oct 04 2012 Petr Šabata <contyk@redhat.com> - 2.2.6-1
332c86
- Migrate to the Open-FCoE.org fork
332c86
332c86
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-15
332c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
332c86
332c86
* Thu Jan 26 2012 Petr Šabata <contyk@redhat.com> - 2.2-14
332c86
- Update to hbaapi_build 2.2.5
332c86
332c86
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-13
332c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
332c86
332c86
* Thu Jul 07 2011 Petr Sabata <contyk@redhat.com> - 2.2-12
332c86
- Update to hbaapi_build 2.2.4
332c86
- Remove now obsolete Buildroot and defattr
332c86
332c86
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-11
332c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
332c86
332c86
* Tue Mar 16 2010 Jan Zeleny <jzeleny@redhat.com> - 2.2-10
332c86
- updated hbaapi_build to 2.2.2
332c86
332c86
* Wed Nov 04 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-9
332c86
- fixed linking with libdl
332c86
332c86
* Thu Jul 30 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-8
332c86
- added libtool to BuildRequires
332c86
332c86
* Thu Jul 30 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-7
332c86
- added automake to BuildRequires
332c86
332c86
* Thu Jul 30 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-6
332c86
- rebase of hbaapi_build code
332c86
332c86
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-5
332c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
332c86
332c86
* Wed Apr 01 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-4
332c86
- added some info to description line
332c86
- replaced unoficial build source tarball with official one
332c86
332c86
* Tue Mar 31 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-3
332c86
- minor changes in spec file - filenames change, removal of
332c86
  duplicate patch files (included in build source tarball)
332c86
  
332c86
* Thu Mar 12 2009 Jan Zeleny <jzeleny@redhat.com> - 2.2-2
332c86
- correction of patches' names to correct format
332c86
332c86
* Tue Feb 24 2009 Chris Leech <christopher.leech@intel.com> - 2.2-1
332c86
- initial packaging of hbaapi 2.2