## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Repackages upstream's prebuilt release; nothing is compiled here. %global debug_package %{nil} %global tarball_dir spotifast-v%{version}-%{_arch}-unknown-linux-gnu %global release_url https://github.com/crmne/spotifast/releases/download/v%{version} %ifarch x86_64 %global tarball_src 0 %else %global tarball_src 1 %endif Name: spotifast Version: 0.12.0 Release: %autorelease Summary: Native, fast Spotify client License: MIT URL: https://github.com/crmne/spotifast Source0: %{release_url}/spotifast-v%{version}-x86_64-unknown-linux-gnu.tar.gz Source1: %{release_url}/spotifast-v%{version}-aarch64-unknown-linux-gnu.tar.gz Source2: %{release_url}/checksums.txt#/spotifast-%{version}-checksums.txt Source3: %{release_url}/checksums.txt.sig#/spotifast-%{version}-checksums.txt.sig # Upstream's update-signing key (assets/update-public-key.hex) in PEM form Source4: spotifast-update-public-key.pem ExclusiveArch: x86_64 aarch64 BuildRequires: desktop-file-utils BuildRequires: openssl # Loaded with dlopen() at runtime, so the dependency generator misses them Requires: libdbus-1.so.3()(64bit) Requires: libEGL.so.1()(64bit) Requires: libGL.so.1()(64bit) Requires: libGLX.so.0()(64bit) Requires: libwayland-client.so.0()(64bit) Requires: libwayland-cursor.so.0()(64bit) Requires: libwayland-egl.so.1()(64bit) Requires: libX11.so.6()(64bit) Requires: libX11-xcb.so.1()(64bit) Requires: libXcursor.so.1()(64bit) Requires: libXi.so.6()(64bit) Requires: libXrandr.so.2()(64bit) Requires: libxkbcommon.so.0()(64bit) Requires: libxkbcommon-x11.so.0()(64bit) Requires: hicolor-icon-theme %description Spotifast is a lightweight, native Spotify client written in Rust, covering your whole library, local playback, and Spotify Connect. This package repackages the official upstream release after verifying its Ed25519 publisher signature. %prep # Authenticate upstream's checksum manifest, then this arch's tarball openssl pkeyutl -verify -pubin -inkey %{SOURCE4} -rawin -in %{SOURCE2} -sigfile %{SOURCE3} awk -v f=%{tarball_dir}.tar.gz -v p=%{S:%{tarball_src}} '$2 == f {print $1 " " p}' %{SOURCE2} | sha256sum --check --strict %setup -q -T -b %{tarball_src} -n %{tarball_dir} %install install -Dpm 0755 spotifast %{buildroot}%{_bindir}/spotifast install -Dpm 0644 packaging/applications/spotifast.desktop %{buildroot}%{_datadir}/applications/spotifast.desktop install -Dpm 0644 packaging/icons/spotifast.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/spotifast.svg install -Dpm 0644 contrib/omarchy/spotifast.json.tpl %{buildroot}%{_datadir}/spotifast/omarchy/spotifast.json.tpl install -Dpm 0755 contrib/omarchy/spotifast-theme %{buildroot}%{_datadir}/spotifast/omarchy/spotifast-theme %check desktop-file-validate %{buildroot}%{_datadir}/applications/spotifast.desktop %files %license LICENSE %doc README.md %{_bindir}/spotifast %{_datadir}/applications/spotifast.desktop %{_datadir}/icons/hicolor/scalable/apps/spotifast.svg %{_datadir}/spotifast/ %changelog ## START: Generated by rpmautospec * Wed Oct 07 2026 Anselmo Julio da Rocha - 0.12.0-1 - Package Spotifast for Fedora Copr ## END: Generated by rpmautospec