# swifty.spec - the RPM of Swifty, a local music player for Wayland # Maintainer: ImAlekzzz # # Built by tools/build-rpm.sh, which makes the source tarball from the checkout and # passes the version of CMakeLists.txt as swifty_version. build it by hand with # rpmbuild -bb --define "swifty_version 0.3.3" packaging/rpm/swifty.spec # after putting swifty-.tar.gz in the SOURCES folder. # # it needs the network while it builds: cmake fetches Corrosion, cargo fetches the Rust # crates, and the interface and icon fonts are downloaded (each checked against a hash). %{!?swifty_version:%global swifty_version 1.4.2} # the Rust core is not built with Fedora's lto and has no debuginfo of its own %global _lto_cflags %{nil} %global debug_package %{nil} Name: swifty Version: 0.25.1 Release: 1.20261122093604084555.main.64.g37e4441%{?dist} Summary: A local music player for Wayland, in Material 3 License: GPL-3.0-or-later URL: https://github.com/ImAlekzzz/swifty Source0: swifty-0.25.1.tar.gz Packager: ImAlekzzz BuildRequires: cmake >= 3.24 BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: git BuildRequires: rust BuildRequires: cargo BuildRequires: pkgconfig BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(alsa) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Sql) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6ShaderTools) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(QCoro6Core) BuildRequires: cmake(QCoro6Network) BuildRequires: qt6-qtbase-private-devel BuildRequires: qt6-qtshadertools # qt's sqlite driver is in qt6-qtbase, which the libraries pull in. the rest is what the # app loads when it runs Requires: qt6-qtwayland Requires: qt6-qtimageformats Requires: hicolor-icon-theme Recommends: xdg-desktop-portal %description Swifty plays the music on your computer: folders and files, playlists, synced lyrics, favourites, a spectrum, and Discord rich presence. It is a fork of Swifty (https://github.com/swiftify-org/swiftify) with everything of Spotify removed, in Material 3 Expressive after end4's dots-hyprland, and uses Qt Quick and a Rust audio core. %prep %autosetup -n swifty-0.25.1 # the checkout asks for a newer qt than some releases have: patch out what this one # is too old for, as tools/build-debian.sh does qt_minor="$(pkg-config --modversion Qt6Core | cut -d. -f2)" if [ "$qt_minor" -lt 10 ]; then sed -i -E 's/Qt6 6\.(9|10)/Qt6 6.8/g; s/REQUIRES 6\.(9|10)/REQUIRES 6.8/g' CMakeLists.txt find qml -name '*.qml' -exec sed -i \ -e 's/final readonly property/readonly property/g' \ -e 's/final property/property/g' {} \; if [ "$qt_minor" -lt 9 ] && grep -q 'bottomPadding: 0' qml/Main.qml; then sed -i '/topPadding: 0/d; /leftPadding: 0/d; /rightPadding: 0/d; /bottomPadding: 0/d' qml/Main.qml sed -i '/since qt 6.9/,/clear itself/d' qml/Main.qml fi fi %build %cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF %cmake_build %install %cmake_install %files %license %{_datadir}/licenses/swifty %{_bindir}/swifty %{_datadir}/swifty/ %{_datadir}/applications/swifty.desktop %{_datadir}/icons/hicolor/*/apps/swifty.png %changelog * Sun Nov 22 2026 ImAlekzzz - 0.25.1-1.20261122093604084555.main.64.g37e4441 - fix: made it build from commits because i dont have the patience (Alex) - fix: why are they obsessed with correct capilazation (Alex) - fix: Fixed capitalization for redirects (Alex) - fix: Capitalized redirects (Alex) - fix: forgot to rename (Alex) - fix: added capitalization to links (Alex) - fix: fixed doc link (Alex) - feat: added redirect to gitbook (Alex) - GITBOOK-SITE: Changes to Swifty (gitbook) - GitBook: Export content from Untitled (gitbook) - GITBOOK-SITE: Changes to ImAlekzzz Docs (gitbook) - fix: made it left again (Alex) - fix: Update README.md (Alex) - fix: added last updated (ImAlekzzz) - fix: fixed confused agent (ImAlekzzz) - fix: removed duplicate images (ImAlekzzz) - fix: updated packlit (ImAlekzzz) - fix: updated version (ImAlekzzz) - fix: agent messed up my names (ImAlekzzz) - fix: forgot to delete this (ImAlekzzz) - fix: orange (ImAlekzzz) - fix: renamed things in main.cpp (ImAlekzzz) - fix: updated core (ImAlekzzz) - fixXL removed unnescessery files (ImAlekzzz) - feat: added a new lyrics fetcher (ImAlekzzz) - fix: updated session store (ImAlekzzz) - fix: updated windows media controls (ImAlekzzz) - fix: forgot to add this to the license commit lmao (ImAlekzzz) - fix: updated desktop files (ImAlekzzz) - fix: updated licenses (ImAlekzzz) - fix: renamed and adjusted rpm .spec (ImAlekzzz) - fix: updated tools (ImAlekzzz) - fix: updated ux (ImAlekzzz) - fix: updated tests (ImAlekzzz) - fix: removed spotify related tests (ImAlekzzz) - fix: updated contributing (ImAlekzzz) - fix: moved markdowns to their respective locations (ImAlekzzz) - fix: added to websites (ImAlekzzz) - fix: renamed swiftify and spotify to swifty (ImAlekzzz) - fix: updated assets (ImAlekzzz) - fix: removed translations (ImAlekzzz) - feat: added websites (ImAlekzzz) - feat: Replaced spotify-core with audio-core, a local one (ImAlekzzz) - fix: replaced and added images (ImAlekzzz) - added guidelines for describing changes (David K) - feat: add copy link to song options menu (HeyIly) - feat: added fallback images for local files for discord (TheFoxyyDev) - bumped version number to 0.25.2 (TheFoxyyDev) - fix: fixed the failing tst_views test (TheFoxyyDev) - Fix German language test namespace (flashaholic88) - Add issue templates (David K) - Generalize translation option comments in Translations.h (David K) - feat: add germanEnabled toggle to disable German translations (flashaholic88) - feat: add complete German translation (flashaholic88) - fix: give trackpad scrolling momentum on linux (shredos) - docs: give every install option its own collapsible section (shredos) - docs: rework the readme around the aur and copr packages (shredos) * Sun Nov 15 2026 ImAlekzzz - 1.4.2 - Swifty as an RPM: local files, SQLite playlists and library cache, Discord rich presence