File libehca-rdmav2.spec of Package libehca-rdmav2

#
# spec file for package libehca-rdmav2 (Version 1.2.1)
#
# 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/
#

# norootforbuild


Name:           libehca-rdmav2
Version:        1.2.1
Release:        1
Summary:        Userspace driver for IBM InfiniBand HCAs (ehca)
Group:          System/Libraries
License:        BSD 3-Clause; GPL v2 or later
Url:            http://www.openfabrics.org/
Source:         libehca-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libibverbs-devel
ExclusiveArch:  ppc ppc64

%description
libehca is a userspace driver for IBM InfiniBand HCAs (ehca). It works
as a plug-in module for libibverbs that allows programs to use IBM
InfiniBand HCAs hardware directly from userspace.

libehca currently supports the following IBM InfiniBand HCAs: - GX
   Dual-port 4x IB HCA

- GX Dual-port 12x IB HCA



Authors:
--------
    Christoph Raisch <raisch@de.ibm.com>
    Hoang-Nam Nguyen <hnguyen@de.ibm.com>

%package devel
License:        BSD 3-Clause; GPL v2 or later
Summary:        Userspace driver for IBM InfiniBand HCAs (ehca)
Group:          System/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
libehca is a userspace driver for IBM InfiniBand HCAs (ehca). It works
as a plug-in module for libibverbs that allows programs to use IBM
InfiniBand HCAs hardware directly from userspace.

libehca currently supports the following IBM InfiniBand HCAs: - GX
   Dual-port 4x IB HCA

- GX Dual-port 12x IB HCA



Authors:
--------
    Christoph Raisch <raisch@de.ibm.com>
    Hoang-Nam Nguyen <hnguyen@de.ibm.com>

%prep
%setup -q -n libehca-%{version}

%build
%configure
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install
# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%changelog
* Thu Dec 11 2008 jjolly@suse.de
- Updated to v1.2.1 from OFED 1.4 GA
  - 32-bit fixes
* Wed Nov 19 2008 jjolly@suse.de
- Fixed baselibs.conf by adding -rdmav2 to the package names.
  (bnc#446427)
* 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 Oct 27 2008 ro@suse.de
- add exclusivearch
* Mon Sep 15 2008 jjolly@suse.de
- Initial packing using v1.2 from OFED 1.4 RC1
openSUSE Build Service is sponsored by