File libmthca-rdmav2.spec of Package libmthca-rdmav2

#
# spec file for package libmthca-rdmav2 (Version 1.0.5)
#
# Copyright (c) 2009 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:           libmthca-rdmav2
Summary:        User space libraries (device-specific) for Infiniband Mellanox HCA
Version:        1.0.5
Release:        6
License:        BSD 3-Clause; GPL v2 or later
Group:          System/Libraries
Source0:        libmthca-%{version}.tar.bz2
Url:            http://www.openfabrics.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libibverbs-devel
ExcludeArch:    s390 s390x

%description
libmthca provides a device-specific userspace driver for Mellanox HCAs
(MT23108 InfiniHost and MT25208 InfiniHost III Ex) for use with the
libibverbs library



Authors:
--------
    Roland Dreier <roland@topspin.com>
    Michael S. Tsirkin <mst@mellanox.co.il>

%package devel
License:        BSD 3-Clause; GPL v2 or later
Group:          Development/Libraries/Other
Summary:        Development files for the libmthca driver
Requires:       %{name} = %{version} libibverbs-devel

%description devel
Static version of libmthca that may be linked directly to an
application, which may be useful for debugging.



Authors:
--------
    Roland Dreier <roland@topspin.com>
    Michael S. Tsirkin <mst@mellanox.co.il>

%prep
%setup -q -n libmthca-%version

%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/*.la

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root)
%config %_sysconfdir/libibverbs.d/mthca.driver
%_libdir/%name.so

%files devel
%defattr(-, root, root)
%_libdir/libmthca.so

%changelog
* Fri Mar 13 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Thu Dec 11 2008 jjolly@suse.de
- Updated to package from OFED 1.4 GA
  - Moved thread mutexes higher in calltree
* Fri Nov 07 2008 ihno@suse.de
- really adding baselibs.conf
* Thu Nov 06 2008 ihno@suse.de
- adding baselibs.conf
- adding ExcludeArch s390 s390x
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version from OFED 1.4 rc3
* Thu Sep 11 2008 jjolly@suse.de
- Updated to version 1.0.5 from OFED 1.4 rc1
* Mon Aug 20 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.0.4
openSUSE Build Service is sponsored by