Name: sigviewer Version: 0.7.1 Release: 2%{?dist} Summary: Viewing and inspection of biosignals (EEG, EMG, ECG) License: GPL-3.0-or-later URL: https://github.com/cbrnr/sigviewer Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # 0.7.1 switched from qmake → cmake and Qt5 → Qt6. BuildRequires: cmake >= 3.21 BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: desktop-file-utils # Qt6 components requested by CMakeLists.txt:21 BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Xml) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Test) # External libraries — upstream pins LIBXDF 0.99.10 and LIBBIOSIG 3.9.4 and # expects pre-built STATIC libs in external/. We use the system shared libs: # * libxdf 0.99.10 (COPR mhough/neurofedora — exact version match) # * libbiosig 2.6.1 (Fedora — older than upstream pin; the FATAL_ERROR # version check is bypassed via the stub versions.cmake in %prep) BuildRequires: libxdf-devel >= 0.99.10 BuildRequires: biosig4c++-devel Requires: qt6-qtbase Requires: qt6-qtsvg %description SigViewer is a powerful viewing and scoring application for biosignals. It supports various data formats including XDF, GDF, EDF, BDF. %prep %autosetup -p1 # Upstream's external/build_deps.cmake downloads + builds libxdf and libbiosig # from scratch at the pinned versions, then writes external/versions.cmake. # We can't do that in mock/COPR (no network) so we satisfy the version-match # check by writing the file directly with the expected version strings. mkdir -p external cat > external/versions.cmake < - 0.7.1-2 - Port spec from qmake/Qt5 to cmake/Qt6 (upstream 0.7.1 dropped qmake). - Stub external/versions.cmake to satisfy upstream's pinned-version FATAL_ERROR (LIBXDF 0.99.10 is exact from COPR; LIBBIOSIG 3.9.4 vs system 2.6.1 — will iterate if biosig 2.x API isn't compatible with sigviewer 0.7.1 needs). - Repoint upstream's STATIC IMPORTED dep targets at system shared libs. * Thu Apr 23 2026 Morgan Hough - 0.7.1-1 - Update to 0.7.1 * Wed Jan 07 2026 Your Name - 0.6.4-1 - Initial package for Fedora - Switched to QMake build system - Patched to link against system libxdf and biosig4c++