%bcond_with tests Name: adb-enhanced Version: 2.5.14 Release: 4%{?dist} Summary: Tool for Android testing and development License: ASL 2.0 URL: https://github.com/ashishb/adb-enhanced Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-pytest %endif %description ADB-Enhanced is a Swiss-army knife for Android testing and development. A command-line interface to trigger various scenarios like screen rotation, battery saver mode, data saver mode, doze mode, permission grant/revocation. %prep %autosetup %build %py3_build %install %py3_install %if %{with tests} %check %pytest -v tests/adbe_tests.py %endif %files %doc README.md %license LICENSE %{_bindir}/adbe %{python3_sitelib}/adbe/ %{python3_sitelib}/adb_enhanced*.egg-info/ %changelog * Wed Jan 18 2023 Fedora Release Engineering - 2.5.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 2.5.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.5.14-2 - Rebuilt for Python 3.11 * Fri Mar 11 2022 Fabian Affolter - 2.5.14-1 - Update to latest upstream release 2.5.14 (closes rhbz#2063059) * Thu Mar 03 2022 Fabian Affolter - 2.5.13-1 - Update to latest upstream release 2.5.13 (closes rhbz#2058429) * Wed Jan 19 2022 Fedora Release Engineering - 2.5.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 20 2021 Fabian Affolter - 2.5.12-1 - Update to latest upstream release 2.5.12 (closes rhbz#2014826) * Thu Aug 26 2021 Fabian Affolter - 2.5.11-1 - Update to latest upstream release 2.5.11 (closes rhbz#1953156) * Wed Jul 21 2021 Fedora Release Engineering - 2.5.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.5.10-2 - Rebuilt for Python 3.10 * Wed Feb 24 2021 Fabian Affolter - 2.5.10-1 - Update to latest upstream release 2.5.10 (#1922957) * Tue Feb 02 2021 Fabian Affolter - 2.5.9-1 - Update to latest upstream release 2.5.9 (#1922957) * Mon Jan 25 2021 Fedora Release Engineering - 2.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 24 2020 Fabian Affolter - 2.5.8-1 - Update to latest upstream release 2.5.8 (#1910345) * Tue Dec 01 2020 Fabian Affolter - 2.5.7-1 - Update to latest upstream release 2.5.7 (#1898458) * Mon Jul 27 2020 Fedora Release Engineering - 2.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 2.5.4-2 - Rebuilt for Python 3.9 * Tue Mar 31 2020 Fabian Affolter - 2.5.4-1 - Update prep section - Update to latest upstream release (#1819115) * Wed Mar 18 2020 Fabian Affolter - 2.5.2-1 - Initial package for Fedora