forked from pool/shairport-sync
- Really use upstream tarball from the source url
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/shairport-sync?expand=0&rev=7
This commit is contained in:
parent
ee41de39ea
commit
d6af963bb9
3
3.2.2.tar.gz
Normal file
3
3.2.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f1ee142b887842727ae0c310e21c83ea2386518e841a25c7ddb015d08b54eba
|
||||
size 359760
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18e9343d4bd8ff70674ff3ecdaf7312dd90e716cac2826a4266c95e08ca305bc
|
||||
size 357842
|
@ -1,7 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 10 10:27:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Really use upstream tarball from the souorce url
|
||||
- Really use upstream tarball from the source url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 13:16:47 UTC 2019 - Tuukka Pasanen <tuukka.pasanen@ilmi.fi>
|
||||
|
@ -16,12 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define rcversion RC10
|
||||
%define _version 3.2
|
||||
|
||||
Name: shairport-sync
|
||||
Version: 3.2.2
|
||||
Release: 0
|
||||
@ -29,7 +23,7 @@ Summary: An AirPlay audio player
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
URL: https://github.com/mikebrady/shairport-sync
|
||||
Source0: https://github.com/mikebrady/shairport-sync/archive/%{_version}/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/mikebrady/shairport-sync/archive/%{version}.tar.gz
|
||||
Source1: airplay-server.xml
|
||||
Source2: README.SUSE
|
||||
# PATCH-FIX-OPENSUSE drop-user-config.patch hillwood@opensuse.org -- Move configuring user account to rpm spec.
|
||||
@ -39,6 +33,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: firewall-macros
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: systemd
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(avahi-client)
|
||||
@ -49,10 +44,9 @@ BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(popt)
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
BuildRequires: pkgconfig(soxr)
|
||||
Requires(pre): shadow
|
||||
Requires: firewalld
|
||||
Requires(pre): shadow
|
||||
%{?systemd_requires}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Shairport Sync is an AirPlay audio player – it plays audio streamed from iTunes,
|
||||
@ -94,9 +88,9 @@ mkdir -p %{buildroot}%{_sbindir}
|
||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
%pre
|
||||
getent group %{name} &>/dev/null || /usr/sbin/groupadd --system %{name} >/dev/null
|
||||
getent passwd %{name} &> /dev/null || /usr/sbin/useradd --system -c "%{name} User" \
|
||||
-d %{_localstatedir}/%{name} -m -g %{name} -s /usr/sbin/nologin \
|
||||
getent group %{name} &>/dev/null || %{_sbindir}/groupadd --system %{name} >/dev/null
|
||||
getent passwd %{name} &> /dev/null || %{_sbindir}/useradd --system -c "%{name} User" \
|
||||
-d %{_localstatedir}/%{name} -m -g %{name} -s %{_sbindir}/nologin \
|
||||
-G audio %{name} >/dev/null
|
||||
%service_add_pre %{name}.service
|
||||
|
||||
@ -111,7 +105,6 @@ getent passwd %{name} &> /dev/null || /usr/sbin/useradd --system -c "%{name} Use
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md RELEASENOTES.md TROUBLESHOOTING.md README.SUSE
|
||||
%license LICENSES
|
||||
%config(noreplace) %{_sysconfdir}/shairport-sync.conf
|
||||
@ -119,7 +112,7 @@ getent passwd %{name} &> /dev/null || /usr/sbin/useradd --system -c "%{name} Use
|
||||
%dir %{_libexecdir}/firewalld
|
||||
%dir %{_libexecdir}/firewalld/services
|
||||
%{_libexecdir}/firewalld/services/airplay-server.xml
|
||||
%{_mandir}/man7/shairport-sync.7.gz
|
||||
%{_mandir}/man7/shairport-sync.7%{?ext_man}
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_sbindir}/rc%{name}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user