From 378abea0e190cc2d82352da1cbf45b0d9c6033d6 Mon Sep 17 00:00:00 2001 From: Ophir Munk Date: Thu, 17 Mar 2016 13:56:07 +0200 Subject: [PATCH] Initial import (libvma-8.0.1-1.fc24.src.rpm) --- .gitignore | 1 + libvma.spec | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 105 insertions(+) create mode 100644 libvma.spec diff --git a/.gitignore b/.gitignore index e69de29..9c76df6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libvma-8.0.1.tar.gz diff --git a/libvma.spec b/libvma.spec new file mode 100644 index 0000000..8ea3d8d --- /dev/null +++ b/libvma.spec @@ -0,0 +1,103 @@ +Name: libvma +Version: 8.0.1 +Release: 1%{?dist} +Summary: A library for boosting TCP and UDP traffic (over RDMA hardware) + +License: GPLv2 or BSD +Url: https://github.com/Mellanox/libvma +Source: http://www.mellanox.com/downloads/Accelerator/%{name}-%{version}.tar.gz +#arm is excluded since libvma fails to compile on arm. +#Reason: libvma uses assembly commands that are not supported by arm. +ExcludeArch: %{arm} +Requires: pam +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +BuildRequires: librdmacm-devel libibverbs-devel libnl3-devel +BuildRequires: automake autoconf libtool + +%description +libvma is a LD_PRELOAD-able library that boosts performance +of TCP and UDP traffic. +It allows application written over standard socket API to handle +fast path data traffic from user space over Ethernet and/or +Infiniband with full network stack bypass and get better throughput, +latency and packets/sec rate. +No application binary change is required for that. +libvma is supported by RDMA capable devices that support +"verbs" IBV_QPT_RAW_PACKET QP for Ethernet and/or IBV_QPT_UD QP for IPoIB. + +%package devel +Summary: Header files required to develop with libvma +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Headers files required to develop with the libvma library. + +%package utils +Summary: Libvma utilities +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +Tools for collecting and analyzing libvma statistic. + +%prep +%setup -q + +%build +./autogen.sh +%configure +make %{?_smp_mflags} V=1 + +%install +%make_install +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%{_libdir}/%{name}*.so.* +#libvma.so in needed in the main package so that +#'LD_PRELOAD=libvma.so ' works. +%{_libdir}/%{name}.so +%license COPYING LICENSE +%doc README.txt journal.txt VMA_VERSION +%config(noreplace) %{_sysconfdir}/libvma.conf +%config(noreplace) %{_sysconfdir}/security/limits.d/30-libvma-limits.conf + +%files devel +%{_includedir}/* + +%files utils +%{_bindir}/vma_stats + +%changelog +* Sun Mar 13 2016 Alex Vainman - 8.0.1-1 +- New upstream release +- Move to dual license: GPLv2 or BSD +- ExcludeArch update +- Removal of extra space in: + config(noreplace) {_sysconfdir}/security/limits.d/30-libvma-limits.conf +- Add V=1 to make + +* Wed Mar 2 2016 Alex Vainman - 7.0.14-2 +- Added reasoning for archs exclusion +- Package description improvement +- Removal of the pre scriplet +- Added COPYING and LICENSE files to the package + +* Sun Feb 21 2016 Alex Vainman - 7.0.14-1 +- New upstream release +- Removal of redundant macros and obsolete/unneeded tags +- Added ExcludeArch, BuildRequires and Require sections +- Fixes and cleanups in the build and installation sections +- Install 30-libvma-limits.conf file under + /etc/security/limits.d/ +- Fixes related to files/directories ownerships +- Removal of vma_perf_envelope.sh from the utility package +- Update Source tag URL +- Fix most of the rpmlint warnings + +* Mon Jan 4 2016 Avner BenHanoch - 7.0.12-1 +- Initial Packaging diff --git a/sources b/sources index e69de29..35a2516 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +42f1b8d5b27ebdcc71bb6666d8a18e8e libvma-8.0.1.tar.gz