Name: linspectacles-problem-finder Version: 0.0.8 Release: 1%{?dist} Summary: Read-only explicit global scan of the Problem Finder catalogue, with one searchable/filterable inventory, p... License: GPL-3.0-or-later URL: https://github.com/linspectacles/problem-finder Vendor: LinSpectacles Packager: brunonlinespace Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3 Requires: python3 Requires: python3-pyqt6 Requires: polkit %description Read-only explicit global scan of the Problem Finder catalogue, with one searchable/filterable inventory, persistent favourites, Metadata Details, findings counter, and Kernel Ring Buffer-style in-place privileged inspection with per-check helper provenance. %prep %autosetup %build # Pure Python/source applet; no build step is required. %install APPLET_DIR="%{buildroot}%{_libexecdir}/linspectacles/applets/linspectacles_problem_finder" install -d "$APPLET_DIR" cp -a . "$APPLET_DIR/" find "$APPLET_DIR" -type d -name __pycache__ -prune -exec rm -rf {} + find "$APPLET_DIR" -type f \( -name '*.pyc' -o -name '*.pyo' \) -delete install -d "%{buildroot}%{_bindir}" cat > "%{buildroot}%{_bindir}/%{name}" <<'APPLET_LAUNCHER' #!/bin/sh exec /usr/bin/python3 "%{_libexecdir}/linspectacles/applets/linspectacles_problem_finder/standalone.py" "$@" APPLET_LAUNCHER chmod 0755 "%{buildroot}%{_bindir}/%{name}" install -Dm0755 "problem_finder/privileged/linspectacles-problem-finder-helper" "%{buildroot}/usr/libexec/linspectacles-problem-finder-helper" %check python3 -m compileall -q . %files %dir %{_libexecdir}/linspectacles %dir %{_libexecdir}/linspectacles/applets %license %{_libexecdir}/linspectacles/applets/linspectacles_problem_finder/LICENSE %doc %{_libexecdir}/linspectacles/applets/linspectacles_problem_finder/README.md %{_libexecdir}/linspectacles/applets/linspectacles_problem_finder %{_bindir}/%{name} /usr/libexec/linspectacles-problem-finder-helper %changelog * Mon Nov 16 2026 brunonlinespace - 0.0.8-1 - Package Problem Finder from its self-describing LinSpectacles applet source.