%global version 0.6.16 %global debug_package ${nil} Name: goneovim Version: %{version} Release: 8%{?dist} Summary: A GUI frontend for Neovim written in Go License: MIT URL: https://github.com/akiyosi/goneovim Source0: https://github.com/akiyosi/goneovim/releases/download/v%{version}/goneovim-v%{version}-linux.tar.bz2 Source1: https://raw.githubusercontent.com/akiyosi/goneovim/v%{version}/LICENSE Source2: https://raw.githubusercontent.com/akiyosi/goneovim/v%{version}/cmd/goneovim/goneovim.svg ExclusiveArch: x86_64 Requires: neovim >= 0.9 Requires: libtiff.so.5()(64bit) Requires: libxkbcommon %description Goneovim is a Neovim GUI written in Go using Qt bindings. It provides features like smooth pixel scroll, animated cursor, ligatures, and workspace management for multiple nvim instances. %prep %setup -q -n goneovim-v%{version}-linux cp %{SOURCE1} . cp %{SOURCE2} . %build # Prebuilt binary - no build needed %install install -Dm755 goneovim %{buildroot}%{_bindir}/goneovim mkdir -p %{buildroot}%{_datadir}/%{name} cp -r runtime %{buildroot}%{_datadir}/%{name}/ mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Goneovim Comment=A GUI frontend for Neovim Exec=goneovim %%F Icon=goneovim Terminal=false Type=Application Categories=Development;TextEditor; MimeType=text/plain; EOF install -Dm644 goneovim.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/goneovim.svg %files %license LICENSE %doc runtime/doc/goneovim.txt %{_bindir}/goneovim %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/goneovim.svg %changelog * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-8 - Improve spec file * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-7 - Fix some mistakes in icon-related process * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-6 - Add license and icon files - Get directly from repository * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-5 - Improve spec file * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-4 - Improve runtime dependencies - Remove static linked items from Requires * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-3 - Improve runtime dependencies - Require libtiff.so.5 to provided inserted of the specific package * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-2 - Improve spec file * Thu Jan 22 2026 r-ca <_@r0m.me> - 0.6.16-1 - Restart with prebuilt binary v0.6.16