%global debug_package %{nil} Name: mopidy Version: 2.2.2 Release: 1%{?dist} Summary: An extensible music server written in Python License: ASL 2.0 URL: https://www.mopidy.com/ Source0: https://github.com/mopidy/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: python2-devel Requires: python2-requests Requires: python2-tornado >= 4.4 Requires: python2-tornado < 5 Requires: python2-pykka >= 1.1 Requires: python-gobject Requires: gstreamer1 Requires: gstreamer-python Requires: python-gstreamer1 Requires: gstreamer1-plugins-good %description Mopidy plays music from local disk, Spotify, SoundCloud, Google Play Music, and more. You edit the playlist from any phone, tablet, or computer using a range of MPD and web clients. %prep %setup -q %build %install #python2 setup.py install %py2_install # @FIXME py2_install is not installing site-packages/mopidy directory mkdir -p %{buildroot}%{python2_sitelib}/%{name}/ cp -ar %{name}/* tests %{buildroot}%{python2_sitelib}/%{name}/ # @TODO install man pages # @TODO install default configs to etc # @TODO install stuff from extra %files %{_bindir}/%{name} %{python2_sitelib}/Mopidy-%{version}-* %{python2_sitelib}/mopidy/ # @TODO install license %changelog * Thu Jun 06 2019 jkadlcik - 2.2.2-1 - Initial package