Name: brainflow Version: 5.19.0 Release: 1%{?dist} Summary: Biosensor Library (EEG, EMG, ECG) License: MIT URL: https://brainflow.org Source0: https://github.com/brainflow-dev/brainflow/archive/refs/tags/5.19.0.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: bluez-libs-devel BuildRequires: dbus-devel BuildRequires: libusb1-devel BuildRequires: openblas-devel %description BrainFlow is a library intended to obtain, parse and analyze EEG, EMG, ECG and other kinds of data from biosensors. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 # --- FIX: Force SONAME Versioning for Fedora Compliance --- # We append CMake commands to the main CMakeLists.txt to apply version info # to the targets. This fixes 'invalid-soname' errors in rpmlint. # We use '5' (Major Version) as the SOVERSION. cat >> CMakeLists.txt < - 5.19.0-1 - Initial package for Fedora - Enforced SONAME versioning (SOVERSION 5) - Disabled proprietary SDKs