]> git.ipfire.org Git - thirdparty/shairport-sync.git/blame - shairport-sync.spec
Point to correct location for application.
[thirdparty/shairport-sync.git] / shairport-sync.spec
CommitLineData
7de6f4a9 1Name: shairport-sync
b75f7073 2Version: 2.4.1
7de6f4a9
BP
3Release: 1%{?dist}
4Summary: AirTunes emulator. Shairport Sync adds multi-room capability with Audio Synchronisation
5
6Group: Applications/Multimedia
7License: GPL
8URL: https://github.com/mikebrady/shairport-sync
9Source0: https://github.com/mikebrady/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
7de6f4a9
BP
10
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libconfig-devel
14BuildRequires: popt-devel
15BuildRequires: openssl-devel
16BuildRequires: libdaemon-devel
17BuildRequires: avahi-devel
18BuildRequires: alsa-lib-devel
19BuildRequires: systemd-units
20BuildRequires: soxr-devel
21Requires: popt
22Requires: openssl
23Requires: avahi
24Requires: libdaemon
25Requires: alsa-lib
26Requires: soxr
27
28%description
29Shairport 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
31Shairport Sync does not support AirPlay video or photo streaming.
32
33%prep
34%setup -q
7de6f4a9
BP
35
36%build
37autoreconf -i -f
0b7d9913 38%configure --with-avahi --with-alsa --with-ssl=openssl --with-soxr --with-systemd
7de6f4a9
BP
39make %{?_smp_mflags}
40
41
42%install
43make install DESTDIR=%{buildroot}
44rm %{buildroot}/etc/shairport-sync.conf.sample
45
46%pre
47getent group %{name} &>/dev/null || groupadd --system %{name} >/dev/null
48getent 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