Name: flashprog Version: 1.6 Release: 1%{?dist} Summary: Utility for reading, writing, verifying and erasing flash chips License: GPL-2.0-or-later URL: https://github.com/SourceArcade/flashprog Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libftdi1) BuildRequires: pkgconfig(libjaylink) BuildRequires: pkgconfig(libgpiod) %description flashprog detects, reads, writes, verifies and erases flash chips. It is often used to flash BIOS, EFI, coreboot and other firmware images in-system, and supports mainboards, network cards, SATA controllers and external programmers. %package devel Summary: Development files for libflashprog Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header and pkg-config file for libflashprog, the library behind the flashprog command line tool. %prep %autosetup -n %{name}-%{version} %build %meson %meson_build %install %meson_install rm -f %{buildroot}%{_libdir}/libflashprog.a %check %{buildroot}%{_bindir}/flashprog --version %files %license COPYING %doc README.md %{_bindir}/flashprog %{_libdir}/libflashprog.so.1* %{_mandir}/man8/flashprog*.8* %files devel %{_includedir}/libflashprog.h %{_libdir}/libflashprog.so %{_libdir}/pkgconfig/flashprog.pc %changelog * Thu Oct 08 2026 sachesi - 1.6-1 - Initial package for Copr.