Name: slimpris2 Version: 0.3.3 Release: 0.1.git.133.504ec65%{?dist} Summary: MPRIS remote control of Logitech Media Server License: GPLv3 URL: https://github.com/mavit/slimpris2/ Source0: slimpris2-git-133.504ec65.tar.gz BuildArch: noarch BuildRequires: autoconf BuildRequires: automake BuildRequires: intltool BuildRequires: python3-devel %description slimpris2 provide MPRIS 2 remote control support for Logitech Media Server, allowing it to be controlled using the user interface integrated into your desktop. %prep %autosetup -n slimpris2-git-133.504ec65 -p1 %build ./autogen.sh %configure %make_build %install %make_install rm %{buildroot}/%{_docdir}/%{name}/COPYING install -m 0644 -p %{buildroot}/%{_docdir}/%{name}/%{name}.conf \ %{buildroot}/%{_sysconfdir}/%{name}.conf %files %config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop %doc AUTHORS %doc README.md %doc src/%{name}.conf %license COPYING %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/dbus-1/services/org.mpris.MediaPlayer2.squeezebox.service %{_datadir}/locale/*/LC_MESSAGES/%{name}.mo %changelog * Tue May 1 2018 Peter Oliver - Initial package.