Accepting request 572416 from home:mnhauke
- Update to version 0.20.16: * output - pulse: fix crash during auto-detection * database - simple: fix search within mount points - upnp: enable IPv6 * archive - iso9660: libcdio 2.0 compatibility - Update to version 0.20.15: * queue: fix crash after seek failure * resampler - soxr: clear internal state after manual song change * state file - make mount point restore errors non-fatal - fix crash when restoring mounts with incompatible database plugin - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/572416 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=8
This commit is contained in:
parent
b69c7ec795
commit
63b009da1c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d59afa1e7aabe5f7ad2d66eb274b0d54568b4110a783dfe8e74bd0f94e3f781
|
|
||||||
size 787944
|
|
3
mpd-0.20.16.tar.xz
Normal file
3
mpd-0.20.16.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:29e1676288e61a8bee6b687d23ba6ca42ccec4dc87c6a0e81d119aea27dcd06a
|
||||||
|
size 790708
|
23
mpd.changes
23
mpd.changes
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 4 09:26:45 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.20.16:
|
||||||
|
* output
|
||||||
|
- pulse: fix crash during auto-detection
|
||||||
|
* database
|
||||||
|
- simple: fix search within mount points
|
||||||
|
- upnp: enable IPv6
|
||||||
|
* archive
|
||||||
|
- iso9660: libcdio 2.0 compatibility
|
||||||
|
|
||||||
|
- Update to version 0.20.15:
|
||||||
|
* queue: fix crash after seek failure
|
||||||
|
* resampler
|
||||||
|
- soxr: clear internal state after manual song change
|
||||||
|
* state file
|
||||||
|
- make mount point restore errors non-fatal
|
||||||
|
- fix crash when restoring mounts with incompatible database
|
||||||
|
plugin
|
||||||
|
|
||||||
|
- Run spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 31 10:42:14 UTC 2018 - olaf@aepfle.de
|
Wed Jan 31 10:42:14 UTC 2018 - olaf@aepfle.de
|
||||||
|
|
||||||
|
46
mpd.spec
46
mpd.spec
@ -20,15 +20,15 @@
|
|||||||
%bcond_with faad
|
%bcond_with faad
|
||||||
|
|
||||||
%if !%{defined _userunitdir}
|
%if !%{defined _userunitdir}
|
||||||
%define _userunitdir /usr/lib/systemd/user
|
%define _userunitdir %{_prefix}/lib/systemd/user
|
||||||
%endif
|
%endif
|
||||||
Name: mpd
|
Name: mpd
|
||||||
Version: 0.20.14
|
Version: 0.20.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Music Player Daemon
|
Summary: Music Player Daemon
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Multimedia/Sound/Players
|
Group: Productivity/Multimedia/Sound/Players
|
||||||
URL: https://www.musicpd.org/
|
Url: https://www.musicpd.org/
|
||||||
Source: https://www.musicpd.org/download/mpd/0.20/mpd-%{version}.tar.xz
|
Source: https://www.musicpd.org/download/mpd/0.20/mpd-%{version}.tar.xz
|
||||||
Source2: README.%{name}
|
Source2: README.%{name}
|
||||||
Source3: mpd-user.conf
|
Source3: mpd-user.conf
|
||||||
@ -37,9 +37,11 @@ Patch0: %{name}-mpdconf_suse.patch
|
|||||||
Patch1: mpd-configh.patch
|
Patch1: mpd-configh.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: pkg-config
|
%if 0%{?suse_version} > 1315
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: libboost_headers-devel
|
||||||
#uildRequires: cdrkit-cdrtools-compat
|
%else
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -54,19 +56,22 @@ BuildRequires: gcc7
|
|||||||
BuildRequires: gcc7-c++
|
BuildRequires: gcc7-c++
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libcue-devel
|
#uildRequires: cdrkit-cdrtools-compat
|
||||||
BuildRequires: libmikmod-devel
|
|
||||||
# MPD_ENABLE_AUTO_LIB
|
|
||||||
BuildRequires: pkgconfig(bzip2)
|
|
||||||
%if %{with faad}
|
%if %{with faad}
|
||||||
BuildRequires: faad2-devel
|
BuildRequires: faad2-devel
|
||||||
%endif
|
%endif
|
||||||
|
#
|
||||||
|
BuildRequires: libcue-devel
|
||||||
|
BuildRequires: libmikmod-devel
|
||||||
BuildRequires: libmp3lame-devel
|
BuildRequires: libmp3lame-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
# MPD_ENABLE_AUTO_PKG
|
# MPD_ENABLE_AUTO_PKG
|
||||||
BuildRequires: pkgconfig(alsa) >= 0.9.0
|
BuildRequires: pkgconfig(alsa) >= 0.9.0
|
||||||
BuildRequires: pkgconfig(ao)
|
BuildRequires: pkgconfig(ao)
|
||||||
BuildRequires: pkgconfig(audiofile) >= 0.3
|
BuildRequires: pkgconfig(audiofile) >= 0.3
|
||||||
BuildRequires: pkgconfig(avahi-client)
|
BuildRequires: pkgconfig(avahi-client)
|
||||||
|
# MPD_ENABLE_AUTO_LIB
|
||||||
|
BuildRequires: pkgconfig(bzip2)
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: pkgconfig(dbus-1)
|
||||||
BuildRequires: pkgconfig(expat)
|
BuildRequires: pkgconfig(expat)
|
||||||
BuildRequires: pkgconfig(flac) >= 1.2
|
BuildRequires: pkgconfig(flac) >= 1.2
|
||||||
@ -108,14 +113,13 @@ BuildRequires: pkgconfig(wavpack)
|
|||||||
#uildRequires: pkgconfig(yajl) >= 2.0
|
#uildRequires: pkgconfig(yajl) >= 2.0
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: pkgconfig(zziplib) >= 0.13
|
BuildRequires: pkgconfig(zziplib) >= 0.13
|
||||||
#
|
Requires(pre): %fillup_prereq
|
||||||
%if %{suse_version} > 1320
|
Requires(pre): pwdutils
|
||||||
BuildRequires: group(audio)
|
Requires(pre): shadow
|
||||||
Requires(pre): group(audio)
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: group(audio)
|
||||||
|
Requires(pre): group(audio)
|
||||||
%endif
|
%endif
|
||||||
Requires(pre): pwdutils
|
|
||||||
Requires(pre): shadow
|
|
||||||
Requires(pre): %fillup_prereq
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -231,8 +235,8 @@ NOCONFIGURE=1 ./autogen.sh
|
|||||||
\
|
\
|
||||||
--with-boost=yes \
|
--with-boost=yes \
|
||||||
--enable-systemd-daemon \
|
--enable-systemd-daemon \
|
||||||
--with-systemdsystemunitdir=%_unitdir \
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
--with-systemduserunitdir=%_userunitdir
|
--with-systemduserunitdir=%{_userunitdir}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -245,13 +249,13 @@ install -d \
|
|||||||
# additional docs
|
# additional docs
|
||||||
install -m 0644 %{SOURCE2} README.mpd
|
install -m 0644 %{SOURCE2} README.mpd
|
||||||
# copy example mpd.conf
|
# copy example mpd.conf
|
||||||
install -Dm0644 %{buildroot}%{_docdir}/%{name}/mpdconf.example %{buildroot}/etc/mpd.conf
|
install -Dm0644 %{buildroot}%{_docdir}/%{name}/mpdconf.example %{buildroot}%{_sysconfdir}/mpd.conf
|
||||||
cp -a "%{SOURCE3}" "%{buildroot}%{_docdir}/%{name}/"
|
cp -a "%{SOURCE3}" "%{buildroot}%{_docdir}/%{name}/"
|
||||||
ln -s service %{buildroot}%{_sbindir}/rcmpd
|
ln -s service %{buildroot}%{_sbindir}/rcmpd
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# add mpd user only when installing first time
|
# add mpd user only when installing first time
|
||||||
getent passwd mpd >/dev/null || useradd -r -g audio -d /var/lib/mpd -s /sbin/nologin -c "user for mpd" mpd
|
getent passwd mpd >/dev/null || useradd -r -g audio -d %{_localstatedir}/lib/mpd -s /sbin/nologin -c "user for mpd" mpd
|
||||||
%service_add_pre mpd.service
|
%service_add_pre mpd.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -265,7 +269,7 @@ getent passwd mpd >/dev/null || useradd -r -g audio -d /var/lib/mpd -s /sbin/nol
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COPYING NEWS README.md README.mpd
|
%doc AUTHORS COPYING NEWS README.md README.mpd
|
||||||
%config(noreplace) /etc/%{name}.conf
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_sbindir}/rcmpd
|
%{_sbindir}/rcmpd
|
||||||
%attr(0755,mpd,audio) %{_localstatedir}/lib/%{name}
|
%attr(0755,mpd,audio) %{_localstatedir}/lib/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user