File librdmacm.spec of Package librdmacm
#
# spec file for package librdmacm (Version 1.0.8)
#
# 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: librdmacm
Summary: RDMA cm library.
Version: 1.0.8
Release: 7
License: BSD 3-Clause; GPL v2 or later
Group: System/Libraries
Source0: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.bz2
Patch1: librdmacm-cma.patch
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libibverbs-devel
ExcludeArch: s390 s390x
%description
RDMA cm library
Authors:
--------
Sean Hefty <sean.hefty@intel.com>
%package devel
License: BSD 3-Clause; GPL v2 or later
Group: Development/Libraries/Other
Summary: Development files for the librdmacm library
Requires: %{name} = %{version} libibverbs-devel
%description devel
Development files for the librdmacm library.
Authors:
--------
Sean Hefty <sean.hefty@intel.com>
%prep
%setup -q
%patch1
%build
%configure --disable-static --with-pic
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la
grep -r include %{buildroot}%{_includedir}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%_bindir/*
%_libdir/librdmacm.so.*
%_mandir/man1/*
%_mandir/man7/*
%files devel
%defattr(-,root,root)
%_includedir/rdma
%_libdir/librdmacm.so
%_mandir/man3/*
%changelog
* Thu Nov 06 2008 ihno@suse.de
- adding baselibs.conf
- adding ExcludeArch s390 s390x
* Fri Oct 24 2008 jjolly@suse.de
- Updated to version from the OFED 1.4 RC3
* Wed Oct 15 2008 jjolly@suse.de
- Patched to fix segfault on QS22 hardware (bnc#426594)
* Tue Sep 09 2008 jjolly@suse.de
- Updated to 1.0.8 from the OFED 1.4 RC1
* Mon Apr 28 2008 crrodriguez@suse.de
- update to version 1.0.7 , no upstream changelog available
* Tue Mar 04 2008 jjolly@suse.de
- Updated to 1.0.6 from the OFED 1.3 GA release
* Wed Nov 28 2007 crrodriguez@suse.de
- Update to 1.0.4 for OFED 1.3, there is no changelog available
* Tue Aug 07 2007 hvogel@suse.de
- Update to 1.0.2 from OFED 1.2c
* Mon Jul 09 2007 hvogel@suse.de
- Use correct version number
* Mon Jul 02 2007 hvogel@suse.de
- Update to OFED 1.2 release
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.0.2