%global debug_package %{nil} Name: rox-player-bin Version: 1.31.0 Release: 1%{?dist} Summary: Fast, composable music player written in rust (foobar2000 for the current year) License: AGPL-3.0-only URL: https://github.com/zealsprince/rox Source0: %{url}/releases/download/v%{version}/rox-v%{version}-linux-x86_64.tar.gz ExclusiveArch: x86_64 # Fedora-equivalent runtime dependencies Requires: alsa-lib Requires: glibc Requires: hicolor-icon-theme Requires: libgcc Requires: libstdc++ Requires: libX11 Requires: libxcb Requires: libxkbcommon Requires: libxkbcommon-x11 Requires: vulkan-loader Requires: wayland-libs # Optional runtime dependencies (Fedora uses Recommends) Recommends: vulkan-intel Recommends: vulkan-radeon Recommends: mesa-libGL Provides: rox-player = %{version}-%{release} Provides: rox = %{version}-%{release} Conflicts: rox-player Conflicts: rox-player-git %description Fast, composable music player written in rust (foobar2000 for the current year). This package installs the official prebuilt binary. %prep # Unpacks the tarball and navigates into the extracted directory automatically %autosetup -n rox-v%{version}-linux-x86_64 %build # Nothing to build; using the vendor's prebuilt binary %install # Install binaries install -Dm755 rox %{buildroot}%{_bindir}/rox install -Dm755 rox-mcp %{buildroot}%{_bindir}/rox-mcp # Install desktop integration files, icons, and metadata install -Dm644 rox.desktop %{buildroot}%{_datadir}/applications/rox.desktop install -Dm644 rox.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/rox.svg install -Dm644 rox.png %{buildroot}%{_datadir}/pixmaps/rox.png install -Dm644 rox.metainfo.xml %{buildroot}%{_datadir}/metainfo/rox.metainfo.xml # Install documentation and license install -Dm644 README.txt %{buildroot}%{_datadir}/doc/%{name}/README.txt install -Dm644 LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE %files %{_bindir}/rox %{_bindir}/rox-mcp %{_datadir}/applications/rox.desktop %{_datadir}/icons/hicolor/scalable/apps/rox.svg %{_datadir}/pixmaps/rox.png %{_datadir}/metainfo/rox.metainfo.xml %{_datadir}/doc/%{name}/README.txt %{_datadir}/licenses/%{name}/LICENSE %changelog * Tue Oct 20 2026 Kalden Elphick - 1.31.0-1 - Initial prebuilt package release for Fedora COPR