Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-fritzconnection
python-fritzconnection.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-fritzconnection.spec of Package python-fritzconnection
# # spec file for package python-fritzconnection # # Copyright (c) 2024 SUSE LLC # # 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-fritzconnection Version: 1.4.2 Release: 0 Summary: A Python module to talk to a AVM fritzbox License: MIT Group: Development/Languages/Python URL: https://github.com/kbr/fritzconnection/ Source: fritzconnection-%{version}.tar.xz Patch0: increase-timeout-for-obs.patch BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-lxml Requires: python-requests Requires: python-setuptools BuildArch: noarch %python_subpackages %description fritzconnection is a Python library to communicate with the AVM Fritz!Box by the TR-064 protocol. This allows to read status-informations from the box and to read and change configuration settings and state. %prep %setup -q -n fritzconnection-%{version} %patch -P0 -p1 %build export LC_ALL=C.utf-8 %python_build %install export LC_ALL=C.utf-8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} for i in fritzcall fritzconnection fritzmonitor fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan ; do %python_clone -a %{buildroot}%{_bindir}/${i} done %post %{python_install_alternative fritzcall fritzconnection fritzmonitor fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan} %preun %{python_uninstall_alternative fritzcall fritzconnection fritzmonitor fritzhomeauto fritzhosts fritzphonebook fritzstatus fritzwlan} %check # Don't run functional tests that require connections to a physical fritzbox router rm fritzconnection/tests/test_functional.py %pytest %files %{python_files} %license LICENSE.txt %doc README.md %python_alternative %{_bindir}/fritzcall %python_alternative %{_bindir}/fritzconnection %python_alternative %{_bindir}/fritzhomeauto %python_alternative %{_bindir}/fritzhosts %python_alternative %{_bindir}/fritzmonitor %python_alternative %{_bindir}/fritzphonebook %python_alternative %{_bindir}/fritzstatus %python_alternative %{_bindir}/fritzwlan %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor