Name: shairport-sync Version: 3.3.9 Release: 5%{?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 Source0: https://github.com/mikebrady/%{name}/archive/%{version}/%{name}-%{version}.tar.gz %{?systemd_requires} Requires: avahi BuildRequires: make BuildRequires: systemd BuildRequires: pkgconfig(libconfig) BuildRequires: pkgconfig(popt) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libdaemon) BuildRequires: pkgconfig(avahi-core) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(soxr) BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig(libpulse) %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 %setup -q %build autoreconf -i -f %configure --with-avahi --with-alsa --with-ssl=openssl --with-soxr \ --with-pipe --with-dummy --with-stdout --with-pa --with-metadata %make_build %install %make_install rm %{buildroot}/etc/shairport-sync.conf.sample install -p -m644 -D scripts/shairport-sync.service %{buildroot}%{_unitdir}/%{name}.service mkdir -p %{buildroot}/%{_sharedstatedir}/%{name} %pre getent group %{name} >/dev/null || groupadd --system %{name} getent passwd %{name} > /dev/null || useradd --system -c "%{name} User" \ -d %{_sharedstatedir}/%{name} -g %{name} -s /sbin/nologin \ -G audio %{name} exit 0 %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 %attr(-, %{name}, %{name}) %{_sharedstatedir}/%{name} %changelog * Sat Jul 22 2023 Fedora Release Engineering - 3.3.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 3.3.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 3.3.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 3.3.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 08 2021 Bill Peck - 3.3.9-1 - New upstream release - Fixes automake bug * Tue Nov 30 2021 Bill Peck - 3.3.8-1 - New upstream release * Tue Sep 14 2021 Sahana Prasad - 3.3.7-5 - Rebuilt with OpenSSL 3.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 3.3.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.3.7-3 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Wed Jan 27 2021 Fedora Release Engineering - 3.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 16 2021 Bill Peck - 3.3.7-1 - Add avahi requires * Thu Jan 14 2021 Bill Peck - 3.3.7-0 - New upstream release * Wed Jul 29 2020 Fedora Release Engineering - 3.3.6-1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Feb 21 2020 Bill Peck - 3.3.6-0 - New upstream release - gcc10 fixes * Tue Feb 11 2020 Bill Peck - 3.3.5-0 - New upstream release * Thu Jan 30 2020 Fedora Release Engineering - 3.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 3.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 2019 Bill Peck - 3.3.1-1 - New upstream release * Sat Feb 02 2019 Fedora Release Engineering - 3.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Aug 09 2018 Bill Peck - 3.2.1-1 - New upstream release * Tue Jul 24 2018 Adam Williamson - 3.1.7-8 - Rebuild for new libconfig * Sat Jul 14 2018 Fedora Release Engineering - 3.1.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 15 2018 Bill Peck 3.1.7-6 - Include pulseaudio support * Mon Feb 19 2018 Bill Peck 3.1.7-5 - Include gcc and gcc-c++ as BuildRequires now * Mon Feb 12 2018 Bill Peck 3.1.7-4 - Added additional backends, stdout, pipe and dummy * Fri Feb 09 2018 Fedora Release Engineering - 3.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 21 2017 Bill Peck 3.1.7-1 - New upstream release - In recent versions of iOS (11.2) and mac OS (10.13.2), when play is resumed after a pause, the volume level is not always restored, and, if software volume control is being used, Shairport Sync plays at full volume. This issue has been addressed by storing the last airplay volume setting when a play session ends and using it as a default when a new play session begins. - Better AirPlay synchronisation. Older versions of Shairport Sync added an 11,025 frame (0.25 seconds) offset to all the latencies negotiated with the sender. This seems now only to be correct for iTunes and ForkedDaapd sources, but incorrect for AirPlay sources. Accordingly, the offset is only added for iTunes and ForkedDaapd. The result is better sync with videos, e.g, YouTube, while iTunes and ForkedDaapd synchronisation is unaffected. - A bug in the hardware volume control affected output devices that have hardware mixers but that do not allow the volume to be set in dB. One example is the Softvol plugin in ALSA. Shairport Sync failed silently when presented with such a device when hardware volume control is enabled: the volume events have no effect. The bug has been fixed by adding two missing lines of code to the init() function in audio_alsa.c. Thanks to Jakub Nabaglo for finding and fixing the bug. - A number of bug fixes due to belboj. Many thanks for these! - Enhancements to the handling of quit requests by threads, thanks(again) to belboj! * Wed Sep 13 2017 Bill Peck 3.1.2-1 - New upstream release - The default value for the alsa setting mute_using_playback_switch has been changed to "no" for compatability with other audio players on the same machine. Because of this you may need to unmute your audio device if you are upgrading from an older release. - Fixed bugs that made Shairport Sync drop out or become unavailable when playing YouTube videos, SoundCloud streams etc. from the Mac. * Sun Aug 20 2017 Bill Peck 3.1.1-1 - A bug in the sndio backend has been fixed that caused problems on some versions of Linux. - A change has been made to how Shairport Sync responds to a TEARDOWN request, which should make it respond better to sequences of rapid termination and restarting of play sessions. This can happen, for example, playing YouTube videos in Safari or Chrome on a Mac. - Choosing soxr interpolation in the configuration file will now cause Shairport Sync to terminate with a message if Shairport Sync has not been compiled with SoX support. - Other small changes. * Thu Aug 17 2017 Bill Peck 3.1-1 - new backend offering synchronised PulseAudio support. - new optional loudness and convolution filters - improvements in non-synchronised backends - enhancements, stability improvements and bug fixes * Fri Feb 24 2017 Mike Brady 2.8.6 - Many changes including 8- 16- 24- and 32-bit output * Fri Oct 21 2016 Mike Brady 2.8.6 - Advertise self as ShairportSync rather than AirPort device 2.8.6 * Sun Sep 25 2016 Mike Brady 2.8.5 - Bug fixes and small enhancements 2.8.5 * Sat May 28 2016 Mike Brady 2.8.4 - Bug fixes and a few small enhancements 2.8.4 * Fri Apr 15 2016 Mike Brady 2.8.2 - Stability improvements, bug fixes and a few special-purpose settings 2.8.2 * Wed Mar 02 2016 Mike Brady 2.8.1 - Stability improvements and important bug fixes 2.8.1 * Sat Jan 30 2016 Mike Brady 2.8.0 - Enhancements and bug fixes 2.8.0 * Sun Oct 18 2015 Mike Brady 2.6 - Important enhancements and bug fixes 2.6 * Thu Aug 27 2015 Mike Brady 2.4.1 - Minor bug fixes 2.4.1 * Thu Aug 27 2015 Mike Brady 2.4 - Prepare for stable release 2.4 * Wed Aug 26 2015 Mike Brady 2.3.13.1-1 - Harmonise release numbers * Fri Jul 24 2015 Bill Peck 2.3.7-1 - Initial spec file