libvma/libvma.spec

113 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

2020-02-17 03:18:17 -05:00
Name: libvma
2023-07-15 15:54:58 +08:00
Version: 9.8.1
Release: 1
2020-02-17 03:18:17 -05:00
Summary: A library that boosts performance for message-based and streaming applications
License: GPLv2 or BSD
URL: https://github.com/Mellanox/libvma
2020-09-03 22:07:42 +08:00
Source: https://github.com/Mellanox/libvma/archive/%{version}.tar.gz
2023-07-15 15:54:58 +08:00
Patch0000: add-loongarch64-support-for-libvma.patch
2021-08-10 10:36:49 +08:00
2020-02-17 03:18:17 -05:00
ExcludeArch: %{arm}
Requires: pam
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: rdma-core-devel libnl3-devel automake autoconf libtool g++
2020-02-17 03:18:17 -05:00
Provides: %{name}-utils = %{version}-%{release}
Obsoletes: %{name}-utils < %{version}-%{release}
%description
Mellanox's Messaging Accelerator (VMA) is dynamically linked user space Linux
library for transparently enhancing the performance of networking-heavy
applications. It boosts performance for message-based and streaming applications
such as those found in financial services market data environments and Web2.0
clusters.
%package devel
Summary: Header files for libvma
Requires: %{name} = %{version}-%{release}
%description devel
Headers files for libvma.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
./autogen.sh
%configure
%make_build V=1
%install
2023-07-15 15:54:58 +08:00
%{make_install}
2020-02-17 03:18:17 -05:00
2023-07-15 15:54:58 +08:00
find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete
install -D -m 644 contrib/scripts/vma.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/vma.service
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/vma
%post
%systemd_post vma.service
%preun
%systemd_preun vma.service
%postun
%systemd_postun_with_restart vma.service
2020-02-17 03:18:17 -05:00
%files
%defattr(-,root,root)
2023-07-15 15:54:58 +08:00
%doc README.md
%license LICENSE
2020-02-17 03:18:17 -05:00
%config(noreplace) %{_sysconfdir}/libvma.conf
%{_bindir}/vma_stats
%{_libdir}/%{name}.so
%{_libdir}/%{name}*.so.*
2020-02-17 04:09:41 -05:00
%{_sbindir}/vmad
%{_unitdir}/vma.service
2023-07-15 15:54:58 +08:00
%{_mandir}/man7/vma.*
%{_mandir}/man8/vmad.*
%{_mandir}/man8/vma_stats.*
2020-02-17 03:18:17 -05:00
%files devel
%defattr(-,root,root)
%{_includedir}/*
%files help
%defattr(-,root,root)
2023-07-15 15:54:58 +08:00
%{_pkgdocdir}/README.md
%{_pkgdocdir}/README
%{_pkgdocdir}/CHANGES
2020-02-17 03:18:17 -05:00
%changelog
2023-07-15 15:54:58 +08:00
* Sat Jul 15 2023 wulei <wu_lei@hoperun.com> - 9.8.1-1
- Update to 9.8.1
* Mon Feb 6 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 8.9.4-13
- add loongarch64 support for libvma
2021-08-10 10:36:49 +08:00
* Tue Aug 10 2021 wangyue <wangyue92@huawei.com> - 8.9.4-12
- fix build error with glibc-2.34
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 8.9.4-11
- fixes failed: g++: No such file or directory
* Wed Mar 10 2021 maminjie <maminjie1@huawei.com> - 8.9.4-10
- Remove ExecReload that is not supported
2020-09-03 22:07:42 +08:00
* Thu Sep 3 2020 zhaowei<zhaowei23@huawei.com> - 8.9.4-9
-update source URL
2020-05-21 15:34:09 +08:00
* Thu May 21 2020 yanan li <liyanan032@huawei.com> - 8.9.4-8
- Slove the problem of pointer value misalignment caused by gcc 9.x enabling verification.
2020-02-17 04:09:41 -05:00
* Sun Jan 19 2020 lijin Yang <yanglijin@huawei.com> - 8.9.4-7
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update the tar package
2020-02-17 03:18:17 -05:00
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 8.0.1-6
- Package init