## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # SPDX-License-Identifier: BSD-3-Clause # Copyright (c) 2025 Robin Jarry %global forgeurl https://github.com/DPDK/grout Name: grout Version: 0.9.1 Summary: Graph router based on DPDK License: BSD-3-Clause Group: System Environment/Daemons %forgemeta URL: %{forgeurl} Release: %{autorelease} Source: %{forgesource} BuildRequires: dpdk-devel >= 24.11.1-2 BuildRequires: gcc BuildRequires: libcmocka-devel BuildRequires: libcap-devel BuildRequires: libecoli-devel >= 0.5.0-1 BuildRequires: libevent-devel BuildRequires: libsmartcols-devel BuildRequires: make BuildRequires: meson BuildRequires: ninja-build BuildRequires: numactl-devel BuildRequires: pkgconf BuildRequires: golang-github-cpuguy83-md2man BuildRequires: socat BuildRequires: systemd # No point in running a DPDK application on 32 bit x86: see fedora#2336884 ExcludeArch: %{ix86} # DPDK does not build on s390x: see fedora#2336876 ExcludeArch: s390x %description grout stands for Graph Router. In English, "grout" refers to thin mortar that hardens to fill gaps between tiles. grout is a DPDK based network processing application. It uses the rte_graph library for data path processing. Its main purpose is to simulate a network function or a physical router for testing/replicating real (usually closed source) VNF/CNF behavior with an open-source tool. It comes with a client library to configure it over a standard UNIX socket and a CLI that uses that library. The CLI can be used as an interactive shell, but also in scripts one command at a time, or by batches. %package devel Summary: Development headers for building %{name} API clients Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the development headers to build %{name} API clients. %prep %forgesetup %autopatch -p1 %build export GROUT_VERSION=v%{version}-%{release} %meson %meson_build %check %meson_test %install %meson_install --skip-subprojects install -D -m 0644 main/grout.default %{buildroot}%{_sysconfdir}/default/grout install -D -m 0644 main/grout.init %{buildroot}%{_sysconfdir}/grout.init install -D -m 0644 main/grout.service %{buildroot}%{_unitdir}/grout.service install -D -m 0755 main/grout.bash-completion %{buildroot}%{_datadir}/bash-completion/completions/grout install -D -m 0755 cli/grcli.bash-completion %{buildroot}%{_datadir}/bash-completion/completions/grcli %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %files %doc README.md %license LICENSE %config(noreplace) %{_sysconfdir}/default/grout %config(noreplace) %{_sysconfdir}/grout.init %attr(644, root, root) %{_unitdir}/grout.service %attr(755, root, root) %{_datadir}/bash-completion/completions/grout %attr(755, root, root) %{_datadir}/bash-completion/completions/grcli %attr(755, root, root) %{_bindir}/grcli %attr(755, root, root) %{_bindir}/grout %attr(644, root, root) %{_mandir}/man1/grcli.1* %attr(644, root, root) %{_mandir}/man8/grout.8* %files devel %doc README.md %license LICENSE %{_includedir}/gr_*.h %changelog ## START: Generated by rpmautospec * Tue Apr 15 2025 Robin Jarry - 0.9.1-1 - New upstream release 0.9.1 (fedora#2359712) * Mon Mar 31 2025 Robin Jarry - 0.9.0-1 - New upstream release 0.9.0 (fedora#2356278) * Wed Mar 26 2025 Robin Jarry - 0.8.4-1 - New upstream release 0.8.4 * Tue Mar 25 2025 Robin Jarry - 0.8.3-1 - New upstream release 0.8.3 (fedora#2354758) * Thu Feb 20 2025 Robin Jarry - 0.7.1-1 - New upstream release 0.7.1 (fedora#2346746) * Thu Jan 30 2025 Robin Jarry - 0.6-1 - New upstream release 0.6 (fedora#2342828) * Thu Jan 23 2025 Robin Jarry - 0.5-7 - Re-enable LTO flags * Thu Jan 23 2025 Robin Jarry - 0.5-6 - Fix build after sbin and bin unification (fedora#2340579) * Fri Jan 17 2025 Fedora Release Engineering - 0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Jan 13 2025 Robin Jarry - 0.5-4 - Disable all 32-bit builds (fedora#2336884) * Fri Jan 10 2025 Robin Jarry - 0.5-3 - Disable build on i686 * Fri Jan 10 2025 Robin Jarry - 0.5-2 - Disable build on s390x * Thu Jan 09 2025 Robin Jarry - 0.5-1 - New upstream release 0.5 * Thu Jan 09 2025 Robin Jarry - 0.4-1 - New upstream release 0.4 * Thu Jan 09 2025 Robin Jarry - 0.3-1 - Inital import (fedora#2336522) ## END: Generated by rpmautospec