Blame SPECS/libhbaapi.spec

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