libibverbs/libibverbs.spec

96 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: libibverbs
Version: 1.2.1
Release: 1mamba
Summary: A library that allows programs to use RDMA "verbs" for direct access to RDMA hardware from userspace
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.openfabrics.org
## GITSOURCE git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git libibverbs-1.1.8
Source: git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git/libibverbs-%{version}/libibverbs-%{version}.tar.bz2
Patch0: libibverbs-1.2.1-arm-revert-generic-implementation.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libibverbs is a library that allows programs to use RDMA "verbs" for direct access to RDMA (currently InfiniBand and iWARP) hardware from userspace. For more information on RDMA verbs, see the InfiniBand Architecture Specification vol. 1, especially chapter 11, and the RDMA Consortium's RDMA Protocol Verbs Specification.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Networking
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%ifarch arm
%patch0 -R -p1
%endif
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libibverbs.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/infiniband
%{_includedir}/infiniband/*.h
%{_libdir}/libibverbs.a
%{_libdir}/libibverbs.la
%{_libdir}/libibverbs.so
%{_mandir}/man3/ibv_*.3*
%{_mandir}/man3/mbps_to_ibv_rate.3*
%{_mandir}/man3/mult_to_ibv_rate.3*
%doc ChangeLog README
%files tools
%defattr(-,root,root)
%{_bindir}/ibv_asyncwatch
%{_bindir}/ibv_devices
%{_bindir}/ibv_devinfo
%{_bindir}/ibv_rc_pingpong
%{_bindir}/ibv_srq_pingpong
%{_bindir}/ibv_uc_pingpong
%{_bindir}/ibv_ud_pingpong
%{_bindir}/ibv_xsrq_pingpong
%{_mandir}/man1/ibv_*.1*
%changelog
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.8-1mamba
- package created using the webbuild interface