Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37516015
en ru br
ALT Linux repos
S:0.9.1-alt1

Group :: Sound
RPM: mpdris2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define origname mpDris2
Name: mpdris2
Summary: provides MPRIS 2 support to mpd (Music Play Daemon)
Version: 0.9.1
Release: alt1
License: GPL3
Group: Sound
Url: https://github.com/eonpatapon/%origname
BuildArch: noarch

# https://github.com/eonpatapon/mpDris2/

Source: %name.tar
Source44: %origname.watch

Requires: mpd python3-module-mutagen python3-module-pygobject3 libnotify-gir
# Automatically added by buildreq on Tue Nov 07 2017 (-bi)
# optimized out: perl perl-XML-Parser python-base python3
BuildRequires: intltool rpm-build-python3

%description
mpDris2 is run in the user session and monitors a local or distant mpd server.
Useful for MPRIS2-aware agents

%prep
%setup -n %name
subst 's|^Name=.*|Name=MPD MPRIS2 agent|' src/%name.desktop

%build
NOCONFIGURE=1 \
./autogen.sh
%configure
make

%install
%makeinstall_std

%find_lang %origname

%files -f %origname.lang
%exclude %_docdir/mpdris2/*
%doc AUTHORS README* NEWS src/%origname.conf
%_sysconfdir/xdg/autostart/*.desktop
%_bindir/*
%_prefix/lib/systemd/user/mpDris2.service
%_desktopdir/*.desktop
%_datadir/dbus-1/services/*.service

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin