File libmlx4-rdmav2.spec of Package libmlx4-rdmav2

#
# spec file for package libmlx4-rdmav2 (Version 1.0)
#
# Copyright (c) 2008 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:           libmlx4-rdmav2
Summary:        Mellanox InfiniBand HCA Userspace Driver
Version:        1.0
Release:        4
Group:          System/Libraries
License:        BSD 4-Clause; GPL v2 only
Url:            http://www.openfabrics.org
Source:         libmlx4-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libibverbs-devel
ExcludeArch:    s390 s390x

%description
libmlx4 provides a device-specific userspace driver for Mellanox
ConnectX HCAs for use with the libibverbs library.



Authors:
--------
    Roland Dreier           <rolandd@cisco.com>

%package devel
License:        BSD 4-Clause; GPL v2 only
Group:          System/Libraries
Summary:        Development files for the libmlx4 library
Requires:       %{name} = %{version} libibverbs-devel

%description devel
Development files for the libmlx4 library.



Authors:
--------
    Roland Dreier           <rolandd@cisco.com>

%prep
%setup -q -n libmlx4-%version

%build
%configure
make

%install
make DESTDIR=%{buildroot} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_libdir}/libmlx4-rdmav2.so
%config %{_sysconfdir}/libibverbs.d/mlx4.driver

%files devel
%defattr(-,root,root,-)
%{_libdir}/libmlx4.a
%{_libdir}/libmlx4.la
%{_libdir}/libmlx4.so

%changelog
* Fri Nov 07 2008 ihno@suse.de
- adding ExcludeArch for s390 s390x
* Thu Nov 06 2008 ihno@suse.de
- adding baselibs.conf
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version from OFED 1.4 rc3
* Mon Sep 15 2008 jjolly@suse.de
- Changed package name to libmlx4-rdmav2
* Fri Feb 29 2008 jjolly@suse.de
- Update to version 1.0 from OFED 1.3 GA release
* Fri Feb 01 2008 jjolly@suse.de
- Update to version 1.0 from OFED 1.3 rc2
- Removed patches (none are applicable)
* Tue Aug 21 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Sun Aug 19 2007 ro@suse.de
- add rpmlintrc (shlib-policy-name-error) for the moment
  to fix build
* Tue Aug 07 2007 hvogel@suse.de
- Initial Package, Version 0.1