1 |
Name: shairport-sync |
2 |
Version: 3.3.5 |
3 |
Release: 0%{?dist} |
4 |
Summary: AirTunes emulator. Multi-Room with Audio Synchronisation |
5 |
# MIT licensed except for tinysvcmdns under BSD, |
6 |
# FFTConvolver/ under GPLv3+ and audio_sndio.c |
7 |
# under ISC |
8 |
License: MIT and BSD and GPLv3+ and ISC |
9 |
URL: https://github.com/mikebrady/shairport-sync |
10 |
Source0: https://github.com/mikebrady/%{name}/archive/%{version}/%{name}-%{version}.tar.gz |
11 |
|
12 |
%{?systemd_requires} |
13 |
BuildRequires: systemd |
14 |
BuildRequires: pkgconfig(libconfig) |
15 |
BuildRequires: pkgconfig(popt) |
16 |
BuildRequires: pkgconfig(openssl) |
17 |
BuildRequires: pkgconfig(libdaemon) |
18 |
BuildRequires: pkgconfig(avahi-core) |
19 |
BuildRequires: pkgconfig(alsa) |
20 |
BuildRequires: pkgconfig(soxr) |
21 |
BuildRequires: autoconf |
22 |
BuildRequires: automake |
23 |
BuildRequires: gcc |
24 |
BuildRequires: gcc-c++ |
25 |
BuildRequires: pkgconfig(libpulse) |
26 |
|
27 |
%description |
28 |
Shairport Sync emulates an AirPort Express for the purpose of streaming audio |
29 |
from iTunes, iPods, iPhones, iPads and AppleTVs. Audio played by a Shairport |
30 |
Sync-powered device stays synchronised with the source and hence with similar |
31 |
devices playing the same source. Thus, for example, synchronised multi-room |
32 |
audio is possible without difficulty. (Hence the name Shairport Sync, BTW.) |
33 |
|
34 |
Shairport Sync does not support AirPlay video or photo streaming. |
35 |
|
36 |
%prep |
37 |
%setup -q |
38 |
|
39 |
%build |
40 |
autoreconf -i -f |
41 |
%configure --with-avahi --with-alsa --with-ssl=openssl --with-soxr \ |
42 |
--with-pipe --with-dummy --with-stdout --with-pa --with-metadata |
43 |
%make_build |
44 |
|
45 |
%install |
46 |
%make_install |
47 |
rm %{buildroot}/etc/shairport-sync.conf.sample |
48 |
install -p -m644 -D scripts/shairport-sync.service %{buildroot}%{_unitdir}/%{name}.service |
49 |
mkdir -p %{buildroot}/%{_sharedstatedir}/%{name} |
50 |
|
51 |
%pre |
52 |
getent group %{name} >/dev/null || groupadd --system %{name} |
53 |
getent passwd %{name} > /dev/null || useradd --system -c "%{name} User" \ |
54 |
-d %{_sharedstatedir}/%{name} -g %{name} -s /sbin/nologin \ |
55 |
-G audio %{name} |
56 |
exit 0 |
57 |
|
58 |
%post |
59 |
%systemd_post %{name}.service |
60 |
|
61 |
%preun |
62 |
%systemd_preun %{name}.service |
63 |
|
64 |
%postun |
65 |
%systemd_postun_with_restart %{name}.service |
66 |
|
67 |
%files |
68 |
%config(noreplace) /etc/shairport-sync.conf |
69 |
/usr/bin/shairport-sync |
70 |
/usr/share/man/man7/shairport-sync.7.gz |
71 |
%{_unitdir}/%{name}.service |
72 |
%doc README.md RELEASENOTES.md TROUBLESHOOTING.md |
73 |
%license LICENSES |
74 |
%attr(-, %{name}, %{name}) %{_sharedstatedir}/%{name} |
75 |
|
76 |
%changelog |
77 |
* Tue Feb 11 2020 Bill Peck <bpeck@redhat.com> - 3.3.5-0 |
78 |
- New upstream release |
79 |
|
80 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3 |
81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
82 |
|
83 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-2 |
84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
85 |
|
86 |
* Thu Jun 20 2019 Bill Peck <bpeck@redhat.com> - 3.3.1-1 |
87 |
- New upstream release |
88 |
|
89 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2 |
90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
91 |
|
92 |
* Thu Aug 09 2018 Bill Peck <bpeck@redhat.com> - 3.2.1-1 |
93 |
- New upstream release |
94 |
|
95 |
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 3.1.7-8 |
96 |
- Rebuild for new libconfig |
97 |
|
98 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-7 |
99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
100 |
|
101 |
* Fri Jun 15 2018 Bill Peck <bpeck@redhat.com> 3.1.7-6 |
102 |
- Include pulseaudio support |
103 |
|
104 |
* Mon Feb 19 2018 Bill Peck <bpeck@redhat.com> 3.1.7-5 |
105 |
- Include gcc and gcc-c++ as BuildRequires now |
106 |
|
107 |
* Mon Feb 12 2018 Bill Peck <bpeck@redhat.com> 3.1.7-4 |
108 |
- Added additional backends, stdout, pipe and dummy |
109 |
|
110 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-2 |
111 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
112 |
|
113 |
* Thu Dec 21 2017 Bill Peck <bpeck@redhat.com> 3.1.7-1 |
114 |
- New upstream release |
115 |
- In recent versions of iOS (11.2) and mac OS (10.13.2), when play |
116 |
is resumed after a pause, the volume level is not always restored, |
117 |
and, if software volume control is being used, Shairport Sync plays |
118 |
at full volume. This issue has been addressed by storing the last |
119 |
airplay volume setting when a play session ends and using it as a |
120 |
default when a new play session begins. |
121 |
- Better AirPlay synchronisation. Older versions of Shairport Sync |
122 |
added an 11,025 frame (0.25 seconds) offset to all the latencies |
123 |
negotiated with the sender. This seems now only to be correct for |
124 |
iTunes and ForkedDaapd sources, but incorrect for AirPlay sources. |
125 |
Accordingly, the offset is only added for iTunes and ForkedDaapd. |
126 |
The result is better sync with videos, e.g, YouTube, while iTunes |
127 |
and ForkedDaapd synchronisation is unaffected. |
128 |
- A bug in the hardware volume control affected output devices that |
129 |
have hardware mixers but that do not allow the volume to be set in dB. |
130 |
One example is the Softvol plugin in ALSA. Shairport Sync failed |
131 |
silently when presented with such a device when hardware volume |
132 |
control is enabled: the volume events have no effect. The bug has been |
133 |
fixed by adding two missing lines of code to the init() function in |
134 |
audio_alsa.c. Thanks to Jakub Nabaglo for finding and fixing the bug. |
135 |
- A number of bug fixes due to belboj. Many thanks for these! |
136 |
- Enhancements to the handling of quit requests by threads, thanks(again) to belboj! |
137 |
* Wed Sep 13 2017 Bill Peck <bpeck@redhat.com> 3.1.2-1 |
138 |
- New upstream release |
139 |
- The default value for the alsa setting mute_using_playback_switch has |
140 |
been changed to "no" for compatability with other audio players on the |
141 |
same machine. Because of this you may need to unmute your audio device |
142 |
if you are upgrading from an older release. |
143 |
- Fixed bugs that made Shairport Sync drop out or become unavailable when |
144 |
playing YouTube videos, SoundCloud streams etc. from the Mac. |
145 |
* Sun Aug 20 2017 Bill Peck <bpeck@redhat.com> 3.1.1-1 |
146 |
- A bug in the sndio backend has been fixed that caused problems on some |
147 |
versions of Linux. |
148 |
- A change has been made to how Shairport Sync responds to a TEARDOWN request, |
149 |
which should make it respond better to sequences of rapid termination and |
150 |
restarting of play sessions. This can happen, for example, playing YouTube |
151 |
videos in Safari or Chrome on a Mac. |
152 |
- Choosing soxr interpolation in the configuration file will now cause |
153 |
Shairport Sync to terminate with a message if Shairport Sync has not been |
154 |
compiled with SoX support. |
155 |
- Other small changes. |
156 |
* Thu Aug 17 2017 Bill Peck <bpeck@redhat.com> 3.1-1 |
157 |
- new backend offering synchronised PulseAudio support. |
158 |
- new optional loudness and convolution filters |
159 |
- improvements in non-synchronised backends |
160 |
- enhancements, stability improvements and bug fixes |
161 |
* Fri Feb 24 2017 Mike Brady <mikebrady@eircom.net> 2.8.6 |
162 |
- Many changes including 8- 16- 24- and 32-bit output |
163 |
* Fri Oct 21 2016 Mike Brady <mikebrady@eircom.net> 2.8.6 |
164 |
- Advertise self as ShairportSync rather than AirPort device 2.8.6 |
165 |
* Sun Sep 25 2016 Mike Brady <mikebrady@eircom.net> 2.8.5 |
166 |
- Bug fixes and small enhancements 2.8.5 |
167 |
* Sat May 28 2016 Mike Brady <mikebrady@eircom.net> 2.8.4 |
168 |
- Bug fixes and a few small enhancements 2.8.4 |
169 |
* Fri Apr 15 2016 Mike Brady <mikebrady@eircom.net> 2.8.2 |
170 |
- Stability improvements, bug fixes and a few special-purpose settings 2.8.2 |
171 |
* Wed Mar 02 2016 Mike Brady <mikebrady@eircom.net> 2.8.1 |
172 |
- Stability improvements and important bug fixes 2.8.1 |
173 |
* Sat Jan 30 2016 Mike Brady <mikebrady@eircom.net> 2.8.0 |
174 |
- Enhancements and bug fixes 2.8.0 |
175 |
* Sun Oct 18 2015 Mike Brady <mikebrady@eircom.net> 2.6 |
176 |
- Important enhancements and bug fixes 2.6 |
177 |
* Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4.1 |
178 |
- Minor bug fixes 2.4.1 |
179 |
* Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4 |
180 |
- Prepare for stable release 2.4 |
181 |
* Wed Aug 26 2015 Mike Brady <mikebrady@eircom.net> 2.3.13.1-1 |
182 |
- Harmonise release numbers |
183 |
* Fri Jul 24 2015 Bill Peck <bill@pecknet.com> 2.3.7-1 |
184 |
- Initial spec file |