]> git.ipfire.org Git - thirdparty/shairport-sync.git/blame - shairport-sync.spec
Update check_classic_mac_basic.yml
[thirdparty/shairport-sync.git] / shairport-sync.spec
CommitLineData
90799d45 1Name: shairport-sync
c19f697b 2Version: 3.3.8
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
c19f697b
MB
69* Mon Apr 26 2021 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.8
70- Bug fixes and enhancements.
71* Tue Nov 1 2020 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.7
850023d5 72- Jack resampling, bug fixes and additions to the pipe and stdout backends, to metadata and to the D-Bus and MPRIS interfaces.
c19f697b 73* Thu Feb 20 2020 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.6
f4c2263e 74- Jack resampling, bug fixes and additions to the D-Bus and MPRIS interfaces.
c19f697b 75* Wed Nov 13 2019 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.5
b1a50564 76- Bug fixes and additions to the D-Bus interface.
c19f697b 77* Mon Oct 28 2019 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.4
500b9ad0 78- Bug fixes and minor enhancements.
c19f697b 79* Fri Jul 26 2019 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.2
05dcf82f 80- Minor bug fixes.
c19f697b 81* Wed Jun 05 2019 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3.1
fb6d65d7 82- Bug fixes.
c19f697b 83* Fri May 24 2019 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.3
9fe06db9 84- Audio enhancements, stability improvements, MQTT and Jack Audio interfaces.
c19f697b 85* Sun Oct 14 2018 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.2.2
c9b5df21 86- Compatibility with iOS 12 and mac OS Mojave AirPlay latencies. Minor bug fix.
c19f697b 87* Fri Jul 13 2018 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.2.1
92629b13 88- Stability improvements when soxr interpolation is chosen.
c19f697b 89* Mon Jul 09 2018 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.2
07314a08 90- New D-Bus and MPRIS Interfaces, Bug Fixes and Enhancements.
c19f697b 91* Thu Dec 21 2017 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.1.7
bb1506e1 92- Bug fix for unexpectedly resuming play at full volume from iOS 11.2 and macOS 10.3.2.
c19f697b 93* Mon Dec 11 2017 Mike Brady <4265913+mikebrady@users.noreply.github.com> 3.1.5
b9cf91b2 94- Bug fixes and better compatibility with iOS 11.2 and mac OS 10.13.2.
2180f848 95- Better AirPlay synchronisation.
1eb2e270
BP
96* Wed Sep 13 2017 Bill Peck <bpeck@redhat.com> 3.1.2-1
97- New upstream release
98- The default value for the alsa setting mute_using_playback_switch has
b9cf91b2 99 been changed to "no" for compatibility with other audio players on the
1eb2e270
BP
100 same machine. Because of this you may need to unmute your audio device
101 if you are upgrading from an older release.
102- Fixed bugs that made Shairport Sync drop out or become unavailable when
103 playing YouTube videos, SoundCloud streams etc. from the Mac.
104* Sun Aug 20 2017 Bill Peck <bpeck@redhat.com> 3.1.1-1
105- A bug in the sndio backend has been fixed that caused problems on some
106 versions of Linux.
107- A change has been made to how Shairport Sync responds to a TEARDOWN request,
108 which should make it respond better to sequences of rapid termination and
109 restarting of play sessions. This can happen, for example, playing YouTube
110 videos in Safari or Chrome on a Mac.
111- Choosing soxr interpolation in the configuration file will now cause
112 Shairport Sync to terminate with a message if Shairport Sync has not been
113 compiled with SoX support.
114- Other small changes.
1b0e8299 115* Thu Aug 17 2017 Bill Peck <bpeck@redhat.com> 3.1-1
11e948a5
BP
116- new backend offering synchronised PulseAudio support.
117- new optional loudness and convolution filters
118- improvements in non-synchronised backends
119- enhancements, stability improvements and bug fixes
c19f697b 120* Fri Feb 24 2017 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.6
9fe5d78d 121- Many changes including 8- 16- 24- and 32-bit output
c19f697b 122* Fri Oct 21 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.6
9fe5d78d 123- Advertise self as ShairportSync rather than AirPort device 2.8.6
c19f697b 124* Sun Sep 25 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.5
9fe5d78d 125- Bug fixes and small enhancements 2.8.5
c19f697b 126* Sat May 28 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.4
9fe5d78d 127- Bug fixes and a few small enhancements 2.8.4
c19f697b 128* Fri Apr 15 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.2
5a6d91b8 129- Stability improvements, bug fixes and a few special-purpose settings 2.8.2
c19f697b 130* Wed Mar 02 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.1
3533d355 131- Stability improvements and important bug fixes 2.8.1
c19f697b 132* Sat Jan 30 2016 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.8.0
3533d355 133- Enhancements and bug fixes 2.8.0
c19f697b 134* Sun Oct 18 2015 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.6
c23fc37a 135- Important enhancements and bug fixes 2.6
c19f697b 136* Thu Aug 27 2015 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.4.1
b75f7073 137- Minor bug fixes 2.4.1
c19f697b 138* Thu Aug 27 2015 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.4
24b83145 139- Prepare for stable release 2.4
c19f697b 140* Wed Aug 26 2015 Mike Brady <4265913+mikebrady@users.noreply.github.com> 2.3.13.1-1
44ef7846 141- Harmonise release numbers
7de6f4a9
BP
142* Fri Jul 24 2015 Bill Peck <bill@pecknet.com> 2.3.7-1
143- Initial spec file