15
0
Files
python-PyChromecast/python-PyChromecast.spec
Tomáš Chvátal 037f1e7836 Accepting request 710550 from home:mcalabkova:branches:devel:languages:python
- Update to 3.2.2
  * Improve matching of spotify device to handle audio groups
  * Fix broken attempt to update status during tear down
  * Add google home mini as audio device
  * Add support for queue_next / queue_prev
  * Take expiration from login and pass to controller
  * Add multizone controller and multizone manager
  * Remove the filters feature from get_chromecasts

OBS-URL: https://build.opensuse.org/request/show/710550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyChromecast?expand=0&rev=12
2019-06-18 11:46:16 +00:00

64 lines
2.2 KiB
RPMSpec

#
# spec file for package python-PyChromecast
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-PyChromecast
Version: 3.2.2
Release: 0
Summary: Python module to talk to Google Chromecast
License: MIT
Group: Development/Languages/Python
URL: https://github.com/balloob/pychromecast
Source: https://files.pythonhosted.org/packages/source/P/PyChromecast/PyChromecast-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-casttube >= 0.1.0
Requires: python-protobuf >= 3.0.0
Requires: python-requests >= 2.0
Requires: python-zeroconf >= 0.17.7
BuildArch: noarch
%python_subpackages
%description
Library to communicate with the Google Chromecast. It currently supports
Auto discovering connected Chromecasts on the network, start the default
media receiver and play any online media, control playback of current
playing media, implement Google Chromecast api v2, communicate with apps
via channels, easily extendable to add support for unsupported namespaces,
multi-room setups with Audio cast devices.
%prep
%setup -q -n PyChromecast-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/pychromecast
%{python_sitelib}/PyChromecast-%{version}-py%{py3_ver}.egg-info
%changelog