Name: linspectacles-kernel-tunables Version: 0.0.6 Release: 1%{?dist} Summary: Graphical read-only browser for the Linux /proc/sys runtime parameter namespace with safety-aware acquisiti... License: GPL-3.0-or-later URL: https://github.com/linspectacles/kernel-tunables Vendor: LinSpectacles Packager: brunonlinespace Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3 Requires: python3 Requires: python3-pyqt6 %description Graphical read-only browser for the Linux /proc/sys runtime parameter namespace with safety-aware acquisition, search/grouping, concise semantics, persistent-config evidence and specialist-inspector context. %prep %autosetup %build # Pure Python/source applet; no build step is required. %install APPLET_DIR="%{buildroot}%{_libexecdir}/linspectacles/applets/linspectacles_kernel_tunables" 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_kernel_tunables/standalone.py" "$@" APPLET_LAUNCHER chmod 0755 "%{buildroot}%{_bindir}/%{name}" %check python3 -m compileall -q . %files %dir %{_libexecdir}/linspectacles %dir %{_libexecdir}/linspectacles/applets %license %{_libexecdir}/linspectacles/applets/linspectacles_kernel_tunables/LICENSE %doc %{_libexecdir}/linspectacles/applets/linspectacles_kernel_tunables/README.md %{_libexecdir}/linspectacles/applets/linspectacles_kernel_tunables %{_bindir}/%{name} %changelog * Mon Nov 16 2026 brunonlinespace - 0.0.6-1 - Package Kernel Tunables from its self-describing LinSpectacles applet source.