# Self-contained .NET 8 application: the source tarball ships a pre-built, # self-contained x86_64 binary bundle. There is no compilation in the RPM build # (the COPR/mock chroot has no .NET SDK and no network), so disable all the build # machinery that assumes a normal compiled package. %global appdir %{_prefix}/lib/%{name} %global debug_package %{nil} %global __strip /bin/true %global _build_id_links none # Define the udev rules dir if systemd-rpm-macros didn't. %{!?_udevrulesdir: %global _udevrulesdir %{_prefix}/lib/udev/rules.d} Name: wireview-linux Version: 1.5.0.0 Release: 1%{?dist} Summary: Unofficial Linux GUI for the Thermal Grizzly WireView Pro II # Not a FOSS license; redistribution for personal use / hardware interoperability. License: LicenseRef-Proprietary URL: https://github.com/emaspa/wireview-linux Source0: %{name}-%{version}-linux-x64.tar.gz ExclusiveArch: x86_64 # The bundled native libraries are private to the app directory; do not scan # them for auto-generated Requires/Provides (they would pull in liblttng-ust etc). AutoReqProv: no # Host libraries the bundled .NET runtime, SkiaSharp and Avalonia dlopen at run time. Requires: fontconfig Requires: freetype Requires: libX11 # Optional: hwmon kernel module + daemon for system-wide sensor integration. # 1.9.0 drives several WireViews, each its own hwmon device. Recommends: wireview-hwmon >= 1.9.0 # Optional: in-app firmware flashing (DFU download to the STM32 bootloader). Recommends: dfu-util %description Unofficial Linux GUI for the Thermal Grizzly WireView Pro II GPU power monitor. Real-time monitoring with live charts, device configuration, data logging with CSV export, desktop notifications, and optional software shutdown on fault. Talks to the device directly over USB serial, or via the wireview-hwmon kernel module and daemon when present. Self-contained binary; no .NET runtime is required on the host. Includes WireView Mini (wireview-mini), a small program with no window that keeps fault alerts, shutdown on fault and LAN publishing going with the app closed, with a tray icon and a control panel in the browser. wireview-mini --install starts it at login. %prep %autosetup %build # Nothing to build: pre-built self-contained binary shipped in the source tarball. %install # Application bundle install -d %{buildroot}%{appdir} cp -a linux-x64/. %{buildroot}%{appdir}/ find %{buildroot}%{appdir} -name '*.pdb' -delete chmod 0755 %{buildroot}%{appdir}/WireView2 %{buildroot}%{appdir}/wireview-mini # Launcher symlinks (WireView Mini finds its files through the real path) install -d %{buildroot}%{_bindir} ln -sf ../lib/%{name}/WireView2 %{buildroot}%{_bindir}/%{name} ln -sf ../lib/%{name}/wireview-mini %{buildroot}%{_bindir}/wireview-mini # Desktop entries + icons (WireView Mini's uses the app's icon) install -Dm0644 wireview-linux.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm0644 wireview-mini.desktop %{buildroot}%{_datadir}/applications/wireview-mini.desktop install -d %{buildroot}%{_datadir}/icons cp -a icons/hicolor %{buildroot}%{_datadir}/icons/ # udev rule (USB serial access) install -Dm0644 udev/99-wireview.rules %{buildroot}%{_udevrulesdir}/99-wireview.rules %files %{appdir}/ %{_bindir}/%{name} %{_bindir}/wireview-mini %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/wireview-mini.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_udevrulesdir}/99-wireview.rules %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database &>/dev/null || : %changelog * Mon Nov 23 2026 Emanuele Sparvoli - 1.5.0.0-1 - Several WireViews on one PC. Each one is its own device in the app and in WireView Mini, with its own readings, history, fault alerts and shutdown on fault; with wireview-hwmon 1.9.0 each one also has its own hwmon device. - The app selects the WireView it showed last again at start (--device picks one for a run), and a nickname per device names it in the picker, the tray and the alerts. - Tray: an option shows one power icon per WireView, each with its own readings menu. WireView Mini's tray menu lists every unit, and a click selects one. - Firmware updates, the serial handover and the bootloader command reach the selected WireView on its own USB port; the others keep running. Windows flashes one WireView among several too, and its native flasher opens the bootloader by its full device path. - WireView Mini: Apply in the theme editor stores the configuration on the device, so a reset no longer brings the old theme back. - The app runs once per user, also when started from a terminal and from the desktop. - The udev rule adds a /dev/wireview-SERIAL link per WireView, SERIAL being its USB serial number. - Recommends wireview-hwmon 1.9.0 or later. * Thu Nov 12 2026 Emanuele Sparvoli - 1.4.2.0-1 - Flatpak: the app starts on a Wayland session. The sandbox got only the Wayland socket there, and the app draws through X11 (XWayland), so it stopped with "XOpenDisplay failed". It now gets the X11 socket and may register its tray icons (#6). - A tray icon the desktop does not accept no longer closes the app: it runs without that icon and opens its window. * Sun Oct 18 2026 Emanuele Sparvoli - 1.4.1.0-1 - WireView Mini: an entry in the application launcher. It starts WireView Mini and opens its control panel in the browser, or opens the running one's control panel (wireview-mini --launch); its Control panel action runs wireview-mini --open. - WireView Mini: a second copy started while one runs exits with "already running" in the ahead-of-time build too. The single-instance lock is a file lock next to settings.json instead of a named mutex, which that build does not honour. * Fri Oct 16 2026 Emanuele Sparvoli - 1.4.0.0-1 - WireView Mini, /usr/bin/wireview-mini: a program with no window that owns the device, raises fault alerts, shuts the PC down on a fault when set and publishes the device on the LAN while the app is closed. Its tray icon and its control panel in the browser cover monitoring, charts, the device log with CSV export, device configuration and profiles, the theme editor, firmware flashing and wireviewd's settings. wireview-mini --install starts it at login. - The app connects through WireView Mini while it runs and borrows the serial port from it for flashing, log reads and theme transfers. - Device log: a cycle's clock starts at its first sample, so the second sample no longer pushes the cycle days ahead. - Theme editor: translucent background images are no longer darkened. - Recommends wireview-hwmon 1.8.1 or later, whose wireviewd takes the LAN port back from WireView Mini on its own. * Tue Oct 13 2026 Emanuele Sparvoli - 1.3.2.0-1 - Software rendering by default on Linux, about half the resident memory; Settings, Startup, GPU rendering switches back at the next start, and WIREVIEW_RENDER_MODE overrides both. - The background photo is decoded at the screen's width, ICU is dropped, the GC runs non-concurrent with ConserveMemory, and a compacting collection runs when the window hides to the tray. - wireview-linux --page monitoring opens on a given page. * Mon Oct 12 2026 Emanuele Sparvoli - 1.3.1.1-1 - udev rule: the serial port keeps the distro's own serial group (dialout, or uucp on Arch-based distros), so the rule works when installed unchanged. The DFU bootloader's group is on a line of its own (#5). * Fri Oct 09 2026 Emanuele Sparvoli - 1.3.1.0-1 - Theme editor: a Noctua preset, the WireView Pro II Noctua Edition's own look, which works on any WireView Pro II. themes/Noctua-Edition.wv2t carries it for the Windows app. - On a Noctua Edition, Restore defaults asks the same question as on the Pro II. A real unit's artwork is the stock Thermal Grizzly image, so there is nothing to back up first. - LAN viewers of a wireviewd host hide external probes that are not connected. wireviewd 1.7.1 and older publish them as 0.0. - The Linux build no longer carries a beta label. - Noctua Edition support is verified on a real unit provided by Thermal Grizzly. * Wed Sep 30 2026 Emanuele Sparvoli - 1.3.0.0-1 - Port of the upstream WireView2 1.0.8 changes: WireView Pro II Noctua Edition support, Noctua Light/Dark themes and backgrounds, bundled firmware v05 build 20260902_0741, averaging up to 5.7 s, firmware update check by build date with product and downgrade gates, lower idle CPU use, direct-serial disconnect detection, absent temperature sensors hidden - Fixes: hover legend crash, replug after unplug on direct serial, flash and restore stay on the confirmed device, config writes change only edited fields, light-theme gauge text, duplicate rows in the live CSV export - settings.json is written atomically and readable by its owner only - udev rule: ModemManager ignores the device - Backgrounds downscaled to 3840 px; the app binary is smaller - Needs wireview-hwmon 1.7.0 or later for the hwmon + daemon mode * Tue Sep 29 2026 Emanuele Sparvoli - 1.2.5.0-1 - wireviewd permission handling: commands the daemon refuses (status 3, not root or in the 'wireview' group) are reported with how to join the group instead of as success; a dead daemon socket is reconnected and the command retried once - Theme preview no longer fails on every connect for users outside the 'wireview' group: the automatic preview is skipped quietly, Refresh shows the group message - udev rule: 0660 root:dialout plus uaccess, matching wireview-hwmon - hwmon: read power1_cap, pwm1 (fan duty) and energy1_input; energyJ is carried in the LAN /sensors schema * Fri Jul 10 2026 Emanuele Sparvoli - 1.2.0.0-1 - Port of the upstream WireView2 1.0.7 feature set: bundled firmware info and in-app DFU firmware updates (dfu-util), display theme editor with custom backgrounds and live preview, custom telemetry charts, per-power-cycle device log browsing, collapsible navigation pane - Overview: fault status/log table with per-fault clear, per-bar value labels - Avalonia 12 migration; LiveCharts dependency removed - Recommends dfu-util for firmware flashing * Sat Jun 06 2026 Emanuele Sparvoli - 1.0.6.0-1 - Initial RPM / COPR package - Self-contained .NET 8 GUI for the Thermal Grizzly WireView Pro II - Second tray icon with live total power and a hwmon values dropdown