Name: shairport-sync Version: 4.3.2 Release: 2%{?dist} Summary: AirTunes emulator. Multi-Room with Audio Synchronisation # MIT licensed except for tinysvcmdns under BSD, # FFTConvolver/ under GPLv3+ and audio_sndio.c # under ISC License: MIT and BSD and GPLv3+ and ISC URL: https://github.com/mikebrady/shairport-sync Source: https://github.com/mikebrady/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: shairport-sync-install-fix.patch BuildRequires: make BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: git BuildRequires: autoconf BuildRequires: automake BuildRequires: avahi-devel BuildRequires: libconfig-devel BuildRequires: openssl-devel BuildRequires: popt-devel BuildRequires: soxr-devel BuildRequires: libplist-devel BuildRequires: libsodium-devel BuildRequires: libgcrypt-devel BuildRequires: libuuid-devel BuildRequires: libalac-devel BuildRequires: vim-common BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel BuildRequires: systemd-rpm-macros # Allow build with both free and non-free versions BuildRequires: (libavformat-devel or libavformat-free-devel) BuildRequires: (libavutil-devel or libavutil-free-devel) BuildRequires: (libavcodec-devel or libavcodec-free-devel) Requires: nqptp %description Shairport Sync emulates an AirPort Express for the purpose of streaming audio from iTunes, iPods, iPhones, iPads and AppleTVs. Audio played by a Shairport Sync-powered device stays synchronised with the source and hence with similar devices playing the same source. Thus, for example, synchronised multi-room audio is possible without difficulty. (Hence the name Shairport Sync, BTW.) Shairport Sync does not support AirPlay video or photo streaming. %prep %autosetup -p1 %build autoreconf -i -f %configure --with-avahi --with-systemd --with-alsa --with-pa --with-ssl=openssl --with-soxr --with-apple-alac --with-airplay-2 %make_build %install %make_install rm %{buildroot}/etc/shairport-sync.conf.sample %pre getent group %{name} &>/dev/null || groupadd -r %{name} &>/dev/null getent passwd %{name} &>/dev/null || useradd -r -M -g %{name} \ -s /sbin/nologin \ -G audio %{name} &>/dev/null %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %config(noreplace) /etc/shairport-sync.conf /usr/bin/shairport-sync /usr/share/man/man7/shairport-sync.7.gz %{_unitdir}/%{name}.service %doc README.md RELEASENOTES.md TROUBLESHOOTING.md %license LICENSES %changelog * Sun May 12 2024 Luca Magrone - 4.3.2-2 - Rebuild for libalac - Change way of defining some BuildRequires * Mon Oct 30 2023 Luca Magrone - 4.3.2-1 - Update to 4.3.2 * Tue Oct 10 2023 Luca Magrone - 4.3.1-1 - Update to 4.3.1 * Wed Mar 01 2023 Luca Magrone - 4.1.1-1 - Initial package release