File libnes-rdmav2.spec of Package libnes-rdmav2
#
# spec file for package libnes-rdmav2 (Version 1.1.0)
#
# Copyright (c) 2009-2012 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: libnes-rdmav2
Summary: NetEffect RNIC Userspace Library
Version: 1.1.4
Release: 0
License: BSD-3-Clause or GPL-2.0
Group: Productivity/Networking/Other
Source0: libnes-%{version}.tar.gz
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libibverbs-devel
BuildRequires: automake autoconf libtool
Supplements: modalias(pci:v00001678d00000110sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001678d00000100sv*sd*bc*sc*i*)
%description
libnes provides a device-specific userspace driver for NetEffect RNICs
for use with the libibverbs library.
%prep
%setup -q -n libnes
%build
./autogen.sh
%configure --disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/libnes.{la,so}
%files
%defattr(-, root, root)
%_libdir/libnes-rdmav2.so
%config %{_sysconfdir}/libibverbs.d/nes.driver
%doc AUTHORS COPYING
%changelog