]> git.ipfire.org Git - thirdparty/shairport-sync.git/blame - shairport-sync.spec
Update TROUBLESHOOTING.md
[thirdparty/shairport-sync.git] / shairport-sync.spec
CommitLineData
90799d45 1Name: shairport-sync
4e7ce7eb 2Version: 3.3.7
11e948a5 3Release: 1%{?dist}
1b0e8299
BP
4Summary: 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
79ec6132 8License: MIT and BSD and GPLv3+ and ISC
90799d45 9URL: https://github.com/mikebrady/shairport-sync
11e948a5 10Source0: https://github.com/mikebrady/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
7de6f4a9 11
11e948a5
BP
12%{?systemd_requires}
13BuildRequires: systemd
14BuildRequires: pkgconfig(libconfig)
15BuildRequires: pkgconfig(popt)
16BuildRequires: pkgconfig(openssl)
11e948a5
BP
17BuildRequires: pkgconfig(avahi-core)
18BuildRequires: pkgconfig(alsa)
19BuildRequires: pkgconfig(soxr)
90799d45 20BuildRequires: autoconf
21BuildRequires: automake
7de6f4a9
BP
22
23%description
11e948a5
BP
24Shairport Sync emulates an AirPort Express for the purpose of streaming audio
25 from iTunes, iPods, iPhones, iPads and AppleTVs. Audio played by a Shairport
26 Sync-powered device stays synchronised with the source and hence with similar
27 devices playing the same source. Thus, for example, synchronised multi-room
28 audio is possible without difficulty. (Hence the name Shairport Sync, BTW.)
7de6f4a9
BP
29
30Shairport Sync does not support AirPlay video or photo streaming.
31
32%prep
33%setup -q
7de6f4a9
BP
34
35%build
36autoreconf -i -f
0865ba1b 37%configure --with-avahi --with-alsa --with-ssl=openssl --with-soxr
11e948a5 38%make_build
7de6f4a9 39
7de6f4a9 40%install
11e948a5 41%make_install
7de6f4a9 42rm %{buildroot}/etc/shairport-sync.conf.sample
11e948a5 43install -p -m644 -D scripts/shairport-sync.service %{buildroot}%{_unitdir}/%{name}.service
7de6f4a9
BP
44
45%pre
46getent group %{name} &>/dev/null || groupadd --system %{name} >/dev/null
47getent passwd %{name} &> /dev/null || useradd --system -c "%{name} User" \
90799d45 48 -d %{_localstatedir}/%{name} -m -g %{name} -s /sbin/nologin \
49 -G audio %{name} >/dev/null
7de6f4a9 50
11e948a5
BP
51%post
52%systemd_post %{name}.service
53
54%preun
55%systemd_preun %{name}.service
56
57%postun
58%systemd_postun_with_restart %{name}.service
59
7de6f4a9 60%files
0303c2eb 61%config(noreplace) /etc/shairport-sync.conf
7de6f4a9
BP
62/usr/bin/shairport-sync
63/usr/share/man/man7/shairport-sync.7.gz
64%{_unitdir}/%{name}.service
11e948a5
BP
65%doc README.md RELEASENOTES.md TROUBLESHOOTING.md
66%license LICENSES
7de6f4a9
BP
67
68%changelog
4e7ce7eb
MB
69* Tue Jul 7 2020 Mike Brady <mikebradydublin@icloud.com) 3.3.7
70- Jack resampling, bug fixes and additions to the D-Bus and MPRIS interfaces.
f4c2263e
MB
71* Thu Feb 20 2020 Mike Brady <mikebradydublin@icloud.com) 3.3.6
72- Jack resampling, bug fixes and additions to the D-Bus and MPRIS interfaces.
b1a50564
MB
73* Wed Nov 13 2019 Mike Brady <mikebrady@eircom.net) 3.3.5
74- Bug fixes and additions to the D-Bus interface.
5a4c82d0 75* Mon Oct 28 2019 Mike Brady <mikebrady@eircom.net) 3.3.4
500b9ad0 76- Bug fixes and minor enhancements.
05dcf82f
MB
77* Fri Jul 26 2019 Mike Brady <mikebrady@eircom.net) 3.3.2
78- Minor bug fixes.
fb6d65d7
MB
79* Wed Jun 05 2019 Mike Brady <mikebrady@eircom.net) 3.3.1
80- Bug fixes.
13fcd259 81* Fri May 24 2019 Mike Brady <mikebrady@eircom.net) 3.3
9fe06db9 82- Audio enhancements, stability improvements, MQTT and Jack Audio interfaces.
c9b5df21
MB
83* Sun Oct 14 2018 Mike Brady <mikebrady@eircom.net) 3.2.2
84- Compatibility with iOS 12 and mac OS Mojave AirPlay latencies. Minor bug fix.
92629b13
MB
85* Fri Jul 13 2018 Mike Brady <mikebrady@eircom.net) 3.2.1
86- Stability improvements when soxr interpolation is chosen.
07314a08
MB
87* Mon Jul 09 2018 Mike Brady <mikebrady@eircom.net) 3.2
88- New D-Bus and MPRIS Interfaces, Bug Fixes and Enhancements.
7b970a87 89* Thu Dec 21 2017 Mike Brady <mikebrady@eircom.net> 3.1.7
bb1506e1 90- Bug fix for unexpectedly resuming play at full volume from iOS 11.2 and macOS 10.3.2.
2180f848 91* Mon Dec 11 2017 Mike Brady <mikebrady@eircom.net> 3.1.5
b9cf91b2 92- Bug fixes and better compatibility with iOS 11.2 and mac OS 10.13.2.
2180f848 93- Better AirPlay synchronisation.
1eb2e270
BP
94* Wed Sep 13 2017 Bill Peck <bpeck@redhat.com> 3.1.2-1
95- New upstream release
96- The default value for the alsa setting mute_using_playback_switch has
b9cf91b2 97 been changed to "no" for compatibility with other audio players on the
1eb2e270
BP
98 same machine. Because of this you may need to unmute your audio device
99 if you are upgrading from an older release.
100- Fixed bugs that made Shairport Sync drop out or become unavailable when
101 playing YouTube videos, SoundCloud streams etc. from the Mac.
102* Sun Aug 20 2017 Bill Peck <bpeck@redhat.com> 3.1.1-1
103- A bug in the sndio backend has been fixed that caused problems on some
104 versions of Linux.
105- A change has been made to how Shairport Sync responds to a TEARDOWN request,
106 which should make it respond better to sequences of rapid termination and
107 restarting of play sessions. This can happen, for example, playing YouTube
108 videos in Safari or Chrome on a Mac.
109- Choosing soxr interpolation in the configuration file will now cause
110 Shairport Sync to terminate with a message if Shairport Sync has not been
111 compiled with SoX support.
112- Other small changes.
1b0e8299 113* Thu Aug 17 2017 Bill Peck <bpeck@redhat.com> 3.1-1
11e948a5
BP
114- new backend offering synchronised PulseAudio support.
115- new optional loudness and convolution filters
116- improvements in non-synchronised backends
117- enhancements, stability improvements and bug fixes
9fe5d78d
MB
118* Fri Feb 24 2017 Mike Brady <mikebrady@eircom.net> 2.8.6
119- Many changes including 8- 16- 24- and 32-bit output
120* Fri Oct 21 2016 Mike Brady <mikebrady@eircom.net> 2.8.6
121- Advertise self as ShairportSync rather than AirPort device 2.8.6
122* Sun Sep 25 2016 Mike Brady <mikebrady@eircom.net> 2.8.5
123- Bug fixes and small enhancements 2.8.5
124* Sat May 28 2016 Mike Brady <mikebrady@eircom.net> 2.8.4
125- Bug fixes and a few small enhancements 2.8.4
5a6d91b8
MB
126* Fri Apr 15 2016 Mike Brady <mikebrady@eircom.net> 2.8.2
127- Stability improvements, bug fixes and a few special-purpose settings 2.8.2
3533d355
MB
128* Wed Mar 02 2016 Mike Brady <mikebrady@eircom.net> 2.8.1
129- Stability improvements and important bug fixes 2.8.1
130* Sat Jan 30 2016 Mike Brady <mikebrady@eircom.net> 2.8.0
131- Enhancements and bug fixes 2.8.0
c23fc37a
MB
132* Sun Oct 18 2015 Mike Brady <mikebrady@eircom.net> 2.6
133- Important enhancements and bug fixes 2.6
b75f7073
MB
134* Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4.1
135- Minor bug fixes 2.4.1
24b83145
MB
136* Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4
137- Prepare for stable release 2.4
44ef7846
MB
138* Wed Aug 26 2015 Mike Brady <mikebrady@eircom.net> 2.3.13.1-1
139- Harmonise release numbers
7de6f4a9
BP
140* Fri Jul 24 2015 Bill Peck <bill@pecknet.com> 2.3.7-1
141- Initial spec file