Name: dfx-mgr Version: 2024.2 Release: 1%{?dist} Summary: A tool for managing programable logic accelerators License: MIT URL: https://github.com/Xilinx/dfx-mgr Source: %{url}/archive/v%{version}/%{name}-xilinx_v%{version}.tar.gz # https://github.com/Xilinx/dfx-mgr/pull/10 Patch1: dfx-mgr-fixbuild.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: libdfx-devel BuildRequires: libdrm-devel BuildRequires: systemd-devel %description DFX-MGR provides infrastructure to abstract configuration and hardware resource management for dynamic deployment of Xilinx based accelerators (AKA FPGA) across different platforms. %package devel Summary: Development files for using PL (programable logic) Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel %description devel This package contains the header and static library files for development applications using PL (programable logic). %prep %autosetup -p1 -n %{name}-xilinx_v%{version} %build %cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir} %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/accel* %{_bindir}/dfx-mgr* %{_bindir}/load_accel* %{_libdir}/libdfx-mgr.so.* %files devel %{_libdir}/libdfx-mgr.a %{_libdir}/libdfx-mgr.so %changelog * Sun May 18 2025 Peter Robinson - 2024.2.0-1 - Initial package