]>
Commit | Line | Data |
---|---|---|
7de6f4a9 | 1 | Name: shairport-sync |
b75f7073 | 2 | Version: 2.4.1 |
7de6f4a9 BP |
3 | Release: 1%{?dist} |
4 | Summary: AirTunes emulator. Shairport Sync adds multi-room capability with Audio Synchronisation | |
5 | ||
6 | Group: Applications/Multimedia | |
7 | License: GPL | |
8 | URL: https://github.com/mikebrady/shairport-sync | |
9 | Source0: https://github.com/mikebrady/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz | |
7de6f4a9 BP |
10 | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: libconfig-devel | |
14 | BuildRequires: popt-devel | |
15 | BuildRequires: openssl-devel | |
16 | BuildRequires: libdaemon-devel | |
17 | BuildRequires: avahi-devel | |
18 | BuildRequires: alsa-lib-devel | |
19 | BuildRequires: systemd-units | |
20 | BuildRequires: soxr-devel | |
21 | Requires: popt | |
22 | Requires: openssl | |
23 | Requires: avahi | |
24 | Requires: libdaemon | |
25 | Requires: alsa-lib | |
26 | Requires: soxr | |
27 | ||
28 | %description | |
29 | 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.) | |
30 | ||
31 | Shairport Sync does not support AirPlay video or photo streaming. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
7de6f4a9 BP |
35 | |
36 | %build | |
37 | autoreconf -i -f | |
0b7d9913 | 38 | %configure --with-avahi --with-alsa --with-ssl=openssl --with-soxr --with-systemd |
7de6f4a9 BP |
39 | make %{?_smp_mflags} |
40 | ||
41 | ||
42 | %install | |
43 | make install DESTDIR=%{buildroot} | |
44 | rm %{buildroot}/etc/shairport-sync.conf.sample | |
45 | ||
46 | %pre | |
47 | getent group %{name} &>/dev/null || groupadd --system %{name} >/dev/null | |
48 | getent passwd %{name} &> /dev/null || useradd --system -c "%{name} User" \ | |
49 | -d %{_localstatedir}/%{name} -m -g %{name} -s /sbin/nologin \ | |
50 | -G audio %{name} >/dev/null | |
51 | ||
52 | %files | |
53 | %config /etc/shairport-sync.conf | |
54 | /usr/bin/shairport-sync | |
55 | /usr/share/man/man7/shairport-sync.7.gz | |
56 | %{_unitdir}/%{name}.service | |
57 | %doc AUTHORS LICENSES README.md | |
58 | ||
59 | %changelog | |
b75f7073 MB |
60 | * Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4.1 |
61 | - Minor bug fixes 2.4.1 | |
24b83145 MB |
62 | * Thu Aug 27 2015 Mike Brady <mikebrady@eircom.net> 2.4 |
63 | - Prepare for stable release 2.4 | |
44ef7846 MB |
64 | * Wed Aug 26 2015 Mike Brady <mikebrady@eircom.net> 2.3.13.1-1 |
65 | - Harmonise release numbers | |
7de6f4a9 BP |
66 | * Fri Jul 24 2015 Bill Peck <bill@pecknet.com> 2.3.7-1 |
67 | - Initial spec file |