%global forgeurl https://github.com/ralph-irving/squeezelite/ %global commit 262994a989dc29ce3be4390c57c6a43373dfdca2 %forgemeta # Allow AAC to be played directly in the client rather than # first being transcoded on the server. Requires libraries not included # in Fedora for legal reasons. %bcond_with faad Name: squeezelite Version: 2.0.0.1517 Release: %autorelease Summary: Headless music player for streaming from Lyrion Music Server # Squeezelite is released under the GPLv3 licence. # It incorporates dsd2pcm, which is BSD licenced. License: GPL-3.0-only AND BSD-2-Clause-Views URL: %{forgeurl} Source0: %{forgesource} Source1: %{name}.system.service Source2: %{name}.user.service Source3: %{name}.service.7.md Source4: %{name}.sysconfig BuildRequires: make BuildRequires: alsa-lib-devel %if %{with faad} BuildRequires: faad2-devel %endif BuildRequires: ffmpeg-free-devel BuildRequires: flac-devel BuildRequires: gcc BuildRequires: libgpiod-devel >= 2 BuildRequires: libmad-devel BuildRequires: libogg-devel BuildRequires: libvorbis-devel BuildRequires: lirc-devel BuildRequires: mpg123-devel BuildRequires: openssl-devel BuildRequires: opus-devel BuildRequires: opusfile-devel BuildRequires: pandoc BuildRequires: pulseaudio-libs-devel BuildRequires: soxr-devel BuildRequires: systemd %{?systemd_requires} %description Squeezelite is a headless client for Lyrion Music Server, and can be used in place of dedicated Squeezebox network music playing hardware. %prep %forgesetup # Create a sysusers.d config file cat >squeezelite.sysusers.conf <