Accepting request 1144030 from home:13ilya:branches:multimedia:apps
- Provided user(mpd). OBS-URL: https://build.opensuse.org/request/show/1144030 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=114
This commit is contained in:
parent
5729ba91a5
commit
c66614cff5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 4 17:45:03 UTC 2024 - Илья Индиго <ilya@ilya.cf>
|
||||||
|
|
||||||
|
- Provided user(mpd).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 28 18:24:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Dec 28 18:24:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
7
mpd.spec
7
mpd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mpd
|
# spec file for package mpd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -36,10 +36,10 @@ Patch0: %{name}-conf.patch
|
|||||||
Patch1: %{name}-sndfile.patch
|
Patch1: %{name}-sndfile.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: group(audio)
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: libboost_headers-devel
|
||||||
BuildRequires: libcue-devel
|
BuildRequires: libcue-devel
|
||||||
BuildRequires: group(audio)
|
|
||||||
# MPD_ENABLE_AUTO_LIB
|
# MPD_ENABLE_AUTO_LIB
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: libmikmod-devel
|
BuildRequires: libmikmod-devel
|
||||||
@ -101,6 +101,7 @@ BuildRequires: pkgconfig(zziplib)
|
|||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Requires(pre): group(audio)
|
Requires(pre): group(audio)
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
|
Provides: user(%{name})
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%if %{with faad}
|
%if %{with faad}
|
||||||
BuildRequires: faad2-devel
|
BuildRequires: faad2-devel
|
||||||
@ -229,7 +230,6 @@ install -Dpm0644 doc/mpdconf.example %{buildroot}%{_sysconfdir}/%{name}.conf
|
|||||||
rm %{buildroot}%{_userunitdir}/%{name}.socket
|
rm %{buildroot}%{_userunitdir}/%{name}.socket
|
||||||
ln -s ../system/%{name}.socket %{buildroot}%{_userunitdir}/%{name}.socket
|
ln -s ../system/%{name}.socket %{buildroot}%{_userunitdir}/%{name}.socket
|
||||||
mkdir %{buildroot}%{_sbindir}
|
mkdir %{buildroot}%{_sbindir}
|
||||||
ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/playlists
|
mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/playlists
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -251,7 +251,6 @@ getent passwd %{name} >/dev/null || useradd -rc 'Music Player Daemon' -s /bin/fa
|
|||||||
%doc AUTHORS NEWS README.md README.%{name} %{name}-user.conf doc/mpdconf.example
|
%doc AUTHORS NEWS README.md README.%{name} %{name}-user.conf doc/mpdconf.example
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_sbindir}/rc%{name}
|
|
||||||
%attr(0755,mpd,audio) %{_localstatedir}/lib/%{name}
|
%attr(0755,mpd,audio) %{_localstatedir}/lib/%{name}
|
||||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
%{_mandir}/man5/%{name}.conf.5%{?ext_man}
|
%{_mandir}/man5/%{name}.conf.5%{?ext_man}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user