File libibverbs.spec of Package libibverbs
#
# spec file for package libibverbs (Version 1.1.2)
#
# 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: libibverbs
Version: 1.1.2
Release: 6
Summary: Infiniband verbs library
License: BSD 3-Clause; GPL v2 or later
Group: System/Libraries
Source0: http://www.openfabrics.org/downloads/%{name}-%{version}.tar.bz2
Url: http://www.openfabrics.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExcludeArch: s390 s390x
%description
libibverbs is a library that allows userspace processes to use
InfiniBand "verbs" as described in the InfiniBand Architecture
Specification. This includes direct hardware access for fast path
operations.
Authors:
--------
Roland Dreier <roland@topspin.com>
Dotan Barak <dotanb@mellanox.co.il>
Sean Hefty <sean.hefty@intel.com>
Michael S. Tsirkin <mst@mellanox.co.il>
%package devel
License: BSD 3-Clause; GPL v2 or later
Group: Development/Libraries/Other
Summary: Development files for the libibverbs library
Requires: %{name} = %{version} glibc-devel
%description devel
Static libraries and header files for the libibverbs verbs library.
Authors:
--------
Roland Dreier <roland@topspin.com>
Dotan Barak <dotanb@mellanox.co.il>
Sean Hefty <sean.hefty@intel.com>
Michael S. Tsirkin <mst@mellanox.co.il>
%prep
%setup -q
%build
%configure --disable-static --with-pic
make
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/libibverbs.d
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%dir %{_sysconfdir}/libibverbs.d
%{_libdir}/libibverbs*.so.*
%doc AUTHORS COPYING ChangeLog README
# Utils
%_bindir/*
%_mandir/man1/*
%files devel
%defattr(-,root,root)
%dir %_includedir/infiniband
%{_includedir}/infiniband/*.h
%{_libdir}/libibverbs.so
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog
* Fri Nov 07 2008 ihno@suse.de
- adding ExcludeArch for s390 s390x
* Thu Nov 06 2008 ihno@suse.de
- adding baselibs.conf
* Thu Oct 23 2008 jjolly@suse.de
- Updated to package from the OFED 1.4 rc3 release
* Tue Sep 09 2008 jjolly@suse.de
- Update to package from the OFED 1.4 rc1
* Tue Mar 04 2008 jjolly@suse.de
- Updated to package from the OFED 1.3 GA release
* Fri Feb 08 2008 jjolly@suse.de
- Updated to version from OFED 1.3 rc4
* Wed Nov 28 2007 crrodriguez@suse.de
- remove static libraries
* Mon Aug 20 2007 hvogel@suse.de
- Update to version from OFED 1.2.5
* Tue Aug 07 2007 hvogel@suse.de
- Update to version from OFED 1.2c
* Wed Jun 20 2007 hvogel@suse.de
- Initial Package, Version 1.1.1