%global commit 38f92b1f2773c30c0d911453051619c0a07773d3 Name: framework-ectool Version: 2026.06.05 Release: 1%{?dist} Summary: Repackaged ectool for Framework laptops License: BSD URL: https://github.com/DHowett/ectool Source0: https://github.com/DHowett/ectool/archive/%{commit}.tar.gz#/framework-ectool-%{version}.tar.gz Requires: libusb1 Requires: libftdi BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: libusb1-devel BuildRequires: libftdi-devel # Set _vpath_builddir to "." only on EL8-based distros %if 0%{?rhel} == 8 %global _vpath_builddir . %endif %description A repackaging of the ectool utility for use on Framework laptops. %prep %autosetup -n ectool-%{commit} %build %cmake %cmake_build %install install -D -m0755 %{_vpath_builddir}/src/ectool %{buildroot}/usr/sbin/framework-ectool %files %license LICENSE %doc README.md /usr/sbin/framework-ectool %changelog * Mon Nov 09 2026 Casey Harkins - 2026.06.05-1 - Bump to commit 38f92b1 from 2026.06.05 to raise minimum cmake ver. * Thu Jun 05 2025 Casey Harkins - 2024.06.23-1 - Initial RPM release for Framework ectool