1219820SjeffName: libmthca 2219820SjeffVersion: 1.0.5 3219820SjeffRelease: 1%{?dist} 4219820SjeffSummary: Mellanox InfiniBand HCA Userspace Driver 5219820Sjeff 6219820SjeffGroup: System Environment/Libraries 7219820SjeffLicense: GPLv2 or BSD 8219820SjeffUrl: http://openfabrics.org/ 9219820SjeffSource: http://openfabrics.org/downloads/mthca/libmthca-1.0.5.tar.gz 10219820SjeffBuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 11219820Sjeff 12219820SjeffBuildRequires: libibverbs-devel >= 1.1-0.1.rc2 13219820Sjeff 14219820Sjeff%description 15219820Sjefflibmthca provides a device-specific userspace driver for Mellanox HCAs 16219820Sjeff(MT23108 InfiniHost and MT25208 InfiniHost III Ex) for use with the 17219820Sjefflibibverbs library. 18219820Sjeff 19219820Sjeff%package devel-static 20219820SjeffSummary: Development files for the libmthca driver 21219820SjeffGroup: System Environment/Libraries 22219820SjeffRequires: %{name} = %{version}-%{release} 23219820Sjeff 24219820Sjeff%description devel-static 25219820SjeffStatic version of libmthca that may be linked directly to an 26219820Sjeffapplication, which may be useful for debugging. 27219820Sjeff 28219820Sjeff%prep 29219820Sjeff%setup -q -n %{name}-@VERSION@ 30219820Sjeff 31219820Sjeff%build 32219820Sjeff%configure 33219820Sjeffmake %{?_smp_mflags} 34219820Sjeff 35219820Sjeff%install 36219820Sjeffrm -rf $RPM_BUILD_ROOT 37219820Sjeffmake DESTDIR=%{buildroot} install 38219820Sjeff# remove unpackaged files from the buildroot 39219820Sjeffrm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/libmthca.so 40219820Sjeff 41219820Sjeff%clean 42219820Sjeffrm -rf $RPM_BUILD_ROOT 43219820Sjeff 44219820Sjeff%files 45219820Sjeff%defattr(-,root,root,-) 46219820Sjeff%{_libdir}/libmthca-rdmav2.so 47219820Sjeff%{_sysconfdir}/libibverbs.d/mthca.driver 48219820Sjeff%doc AUTHORS COPYING ChangeLog README 49219820Sjeff 50219820Sjeff%files devel-static 51219820Sjeff%defattr(-,root,root,-) 52219820Sjeff%{_libdir}/libmthca.a 53219820Sjeff 54219820Sjeff%changelog 55219820Sjeff* Tue May 27 2008 Roland Dreier <rolandd@cisco.com> - 1.0.5-1 56219820Sjeff- New upstream release 57219820Sjeff- Change openib.org URLs to openfabrics.org URLs 58219820Sjeff 59219820Sjeff* Thu May 22 2008 Todd Zullinger <tmz@pobox.com> - 1.0.4-3 60219820Sjeff- fix license tag 61219820Sjeff 62219820Sjeff* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-2 63219820Sjeff- Autorebuild for GCC 4.3 64219820Sjeff 65219820Sjeff* Thu Nov 9 2006 Roland Dreier <rdreier@cisco.com> - 1.0.4-1 66219820Sjeff- New upstream release 67219820Sjeff- Depend on libibverbs 1.1, and package new library file names. 68219820Sjeff- Spec file cleanups: remove unused ver macro, improve BuildRoot, move 69219820Sjeff static libraries into devel-static package, and don't use makeinstall 70219820Sjeff any more (all suggested by Doug Ledford <dledford@redhat.com>). 71219820Sjeff 72219820Sjeff* Wed Jul 26 2006 Roland Dreier <rdreier@cisco.com> - 1.0.3-1 73219820Sjeff- New upstream release 74219820Sjeff 75219820Sjeff* Mon Mar 14 2006 Roland Dreier <rdreier@cisco.com> - 1.0.2-1 76219820Sjeff- New upstream release 77219820Sjeff 78219820Sjeff* Thu Feb 16 2006 Roland Dreier <rdreier@cisco.com> - 1.0-1 79219820Sjeff- New upstream release 80219820Sjeff 81219820Sjeff* Sun Feb 15 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.5.rc7 82219820Sjeff- New upstream release 83219820Sjeff 84219820Sjeff* Sun Jan 22 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.4.rc6 85219820Sjeff- New upstream release 86219820Sjeff 87219820Sjeff* Tue Oct 25 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.3.rc5 88219820Sjeff- New upstream release 89219820Sjeff 90219820Sjeff* Wed Oct 5 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.2.rc4 91219820Sjeff- Update to upstream 1.0-rc4 release 92219820Sjeff 93219820Sjeff* Mon Sep 26 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.1.rc3 94219820Sjeff- Initial attempt at Fedora Extras-compliant spec file 95