%bcond debug 1 %if %{without debug} %global debug_package %{nil} %endif %global srcname jellyfin-desktop Name: jellyfin-desktop Version: 2.1.0~pre1 Release: 1%{?dist} Summary: Jellyfin's official Desktop Client # LICENSE does not use "or later" terminology License: GPL-2.0-only URL: https://github.com/jellyfin/%{srcname} Source0: %{url}/archive/v%{version_no_tilde}.tar.gz BuildRequires: cmake BuildRequires: g++ BuildRequires: libappstream-glib BuildRequires: desktop-file-utils #e.g. find_package() is typically cmake() name as long as it's not a vendored definition (e.g. FindFoo.cmake file). #pkg_check_modules() is typically pkgconfig() name # optional in CMake BuildRequires: libcec-devel # required in CMake BuildRequires: cmake(MpvQt) BuildRequires: qt6-qtwebengine-devel # not in CMake output # qt6-wayland-dev #BuildRequires: qt6-qtwayland-devel # libegl1-mesa-dev #BuildRequires: mesa-libEGL-devel # all pulled via implicit dependencies #BuildRequires: qt6-qtbase-devel #BuildRequires: qt6-qtbase-private-devel #BuildRequires: qt6-qtdeclarative-devel #BuildRequires: alsa-lib-devel #BuildRequires: fontconfig-devel #BuildRequires: freetype-devel #BuildRequires: fribidi-devel #BuildRequires: gnutls-devel #BuildRequires: harfbuzz-devel #BuildRequires: libva-devel #BuildRequires: libvdpau-devel #BuildRequires: libX11-devel #BuildRequires: libXrandr-devel #BuildRequires: mesa-libGL-devel #BuildRequires: mesa-libEGL-devel #BuildRequires: mpv-devel #BuildRequires: pulseaudio-libs-devel #BuildRequires: sdl2-compat-devel #BuildRequires: uchardet-devel #BuildRequires: zlib-ng-devel %description Jellyfin desktop client built with Qt WebEngine and libmpv. Supports audio passthrough, hardware decoding, and playback of more formats without transcoding. %prep %autosetup -n %{srcname}-%{version_no_tilde} -p1 %build %cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_SKIP_RPATH=ON %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.jellyfin.JellyfinDesktop.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml %files %doc README.md %license LICENSE %{_bindir}/jellyfin-desktop %{_datadir}/applications/org.jellyfin.JellyfinDesktop.desktop %{_metainfodir}/org.jellyfin.JellyfinDesktop.appdata.xml %{_datadir}/icons/hicolor/scalable/apps/org.jellyfin.JellyfinDesktop.svg %changelog * Sat Nov 07 2026 Tarulia - 2.1.0~pre1-1 - new version - removed manual appdata download and install * Wed Feb 18 2026 Tarulia - 2.0.0-1 - initial packaging