Name: pbench-agent Version: 0.72.0 Release: 1%{?dist} Summary: The Pbench Agent CLI & default configuration License: GPLv3+ URL: https://github.com/distributed-system-analysis/pbench Source: pbench-agent-0.72.0.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: python3-psutil Requires: python3-cffi, python3-click, python3-requests Requires: python3-docutils, python3-bottle, python3-daemon Requires: python3-jinja2, python3-redis, python3-sh, python3-ifaddr Requires: perl, perl-Data-UUID, perl-JSON, perl-JSON-XS Requires: perl-Time-HiRes Requires: bc, bzip2, hostname, iproute, iputils, net-tools, numactl Requires: openssh-clients, openssh-server, procps-ng, psmisc, redis Requires: rpmdevtools, rsync, screen, sos, tar, xz Patch1: fixes-hardcoded-opt-path.patch %global _description %{expand: The Pbench Agent - wraps benchmark workloads to collect specified tool and configuration data.} %description %_description %prep %autosetup %{name}-%{version} -p1 %build #nothing %install mkdir -p %{buildroot}/%{_datadir}/%{name}/ cp -a agent/{base,bench-scripts,lib,tool-scripts,util-scripts} %{buildroot}/%{_datadir}/%{name}/ mkdir -p %{buildroot}/%{_sysconfdir}/%{name}/ cp -a agent/config/ %{buildroot}/%{_sysconfdir}/%{name}/ %post # link the pbench profile, so it'll automatically be sourced on login ln -sf %{_datadir}/%{name}/profile /etc/profile.d/pbench-agent.sh %files %doc agent/VERSION %{_datadir}/%{name}/ %{_sysconfdir}/%{name}/ %changelog * Wed Sep 28 2022 Vishal Vijayraghavan - 0.72.0-1 - Initial fedora build.