Name: blink1-tool Version: 2.3.0 Release: 2%{?dist} Summary: Tools for controlling a Blink1 status LED License: MIT Group: Utilities BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: hidapi-devel BuildRequires: systemd-devel BuildRequires: make BuildRequires: gcc %global forgeurl https://github.com/todbot/blink1-tool %forgemeta -a -i Source0: %{forgesource0} URL: %{forgeurl0} Patch1: 0001-build-against-system-hidapi.patch %description blink1-tool is a set of tools for controlling a Blink1 status LED via USB %prep %forgesetup -a rm -rf hidapi %patch1 -p 1 %build make %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_libdir} %{__install} -m 0755 blink1-tool -D %{buildroot}%{_bindir} %{__install} -m 0755 *.so %{buildroot}%{_libdir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/* %{_libdir}/* %changelog * Mon Nov 13 2023 Fritz Elfert - Rebuild for F38 and F39 * Mon Jan 3 2022 Fritz Elfert - Initial packaging