forked from pool/python-PyChromecast
Accepting request 603602 from devel:languages:python:misc
Move back the package to d:l:p to try to submit it to Factory again OBS-URL: https://build.opensuse.org/request/show/603602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyChromecast?expand=0&rev=1
This commit is contained in:
66
python-PyChromecast.spec
Normal file
66
python-PyChromecast.spec
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-PyChromecast
|
||||
#
|
||||
# Copyright (c) 2017 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define skip_python2 1
|
||||
|
||||
Name: python-PyChromecast
|
||||
Version: 2.2.0
|
||||
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 devel}
|
||||
BuildRequires: %{python_module protobuf >= 3.0.0}
|
||||
BuildRequires: %{python_module requests >= 2.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10.0}
|
||||
BuildRequires: %{python_module zeroconf >= 0.17.7}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-protobuf >= 3.0.0
|
||||
Requires: python-requests >= 2.0
|
||||
Requires: python-six >= 1.10.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 -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc LICENSE README.rst
|
||||
%{python_sitelib}/pychromecast
|
||||
%{python_sitelib}/PyChromecast-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user