%global debug_package %{nil} %global commit %{?commit}%{!?commit:78dcd0d573bedd5dd7b9e29e9162b28c9eb2fd7b} %global shortcommit %{?shortcommit}%{!?shortcommit:78dcd0d} # Snapshot version, Fedora Versioning guidelines (Snapshots): # Version is 0^git # (upstream has no releases, so the base is 0). Release counts packaging # changes for one Version and goes back to 1 when the pin changes. The # upstream poller sets snapdate and the pin, the kernel poller raises the # kmod Release, and a packaging-only change raises Release by hand # (check-and-build.yml fails the push otherwise). See # .github/scripts/spec_version.py. %global snapdate 20260803 Name: yeetmouse-gui Version: 0^%{snapdate}git%{shortcommit} Release: 1%{?dist} Summary: GUI application for YeetMouse mouse acceleration configuration License: GPL-2.0-or-later URL: https://github.com/AndyFilter/YeetMouse Source0: %{url}/archive/%{commit}/YeetMouse-%{commit}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: glfw-devel BuildRequires: mesa-libGL-devel # yeetmouse-kmod is provided by every kernel-specific kmod-yeetmouse- # package. Nothing provides plain "kmod-yeetmouse". Requires: yeetmouse-kmod Requires: yeetmouse Requires: glfw Requires: mesa-libGL %description YeetMouse GUI is a graphical configuration tool for the YeetMouse kernel module. It provides an intuitive interface for configuring mouse acceleration parameters, custom curves, and other settings. %prep %setup -q -n YeetMouse-%{commit} %build # Build GUI application cd gui make %install # Install GUI binary mkdir -p %{buildroot}%{_bindir} install -m 755 gui/YeetMouseGui %{buildroot}%{_bindir}/yeetmouse-gui # Optional: Desktop integration (commented out by default) # Uncomment the following lines to add desktop menu entry #mkdir -p %%{buildroot}%%{_datadir}/applications #cat > %%{buildroot}%%{_datadir}/applications/yeetmouse-gui.desktop <git and Release is a packaging counter that goes back to 1 when the pin changes. This replaces the pkgserial scheme below. * Sat Oct 10 2026 abirkel - 0-1.20260803git78dcd0d - New versioning for the COPR project, same scheme as kmod-yeetmouse: Version 0, Release is pkgserial.commitdate git shortcommit, no Epoch. - Require yeetmouse-kmod instead of kmod-yeetmouse, which no package provides. - Commit pin is now overridable with --define, like the other specs. * Fri Nov 21 2025 github-actions[bot] - 0.9.2-3.git99844bb - Rebuild for kernel compatibility * Sun Nov 09 2025 github-actions[bot] - 0.9.2-2.git99844bb - Rebuild for kernel compatibility * Fri Nov 07 2025 YeetMouse Builder - 0.9.2-1.git99844bb - Update to git snapshot 99844bb - Fix spec to use proper git snapshot source URL - Add commented-out desktop file integration (optional) - Add kernel module dependency (akmod or kmod) * Thu Nov 06 2025 YeetMouse Builder - 0.9.2-1 - Initial GUI package for YeetMouse