File libibcm.spec of Package libibcm

#
# spec file for package libibcm (Version 1.0.4)
#
# 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:           libibcm
Summary:        Userspace Infiniband Connection Management API
Version:        1.0.4
Release:        2
License:        BSD 3-Clause; GPL v2 or later
Group:          System/Libraries
Source0:        %{name}-%{version}.tar.bz2
Url:            http://www.openfabrics.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libibverbs-devel
ExcludeArch:    s390 s390x

%description
Along with the OpenIB kernel drivers, libibcm provides a userspace
InfiniBand Connection Managment API.



Authors:
--------
    Sean Hefty <sean.hefty@intel.com>
    Libor Michalek <libor@topspin.com>

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

%description devel
Development files for the libibcm library.



Authors:
--------
    Sean Hefty <sean.hefty@intel.com>
    Libor Michalek <libor@topspin.com>

%prep
%setup -q

%build
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%_libdir/libibcm.so.*

%files devel
%defattr(-,root,root)
%_includedir/infiniband/cm.h
%_includedir/infiniband/cm_abi.h
%_libdir/libibcm.a
%_libdir/libibcm.la
%_libdir/libibcm.so

%changelog
* Fri Nov 07 2008 ihno@suse.de
- adding ExcludeArch for s390 s390x
- adding baselibs.conf
* Tue Oct 28 2008 jjolly@suse.de
- Updated to version 1.0.4 from OFED 1.4 rc3
* Thu Sep 11 2008 jjolly@suse.de
- Updated to version 1.0.3 found in OFED 1.4 RC1
* Tue Aug 21 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.0
openSUSE Build Service is sponsored by