%define pypi_name Mopidy-radio-de Name: mopidy-radio-de Version: 0.2.0 Release: %mkrel 1 Group: Sound/Players Summary: radio.de extension for Mopidy License: MIT URL: http://github.com/hechtus/mopidy-radio-de/ Source0: https://pypi.python.org/packages/source/M/Mopidy-radio-de/Mopidy-radio-de-%{version}.tar.gz Patch0: mopidy-radio-de-upstream-fix-proxy-none.patch BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description Mopidy extension to listen to internet radio stations and podcasts listed at radio.de, rad.io, radio.fr, and radio.at. %prep %setup -q -n %{pypi_name}-%{version} %patch0 -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root %{buildroot} %files %doc README.rst LICENSE %{python_sitelib}/mopidy_radio_de/ %{python_sitelib}/Mopidy_radio_de-%{version}-py?.?.egg-info %changelog * Sun Nov 23 2014 philippem <philippem> 0.2.0-1.mga5 + Revision: 798590 - imported package mopidy-radio-de