Name: linspectacles-crypto-registry Version: 0.0.8 Release: 1%{?dist} Summary: Read-only Linux Kernel Crypto API registry inspector for /proc/crypto, preserving registered implementation... License: GPL-3.0-or-later URL: https://github.com/linspectacles/crypto-registry Vendor: LinSpectacles Packager: brunonlinespace Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3 Requires: python3 Requires: python3-pyqt6 %description Read-only Linux Kernel Crypto API registry inspector for /proc/crypto, preserving registered implementations and all reported per-entry metadata. %prep %autosetup %build # Pure Python/source applet; no build step is required. %install APPLET_DIR="%{buildroot}%{_libexecdir}/linspectacles/applets/linspectacles_crypto_registry" 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_crypto_registry/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_crypto_registry/LICENSE %doc %{_libexecdir}/linspectacles/applets/linspectacles_crypto_registry/README.md %{_libexecdir}/linspectacles/applets/linspectacles_crypto_registry %{_bindir}/%{name} %changelog * Mon Nov 16 2026 brunonlinespace - 0.0.8-1 - Package Crypto Registry from its self-describing LinSpectacles applet source.