diff --git a/README.md b/README.md index 4dc6504..d0a7655 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libibverbs +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. + diff --git a/libibverbs.spec b/libibverbs.spec new file mode 100644 index 0000000..c4f0ebc --- /dev/null +++ b/libibverbs.spec @@ -0,0 +1,94 @@ +Name: libibverbs +Version: 1.1.8 +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 +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 +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 + +%build +./autogen.sh +%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_asyncwatch.1* +%{_mandir}/man1/ibv_devices.1* +%{_mandir}/man1/ibv_devinfo.1* +%{_mandir}/man1/ibv_rc_pingpong.1* +%{_mandir}/man1/ibv_srq_pingpong.1* +%{_mandir}/man1/ibv_uc_pingpong.1* +%{_mandir}/man1/ibv_ud_pingpong.1* + +%changelog +* Tue Oct 14 2014 Silvan Calarco 1.1.8-1mamba +- package created using the webbuild interface