diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | dpdk.spec | 26 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 20 insertions, 9 deletions
@@ -1,3 +1,4 @@ /dpdk-23.11.1.tar.xz /dpdk-23.11.2.tar.xz /dpdk-23.11.3.tar.xz +/dpdk-24.11.1.tar.xz @@ -9,7 +9,7 @@ %global _vpath_builddir %{_vendor}-%{_target_os}-build Name: dpdk -Version: 23.11.3 +Version: 24.11.1 Release: 1%{?dist} Epoch: 3 URL: http://dpdk.org @@ -25,7 +25,8 @@ Summary: Set of libraries and drivers for fast packet processing # Pakcage are BSD licensed. The only files that aren't licensed via BSD is the # kni kernel module which is dual LGPLv2/BSD, and thats not built for fedora. # -License: BSD and LGPLv2 and GPLv2 +# Automatically converted from old format: BSD and LGPLv2 and GPLv2 - review is highly recommended. +License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-LGPLv2 AND GPL-2.0-only # # The DPDK is designed to optimize througput of network traffic using, among @@ -38,13 +39,13 @@ BuildRequires: gcc BuildRequires: kernel-headers, libpcap-devel, doxygen, /usr/bin/sphinx-build, zlib-devel BuildRequires: numactl-devel BuildRequires: rdma-core-devel +BuildRequires: openssl-devel +%ifnarch %{ix86} +BuildRequires: libbpf-devel +%endif BuildRequires: libfdt-devel BuildRequires: libatomic -%if 0%{?fedora} || 0%{?rhel} > 7 || 0%{?openEuler} -BuildRequires: libbpf-devel -BuildRequires: openssl-devel BuildRequires: libarchive-devel -%endif %description The Data Plane Development Kit is a set of libraries and drivers for @@ -124,7 +125,7 @@ end CFLAGS="$(echo %{optflags} -fcommon)" \ %meson --includedir=include/dpdk \ -Ddrivers_install_subdir=dpdk-pmds \ - -Denable_docs=false \ + -Denable_docs=true \ -Dmachine=generic \ %if %{with examples} -Dexamples=all \ @@ -140,6 +141,12 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ %install %meson_install +# Taken from debian/rules +rm -f %{buildroot}%{docdir}/html/.buildinfo +rm -f %{buildroot}%{docdir}/html/objects.inv +rm -rf %{buildroot}%{docdir}/html/.doctrees +find %{buildroot}%{_mandir}/ -type f -a ! -iname "*rte_*" -delete + %files # BSD %{_bindir}/dpdk-testpmd @@ -157,6 +164,7 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ #BSD %{incdir}/ %{sdkdir} +%{_mandir} %ghost %{sdkdir}/mk/exec-env/bsdapp %ghost %{sdkdir}/mk/exec-env/linuxapp %if %{with tools} @@ -179,9 +187,11 @@ CFLAGS="$(echo %{optflags} -fcommon)" \ %if %{with tools} %files tools +%ifnarch %{ix86} %{_bindir}/dpdk-dumpcap -%{_bindir}/dpdk-graph %{_bindir}/dpdk-pdump +%endif +%{_bindir}/dpdk-graph %{_bindir}/dpdk-test %{_bindir}/dpdk-test-* %{_bindir}/dpdk-*.py @@ -1 +1 @@ -ea96a513704ba61ed76eb8b3b47457ff dpdk-23.11.3.tar.xz +2750f9a23fa44417a2073f399f645652 dpdk-24.11.1.tar.xz |