c375469
# Needs access to pypi so doesn't run in koji
c375469
%global with_tests 0
c375469
c375469
Name:           pychromecast
2dcac9e
Version:        4.2.0
2dcac9e
Release:        1%{?dist}
c375469
Summary:        Python library to communicate with the Google Chromecast
c375469
c375469
License:        MIT
c375469
URL:            https://github.com/balloob/pychromecast
eddf0c7
Source0:        https://github.com/balloob/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
c375469
c375469
BuildArch: noarch
c375469
BuildRequires:  python3-devel
c375469
BuildRequires:  python3-setuptools
c375469
%if 0%{?with_tests}
c375469
BuildRequires:  python3-six
c375469
BuildRequires:  python3-netifaces
c375469
BuildRequires:  python3-zeroconf
c375469
BuildRequires:  python3-protobuf
c375469
%endif
c375469
c375469
%description
1a03577
Library for Python 3 to communicate with the Google Chromecast. It
c375469
currently supports:
c375469
c375469
-  Auto discovering connected Chromecasts on the network
c375469
-  Start the default media receiver and play any online media
c375469
-  Control playback of current playing media
c375469
-  Implement Google Chromecast api v2
c375469
-  Communicate with apps via channels
c375469
-  Easily extendable to add support for unsupported namespaces
c375469
-  Multi-room setups with Audio cast devices
c375469
c375469
%package -n python3-chromecast
c375469
Summary:  Library for Python 3 to communicate with the Google Chromecast
b368a15
%{?python_provide:%python_provide python3-chromecast}
c375469
c375469
Requires: python3-six
c375469
Requires: python3-requests
c375469
Requires: python3-zeroconf
c375469
Requires: python3-protobuf
1a03577
Requires: python3-casttube
c375469
c375469
%description -n python3-chromecast
1a03577
Library for Python 3 to communicate with the Google Chromecast. It
c375469
currently supports:
c375469
c375469
-  Auto discovering connected Chromecasts on the network
c375469
-  Start the default media receiver and play any online media
c375469
-  Control playback of current playing media
c375469
-  Implement Google Chromecast api v2
c375469
-  Communicate with apps via channels
c375469
-  Easily extendable to add support for unsupported namespaces
c375469
-  Multi-room setups with Audio cast devices
c375469
c375469
%prep
1a03577
%autosetup -p1
c375469
c375469
%build
c375469
%py3_build
c375469
c375469
%install
c375469
%py3_install
c375469
c375469
%check
c375469
%if %{with_tests}
c375469
%{__python3} setup.py test
c375469
%endif
c375469
c375469
%files -n python3-chromecast
c375469
%license LICENSE
c375469
%{python3_sitelib}/*
c375469
c375469
%changelog
2dcac9e
* Tue Mar 17 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.0-1
2dcac9e
- Update to 4.2.0
2dcac9e
d905c2a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2
d905c2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d905c2a
d1ccd6f
* Fri Jan 24 2020 Peter Robinson <pbrobinson@fedoraproject.org> 4.1.1-1
d1ccd6f
- Update to 4.1.1
d1ccd6f
694d5b4
* Thu Oct 17 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.1.0-1
694d5b4
- Update to 4.1.0
694d5b4
1a03577
* Wed Sep 11 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0.1-1
1a03577
- Update to 4.0.1
1a03577
- Add dependency on casttube
1a03577
efd293a
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.5.2-3
efd293a
- Rebuilt for Python 3.8
efd293a
d82c3e2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
d82c3e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d82c3e2
bb1d75b
* Mon Feb 18 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.5.2-1
bb1d75b
- Update to 2.5.2
bb1d75b
da268bc
* Wed Feb 13 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.5.0-1
da268bc
- Update to 2.5.0
da268bc
8481c20
* Thu Feb  7 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.0-1
8481c20
- Update to 2.4.0
8481c20
9a5f31f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
9a5f31f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9a5f31f
e0f0b4a
* Tue Sep 18 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.0-1
e0f0b4a
- Update to 2.3.0
e0f0b4a
5481ab7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
5481ab7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5481ab7
e7ccea1
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.0-2
e7ccea1
- Rebuilt for Python 3.7
e7ccea1
eddf0c7
* Tue Apr 10 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.2.0-1
eddf0c7
- Update to 2.2.0
eddf0c7
- Drop python2 package (retired upstream, no Fedora users)
eddf0c7
ba6210a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
ba6210a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ba6210a
d359056
* Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.3-2
d359056
- Update Python 2 dependency declarations to new packaging standards
d359056
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d359056
91df7e1
* Mon Dec 11 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1
91df7e1
- Update to 1.0.3
91df7e1
659737b
* Mon Nov 20 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.1-1
659737b
- Update to 1.0.1
659737b
2c35b59
* Sat Jul 29 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.2-1
2c35b59
- Update to 0.8.2
2c35b59
d535d29
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
d535d29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d535d29
673e469
* Mon Mar 20 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.1-1
673e469
- Update to 0.8.1
673e469
3af53e8
* Sat Feb 18 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.8.0-1
3af53e8
- Update to 0.8.0
3af53e8
e5a989b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-4
e5a989b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e5a989b
b368a15
* Thu Dec 22 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.7-3
b368a15
- Fix python3 provides
b368a15
c375469
* Fri Dec  2 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.7-2
c375469
- Package updates
c375469
c375469
* Mon Oct 31 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.7-1
c375469
- initial packaging