Name: reader Version: 1.7.1 Release: 3 Summary: Simple GUI frontend to espeak-ng License: OQL v1.1 URL: https://git.gay/Micro/reader Requires: espeak-ng BuildRequires: git cargo alsa-lib-devel %description Simple GUI frontend to espeak-ng %prep git clone https://git.gay/Micro/reader.git cd reader cargo vendor mkdir .cargo cat > .cargo/config.toml << EOF [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build cd reader cargo build --release %install mkdir -p %{buildroot}/usr/bin/ mkdir -p %{buildroot}/usr/share/applications install -m 755 reader/target/release/reader %{buildroot}/usr/bin/reader install -m 644 reader/reader.desktop %{buildroot}/usr/share/applications/reader.desktop %files /usr/bin/reader /usr/share/applications/reader.desktop %changelog * Thu Sep 05 2024 Niko Red - 1.7.1 - fix building hopefully,,, * Tue Sep 03 2024 Niko Red - 1.7.1 - add desktop file * Sun Sep 01 2024 Niko Red - 1.7.1 - initial release