Name: nerd-dictation Summary: Offline Speech to Text for Desktop Version: 0.0.1 Release: %mkrel 1 Source0: https://github.com/ideasman42/nerd-dictation/archive/refs/heads/nerd-dictation-0.0.1.tar.gz URL: https://github.com/ideasman42/nerd-dictation Group: Office/Utilities License: GPL v3.0 BuildArch: noarch Requires: python3dist(vosk) Provides: %{name} %description Offline Speech to Text for Desktop, using Vosk-api. This is a utility that provides simple access speech to text for using in Linux without being tied to a desktop environment. %prep %autosetup -n %{name}-%{version} %install mkdir -p %{buildroot}/examples cp examples/nerd-dictation.py %{buildroot}/examples/nerd-dictation.py cp *.rst %{buildroot}/ cp LICENSE %{buildroot}/LICENSE mkdir -p %{buildroot}%{_bindir} install -m 755 nerd-dictation %{buildroot}%{_bindir}/ %files %doc /readme.rst %doc /hacking.rst %doc /changelog.rst %doc /examples/nerd-dictation.py %license /LICENSE /%{_bindir}/nerd-dictation %doc /examples/__pycache__/nerd-dictation*