Summary: Opensource Place & Route tool for FPGAs (Xilinx Edition) Name: nextpnr-xilinx Version: 1.0 Release: 3%{?dist} License: GPLv2+ URL: https://github.com/daveshah1/nextpnr-xilinx Source0: nextpnr-xilinx-xilinx-upstream.zip Patch0: nextpnr-python310.patch BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: cmake g++ eigen3-devel boost-devel qt5-qtbase-devel python3-devel boost-python3-devel %description NextPNR is an opensource Place & Route tool for FPGAs, comes with GUI but can work without it, scriptable with python, supports Lattice iCE40 and ECP5, generic arch and aims to support Xilinx 7-Gen arch (Artix-7). NextPNR-Xilinx is a branch of NextPNR dedicated solely to support Xilinx devices; %prep %autosetup -n %{name}-xilinx-upstream %build mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DARCH=xilinx make %install cd build make DESTDIR=%{buildroot} install install -D bbasm %{buildroot}%{_bindir}/bbasm %files %{_bindir}/nextpnr-xilinx %{_bindir}/bbasm %changelog * Wed Jun 24 2020 Vad Rulezz - 1.0 - Initial Package of nextpnr-xilinx